image_annotation/commit

separate instance and schema namespace

authorJacco van Ossenbruggen
Fri Nov 2 18:58:47 2012 +0100
committerJacco van Ossenbruggen
Fri Nov 2 18:58:47 2012 +0100
commite096e06eb22e21c8eb648c785b2f2b38d2246be5
treed257f25e311f14929234686947fad0ad2e9b4f31
parent8744749cf50ac4138d856c302076ebc7ba461adc
Diff style: patch stat
diff --git a/rdf/annotation_ui_example.ttl b/rdf/annotation_ui_example.ttl
index 81369ed..0c51211 100644
--- a/rdf/annotation_ui_example.ttl
+++ b/rdf/annotation_ui_example.ttl
@@ -1,56 +1,17 @@
 @prefix :       <http://semanticweb.cs.vu.nl/annotate/> .
+@prefix exp:    <http://semanticweb.cs.vu.nl/annotate/example> .
 @prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix dc:	<http://purl.org/dc/terms/> .
 @prefix skos:   <http://www.w3.org/2004/02/skos/core#> .
 
-@prefix rmaschema: <http://purl.org/collections/nl/rma/schema#> .
-
-rmaschema:imageURL rdfs:subPropertyOf :imageURL .
-
 :unsureLabel        rdfs:subPropertyOf :uiLabel.
 :commentLabel       rdfs:subPropertyOf :uiLabel.
 :deleteLabel        rdfs:subPropertyOf :uiLabel.
 :cancelDeleteLabel  rdfs:subPropertyOf :uiLabel.
 :confirmDeleteLabel rdfs:subPropertyOf :uiLabel.
 
-
-:nicheAccuratorCastleDemoUi a :AnnotationUI ;
-        dc:title            "Niche Accurator - Castle Edition"@en;
-        :commentLabel       "Opmerkingen (optioneel):"@nl;
-        :commentLabel       "Comments (optional):"@en;
-	:deleteLabel        "Verwijder:"@nl;
-	:deleteLabel	    "Remove:"@en;
-        :cancelDeleteLabel  "Annuleren"@nl;
-        :cancelDeleteLabel  "Cancel"@en;
-        :confirmDeleteLabel "Verwijderen"@nl;
-        :confirmDeleteLabel "Delete"@en;
-	:fields (
-	   :monumentNameField
-	   :monumentNumberField
-	   :locationField
-	   :archStyleField
-	   :biblioField
-	).
-
-:nicheAccuratorFlowerDemoUi a :AnnotationUI ;
-        dc:title            "Niche Accurator - Flower Edition"@en;
-        :commentLabel       "Opmerkingen (optioneel):"@nl;
-        :commentLabel       "Comments (optional):"@en;
-	:deleteLabel        "Verwijder:"@nl;
-	:deleteLabel	    "Remove:"@en;
-        :cancelDeleteLabel  "Annuleren"@nl;
-        :cancelDeleteLabel  "Cancel"@en;
-        :confirmDeleteLabel "Verwijderen"@nl;
-        :confirmDeleteLabel "Delete"@en;
-	:fields (
-	     :TaxonConceptSpeciesCommonNameAnnotation
-	     :TaxonConceptGenusNameAnnotation
-	     :symbolicField
-	     :biblioField
-	 ) .
-
-:nicheAccuratorFullDemoUi a :AnnotationUI ;
+exp:nicheAccuratorFullDemoUi a :AnnotationUI ;
         dc:title "Niche Accurator"@en;
         :commentLabel "Opmerkingen (optioneel):"@nl;
         :commentLabel "Comments (optional):"@en;
@@ -61,18 +22,18 @@ rmaschema:imageURL rdfs:subPropertyOf :imageURL .
         :confirmDeleteLabel "Verwijderen"@nl;
         :confirmDeleteLabel "Delete"@en;
 	:fields (
-	     :TaxonConceptSpeciesCommonNameAnnotation
-	     :TaxonConceptGenusNameAnnotation
-	     :QuantityAnnotation
-	     :ColorAnnotation
-	     :StateAnnotation
-	     :LocationAnnotation
-	     :RealOrNotAnnotation
-	     :MoodAnnotation
-	     :AestheticsAnnotation
+	     exp:TaxonConceptSpeciesCommonNameAnnotation
+	     exp:TaxonConceptGenusNameAnnotation
+	     exp:QuantityAnnotation
+	     exp:ColorAnnotation
+	     exp:StateAnnotation
+	     exp:LocationAnnotation
+	     exp:RealOrNotAnnotation
+	     exp:MoodAnnotation
+	     exp:AestheticsAnnotation
 	 ) .
 
