- From: KHADRAOUI FAIROUZ <fairouz.khadraoui@univ-batna.dz>
- Date: Thu, 23 Nov 2017 15:01:46 +0100
- To: public-openannotation@w3.org
- Message-ID: <CAAh92nxHMJWa7DyE8FgO_EBpeF=0F466h4Kxqyi4bafDvh+NOA@mail.gmail.com>
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-batna.dz/elearning/LearnAnnot#Lea rner"> <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
Received on Thursday, 23 November 2017 14:02:13 UTC