solveit-wa:WeaknessEvaluationShape leaf node


URI

https://ontology.solveit-df.org/solveit/weakness-assessment/WeaknessEvaluationShape

Label

Weakness Evaluation Shape

Targets (1)

Property Constraints (6)

Focus nodes of this shape (solveit-wa:WeaknessEvaluation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
solveit-wa:detectDifficultyRating detection difficulty rating
How difficult the weakness is to detect. Integer score 1-3 (1=Low/easy to detect, 2=Medium, 3=High/hard to detect).
0 1 xsd:integer
sh:minInclusive 1
sh:maxInclusive 6
solveit-wa:evaluatesWeakness evaluates weakness
Links a weakness evaluation to the specific weakness being assessed.
1 1 solveit-core:Weakness
solveit-wa:impactRating impact rating
The impact if this weakness manifests. Integer score 1-3 (1=Low, 2=Medium, 3=High).
1 1 xsd:integer
sh:minInclusive 1
sh:maxInclusive 6
solveit-wa:liImpactScore likelihood x impact score
Computed score from Likelihood x Impact (range 1-9). Low=1, Medium=2, High=3.
1 1 xsd:integer
sh:minInclusive 1
sh:maxInclusive 36
solveit-wa:likelihoodRating likelihood rating
The likelihood that this weakness will manifest. Integer score 1-3 (1=Low, 2=Medium, 3=High).
1 1 xsd:integer
sh:minInclusive 1
sh:maxInclusive 6
solveit-wa:rpnScore RPN score
Risk Priority Number: Likelihood x Impact x Detection Difficulty (range 1-27). Only present when detection difficulty is rated.
0 1 xsd:integer
sh:minInclusive 1
sh:maxInclusive 216

Implementation

@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/> .
@prefix solveit-wa: <https://ontology.solveit-df.org/solveit/weakness-assessment/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

solveit-wa:WeaknessEvaluationShape a sh:NodeShape ;
    rdfs:label "Weakness Evaluation Shape"@en ;
    sh:property [ sh:class solveit-core:Weakness ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "evaluates weakness" ;
            sh:path solveit-wa:evaluatesWeakness ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 6 ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:name "likelihood rating" ;
            sh:path solveit-wa:likelihoodRating ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 6 ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:name "impact rating" ;
            sh:path solveit-wa:impactRating ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 6 ;
            sh:minInclusive 1 ;
            sh:name "detection difficulty rating" ;
            sh:path solveit-wa:detectDifficultyRating ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 36 ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:name "likelihood x impact score" ;
            sh:path solveit-wa:liImpactScore ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 216 ;
            sh:minInclusive 1 ;
            sh:name "RPN score" ;
            sh:path solveit-wa:rpnScore ] ;
    sh:targetClass solveit-wa:WeaknessEvaluation .