SkosDev/SkosCoreInXhtml2

From W3C Wiki
Jump to: navigation, search

How To Do SKOS Core in XHTML 2.0

E.g.


<section about="http://www.example.com/concepts#love">
  <link rel="rdf:type" href="http://www.w3.org/2004/02/skos/core#Concept"/>
  <h property="skos:prefLabel">love</h>
  <p><span property="skos:altLabel">affection</span>, <span property="skos:altLabel">adoration</span></p>
  <p property="skos:definition">Strong feelings of attraction towards, and affection for, another adult, or great affection for a friend or family member.</p>
  <link rel="skos:broader" href="http://www.example.com/concepts#emotion"/>
  <link rel="skos:related" href="http://www.example.com/concepts#beauty"/>
</section>


(... is this correct XHTML 2?)

... expresses the same RDF statements as (turtle):


<http://www.example.com/concepts#love> a skos:Concept;
  skos:prefLabel 'love';
  skos:altLabel 'affection';
  skos:altLabel 'adoration';
  skos:definition 'Strong feelings of attraction towards, and affection for, another adult, or great affection for a friend or family member.';
  skos:broader <http://www.example.com/concepts#emotion>;
  skos:related <http://www.example.com/concepts#beauty>;
.


(... did I get that right?)