RDF is a directed, labeled graph data format for representing information in the Web.This specification defines the syntax and semantics of the SPARQL query language for RDF.
SPARQL also supports aggregation, subqueries, negation, creating values by expressions, extensible value testing, and constraining queries by source RDF graph.
The results of SPARQL queries can be result sets or RDF graphs.
This section describes the status of this document at the time of its publication. 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.
Please send any comments to [email protected](public archive).Although work on this document by the SPARQL Working Group is complete, comments may be addressed in the errata or in future revisions.Open discussion is welcome at [email protected](public archive).This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation.It is a stable document and may be used as reference material or cited from another document.W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment.