amalgame/commit
IMPROVED: handle language tagged comments
author | Jacco van Ossenbruggen |
---|---|
Wed Feb 26 17:15:28 2020 +0100 | |
committer | Jacco van Ossenbruggen |
Wed Feb 26 17:15:28 2020 +0100 | |
commit | 086932f79f5eb0be50e41950933c0f92801b2e2a |
tree | 421b5e4a2c328975b614936c7f3112c7a31fdb7b |
parent | 9ff8724f450602c779e00f43b0d1f46d8ef14f0f |
Diff style: patch stat
diff --git a/lib/amalgame/json_util.pl b/lib/amalgame/json_util.pl index b826614..07032a8 100644 --- a/lib/amalgame/json_util.pl +++ b/lib/amalgame/json_util.pl @@ -142,7 +142,7 @@ node_prop(S, R, status, Status) :- node_prop(S, R, default_relation, Relation) :- rdf(R, amalgame:default_relation, Relation, S). node_prop(S, R, comment, Comment) :- - rdf(R, rdfs:comment, literal(Lit), S), + rdf(R, rdfs:comment, Lit, S), literal_text(Lit, Comment). node_prop(_, R, link, Link) :- resource_link(R, Link).