W3C home > Mailing lists > Public > public-openannotation@w3.org > July 2012

AnnotationProperty vs ObjectProperty (Re: RDFS schema files)

From: Vladimir Alexiev <vladimir@sirma.bg>
Date: Tue, 17 Jul 2012 11:47:10 +0300
To: <public-openannotation@w3.org>
Message-ID: <00d101cd63f8$c0d9f080$428dd180$@bg>
> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:38:10 UTC