SPARQL | HTML Microdata document
This HTML5 document contains 12 embedded RDF statements represented using HTML+Microdata notation.
The embedded RDF content will be recognized by any processor of HTML5 Microdata.
Namespace Prefixes
Prefix IRI
n2 http://data.europa.eu/949/shapes/
rdfs http://www.w3.org/2000/01/rdf-schema#
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
xsdh http://www.w3.org/2001/XMLSchema#
n4 http://data.europa.eu/949/
sh http://www.w3.org/ns/shacl#
Statements
Subject Item n2:NoRepeatedTrackIdsSoL
rdf:type
sh:SPARQLConstraint
rdfs:comment
Each track shall have unique identification or number within the SoL. This number cannot be used for naming any other track in the same SoL.
n4:rinfIndex
1.1.1.0.0.1
n4:affectedProperty
n4:trackId
n4:scope
global
sh:message
trackId (1.1.1.0.0.1): Each track shall have unique identification or number within the SoL. This number cannot be used for naming any other track in the same SoL. There is a problem with SoL {$this} ({?solLabel}) and tracks {?track1} ({?track1Label}) and {?track2} ({?track2Label}), since they have the same identifier: {?value}.
sh:prefixes
n4:
sh:select
PREFIX era: <http://data.europa.eu/949/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT $this ?solLabel ?track1 ?track1Label ?track2 ?track2Label ?value
WHERE {
$this era:track ?track1 <http://data.europa.eu/949/graph/shacl> .
$this era:track ?track2 <http://data.europa.eu/949/graph/shacl> .
?track1 era:trackId ?value <http://data.europa.eu/949/graph/shacl> .
?track2 era:trackId ?value <http://data.europa.eu/949/graph/shacl> .
FILTER(?track1 != ?track2) <http://data.europa.eu/949/graph/shacl> .
OPTIONAL{$this rdfs:label ?solLabel} <http://data.europa.eu/949/graph/shacl> .
OPTIONAL{?track1 rdfs:label ?track1Label} <http://data.europa.eu/949/graph/shacl> .
OPTIONAL{?track2 rdfs:label ?track2Label} <http://data.europa.eu/949/graph/shacl> .
}
sh:severity
sh:Violation
n4:affectedClass
n4:Track
n4:SectionOfLine
n4:validationAfterXML
false