AnnotationProperty vs ObjectProperty (Re: RDFS schema files)

> Stian Soiland-Reyes on Mon, 25 Jun 2012
> In Turtle this would read much easier:
> https://gist.github.com/2987402
> (I exported from Protégé)

In this export a lot of the properties are declared AnnotationProperty instead of ObjectProperty.
There are even a few that are declared both, and their attributes are duplicated or distributed between the two, e.g.:

oa:hasSelector rdf:type owl:AnnotationProperty ;
               rdfs:label "hasSelector" ;
               rdfs:comment "The relationship between a oa:SpecificResource and a oa:Selector." ;
               rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
               rdfs:domain oa:SpecificResource .

oa:hasSelector rdf:type owl:ObjectProperty ;
               rdfs:label "hasSelector" ;
               rdfs:comment "The relationship between a oa:SpecificResource and a oa:Selector." ;
               rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
               rdfs:range oa:Selector .

Which is the right way?

Received on Thursday, 19 July 2012 13:31:57 UTC