Open main menu

Wikidata β

Wikidata:SPARQL query service


Other languages:
العربية • ‎مصرى • ‎български • ‎català • ‎čeština • ‎dansk • ‎Deutsch • ‎Ελληνικά • ‎English • ‎español • ‎euskara • ‎français • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎македонски • ‎Nederlands • ‎polski • ‎português • ‎русский • ‎українська

What is SPARQLEdit

SPARQL (pronounced "sparkle") is an RDF query language, that is, a semantic query language for databases. Wikidata provides an SPARQL endpoint including a powerful Web-GUI since September 2015. With SPARQL you can extract any kind of data, with a query composed of logical combinations of triples.

Learning SPARQLEdit

 
Presentation "SPARQL and Wikidata intro" by shonagon- École de Bibliothécaires Documentalistes (French) (2016-04-04)

Help portalEdit

Other materialsEdit

InterfacingEdit

SPARQL queries can be submitted directly to the SPARQL endpoint with GET request to https://query.wikidata.org/bigdata/namespace/wdq/sparql?query={SPARQL} or the endpoint's alias https://query.wikidata.org/sparql?query={SPARQL}. The result is returned as XML by default, or as JSON if either the query parameter format=json or the header Accept: application/sparql-results+json are provided.

StatsEdit

Further ResourcesEdit