You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the values of sh:prefixes as defined by 5.2.1 Prefix Declarations for SPARQL Queries, the values of sh:select must be valid SPARQL 1.1 SELECT queries with a single result variable this
Value:
SELECTDISTINCT ?this WHERE {
?this rdf:type cim:PowerTransformer .
FILTER NOT EXISTS {?this ^cim:PowerTransformerEnd.PowerTransformer/cim:TransformerEnd.endNumber 3}. }
There is no info to identify the shape, but only this one matches the query:
equ:PowerTransformer-twoWinding
a sh:NodeShape ;
sh:property equ:PowerTransformerEnd-secondWindingValues ;
sh:target
[
a sh:SPARQLTarget ;
sh:prefixes cim: ;
sh:select """ SELECT DISTINCT ?this WHERE { ?this rdf:type cim:PowerTransformer . FILTER NOT EXISTS {?this ^cim:PowerTransformerEnd.PowerTransformer/cim:TransformerEnd.endNumber 3}. }""" ;
] .
This SPARQL query is valid, and the prefix used is declared at the beginning of the file:
cim:
a owl:Ontology ;
owl:imports sh: ;
sh:declare [
a sh:PrefixDeclaration ;
sh:namespace "http://iec.ch/TC57/CIM100#"^^xsd:anyURI ;
sh:prefix "cim" ;
] ;
The text was updated successfully, but these errors were encountered:
When validating electrical CIM Advanced SHACL shapes with SPARQLTarget:
Validate
thenAggregated report
You see this error
There is no info to identify the shape, but only this one matches the query:
This SPARQL query is valid, and the prefix used is declared at the beginning of the file:
The text was updated successfully, but these errors were encountered: