autocompletion/commit

fixed: skos:notation is a literal property

authorJacco van Ossenbruggen
Mon Aug 11 11:36:51 2014 +0200
committerJacco van Ossenbruggen
Mon Aug 11 11:36:51 2014 +0200
commite8fda92cfd36ba708c1d77c79e25ea42e7cbf248
treed5500dbe74ed6cc469f224eeb62d28e1ef8bdd00
parent0f9c5865d4e04e1fa7e79e3a23d10be717e76f8d
Diff style: patch stat
diff --git a/api/autocomplete_api.pl b/api/autocomplete_api.pl
index 1158c97..903f0f5 100644
--- a/api/autocomplete_api.pl
+++ b/api/autocomplete_api.pl
@@ -72,11 +72,11 @@ ac_expand_hit(hit(R,P,_Label,[]),
 	skos_all_labels(R,Labels),
 	skos_notation_ish(R,MainLabel),
 	skos_related_concepts(R, Related),
-	findall(N, rdf_has(R, skos:notation,  N), Notations),
 	findall(B, rdf_has(R, skos:broader,  B), Broader),
 	findall(N, rdf_has(R, skos:narrower, N), Narrower),
 	findall(Im,rdf_has(R, foaf:depiction, Im), Images),
 
+	json_all_literal_propvalues(R, skos:notation, Notations),
 	json_all_literal_propvalues(R, skos:scopeNote, ScopeNotes),
 	json_all_literal_propvalues(R, skos:definition, Definitions).