Shortcut: Help:SPARQL

Wikidata:SPARQL query service/Wikidata Query Help

From Wikidata
Jump to navigation Jump to search

Other languages:
Bahasa Indonesia • ‎Bahasa Melayu • ‎Deutsch • ‎English • ‎Esperanto • ‎Türkçe • ‎català • ‎dansk • ‎español • ‎euskara • ‎français • ‎italiano • ‎norsk bokmål • ‎polski • ‎português do Brasil • ‎svenska • ‎Ελληνικά • ‎беларуская (тарашкевіца)‎ • ‎български • ‎русский • ‎српски / srpski • ‎українська • ‎հայերեն • ‎العربية • ‎বাংলা • ‎中文 • ‎日本語 • ‎한국어
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 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.

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.

Query Helper
How to use the Query Helper to build or edit a query.

Result Views

A showcase of various possibilities to display Wikidata Query results.

SPARQL Editor

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
Step-by-step examples.

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.

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 access it programmatically via GET or POST requests, or how to download and run the software behind the service 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.