Re: AnnotationProperty vs ObjectProperty (Re: RDFS schema files)

Hi,

Annotation properties are only required if a) you want to commit to
OWL 2 DL (which is quite sensible) AND b1) you want to attach a
property to an instance of owl:Class OR b2) you want to be able to use
the property to refer both to a Literal and to a URI.

So, it depends on the situation.

Best,
Rinke


On 17 July 2012 10:47, Vladimir Alexiev <vladimir@sirma.bg> wrote:
>> 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?
>
>
>



-- 
---
Dr Rinke Hoekstra

AI Department         |   Leibniz Center for Law
Faculty of Sciences   |   Faculty of Law
Vrije Universiteit    |   Universiteit van Amsterdam
De Boelelaan 1081a    |   Vendelstraat 8 (BG13a)
1081 HV  Amsterdam    |   Postbus 1030
                      |   1000 BA  Amsterdam
+31-(0)20-5987752     |   +31-(0)20-5253497
r.j.hoekstra@vu.nl    |   hoekstra@uva.nl

Homepage: http://www.rinkehoekstra.nl

Received on Sunday, 22 July 2012 14:57:03 UTC