find_resource/commit

hack to excluce tags

authorMichiel Hildebrand
Fri Feb 25 14:22:20 2011 +0100
committerMichiel Hildebrand
Fri Feb 25 14:22:20 2011 +0100
commit2ce1abbef750530cb2c89eb5890ade1699045d37
treef5c262e77713158d079fb3c7c2fd4b4c5af9c5ca
parentcd3e9cf5c75d797a50d7c620923602601a592a68
Diff style: patch stat
diff --git a/lib/find_resource.pl b/lib/find_resource.pl
index 7448aa2..95564ad 100644
--- a/lib/find_resource.pl
+++ b/lib/find_resource.pl
@@ -58,6 +58,7 @@ remove_same_uri(_, L, L).
 uri_with_label_in(LabelPairs, Attributes, hit(URI, Distance, P, Label)) :-
 	member(D-Label, LabelPairs),
 	rdf(URI, P, literal(Label)),
+	\+ rdf(URI, rdf:type, 'http://semanticweb.cs.vu.nl/prestoprime/Tag'), % hack
 	(   member(P-F, Attributes)
 	->  true
 	;   member(AS-F, Attributes),