-
Notifications
You must be signed in to change notification settings - Fork 22
Description
When I try to execute suggestion queries in the qlever-ui, this results in an error "key.substring is not a function". The Suggestion Query was taken from the browser console via the ui setting log requests and log suggestions. This problem only occured on Firefox and not in the Chrome browser.
Firefox version: 141.0.3
qlever-ui: docker.io/adfreiburg/qlever-ui
Example query that throws the error:
SELECT ?qleverui_entity
(MIN(?name) as ?qleverui_name)
(MIN(?alias) as ?qleverui_alias)
(SAMPLE(?count_1) as ?qleverui_count) WHERE {
{ SELECT ?qleverui_entity ?name ?alias ?count_1 WHERE {
{ { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }
BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)
} UNION {
{ { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }
BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)
} } } }
} GROUP BY ?qleverui_entity ORDER BY DESC(?qleverui_count)
LIMIT 40
OFFSET 0
resulting error output:
Error processing query
key.substring is not a function
Your query was:SELECT ?qleverui_entity
(MIN(?name) as ?qleverui_name)
(MIN(?alias) as ?qleverui_alias)
(SAMPLE(?count_1) as ?qleverui_count) WHERE {
{ SELECT ?qleverui_entity ?name ?alias ?count_1 WHERE {
{ { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }
BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)
} UNION {
{ { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }
BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)
} } } }} GROUP BY ?qleverui_entity ORDER BY DESC(?qleverui_count)
LIMIT 40
OFFSET 0