-:nicheAccuratorSmallDemoUi a :AnnotationUI ;
+exp:nicheAccuratorSmallDemoUi a :AnnotationUI ;
         dc:title "Niche Accurator"@en;
         :commentLabel "Opmerkingen (optioneel):"@nl;
         :commentLabel "Comments (optional):"@en;
@@ -83,68 +44,34 @@ rmaschema:imageURL rdfs:subPropertyOf :imageURL .
         :confirmDeleteLabel "Verwijderen"@nl;
         :confirmDeleteLabel "Delete"@en;
 	:fields (
-	     :TaxonConceptSpeciesCommonNameAnnotation
+	     exp:TaxonConceptSpeciesCommonNameAnnotation
 	 ) .
 
-# Castle name, location, monumnent number, arch style (from aat, cornetto), biblio.
-# monument naam, monument nummer, architectural style, References:AnnotationUI ;
-:monumentNameField a :Field ;
-        rdfs:label "Monument naam"@nl ;
-	rdfs:label "Monument name"@en ;
-	dc:comment "naam van dit monument"@nl ;
-	dc:comment "name of the monument"@en .
-
-:monumentNumberField a :Field ;
-        rdfs:label "Monument nummer"@nl ;
-	rdfs:label "Monument number"@en ;
-	dc:comment "RCE nummer van dit monument"@nl ;
-	dc:comment "(RCE) number of the monument"@en .
-
-:archStyleField a :Field ;
-        rdfs:label "Stijl"@nl ;
-	rdfs:label "Style"@en ;
-	dc:comment "architectonische stijl"@nl ;
-	dc:comment "architectural style"@en ;
-	:source "/api/autocomplete?q={query}&filter={\"reachable\":\"http://www.w3.org/2004/02/skos/core%23broader\",\"uri\":\"http://purl.org/vocabularies/getty/aat/Styles_and_Periods\"}&labelrank=['http://www.w3.org/2004/02/skos/core%23prefLabel'-0, 'http://www.w3.org/2004/02/skos/core%23altLabel'-0.2]" .
-
-:biblioField a :Field ;
-        rdfs:label "Bibliografie"@nl ;
-	rdfs:label "Bibliography"@en ;
-	dc:comment "URL of referentie naar gebruikte bronnen"@nl ;
-	dc:comment "URL or book reference to sources used"@en .
-
-:locationField a :Field ;
-        rdfs:label "Lokatie"@nl ;
-	rdfs:label "Location"@en ;
-	dc:comment "plaats waar dit object zich bevindt"@nl ;
-	dc:comment "place where this object is located"@en ;
-	:source "/api/autocomplete?q={query}&filter=[{\"scheme\":\"http://purl.org/collections/nl/rma/schema%23thesaurus\"},{\"prop\":\"http://purl.org/collections/nl/rma/schema%23termType\",\"uri\":\"http://purl.org/collections/nl/rma/schema%23term-type-PLACE\"}]" .
-
-:symbolicField a :Field ;
+exp:symbolicField a :Field ;
         rdfs:label "Iconologie"@nl ;
 	rdfs:label "Iconology"@en ;
 	dc:comment "(symbolische) interpretatie, optioneel"@nl ;
 	dc:comment "(symbolic) interpretation, optional"@en .
 
-:LocationAnnotation a :Field ;
+exp:LocationAnnotation a :Field ;
         rdfs:label "Binnen/buiten"@nl ;
 	rdfs:label "Indoors/outdoors"@en ;
 	:source ( "indoors"@en "outdoors"@en ) ;
 	:source ( "binnen"@nl "buiten"@nl ) .
 
-:AestheticsAnnotation a :Field ;
+exp:AestheticsAnnotation a :Field ;
 	rdfs:label "Aesthetiek"@nl ;
 	rdfs:label "Aesthetics"@en ;
 	:source ( "beautiful"@en "ugly"@en ) ;
 	:source ( "mooi"@nl "lelijk"@nl ) .
 
-:MoodAnnotation  a :Field ;
+exp:MoodAnnotation  a :Field ;
 	rdfs:label "Emotionele associaties"@nl ;
 	rdfs:label "Associated emotions"@en ;
 	:source ( "opgewekt"@nl "verdrietig"@nl "blij"@nl "jaloers"@nl "verliefd"@nl) ;
 	:source ( "upbeat"@en "down"@en "happy"@en "jalous"@en "in love"@en) .
 
-:QuantityAnnotation
+exp:QuantityAnnotation
 	rdfs:label "Aantal"@nl ;
 	rdfs:label "Quantity"@en ;
 	dc:comment "indicate the number of depictions of this species"@en ;
