W3C home > Mailing lists > Public > semantic-web@w3.org > July 2012

OWL equivalentClass question

From: Nathan <nathan@webr3.org>
Date: Fri, 13 Jul 2012 13:17:17 +0100
Message-ID: <500011CD.8090804@webr3.org>
To: Semantic Web <semantic-web@w3.org>
Hi all,

I'm looking to define a few Datatype's, and wondered why 
owl:equivalentClass is used for all complex types in the 
primer/documentation.

For example what's the difference between:

:personAge  owl:equivalentClass
   [ rdf:type  rdfs:Datatype;
     owl:onDatatype  xsd:integer;
     owl:withRestrictions (
      [ xsd:minInclusive  "0"^^xsd:integer ]
      [ xsd:maxInclusive  "150"^^xsd:integer ]
     )
   ] .

and:

:personAge rdf:type  rdfs:Datatype;
   owl:onDatatype  xsd:integer;
   owl:withRestrictions (
    [ xsd:minInclusive  "0"^^xsd:integer ]
    [ xsd:maxInclusive  "150"^^xsd:integer ]
   ) .

Is the second example valid, any reasons not to do it, what am I missing 
here?

TIA,

Nathan
Received on Friday, 13 July 2012 12:18:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:42:35 UTC