SPARQL
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 QLever and Sophox, which uses the same GUI as Wikidata SPARQL Service for OpenStreetMap and Wikidata.[1]
Introduction
Category:Books with print version#SPARQLSPARQL Statements
- SELECT
- OPTIONAL
- Filtering: FILTER, FILTER NOT EXIST and MINUS
- UNION
- SERVICEs
- SERVICE Labels and Descriptions
- SERVICE around and box
- SERVICE Mediawiki Api (Wikipedia, commons etc.)
- Modifiers like GROUP BY, HAVING, ORDER BY, LIMIT
- Aggregate functions COUNT, MIN, MAX, SUM, AVG, SAMPLE and GROUP_CONCAT
- Bad aggregate error
Advanced SPARQL topics
- Property paths and Instances and classes
- Variables
- Expressions and Functions
- Federated query
- Subqueries
- Templates
WIKIDATA data representation
Miscellaneous
References
Category:Book:SPARQL#%20 Category:Subject:Computer programming languages#SPARQL Category:Subject:Computer programming languages/all books Category:Subject:Computer programming/all books Category:Subject:Computer science/all books Category:Subject:Computing/all books Category:Subject:Books by subject/all books Category:Subject:Computing/all books Category:Subject:Books by subject/all books Category:Book:SPARQL#%20 Category:Book:Wikibooks Stacks/Books#SPARQLCategory:Shelf:Computer programming languages Category:Shelf:Computer programming languages/all books Category:Shelf:Computer programming/all books#Computer%20programming Category:Shelf:Computer science/all books#Computer%20science Category:Department:Computing/all books#Computing Category:Alphabetical/S Category:Books nearing completionCategory:Books by completion status/all books
Category:Alphabetical/S
Category:Book:SPARQL
Category:Book:Wikibooks Stacks/Books
Category:Books by completion status/all books
Category:Books nearing completion
Category:Books with print version
Category:Department:Computing/all books
Category:Shelf:Computer programming/all books
Category:Shelf:Computer programming languages
Category:Shelf:Computer programming languages/all books
Category:Shelf:Computer science/all books
Category:Subject:Books by subject/all books
Category:Subject:Computer programming/all books
Category:Subject:Computer programming languages
Category:Subject:Computer programming languages/all books
Category:Subject:Computer science/all books
Category:Subject:Computing/all books