Ontology Version: 2.2.0

cacontology-enterprises:GufoSituationFactualRule leaf node


URI

https://cacontology.projectvic.org/extremist-enterprises#GufoSituationFactualRule

Label

GufoSituationFactualRule

Target Classes (1)

Shape Properties

Instances of gufo:Situation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-enterprises: <https://cacontology.projectvic.org/extremist-enterprises#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-enterprises:GufoSituationFactualRule a sh:NodeShape ;
    sh:sparql [ sh:message "gUFO Situations must be factual and include at least one object or event."@en ;
            sh:prefixes gufo: ;
            sh:select """
            SELECT $this WHERE {
                $this rdf:type gufo:Situation .
                FILTER NOT EXISTS {
                    { ?object gufo:participatesIn $this . }
                    UNION
                    { ?event gufo:occursDuring $this . }
                    UNION  
                    { $this gufo:includesObject ?object . }
                    UNION
                    { $this gufo:includesEvent ?event . }
                }
            }
        """ ] ;
    sh:targetClass gufo:Situation .