Re: Instanciation of Annotation properties

It seems like your problem is more in Protege, than in the Annotation
ontology.  Have you tried asking on the Protege list?

Rob

On Thu, Nov 23, 2017 at 6:01 AM, KHADRAOUI FAIROUZ <
fairouz.khadraoui@univ-batna.dz> wrote:

> Dear openAnnotation community,
>
> I'm reusing the Web annotation ontology "oa" and I'm confused about
> instanciation of annotation properties like  oa:hasBody, oa:hasTarget and
> dcterms:creator.
>
> For example, in my ontology "LearnAnnot" I want to associate  the
> "annot1" to the  "Learner1" by the property "dcterms:creator", and by using
> Protege 5.2, I found that I can proceed by different manners :
>
>    - instanciate the annotation property dcterms:creator to create the
>    triplet (annot1, dcterms:creator, learner1). Thus the Protege genarates the
>    code :
>
> <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/creator"/>
>
>     <!-- http://www.univ-batna.dz/elearning/LearnAnnot#Learner -->
>
>     <owl:Class rdf:about="http://www.univ-bat
> na.dz/elearning/LearnAnnot#Learner">
>         <rdfs:subClassOf rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
>     </owl:Class>
>
>     <!-- http://www.univ-batna.dz/elearning/LearnAnnot#annot1 -->
>
>     <owl:NamedIndividual rdf:about="http://www.univ-bat
> na.dz/elearning/LearnAnnot#annot1">
>         <rdf:type rdf:resource="http://www.w3.org/ns/oa#Annotation"/>
>         <terms:creator rdf:resource="http://www.univ-
> batna.dz/elearning/LearnAnnot#learner1"/>
>     </owl:NamedIndividual>
>
>     <!-- http://www.univ-batna.dz/elearning/LearnAnnot#learner1 -->
>
>     <owl:NamedIndividual rdf:about="http://www.univ-bat
> na.dz/elearning/LearnAnnot#learner1">
>         <rdf:type rdf:resource="http://www.univ-
> batna.dz/elearning/LearnAnnot#Learner"/>
>     </owl:NamedIndividual>
>
>    - specify a domain and a range to dcterms:creator before its
>    instanciation. In this case, Protege replace the first line in the previous
>    code by :
>
> <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/creator">
>         <rdfs:range rdf:resource="http://www.univ-
> batna.dz/elearning/LearnAnnot#Learner"/>
>         <rdfs:domain rdf:resource="http://www.w3.org/ns/oa#Annotation"/>
>     </owl:AnnotationProperty>
>
>
> Thank you in advance.
> Best regards
> --
> Fairouz KHADRAOUI
> Assistant Teacher, Department of economic sciences
> Batna 1 University
> L@stic Laboratory    http://lab.univ-batna2.dz/lastic/
> Batna 2  University
>



-- 
Rob Sanderson
Semantic Architect
The Getty Trust
Los Angeles, CA 90049

Received on Monday, 27 November 2017 16:58:43 UTC