amalgame/commit

FIXED: skos_has/5 missing literal check giving wrong answers for skosxl

authorJacco van Ossenbruggen
Wed Feb 26 11:05:52 2020 +0100
committerJacco van Ossenbruggen
Wed Feb 26 11:05:52 2020 +0100
commitaac986dff7842d40ea030264405c11293fad2c3d
treee06c74e25a8397cd494f907a154e58e7541664af
parent2ed871c26ae06896fdfd04e14b4b6dc7ac1a47b6
Diff style: patch stat
diff --git a/lib/ag_modules/string_match_util.pl b/lib/ag_modules/string_match_util.pl
index c7024ac..5993c22 100644
--- a/lib/ag_modules/string_match_util.pl
+++ b/lib/ag_modules/string_match_util.pl
@@ -34,7 +34,8 @@ label_list(LabelProps) :-
 %	** via skosxl:literalForm if no amalgame:qualifier
 
 skos_has(Concept, MatchProp, Literal, RealProp, _Options) :-
-	rdf_has(Concept, MatchProp, Literal, RealProp).
+	rdf_has(Concept, MatchProp, Literal, RealProp),
+        rdf_is_literal(Literal).
 
 skos_has(Concept, MatchProp, Literal, RealProp, Options) :-
 	nonvar(Concept),