aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/rdf/wiki.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-09-19 09:48:33 +0300
committerBonfaceKilz2024-09-23 12:32:51 +0300
commit6a603988e611ead57039e32f9e8a9b89d9d0f373 (patch)
tree4618ec9c17e3e99a9598ca0ec9cc5d6a7125106f /gn3/db/rdf/wiki.py
parent0438b55478fe8672a845387fb0c500b21a747978 (diff)
downloadgenenetwork3-6a603988e611ead57039e32f9e8a9b89d9d0f373.tar.gz
Remove un-necessary triple in comment history RDF query.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db/rdf/wiki.py')
-rw-r--r--gn3/db/rdf/wiki.py3
1 files changed, 1 insertions, 2 deletions
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 .