21
RDF Query Language: SPARQL
Whereas Resource Description Framework (RDF) statements can be thought of as a graph or collection of graphs, querying RDF means to be able to detect portions of those graphs matching given patterns. RDF has its own query language, SPARQL, which provides a rich set of capabilities for this purpose.
Triple Patterns and Query
SPARQL patterns are expressed using a syntax similar to SQL but which is based on the concept of triple patterns. Triple patterns are similar to RDF triples except that each subject, object, and predicate in a triple pattern may be a variable.
A given pattern matches a portion of a graph, or subgraph, if and only if a graph equivalent to that subgraph may be obtained by substituting the ...
Get Identification and Management of Distributed Data now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.