ad-freiburg / qlever-ui

A user interface for QLever
Apache License 2.0
21 stars 15 forks source link

ParseException in 'Your query was' of error UI #31

Open graue70 opened 3 years ago

graue70 commented 3 years ago

The query

SELECT ?predicate ?count WHERE {
  { SELECT ?predicate (COUNT(?predicate) AS ?count)
    WHERE { ?x ql:has-predicate ?predicate }
    GROUP BY ?predicate }
  ?entity ?tmp ?predicate .
  FILTER REGEX(?predicate, "^<http://www\\.wikidata\\.org/prop/direct")
  # This comment makes sure that there is an error which shows the problem.
}
GROUP BY ?predicate ?count
ORDER BY ASC(?predicate)
LIMIT 10

leads to an error. In the error UI, what follows 'Your query was' isn't actually the above query. Instead, there is a ParseException happening:

image