aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-29 23:18:39 +0300
committerBonfaceKilz2024-09-05 16:39:14 +0300
commit786b8cb5059de5cbeed1d20c4f02728300248452 (patch)
tree1dce223bae1164fe061841953818d3c1394bb01d /gn3/db
parent6e69b99f36a72079ff0b483f8dce4af0a4c06457 (diff)
downloadgenenetwork3-786b8cb5059de5cbeed1d20c4f02728300248452.tar.gz
Use correct prefix when querying for email in triple.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db')
-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 f902455..b131ee7 100644
--- a/gn3/db/rdf/wiki.py
+++ b/gn3/db/rdf/wiki.py
@@ -75,7 +75,7 @@ CONSTRUCT {
OPTIONAL { ?uid dct:references ?pubmedId . } .
OPTIONAL { ?uid foaf:homepage ?weburl . } .
OPTIONAL { ?uid gnt:initial ?usercode . } .
- OPTIONAL { ?uid gnt:mbox ?email . } .
+ OPTIONAL { ?uid foaf:mbox ?email . } .
OPTIONAL { ?uid gnt:belongsToCategory ?category . } .
BIND (str(?version) AS ?versionId) .
BIND (str(?id_) AS ?identifier) .