- From: Nathan <nathan@webr3.org>
- Date: Fri, 13 Jul 2012 13:17:17 +0100
- 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