W3C home > Mailing lists > Public > public-webont-comments@w3.org > October 2003

Typos in OWL Reference document

From: Olivier Corby <Olivier.Corby@sophia.inria.fr>
Date: Tue, 21 Oct 2003 17:37:49 +0200
Message-ID: <3F9552CD.1090503@sophia.inria.fr>
To: public-webont-comments@w3.org
Cc: Olivier.Corby@sophia.inria.fr

There are some typos and a syntax error in the OWL
Reference document http://www.w3.org/TR/owl-ref/

Best regards,

Olivier





3.1 Class descriptions

am OWL class -> an OWL class



3.2.2

The is also true -> This is also true



8.1

rdf:Resource -> rdfs:Resource (two occurrences)



6.2 Enumerated datatype

I think that the following does not conform to RDF/XML syntax because
there are several resource nodes (i.e. rdf:List nodes) within the
owl:oneOf property, whereas in RDF there should be only one resource
node within a property :


<owl:DatatypeProperty rdf:ID="tennisGameScore">
   <rdfs:range>
     <owl:DataRange>
       <owl:oneOf>

         <rdf:List>
           <rdf:first rdf:datatype="&xsd;integer">0</rdf:first>
           <rdf:rest rdf:nodeID="l2"/>
         </rdf:List>

         <rdf:List rdf:nodeID="l2">
           <rdf:first rdf:datatype="&xsd;integer">15</rdf:first>
           <rdf:rest rdf:nodeID="l3"/>
         </rdf:List>

         <rdf:List rdf:nodeID="l3">
           <rdf:first rdf:datatype="&xsd;integer">30</rdf:first>
           <rdf:rest rdf:nodeID="l4"/>
         </rdf:List>

         <rdf:List rdf:nodeID="l4">
           <rdf:first rdf:datatype="&xsd;integer">40</rdf:first>
           <rdf:rest rdf:resource="&rdf;nil"/>
         </rdf:List>

       </owl:oneOf>
     </owl:DataRange>
   </rdfs:range>
</owl:DatatypeProperty>



A correct syntax would be :



<owl:DatatypeProperty rdf:ID="tennisGameScore">
   <rdfs:range>
     <owl:DataRange>
       <owl:oneOf>

         <rdf:List>
           <rdf:first rdf:datatype="&xsd;integer">0</rdf:first>
           <rdf:rest rdf:nodeID="l2"/>
         </rdf:List>

       </owl:oneOf>
     </owl:DataRange>
   </rdfs:range>
</owl:DatatypeProperty>


         <rdf:List rdf:nodeID="l2">
           <rdf:first rdf:datatype="&xsd;integer">15</rdf:first>
           <rdf:rest rdf:nodeID="l3"/>
         </rdf:List>

         <rdf:List rdf:nodeID="l3">
           <rdf:first rdf:datatype="&xsd;integer">30</rdf:first>
           <rdf:rest rdf:nodeID="l4"/>
         </rdf:List>

         <rdf:List rdf:nodeID="l4">
           <rdf:first rdf:datatype="&xsd;integer">40</rdf:first>
           <rdf:rest rdf:resource="&rdf;nil"/>
         </rdf:List>
Received on Tuesday, 21 October 2003 11:37:50 GMT

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