amalgame/commit

FIXED: broken instantiation logic of skos_match/5

authorJacco van Ossenbruggen
Tue Jul 8 16:14:17 2014 +0200
committerJacco van Ossenbruggen
Tue Jul 8 16:14:17 2014 +0200
commita3662fc096b41e6de519c52876a913c1afc17f7d
treee4d75b1ab2ae4c123c6fcf8e991cf64c7d791e97
parent20f95ce5af689f572bd280b433c6410ab80bffa6
Diff style: patch stat
diff --git a/lib/ag_modules/string_match_util.pl b/lib/ag_modules/string_match_util.pl
index 68720a0..30e183d 100644
--- a/lib/ag_modules/string_match_util.pl
+++ b/lib/ag_modules/string_match_util.pl
@@ -40,7 +40,6 @@ skos_match(Concept, MatchProp, Literal, RealProp, _Options) :-
 
 skos_match(Concept, MatchProp, Literal, RealProp, Options) :-
 	nonvar(Concept),
-	\+ ground(Literal),
 	rdf_has(Concept, MatchProp, LiteralObject, RealProp),
 	rdf_subject(LiteralObject),
 	(   ( rdf_has(LiteralObject, amalgame:qualifier, _),
@@ -52,8 +51,6 @@ skos_match(Concept, MatchProp, Literal, RealProp, Options) :-
 
 skos_match(Concept, MatchProp, Literal, RealProp, Options) :-
 	var(Concept),
-	ground(Literal),
-
 	(   ( option(match_qualified_only(true), Options, false),
 	      rdf_has(_, amalgame:term, Literal)
 	    )