An RDF schema to syntactically represent SPARQL queries and update commands as RDF triples.
The base class of SPARQL property path expressions. Paths are used by sp:TriplePath triple paths.
Represents sum aggregations, e.g. SELECT SUM(?varName)...
A triple pattern used in the body of a query.
A LOAD Update operation. The document to load is specified using sp:document, and the (optional) target graph using sp:into.
An Update operation to delete specific triples. The graph triples are represented using sp:data, which points to an rdf:List of sp:Triples or sp:NamedGraphs.
A prototypical triple used as template in the head of a Construct query. May contain variables.
Represents a MODIFY (part of SPARQL UPDATE language). The graph IRIs are stored in sp:graphIRI. The template patterns are stored in sp:deletePattern and sp:insertPattern. The WHERE clause is represented using sp:where.
An abstract base class for all pattern elements.
Similar to a TriplePattern, but with a path expression as its predicate. For example, this can be used to express transitive sub-class relationships (?subClass rdfs:subClassOf* ?superClass).
A list of Elements. This class is never instantiated directly as SPIN will use plain rdf:Lists to store element lists.
A nested SELECT query inside of an element list. The query is stored in sp:query.
An alternative path with the union of sp:path1 and sp:path2.
Counts the number of times a variable is used. The variable is stored in the variable property. This might be left blank to indicate COUNT(*).
A CONSTRUCT-type query that can be used to construct new triples from template triples (head) that use variable bindings from the match patterns (body).
A variable mentioned in a Triple or expression. Variables are often blank nodes with the variable name stored in ts:name. Variables can also be supplied with a URI in which case the system will attempt to reuse the same variable instance across multiple query definitions.
An ASK query that returns true if the condition in the body is met by at least one result set.
A modified path such as rdfs:subClassOf*.
Abstract base class for things that have subject and object.
An Update operation that creates a new empty graph with a name specified by sp:graphIRI. May have sp:silent set to true.
Base class of aggregation types (not part of the SPARQL 1.0 standard but supported by ARQ and other engines).
A named Graph element such as GRAPH <uri> {...}.
Abstract base class of the various types of supported queries. Common to all types of queries is that they can have a body ("WHERE clause").
A VALUES element. sp:varNames points to an rdf:List of strings for the variables, sp:values to an rdf:List of rdf:Lists with nodes for each variable, in the order defined by the variables list.
Abstract base class to group the various SPARQL UPDATE commands.
An Update operation that removes a specified graph from the Graph Store. Must specify the graph using sp:graphIRI, or sp:default, sp:named or sp:all. May have the SILENT flag, encoded using sp:silent.
A base class for TriplePattern and TripleTemplate. This basically specifies that subject, predicate and object must be present.
An Update operation where the triples matched by the WHERE clause (sp:where) will be the triples deleted.
An Update operation to insert specific triples. The graph triples are represented using sp:data, which points to an rdf:List of sp:Triples or sp:NamedGraphs.
A SERVICE call that matches a nested sub-pattern against a SPARQL end point specified by a URI.
An abstract base class for ascending or descending order conditions. Instances of this class (typically bnodes) must have a value for expression to point to the actual values.
A SELECT-type query that returns variable bindings as its result.
A constraint element that evaluates a given expression to true or false.
An "artificial" root class that groups all SP classes. This makes them look much less overwhelming in UI tools. Typical end users don't need to see those classes anyway.
An Update operation that removes all triples from a specified graph. Must specify the graph using sp:graphIRI, or sp:default, sp:named or sp:all. May have the SILENT flag, encoded using sp:silent.
A shared superclass for sp:Query and sp:Update that can be used to specify that the range of property can be either one.
The fifth argument of a function call. Further arguments are not common in SPARQL, therefore no sp:arg6, etc are defined here. However, they can be created if needed.
The first child path of a property path. Used by sp:AltPath and sp:SeqPath.
The VALUES block at the end of a query. The object may just be an untyped blank node, i.e. the sp:Values type triple is optional.
An RDF Node or Variable describing the object of a triple.
The name (URI or Variable) of a NamedGraph.
Points to a Variable used in an AS statement such as COUNT aggregates.
An abstract base proprerty that groups together the SP system properties. Users typically don't need to see them anyway.
A marker property to indicate that a Select query is of type SELECT DISTINCT.
The second child path of a property path. Used by sp:AltPath and sp:SeqPath.
Links a query with an ORDER BY clause where the values are rdf:List containing OrderByConditions or expressions. While the domain of this property is sp:Query, only Describe and Select queries can have values of it.
Points from a SELECT query to a list of HAVING expressions.
Links a SubQuery resource with the nested Query.
Points from a Query to the list of GROUP BY expressions.
Points to graph names (IRIs) in various sp:Update operations.
Points to a list of TripleTemplates that form the head of a Construct query.
Contains the result nodes (URI resources or Variables) of a Describe query.
A property with true to indicate that a Select query has a REDUCED flag.
The child path of a property path expression. This is used by ReversePath and ModPath.
The (optional) target of a LOAD Update operation.
Used by sp:Service to specify the URI of the SPARQL end point to invoke. Must point to a URI node.
The URI of the document to load using a LOAD Update operation.
An rdf:List of variables that are returned by a Select query.
Stores the separator="..." value of a GROUP_CONCAT (sp:GroupConcat) aggregation.
Can be attached to sp:Queries to store a textual representation of the query. This can be useful for tools that do not have a complete SPIN Syntax parser available.
The actual bindings of a sp:Values element.
Abstract superproperty for the enumerated arg1, arg2 etc.
Points to an ElementList, for example in an Optional element.
A resource or Variable describing the predicate of a triple.
Specifies a named RDF Dataset used by a Query (FROM NAMED syntax in SPARQL). Values of this property must be URI resources.
A resource or Variable describing the subject of a triple.
Points to a list of sp:TripleTemplates and sp:NamedGraphs in a modify operation.
Points to an expression, for example in a Filter or Assignment.
Specifies an RDF Dataset used by a Query (FROM syntax in SPARQL). Values of this property must be URI resources.
The OFFSET solution modifier of a Query.
The names of the variables (xsd:strings) of the variables declared for a VALUES element.
Points to a list of sp:TripleTemplates or sp:NamedGraphs in a modify command.
Deprecated - use sp:Modify instead. Represents a DELETE FROM (part of SPARQL UPDATE language). The graph IRIs are stored in sp:graphIRI. The template patterns to delete are stored in sp:deletePattern. The WHERE clause is represented using sp:where.
Deprecated - use sp:Modify instead. Represents a INSERT INTO (part of SPARQL UPDATE language). The graph IRIs are stored in sp:graphIRI. The template patterns to delete are stored in sp:insertPattern. The WHERE clause is represented using sp:where.
Deprecated: use sp:Bind instead. A variable assignment (LET (?<varName> := <expression>)). Not part of the SPARQL 1.0 standard, but (for example) ARQ.