- From: Masahiro Hori <HORIM@jp.ibm.com>
- Date: Fri, 24 Jan 2003 22:49:35 +0900
- To: Jerome.Euzenat@inrialpes.fr (Jerome Euzenat)
- Cc: www-webont-wg@w3.org
'owls:Documentation' is used in a sloppy manner in the
XML presentation syntax Schema, and should be elaborated
in the specification ('owls' here indicates a namespace
prefix for the presentation syntax Schema).
The following idea would make the XSLT transformation
simpler
---------------------------------------------------
(1) owls:Documentation for rdfs:comment
Basically, I assume 'owls:Documentation' is transformed
to 'rdfs:comment'. The current Schema allows multiple
'owls:Documentation' under 'owls:Annotation'.
<owls:Annotation>
<owls:Documentation>This is the first comment.</owls:Documentation>
<owls:Documentation>This is the second comment.</owls:Documentation>
<owls:Documentation>This is the third comment.</owls:Documentation>
</owls:Annotation>
==>
<rdfs:comment>This is the first comment.</rdfs:comment>
<rdfs:comment>This is the second comment.</rdfs:comment>
<rdfs:comment>This is the third comment.</rdfs:comment>
---------------------------------------------------
(2) owls:Label (new!) for rdfs:label
For 'rdfs:label', it would be better to introduce 'owls:Label'
that can be added as children of owls:Annotation
<owls:Annotation>
<owls:Label>English name</owls:Label>
<owls:Label>French name</owls:Label>
<owls:Label>Italian name</owls:Label>
</owls:Annotation>
owls:Annotation can only be specified as the first
element of the following elements:
+ owls:Individual
+ owls:Class (as an axiom)
+ owls:DatatypeProperty
+ owls:ObjectProperty
+ owls:EnumeratedClass
This limitation is in accordance with the Abstract
Syntax. So, owls:Label can actually be used as
labels of those constructs as expected in RDFS.
---------------------------------------------------
(3) importing Dublin Core Metadata Schema
Currently approach (include DC metadata into children
of owls:Documentation, which allows ANY child elements)
is a sloppy way of specifying the DC metadata.
###Current###
<owls:Documentation>
<dc:title>OWL Web Ontology Language</dc:title>
<dc:creator>W3C Web Ontology (WebOnt) Working Group</dc:creator>
...
</owls:Documentation>
I will fix this neatly by importing (in the XML Schema
sense) the DC metadata Schema [1] into the presentation
syntax Schema.
[1] http://dublincore.org/schemas/xmls/
<owls:Annotation>
<
is currently an issue in the Abstract Syntax
(1) Doublin Core Metadata
<owls:Documentation>
<dc:title>OWL Web Ontology Language</dc:title>
<dc:creator>W3C Web Ontology (WebOnt) Working Group</dc:creator>
...
</owls:Documentation>
Masahiro Hori, Ph.D.
Group Leader, Programming Models & Tools,
IBM Tokyo Research Laboratory
Tel: +81-46-215-4667 / Fax: +81-46-274-4282
Email: horim@jp.ibm.com
Jerome.Euzenat@in
rialpes.fr To: www-webont-wg@w3.org
(Jerome Euzenat) cc: Masahiro Hori/Japan/IBM@IBMJP
Sent by: Subject: XSLT: status of owls:Documentation unclear
www-webont-wg-req
uest@w3.org
2003/01/24 06:44
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 08:49:47 UTC