Ontology Version: 2.2.0

cacontology-infrastructure:TakedownEffectivenessValidationShape leaf node


URI

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

Label

Takedown Effectiveness Validation Shape

Description

Validates takedown operation effectiveness metrics.

Shape Properties

Instances of cacontology-infrastructure:InfrastructureTakedown can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-infrastructure:InfrastructureTakedown
cacontology-infrastructure:hasTakedownCompleteness 1 xsd:double
cacontology-infrastructure:hasTakedownEffectiveness 1 xsd:double
cacontology-infrastructure:hasTakedownSpeed 1 xsd:string
cacontology-infrastructure:takedownDuration 0 1 xsd:decimal
0 1 xsd:dateTime
1 1 xsd:dateTime

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 .