https://cacontology.projectvic.org/hotlines/core#ReportReviewActionShape
Enhanced SHACL shape for report review actions with comprehensive gUFO Event modeling and classification requirements.
Instances of hotline:ReportReviewAction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| hotline:ReportReviewAction | ||||
| hotline:classification | 1 | |||
| 1 | ||||
@prefix hotline: <https://cacontology.projectvic.org/hotlines/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-action: <https://ontology.unifiedcyberontology.org/uco/action/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
hotline:ReportReviewActionShape a sh:NodeShape ;
rdfs:label "Report Review Action Shape"@en ;
rdfs:comment "Enhanced SHACL shape for report review actions with comprehensive gUFO Event modeling and classification requirements."@en ;
sh:property [ sh:message "A report review action must have at least one performer"@en ;
sh:minCount 1 ;
sh:path uco-action:performer ],
[ sh:message "A report review action must assign at least one classification"@en ;
sh:minCount 1 ;
sh:path hotline:classification ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a hotline:QualificationError . }
WHERE {
$this a hotline:ReportReviewAction .
$this uco-action:performer ?performer .
FILTER NOT EXISTS {
?performer hotline:playsRole hotline:HotlineAnalystRole .
}
}
""" ;
sh:message "Report review must be performed by qualified analyst"@en ;
sh:prefixes hotline: ;
sh:severity sh:Violation ] ;
sh:targetClass hotline:ReportReviewAction .