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

Re: Typos in OWL Reference document

From: Olivier Corby <Olivier.Corby@sophia.inria.fr>
Date: Mon, 17 Nov 2003 10:14:50 +0100
Message-ID: <3FB8918A.3080602@sophia.inria.fr>
To: public-webont-comments@w3.org

I have posted this message in october, as there is no response, I post 
it again :



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 Monday, 17 November 2003 04:15:24 GMT

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