find_resource/commit
hack to excluce tags
author | Michiel Hildebrand |
---|---|
Fri Feb 25 14:22:20 2011 +0100 | |
committer | Michiel Hildebrand |
Fri Feb 25 14:22:20 2011 +0100 | |
commit | 2ce1abbef750530cb2c89eb5890ade1699045d37 |
tree | f5c262e77713158d079fb3c7c2fd4b4c5af9c5ca |
parent | cd3e9cf5c75d797a50d7c620923602601a592a68 |
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),