From 6a603988e611ead57039e32f9e8a9b89d9d0f373 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 19 Sep 2024 09:48:33 +0300 Subject: Remove un-necessary triple in comment history RDF query. Signed-off-by: Munyoki Kilyungi --- gn3/db/rdf/wiki.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gn3/db') diff --git a/gn3/db/rdf/wiki.py b/gn3/db/rdf/wiki.py index 881755e..67bc194 100644 --- a/gn3/db/rdf/wiki.py +++ b/gn3/db/rdf/wiki.py @@ -154,8 +154,7 @@ CONSTRUCT { gnt:symbol ?symbol ; dct:created ?createTime ; dct:hasVersion ?version ; - dct:identifier $comment_id ; - dct:identifier ?id_ . + dct:identifier $comment_id . OPTIONAL { ?comment gnt:reason ?reason_ } . OPTIONAL { ?comment gnt:belongsToSpecies ?speciesId . -- cgit v1.2.3