W3C home > Mailing lists > Public > www-webont-wg@w3.org > January 2003

XSLT: status of owls:Documentation unclear

From: Jerome Euzenat <Jerome.Euzenat@inrialpes.fr>
Date: Thu, 23 Jan 2003 22:44:22 +0100
Message-Id: <a05200f00ba5610d3d250@[194.199.20.189]>
To: www-webont-wg@w3.org
Cc: "Masahiro Hori" <HORIM@jp.ibm.com>

Hi,

	I am now tracking the differences between what my stylesheet 
gives and what Masahiro expected when building the examples. There is 
something disturbing with owls:Documentation. Here are the 3 examples 
I have:

   <owls:Documentation>An example OWL ontology</owls:Documentation>
==>
<rdfs:comment>An example OWL ontology</rdfs:comment>

   <owls:Documentation>
     <dc:title>OWL Web Ontology Language</dc:title>
     <dc:creator>W3C Web Ontology (WebOnt) Working Group</dc:creator>
     <dc:subject>OWL; Web Ontology Language; Semantic Web</dc:subject>
     <dc:description>
       Classes and properties for the OWL Web Ontology Language
     </dc:description>
     <dc:publisher>W3C</dc:publisher>
     <dc:date>2003-01-15</dc:date>
     <dc:format>text/xml</dc:format>
     <dc:language>en</dc:language>
     <dc:identifier>http://www.w3.org/2002/07/owl</dc:identifier>
   </owls:Documentation>
==>
<dc:title>OWL Web Ontology Language</dc:title>
<dc:creator>W3C Web Ontology (WebOnt) Working Group</dc:creator>
<dc:subject>OWL; Web Ontology Language; Semantic Web</dc:subject>
<dc:description>
   Classes and properties for the OWL Web Ontology Language
</dc:description>
<dc:publisher>W3C</dc:publisher>
<dc:date>2003-01-15</dc:date>
<dc:format>text/xml</dc:format>
<dc:language>en</dc:language>
<dc:identifier>http://www.w3.org/2002/07/owl</dc:identifier>

   <owls:Documentation>
     <rdfs:label>Wine Ontology</rdfs:label>
   </owls:Documentation>
==>
<rdfs:label>Wine Ontology</rdfs:label>

 From this I infer the following mapping rule:

If the content of the documentation is text, then wrap it into <rdfs:comment>
Otherwise, copy it verbatim...

So, what should I do with:
   <owls:Documentation>
     <owl:subClassOf rdf:resource="#whatever"/>
   </owls:Documentation>
=?=>
   <owl:subClassOf rdf:resource="#whatever" />

???


-- 
  Jérôme Euzenat                  __
                                  /      /\
  INRIA Rhône-Alpes,            _/  _   _   _ _    _
                               /_) | ` / ) | \ \  /_)
  655, avenue de l'Europe,    (___/___(_/_/  / /_(_________________
  Montbonnot St Martin,       /        http://www.inrialpes.fr/exmo
  38334 Saint-Ismier cedex,  /          Jerome.Euzenat@inrialpes.fr
  France____________________/                Jerome.Euzenat@free.fr
Received on Friday, 24 January 2003 04:24:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:57:57 GMT