image_annotation/commit

Added simple bird annotation ui.

authorChris Dijkshoorn
Thu Sep 11 13:03:47 2014 +0200
committerChris Dijkshoorn
Thu Sep 11 13:03:47 2014 +0200
commita6fb7567a857cf7e22e60ac3aa939b0354549f39
treea0a22fbbff19bc3f0c41aeb510a9ae9dd7eeb16b
parentf2f9f1124ab9f77ab6f0d5ca65504b068a5a4f68
Diff style: patch stat
diff --git a/config-available/load_rma_example.pl b/config-available/load_rma_example.pl
index 54c700b..92bafe4 100644
--- a/config-available/load_rma_example.pl
+++ b/config-available/load_rma_example.pl
@@ -3,3 +3,4 @@
 :- use_module(library('semweb/rdf_db')).
 
 :- rdf_load(rdf('annotation_ui_example.ttl')). % load example config file
+:- rdf_load(rdf('annotation_ui_bird.ttl')). % load bird config file
diff --git a/rdf/annotation_ui_bird.ttl b/rdf/annotation_ui_bird.ttl
new file mode 100644
index 0000000..d6ca0ae
--- /dev/null
+++ b/rdf/annotation_ui_bird.ttl
@@ -0,0 +1,26 @@
+@prefix ui:     <http://semanticweb.cs.vu.nl/annotate/ui/> .
+@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#> .
+
+exp:smallBirdDemoUi a ui:AnnotationUI ;
+	ui:fields (
+	     exp:IOCCommonNameAnnotation
+		 exp:IOCScientificNameAnnotation
+	 ) .
+
+exp:IOCCommonNameAnnotation
+	rdfs:label "Species"@en ;
+	rdfs:label "Soortnaam"@nl ;
+	dc:comment "add common name of the species"@en ;
+	dc:comment "voeg de in Nederland gebruikelijke naam van soort toe"@nl ;	
+	ui:source "/api/autocomplete?q={query}&filter={\"scheme\":\"http://purl.org/collections/birds/IOCConceptScheme\"}&labelrank=['http://lod.taxonconcept.org/ontology/txn.owl%23commonName'-1]" .
+	
+exp:IOCScientificNameAnnotation
+	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 toe"@nl ;
+	ui:source "/api/autocomplete?q={query}&filter={\"scheme\":\"http://purl.org/collections/birds/IOCConceptScheme\"}&labelrank=['http://lod.taxonconcept.org/ontology/txn.owl%23scientificName'-1]" .
\ No newline at end of file
diff --git a/rdf/void.ttl b/rdf/void.ttl
index 05f1f18..469836b 100644
--- a/rdf/void.ttl
+++ b/rdf/void.ttl
@@ -21,3 +21,8 @@
 	a void:Dataset ;
 	dcterms:title "Annotation UI configuration example instance";
 	void:dataDump <annotation_ui_example.ttl> .
+
+<bird-ui>
+	a void:Dataset ;
+	dcterms:title "Bird UI configuration instance";
+	void:dataDump <annotation_ui_bird.ttl> .
\ No newline at end of file