-
Notifications
You must be signed in to change notification settings - Fork 30
Description
The Wikidata endpoint (https://query.wikidata.org/) has an Examples tab, with filtering based on the comment at the top of the query (written in natural language).
How can we store example SPARQL queries as metadata in a knowledge graph, such that those queries are accessible via search (assuming there is a commented description at the top of the query)? How could we make those example queries accessible to new users as FAQ/tutorials, and existing users as a way to procure datasets for further purposes such as chart-building? (While these would be curated, this could be a nice bridge to a natural-language-based interface...)
Example format:
#List all classes in the knowledge graph
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?class WHERE {
?thing rdf:type ?class .
}
FYI, the Wikidata endpoint also has a nice #defaultView: rendering that resembles the Pro offerings of Yasgui, such as map view of the output data...