RDF Graph Patterns and Templates
This vocabulary defines terms used to describe RDF Graph patterns and templates as used in RDF Query languages (e.g. SPARQL) and elsewhere. The goal of the design is to model common parts of these languages in RDF in a way that allows for the generation of the actual queries in their native format. Note that only patterns and templates are modeled, not complete queries. A basic pattern/template is a set of reified RDF statements (reification is similar to the one built-in into RDF). Leaves of a reified triple are URIs, literals (stand for themselves) or blank nodes (variables). Variables have no names; blank nodes can be assigned nodeIDs and shared in a normal RDF way. More complex patterns are built by joining and filtering simpler patterns. Joining (cf. SPARQL UNION, regexp |) allows specification of alternative patterns; filtering (cf. SPARQL FILTER) constrains the allowable binding of variables.
Properties: value constraint expression, pattern for subject, arg3, members of a set, base pattern for filtering, second argument, first argument, pattern for object and pattern for predicate
Classes: Union of Patterns, RDFterm-equal(A, B), RDF Graph Pattern/Template, A || B, Filter Pattern, RDF Statement Pattern/Template, isURI(A), isBlank(A), Value Constraint Expression and isLiteral(A)
No examples yet, add one.