@@ -152,7 +79,7 @@ rmaschema:imageURL rdfs:subPropertyOf :imageURL .
 	:source ( "1"@nl "2"@nl "veel"@nl ) ;
 	:source ( "1"@en "2"@en "many"@en ) .
 
-:StateAnnotation
+exp:StateAnnotation
 	rdfs:label "Toestand"@nl ;
 	rdfs:label "State"@en ;
 	dc:comment "indicate the state the depicted species"@en ;
@@ -160,7 +87,7 @@ rmaschema:imageURL rdfs:subPropertyOf :imageURL .
 	:source ( "neutraal"@nl "bloeiend"@nl "dood"@nl "rottend"@nl ) ;
 	:source ( "neutral"@en "in bloom"@en "dead"@en "decaying"@en ) .
 
-:RealOrNotAnnotation
+exp:RealOrNotAnnotation
 	rdfs:label "Fantasie soort?"@nl ;
 	rdfs:label "Imaginary?"@en ;
 	dc:comment "use when species only occurs in fiction (e.g. a dragon or unicorn)"@en ;
@@ -168,14 +95,14 @@ rmaschema:imageURL rdfs:subPropertyOf :imageURL .
 	:source ( "fantasie"@nl "echt"@nl ) ;
 	:source ( "imaginairy"@en "real"@en ) .
 
-:ColorAnnotation
+exp:ColorAnnotation
 	rdfs:label "Color"@en ;
 	rdfs:label "Kleur"@nl ;
 	dc:comment "add color of the subject"@en ;
 	dc:comment "voeg kleur van het subject toe"@nl ;
 	:source "/api/autocomplete?q={query}&filter={\"reachable\":\"http://www.w3.org/2004/02/skos/core%23broader\",\"uri\":\"http://purl.org/vocabularies/cornetto/synset-kleur-1-noun\"}" .
 
-:TaxonConceptSpeciesCommonNameAnnotation
+exp:TaxonConceptSpeciesCommonNameAnnotation
 	rdfs:label "Species"@en ;
 	rdfs:label "Soortnaam"@nl ;
 	dc:comment "add common name of the species"@en ;
@@ -187,33 +114,9 @@ rmaschema:imageURL rdfs:subPropertyOf :imageURL .
         :deleteCommentEnabled true;
 	:source "/api/autocomplete?q={query}&filter=[{\"scheme\":\"http://lod.taxonconcept.org/ontology/txn.owl%23TaxonConcept_Scheme\"},{\"prop\":\"http://lod.taxonconcept.org/ontology/txn.owl%23inDBpediaClade\",\"uri\":\"http://dbpedia.org/ontology/FloweringPlant\"}]&labelrank=['http://lod.taxonconcept.org/ontology/txn.owl%23commonName'-0, 'http://lod.taxonconcept.org/ontology/txn.owl%23scientificName'-0.2]" .
 
-:TaxonConceptGenusNameAnnotation
+exp:TaxonConceptGenusNameAnnotation
 	rdfs:label "Scientific name"@en ;
 	rdfs:label "Wetenschappelijke naam"@nl ;
 	dc:comment "add scientificly accepted species or genus name"@en ;
 	dc:comment "voeg de wetenschappelijke soortnaam"@nl ;
 	:source "/api/autocomplete?q={query}&filter={\"scheme\":\"http://lod.taxonconcept.org/ontology/txn.owl%23TaxonConcept_Scheme\"}" .
-
-
-:PersonAnnotation
-    a :AnnotationField ;
-	rdfs:label "Who"@en ;
-	rdfs:label "Wie"@nl ;
-	dc:comment "add names of persons"@en ;
-	dc:comment "voeg namen van personen toe"@nl ;
-	:source "/api/autocomplete?q={query}&filter={\"type\":\"http://purl.org/vocabularies/rma/Person\"}" .
-
-:PlaceAnnotation
-	rdfs:label "Where"@en ;
-	rdfs:label "Waar"@nl ;
-	dc:comment "add names of geographical locations"@en ;
-	dc:comment "voeg namen van geografische plaatsen toe"@nl ;
-	:source "/api/autocomplete?q={query}&filter={\"scheme\":\"http://purl.org/vocabularies/rma/place/\"}" .
-
-:SubjectTypeAnnotation
-	rdfs:label "Subject type"@en ;
-	rdfs:label "Subject type"@nl ;
-	dc:comment "add type of the subject"@en ;
-	dc:comment "voeg type van het subject toe"@nl ;
-	:source "/api/autocomplete?q={query}&filter={\"reachable\":\"http://www.w3.org/2004/02/skos/core%23broader\",\"uri\":\"http://purl.org/vocabularies/getty/aat/visual_works_by_subject_type\"}" .
-