-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
SPARQLFor SHACL 1.2 SPARQL extensions specFor SHACL 1.2 SPARQL extensions spec
Milestone
Description
Sec 5.2 Syntax of SPARQL-based Constraints:
SELECT queries used in the context of property shapes use a special variable named PATH as a placeholder for the path used by the shape.
The only legal use of the variable PATH in the SPARQL queries of SPARQL-based constraints and SELECT-based validators is in the predicate position of a triple pattern.
But if sh:path is complex (not a predicate), it cannot be used in this way.
So I suggest adding two clarifications:
- "(spelled in UPPERCASE)" because SPARQL var names are case-sensitive
- "This can only be used with simple sh:path that consists of a single predicate. For complex sh:path, write the property path in SPARQL syntax in the query."
Metadata
Metadata
Assignees
Labels
SPARQLFor SHACL 1.2 SPARQL extensions specFor SHACL 1.2 SPARQL extensions spec