accurator/commit

Added source defs for fashion fields.

authorChris Dijkshoorn
Tue Apr 5 09:52:36 2016 +0200
committerChris Dijkshoorn
Tue Apr 5 09:52:36 2016 +0200
commitcb351e9c37d8bf854b5e3624010596f268462fd6
tree8cce5c219d4a30165ee599c829dacd6e7e9befb1
parent4ff8586bc7cd69747108e7e99011732bf900f60a
Diff style: patch stat
diff --git a/rdf/domain/fashion/ui/fields.ttl b/rdf/domain/fashion/ui/fields.ttl
index 5f99595..0a510a5 100644
--- a/rdf/domain/fashion/ui/fields.ttl
+++ b/rdf/domain/fashion/ui/fields.ttl
@@ -19,25 +19,41 @@ afasui:Garment a auis:DropdownField ;
 	rdfs:label "Kledingstuk"@nl ;
 	dcterms:comment "add the type of garment"@en ;
 	dcterms:comment "voeg het type kledingstuk toe"@nl ;
-	auis:source "" .
+	auis:source afasui:GarmentSource .
+
+afasui:GarmentSource a auis:AlternativesSource ;
+    auis:api "/api/autocomplete/all" ;
+    auis:filterScheme "http://accurator.nl/fashion#GarmentConceptScheme" .
 
 afasui:Material a auis:DropdownField ;
 	rdfs:label "Material"@en ;
 	rdfs:label "Materiaal"@nl ;
 	dcterms:comment "add the material"@en ;
 	dcterms:comment "voeg het materiaal toe"@nl ;
-	auis:source "" .
+	auis:source afasui:MaterialSource .
+
+afasui:MaterialSource a auis:AlternativesSource ;
+    auis:api "/api/autocomplete/all" ;
+    auis:filterScheme "http://accurator.nl/fashion#MaterialConceptScheme" .
 
 afasui:Technique a auis:DropdownField ;
 	rdfs:label "Technique"@en ;
     rdfs:label "Techniek"@nl ;
 	dcterms:comment "add technique"@en ;
 	dcterms:comment "voeg de techniek toe"@nl ;
-	auis:source "" .
+	auis:source afasui:TechniqueSource .
+
+afasui:TechniqueSource a auis:AlternativesSource ;
+    auis:api "/api/autocomplete/all" ;
+    auis:filterScheme "http://accurator.nl/fashion#TechniqueConceptScheme" .
 
 afasui:Color a auis:DropdownField ;
-	rdfs:label "Color"@nl ;
-	rdfs:label "Kleur"@en ;
+	rdfs:label "Color"@en ;
+	rdfs:label "Kleur"@nl ;
 	dcterms:comment "add the color"@en ;
 	dcterms:comment "voeg de kleur toe"@nl ;
-	auis:source "" .
+	auis:source afasui:ColorSource .
+
+afasui:ColorSource a auis:AlternativesSource ;
+    auis:api "/api/autocomplete/all" ;
+    auis:filterScheme "http://accurator.nl/fashion#TechniqueConceptScheme" .