https://cacontology.projectvic.org/detection#MassContentAnalysisSituationShape
Validates mass content analysis situations.
Instances of cacontology-detection:MassContentAnalysisSituation can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:MassContentAnalysisSituationShape a sh:NodeShape ;
rdfs:label "Mass Content Analysis Situation Shape"@en ;
rdfs:comment "Validates mass content analysis situations."@en ;
sh:sparql [ sh:message "Mass content analysis situation must involve multiple detection actions"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/detection#"^^xsd:anyURI ;
sh:prefix "cacontology-detection" ],
[ sh:namespace "http://purl.org/nemo/gufo#"^^xsd:anyURI ;
sh:prefix "gufo" ] ] ;
sh:select """
PREFIX cacontology-detection: <https://cacontology.projectvic.org/detection#>
PREFIX gufo: <http://purl.org/nemo/gufo#>
SELECT ?this
WHERE {
?this a cacontology-detection:MassContentAnalysisSituation .
{
SELECT ?this (COUNT(?action) as ?actionCount)
WHERE {
?action gufo:occursInSituation ?this .
?action a cacontology-detection:AutomatedDetectionAction .
}
GROUP BY ?this
}
FILTER (?actionCount < 10)
}
""" ] ;
sh:targetClass cacontology-detection:MassContentAnalysisSituation .