aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/rdf/wiki.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-09-19 12:27:35 +0300
committerBonfaceKilz2024-09-23 12:32:51 +0300
commitda5a35ef5b2fa2eb5110224afe805b0a9699bc8b (patch)
treec606ea2b0a1e28ec628a67a5b9b9bdf483c2d030 /gn3/db/rdf/wiki.py
parenta082c90cfc15212f873d245052b19a110278a6fe (diff)
downloadgenenetwork3-da5a35ef5b2fa2eb5110224afe805b0a9699bc8b.tar.gz
Use correct modifier when getting species name in SPARQL.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db/rdf/wiki.py')
-rw-r--r--gn3/db/rdf/wiki.py2
1 files changed, 1 insertions, 1 deletions
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_ } .