We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following query works as expected and returns two cities named "Berlin":
PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?cityname ?countryname WHERE { ?city fb:type.object.type fb:location.citytown . ?city fb:type.object.name ?cityname . ?country fb:type.object.type fb:location.country . ?country fb:type.object.name ?countryname . ?city fb:location.location.containedby ?country . FILTER(?cityname == "Berlin"@en) . }
But filtering by country "Germany" does not work and return 0 results:
PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?cityname ?countryname WHERE { ?city fb:type.object.type fb:location.citytown . ?city fb:type.object.name ?cityname . ?country fb:type.object.type fb:location.country . ?country fb:type.object.name ?countryname . ?city fb:location.location.containedby ?country . FILTER(?countryname == "Germany"@en) . }
Changing the filter to NEQ (!=) seems to work because the result size reduces from 180549 (without any filter) to 174112:
PREFIX fb: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?cityname ?countryname WHERE { ?city fb:type.object.type fb:location.citytown . ?city fb:type.object.name ?cityname . ?country fb:type.object.type fb:location.country . ?country fb:type.object.name ?countryname . ?city fb:location.location.containedby ?country . FILTER(?countryname != "Germany"@en) . }
Also the result sizes of the filters (<=) and (>=) add up to 180549
The text was updated successfully, but these errors were encountered:
4ec7e63
Merge pull request #120 from niklas88/fix_qet_known_empty_result
316eaf4
Actually use Operation::knownEmptyResult fixes #42
niklas88
No branches or pull requests
The following query works as expected and returns two cities named "Berlin":
But filtering by country "Germany" does not work and return 0 results:
Changing the filter to NEQ (!=) seems to work because the result size reduces from 180549 (without any filter) to 174112:
Also the result sizes of the filters (<=) and (>=) add up to 180549
The text was updated successfully, but these errors were encountered: