Open
Conversation
Qup42
requested changes
Jan 8, 2026
Comment on lines
+87
to
+101
| ```sparql {data-demo-engine="wikidata"} | ||
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
| PREFIX wd: <http://www.wikidata.org/entity/> | ||
| PREFIX wdt: <http://www.wikidata.org/prop/direct/> | ||
| PREFIX ql: <http://qlever.cs.uni-freiburg.de/builtin-functions/> | ||
| SELECT ?astronaut ?astronaut_name (COUNT(?text) AS ?count) (SAMPLE(?text) AS ?example_text) WHERE { | ||
| ?astronaut wdt:P106 wd:Q11631 . | ||
| ?astronaut rdfs:label ?astronaut_name . | ||
| FILTER (LANG(?astronaut_name) = "en") | ||
| ?text ql:contains-entity ?astronaut . | ||
| ?text ql:contains-word "moon walk*" . | ||
| } | ||
| GROUP BY ?astronaut ?astronaut_name | ||
| ORDER BY DESC(?count) | ||
| ``` |
Collaborator
There was a problem hiding this comment.
The query is empty when run. Is it possible, that Wikidata is built without the text index?
Contributor
Author
There was a problem hiding this comment.
Yes the currently live wikidata instance is missing its text index.
Collaborator
There was a problem hiding this comment.
Ok. It seemed strange that the demo query has no results.
Qup42
approved these changes
Jan 9, 2026
Collaborator
Qup42
left a comment
There was a problem hiding this comment.
Looks good from the markdown side.
Reason: `geof:envelope` currently creates a new entry in the local vocabulary, and materialized views with entries from the local vocabulary are not yet supported.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move old documentation from
docs/folder in the main qlever repo and update it on the way.Corresponding change in main repo: ad-freiburg/qlever#2631