http://franz.com/ns/allegrograph/6.6.0/shaclFocusNodeValidationReport1
Produce a SHACL validation report for a collection of nodes in dataGraph.
E.g.,
construct \{
?s ?p ?o
\} where \{
bind(<http://franz.com/ns/allegrograph/6.5.0/fn#makeSPARQLList>(:node1, :node2) as ?nodes)
(?s ?p ?o) <http://franz.com/ns/allegrograph/6.6.0/shaclFocusNodeValidationReport1>
(:dataGraph ?nodes) .
\}
dataGraph can be an IRI, literals 'default' and 'all',` or a variable that is bound to a SPARQL collection (list or set) that was previously created with a function like http://franz.com/ns/allegrograph/6.5.0/fn#makeSPARQLList or http://franz.com/ns/allegrograph/6.5.0/fn#lookupRdfList.
The shapesGraph is assumed to be the dataGraph.
The example query would validate the two nodes :node1 and :node2 against all the shapes in the shapes in the shapesGraph. See shaclFocusNodeValidationReport2
to specify the shapesGraph and shaclShapeValidationReport1
and shaclShapeValidationReport2
to specify individual shapes.
Notes
The following namespace abbreviations are used:
- fti - <http://franz.com/ns/allegrograph/2.2/textindex/>
- geo - <http://franz.com/ns/allegrograph/3.0/geospatial/>
- geofn - <http://franz.com/ns/allegrograph/3.0/geospatial/fn/>
- nd - <http://franz.com/ns/allegrograph/5.0/geo/nd#>
- ndfn - <http://franz.com/ns/allegrograph/5.0/geo/nd/fn#>
- sna - <http://franz.com/ns/allegrograph/4.11/sna/>
The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.