@prefix cacontology-usa-federal: <https://cacontology.projectvic.org/usa-federal-law#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-usa-federal:ProsecutionTemporalValidationShape a sh:NodeShape ;
sh:sparql [ sh:message "Prosecution end point must be after begin point"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/usa-federal-law#"^^xsd:anyURI ;
sh:prefix "cacontology-usa-federal" ] ] ;
sh:select """
SELECT $this
WHERE {
$this cacontology-usa-federal:hasProsecutionBeginPoint ?beginPoint .
$this cacontology-usa-federal:hasProsecutionEndPoint ?endPoint .
FILTER (?endPoint <= ?beginPoint)
}
""" ] ;
sh:targetClass cacontology-usa-federal:FederalProsecution .