SPARQL (pronounced "sparkle", acronym for SPARQL Protocol And RDF Query Language) 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.

Wikidata provides an SPARQL endpoint including a powerful Web-GUI since September 2015.

This book focuses on the Wikidata database, with lots of examples.

Other SPARQL endpoints include SOPHOX which use the same GUI as Wikidata SPARQL Service for OpenStreetMap and Wikidata.[1]

Introduction

Querying Wikidata with SPARQL for Absolute Beginners

SPARQL Statements

Advanced SPARQL topics

WIKIDATA data representation

Miscellaneous

References

  1. https://wiki.openstreetmap.org/wiki/Sophox