From da5a35ef5b2fa2eb5110224afe805b0a9699bc8b Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 19 Sep 2024 12:27:35 +0300 Subject: Use correct modifier when getting species name in SPARQL. Signed-off-by: Munyoki Kilyungi --- gn3/db/rdf/wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gn3/db/rdf/wiki.py b/gn3/db/rdf/wiki.py index 88bf2e1..162ef52 100644 --- a/gn3/db/rdf/wiki.py +++ b/gn3/db/rdf/wiki.py @@ -97,7 +97,7 @@ CONSTRUCT { OPTIONAL { ?comment gnt:reason ?reason_ } . OPTIONAL { ?comment gnt:belongsToSpecies ?speciesId . - ?speciesId gnt:shortName ?species . + ?speciesId gnt:shortName ?species_ . } . OPTIONAL { ?comment dct:references ?pmid_ } . OPTIONAL { ?comment foaf:homepage ?weburl_ } . -- cgit v1.2.3