Wikidata:SPARQL query service/Wikidata Query Help

From Wikidata
Jump to: navigation, search

Other languages:
English • ‎español • ‎français • ‎Հայերեն • ‎português do Brasil • ‎русский
Welcome to the Wikidata Query Service help portal

The place where your questions to the Wikidata Query Service are answered. Question 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 an 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.

First steps
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.
SPARQL Tutorial

A beginner-friendly course for SPARQL. This tutorial is aimed at those who want to dive in deeper into queries and learn the language needed to write complex queries.

Result Views

A showcase of various possibilities to display Wikidata Query results.

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.
More experienced
Example Queries
Example queries in SPARQL, for inspiration and as building blocks for your own queries.
User Manual
The user manual contains technical information on the Wikidata Query Service. This includes instructions on how to download the software behind the service and install it yourself.
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.