+ Select Expressions
+
+ A node expression that has a value for sh:select
is called a select expression with the function name
+ sh:SelectExpression
.
+
+
+ A node in an RDF graph is a well-formed select expression if it is a blank node
+ that is the subject of exactly one triple with sh:select
as predicate and a literal as object
+ with datatype xsd:string
.
+ Using the prefix handling rules, the value of sh:select
is a valid SPARQL 1.2 SELECT query.
+ The SPARQL query derived from the value of sh:select
projects exactly one variable in the SELECT clause.
+
+
+
+
+ The output nodes of a select expression are the list resultNodes
consisting of exactly the bindings of the (only)
+ variable that is projected from the SELECT clause.
+ If present in the scope, the value of the scope variable focusNode
MUST be pre-bound as the value of the SPARQL variable this
.
+
+
+ eval(expr, activeGraph, scope) -> resultNodes
+
+
+ The remainder of this section is informative.
+
+
+
+