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

Queries with FILTER depend on whether there is a . before #95

Closed
hannahbast opened this issue Aug 13, 2018 · 3 comments
Closed

Queries with FILTER depend on whether there is a . before #95

hannahbast opened this issue Aug 13, 2018 · 3 comments
Projects

Comments

@hannahbast
Copy link
Member

The following query works on Wikipedia+FreebaseEasy:

SELECT ?x WHERE {
  ?x <is-a> <Astronaut> .
  FILTER (?x <= <Akihiko_Hoshide>)
}
ORDER BY ASC(?x)

Without the DOT (.) before FILTER, all results are shown (as if there was no FILTER).

PS: The query does NOT work with quotes around the enity names. However, it does work when the entity name does not exist, for example:

SELECT ?x WHERE {
  ?x <is-a> <Astronaut> .
  FILTER (?x >= <Neil)
}
ORDER BY ASC(?x)

@niklas88 niklas88 added this to To do in QLever Aug 31, 2018
@niklas88
Copy link
Member

I think this is actually an incarnation of Issue #21. The SPARQL standard demands the . but our parser is too crazy and accepts all kinds of weird inputs without useful warnings.

@niklas88
Copy link
Member

This too should be solved by #258

@niklas88
Copy link
Member

This was fixed by merging #258

QLever automation moved this from To do to Done Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
QLever
  
Done
Development

No branches or pull requests

2 participants