diff options
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/db/rdf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/db/rdf.py b/gn3/db/rdf.py index f79493b..35c4a98 100644 --- a/gn3/db/rdf.py +++ b/gn3/db/rdf.py @@ -59,7 +59,8 @@ CONSTRUCT { dct:created ?created } WHERE { ?symbolId rdfs:comment _:node ; - rdfs:label '$symbol' . + rdfs:label ?symbolName . + FILTER ( LCASE(?symbolName) = LCASE('$symbol') ) . _:node rdf:type gnc:GNWikiEntry ; dct:hasVersion "0"^^xsd:int ; dct:hasVersion ?version ; |