Skip to content

Conversation

@ullingerc
Copy link
Contributor

@ullingerc ullingerc commented Jan 7, 2026

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

Copy link
Collaborator

@Qup42 Qup42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did some minor formatting. I have two minor points to change/review.
If any other query should have a play button just add it using {data-demo-engine="foo"} (see also README).

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)
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The query is empty when run. Is it possible, that Wikidata is built without the text index?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the currently live wikidata instance is missing its text index.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. It seemed strange that the demo query has no results.

Copy link
Collaborator

@Qup42 Qup42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from the markdown side.

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 this pull request may close these issues.

2 participants