Ontology Version: 3.1.0

cacontology-infrastructure:TakedownEffectivenessValidationShape leaf node


URI

https://cacontology.projectvic.org/infrastructure#TakedownEffectivenessValidationShape

Label

Takedown Effectiveness Validation Shape

Description

Validates takedown operation effectiveness metrics.

Implementation

@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-infrastructure:TakedownEffectivenessValidationShape a sh:NodeShape ;
    rdfs:label "Takedown Effectiveness Validation Shape"@en ;
    rdfs:comment "Validates takedown operation effectiveness metrics."@en ;
    sh:sparql [ sh:message "Large-scale takedown operations should have significant seizure metrics."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-infrastructure:takedownDuration ?duration .
                FILTER (?duration > 24)
                FILTER NOT EXISTS {
                    { ?seizure a cacontology-infrastructure:ServerSeizure ;
                              cacontology-infrastructure:serversSeized ?servers .
                      FILTER (?servers > 10) } UNION
                    { ?sinkhole a cacontology-infrastructure:DomainSinkholing ;
                                cacontology-infrastructure:domainsSinkholed ?domains .
                      FILTER (?domains > 5) }
                }
            }
        """ ] ;
    sh:targetClass cacontology-infrastructure:InfrastructureTakedown .