http://datashapes.org/dash#SPARQLUpdateSuggestionGenerator |
|
http://www.w3.org/2000/01/rdf-schema#label
|
SPARQL UPDATE suggestion generator
|
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/2000/01/rdf-schema#Class
|
|
http://www.w3.org/2000/01/rdf-schema#comment
|
A SuggestionGenerator based on a SPARQL UPDATE query (sh:update), producing an instance of dash:GraphUpdate. The INSERTs become dash:addedTriple and the DELETEs become dash:deletedTriple. The WHERE clause operates on the data graph with the pre-bound variables $subject, $predicate and $object, as well as the other pre-bound variables for the parameters of the constraint.
In many cases, there may be multiple possible suggestions to fix a problem. For example, with sh:maxLength there are many ways to slice a string. In those cases, the system will first iterate through the result variables from a SELECT query (sh:select) and apply these results as pre-bound variables into the UPDATE query.
|
|
http://www.w3.org/2000/01/rdf-schema#subClassOf
|
http://datashapes.org/dash#SuggestionGenerator |
| http://www.w3.org/ns/shacl#SPARQLUpdateExecutable |
| http://www.w3.org/ns/shacl#SPARQLSelectExecutable
|
http://datashapes.org/dash#requiredExecutionPlatform |
|
http://www.w3.org/2000/01/rdf-schema#range
|
http://datashapes.org/dash#ExecutionPlatform
|
|
http://www.w3.org/2000/01/rdf-schema#label
|
required execution platform
|
|
http://www.w3.org/2000/01/rdf-schema#domain
|
http://www.w3.org/ns/shacl#SPARQLExecutable
|
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
|
|
http://www.w3.org/2000/01/rdf-schema#comment
|
Links a SPARQL executable with the platforms that it can be executed on. This can be used by a SHACL implementation to determine whether a constraint validator or rule shall be ignored based on the current platform. For example, if a SPARQL query uses a function or magic property that is only available in TopBraid then a non-TopBraid platform can ignore the constraint (or simply always return no validation results). If this property has no value then the assumption is that the execution will succeed. As soon as one value exists, the assumption is that the engine supports at least one of the given platforms.
|
http://datashapes.org/dash#PrimaryKeyConstraintComponent |
|
http://www.w3.org/ns/shacl#propertyValidator
|
_:21 |
| _:22
|
|
http://www.w3.org/2000/01/rdf-schema#label
|
Primary key constraint component
|
|
http://www.w3.org/ns/shacl#parameter
|
http://datashapes.org/dash#PrimaryKeyConstraintComponent-uriStart
|
|
http://www.w3.org/ns/shacl#targetClass
|
http://www.w3.org/ns/shacl#PropertyShape
|
|
http://www.w3.org/ns/shacl#message
|
Violation of primary key constraint
|
|
http://www.w3.org/ns/shacl#labelTemplate
|
The property {?predicate} is the primary key and URIs start with {?uriStart}
|
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/shacl#ConstraintComponent
|
|
http://datashapes.org/dash#localConstraint
|
true
|
|
http://www.w3.org/2000/01/rdf-schema#comment
|
Enforces a constraint that the given property (sh:path) serves as primary key for all resources in the target of the shape. If a property has been declared to be the primary key then each resource must have exactly one value for that property. Furthermore, the URIs of those resources must start with a given string (dash:uriStart), followed by the URL-encoded primary key value. For example if dash:uriStart is "http://example.org/country-" and the primary key for an instance is "de" then the URI must be "http://example.org/country-de". Finally, as a result of the URI policy, there can not be any other resource with the same value under the same primary key policy.
|
http://datashapes.org/dash#hasNodeKind |
|
http://www.w3.org/2000/01/rdf-schema#label
|
has node kind
|
|
http://www.w3.org/ns/shacl#ask
|
ASK {
FILTER ((isIRI($value) && $nodeKind IN ( sh:IRI, sh:BlankNodeOrIRI, sh:IRIOrLiteral ) ) ||
(isLiteral($value) && $nodeKind IN ( sh:Literal, sh:BlankNodeOrLiteral, sh:IRIOrLiteral ) ) ||
(isBlank($value) && $nodeKind IN ( sh:BlankNode, sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral ) )) .
}
|
|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
|
http://www.w3.org/ns/shacl#SPARQLAskValidator
|
|
http://www.w3.org/2000/01/rdf-schema#comment
|
Checks whether a given node (?value) has a given sh:NodeKind (?nodeKind). For example, sh:hasNodeKind(42, sh:Literal) = true.
|
|
http://www.w3.org/ns/shacl#prefixes
|
http://datashapes.org/dash
|