Ontology Version: 2.2.0

cacontology-enterprises:GufoEnterpriseStructureValidation leaf node


URI

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

Label

GufoEnterpriseStructureValidation

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:GufoEnterpriseStructureValidation a sh:NodeShape ;
    sh:sparql [ sh:message "Enterprise as functional complex must have proper part-whole relationships with its hierarchy."@en ;
            sh:prefixes gufo:,
                cacontology-enterprises: ;
            sh:select """
            SELECT $this WHERE {
                $this rdf:type cacontology-enterprises:ChildExploitationEnterprise .
                $this rdf:type gufo:FunctionalComplex .
                $this cacontology-enterprises:hasHierarchy ?hierarchy .
                FILTER NOT EXISTS {
                    ?hierarchy gufo:isComponentOf $this .
                }
            }
        """ ] ;
    sh:targetClass cacontology-enterprises:ChildExploitationEnterprise .