default2:SolveitInvestigativeActionShape leaf node


URI

https://ontology.solveit-df.org/solveit/core/shapes/SolveitInvestigativeActionShape

Label

SOLVE-IT Investigative Action Shape

Description

Validates that the mitigations an action applied, named with appliedMitigation, are IRIs.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (solveit-core:SolveitInvestigativeAction) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
solveit-core:appliedMitigation Links a SolveitInvestigativeAction to Mitigation(s) that were actively applied during the execution to prevent or minimize potential weaknesses (0..n).
sh:message appliedMitigation must reference a mitigation by IRI, such as a knowledge base mitigation solveit-data:mitigationDFM-NNNN
0 * sh:IRI
sh:or ( solveit-core:Mitigation | sh:IRI )

Implementation

@prefix default2: <https://ontology.solveit-df.org/solveit/core/shapes/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix solveit-core: <https://ontology.solveit-df.org/solveit/core/> .

default2:SolveitInvestigativeActionShape a sh:NodeShape ;
    rdfs:label "SOLVE-IT Investigative Action Shape"@en ;
    rdfs:comment "Validates that the mitigations an action applied, named with appliedMitigation, are IRIs."@en ;
    sh:property [ sh:message "appliedMitigation must reference a mitigation by IRI, such as a knowledge base mitigation solveit-data:mitigationDFM-NNNN"@en ;
            sh:nodeKind sh:IRI ;
            sh:or ( [ sh:class solveit-core:Mitigation ] [ sh:nodeKind sh:IRI ] ) ;
            sh:path solveit-core:appliedMitigation ] ;
    sh:targetClass solveit-core:SolveitInvestigativeAction .