autocompletion/commit

ADDED: sko:notation to default label properties

authorJacco van Ossenbruggen
Mon Aug 25 13:30:34 2014 +0200
committerJacco van Ossenbruggen
Mon Aug 25 13:30:34 2014 +0200
commit416f1c3df58205f5bbdabf083e5e1d272760d33a
tree6bcbb978d553bd0995cbcad78f1a09513bf28c38
parent6210956ec801b268e3173ef552160b36e8fb4cde
Diff style: patch stat
diff --git a/lib/instance_search.pl b/lib/instance_search.pl
index f470577..11f6393 100644
--- a/lib/instance_search.pl
+++ b/lib/instance_search.pl
@@ -3,7 +3,7 @@
 
 	]).
 
-:- use_module(library('semweb/rdf_db')).
+:- use_module(library(semweb/rdf_db)).
 :- use_module(library(find_resource)).
 :- use_module(library(ac_filter)).
 
@@ -41,9 +41,10 @@ instance_search(Query, Hits, Options) :-
 label_list([], LabelList) :- !,
 	rdf_equal(rdfs:label, Label),
 	rdf_equal(skos:prefLabel, PrefLabel),
-	LabelList = [
-		PrefLabel-0,
-		Label-1
+	rdf_equal(skos:notation, Notation),
+	LabelList = [Notation - 0,
+		     PrefLabel - 1,
+		     Label-2
 	].
 label_list(Property, LabelList) :-
 	atom(Property), !,