Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in prefix filter #414

Closed
hannahbast opened this issue Jun 16, 2021 · 0 comments · Fixed by #416
Closed

Bug in prefix filter #414

hannahbast opened this issue Jun 16, 2021 · 0 comments · Fixed by #416
Assignees

Comments

@hannahbast
Copy link
Member

The following query on https://qlever.cs.uni-freiburg.de/Wikidata returns a name starting with "ext" as the first result, despite the prefix filter for "exp". When running the query with "expo" instead of "exp", the result list is empty, despite many entities with a name starting with "expo":

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?entity ?name WHERE {
  ?entity @en@rdfs:label ?name .
  FILTER REGEX(?name, "^\"exp")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants