https://cacontology.projectvic.org/usa-federal-law#PhaseOrderingValidationShape
Instances of cacontology-usa-federal:FederalProsecution can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-usa-federal:FederalProsecution | ||||
| cacontology-usa-federal:hasLegalPhase | 1 |
gufo:Phase
|
||
| cacontology-usa-federal:hasProsecutionBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-usa-federal:hasProsecutionEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-usa-federal:prosecutedBy | 1 |
cacontology-usa-federal:FederalProsecutorRole
|
||
| cacontology-usa-federal:prosecutionComplexity | 1 |
xsd:string
|
||
| cacontology-usa-federal:prosecutionSeverity | 1 |
xsd:string
|
||
| cacontology-usa-federal:prosecutionStatus | 1 |
xsd:string
|
||
@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:PhaseOrderingValidationShape a sh:NodeShape ;
sh:sparql [ sh:message "Pre-trial phase must precede trial phase in federal prosecution"@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:hasLegalPhase ?preTrialPhase .
$this cacontology-usa-federal:hasLegalPhase ?trialPhase .
?preTrialPhase rdf:type cacontology-usa-federal:PreTrialPhase .
?trialPhase rdf:type cacontology-usa-federal:TrialPhase .
?preTrialPhase cacontology-usa-federal:hasPhaseBeginPoint ?preTrialBegin .
?trialPhase cacontology-usa-federal:hasPhaseBeginPoint ?trialBegin .
FILTER (?preTrialBegin >= ?trialBegin)
}
""" ] ;
sh:targetClass cacontology-usa-federal:FederalProsecution .