
SPARQL
Sign in to saveAlso known as SPARQL Protocol and RDF Query Language, Simple Protocol RDF Query Language, SPARQL Query Language
SPARQL (pronounced "sparkle", a recursive acronym for SPARQL Protocol and RDF Query Language) is an RDF query language—that is, a semantic query language for databases—able to retrieve and manipulate data stored in Resource Description Framework (RDF) format. It was made a standard by the RDF Data Access Working Group (DAWG) of the World Wide Web Consortium, and is recognized as one of the key technologies of the semantic web. On 15 January 2008, SPARQL 1.0 was acknowledged by W3C as an official recommendation, and SPARQL 1.1 in March, 2013.
In the Vinony graph
Within Vinony's link graph, SPARQL is referenced by 350 other articles, and connects out to Semantic Web, World Wide Web Consortium and Uniform Resource Identifier.
Vinony files it under Data modeling languages, Declarative programming languages and Programming languages created in 2008.
Its subject is documented across 30 Wikipedia language editions.
Key facts
- Programming language.name
- SPARQL
- Programming language.paradigm
- Query language
- Programming language.developer
- W3C
- Programming language.latest_release_version
- 1.1
- Programming language.implementations
- Apache Jena, OpenLink Virtuoso
via Wikipedia infobox
Official website
SPARQL 1.1 Query Language
w3.org →Link to the official site · 40,000 chars · not written by Vinony
Described at
SPARQL 1.1 Overview
w3.org →Please refer to the errata for this document, which may include some normative corrections. This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at There have been no substantive changes to this document since the previous version . Minor editorial changes, if any, are detailed in the change log and visible in the color-coded diff . This document was produced by a group operating under the 5 February 2004 W3C Patent Policy . W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy . 3 Different query results formats supported by SPARQL 1.1 (XML, JSON, CSV, TSV) SPARQL 1.1 Query Language A query language for RDF. SPARQL 1.1 Query Results JSON Format and SPARQL 1.1 Query Results CSV and TSV Formats Apart from the standard SPARQL Query Results XML Format [SPARQL-XML-Result ], SPARQL 1.1 now allows three alternative popular formats to exchange answers to SPARQL queries, namely JSON, CSV (comma separated values) and TSV (tab separated values) which are described in these two documents. SPARQL 1.1 Federated Query A specification defining an extension of the SPARQL 1.1 Query Language for executing queries distributed over different SPARQL endpoints. SPARQL 1.1 Entailment Regimes A specification defining the semantics of SPARQL queries under entailment regimes such as RDF Schema, OWL, or RIF. SPARQL 1.1 Update Language An update language for RDF graphs. SPARQL 1.1 Protocol for RDF A protocol defining means for conveying arbitrary SPARQL queries and update requests to a SPARQL service. SPARQL 1.1 Service Description A specification defining a method for discovering and a vocabulary for describing SPARQL services. SPARQL 1.1 Graph Store HTTP Protocol As opposed to the full SPARQL protocol, this specification defines minimal means for managing RDF graph content directly via common HTTP operations. SPARQL 1.1 Test Cases A suite of tests, helpful for understanding corner cases in the specification and assessing whether a system is SPARQL 1.1 conformant In the following, we will illustrate the use of SPARQL's languages, protocols, and related specifications with a small example. Some RDF graph published on the Web at the URL ' contains personal information about Alice and her social contacts. We use Turtle [Turtle ] syntax here for illustration. With SPARQL 1.1 one can query such graphs, load them into RDF stores and manipulate them in various ways. Assuming the graph data from above is loaded into a SPARQL service (i.e., an HTTP service endpoint that can process SPARQL queries), the SPARQL 1.1 Query Language can be used to formulate queries ranging from simple graph pattern matching to complex queries. For instance, one can ask using a SPARQL SELECT query for names of persons and the number of their friends: Just like in the earlier SPARQL1.0 specification [SPARQL-Query ] from 2008, complex queries may include union, optional query parts, and filters; new features like value aggregation, path expressions, nested queries, etc. have been added in SPARQL 1.1. Apart from SELECT queries - which return variable bindings - SPARQL supports ASK queries - i.e. boolean "yes/no" queries - and CONSTRUCT queries - by which new RDF graphs can be constructed from a query result; all the new query language features of SPARQL 1.1 are likewise usable in ASK and CONSTRUCT queries. The SPARQL 1.1 Query Language document defines the syntax and semantics of SPARQL 1.1 queries and provides various examples for their usage. 3 Different query result
Excerpt from a page describing this subject · 29,563 chars · not written by Vinony
Wikidata facts
- Instance of
- communication protocol
- Official name
- SPARQL Protocol and RDF Query Language
- Official website
- www.w3.org/TR/sparql11-query
- Image
- Screenshot Wikidata Query Service October 2021.png
Show 12 more facts
- user manual URL
- www.w3.org/TR/sparql11-query
- inception
- 2008-01-15
- described at URL
- www.w3.org/TR/sparql11-overview
- Commons category
- SPARQL
- Stack Exchange tag
- opendata.stackexchange.com/tags/sparql
- topic's main category
- Category:SPARQL
- start time
- 2004-10-12
- standards body
- World Wide Web Consortium
- software version identifier
- 1.1
- programming paradigm
- declarative programming
- inspired by
- SQL
- short name
- SPARQL
Sources (8)
via Wikidata · CC0
~14 min read
Encyclopedic overview
8 sectionsContents
- Features
- Query forms
- Example
- Extensions
- Implementations
- See also
- References
- External links
SPARQL (pronounced "sparkle", a recursive acronym for SPARQL Protocol and RDF Query Language) is an RDF query language—that is, a semantic query language for databases—able to retrieve and manipulate data stored in Resource Description Framework (RDF) format. It was made a standard by the RDF Data Access Working Group (DAWG) of the World Wide Web Consortium, and is recognized as one of the key technologies of the semantic web. On 15 January 2008, SPARQL 1.0 was acknowledged by W3C as an official recommendation, and SPARQL 1.1 in March, 2013.
thumb|The Wikidata Query Service can be used to query data from Wikidata using SPARQL SPARQL allows for a query to consist of triple patterns, conjunctions, disjunctions, and optional patterns.
Excerpted from Wikipedia’s “SPARQL” article, available under the CC BY-SA 4.0 licence.