Wikidata:SPARQL query service/Wikidata Query Help
The place where your questions to the Wikidata Query Service are answered. Questions to Wikidata can be about pieces of knowledge in this world and their relationships. This can be used to use Wikidata as a knowledge base or generate lists for other Wikimedia projects, such as Wikipedia.
We also have documentation for advanced users that goes beyond the first steps. The Wikidata Query Service provides a SPARQL endpoint including a powerful Web-GUI. SPARQL (pronounced "sparkle") is an RDF query language, that is, a semantic query language for databases. With SPARQL, you can extract any kind of data, with a query composed of logical combinations of triples.
A gentle introduction to the Wikidata Query Service This introduction introduces you to the user interface of the Wikidata Query Service. You don't need to learn SPARQL to modify queries and display results. This gentle introduction is a good start if you want to start playing around.
A showcase of various possibilities to display Wikidata Query results.
A help page to explain the features of the SPARQL editor.
Access the Query Service
query.wikidata.org The user interface of the Wikidata Query Service.
Request a query
This is a page where Wikidata SPARQL queries can be requested from community members who will write them for you as volunteers.
Building a query
Example queries in SPARQL, for inspiration and as building blocks for your own queries.
Queries of the week archive
Queries from Wikidata status update weekly summaries
User Manual The user manual contains technical information on the Wikidata Query Service. This includes instructions on how to access it programmatically via
Advanced query concepts further explained, such as optionality and alternatives, working with dates, coordinates, qualifiers, references, etc.
RDF Dump Format
Technical documentation on the RDF serialization format for Wikidata. This includes information on how information in Wikidata is expressed in RDF and how it can be queried.
Tips on optimizing Queries for faster execution and avoiding time-out.
Wikidata Query Service: Suggestions and reports • Query limits • Contact the development team • Phabricator • Operational information