solveit-wa:WeaknessEvaluationSetShape leaf node


URI

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

Label

Weakness Evaluation Set Shape

Targets (1)

Property Constraints (3)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
solveit-wa:evaluatedBy evaluated by
The identity (person or organisation) that performed the evaluation.
1 * uco-identity:Identity
solveit-wa:hasEvaluation has evaluation
Links an evaluation set to its constituent weakness evaluations.
1 * solveit-wa:WeaknessEvaluation
solveit-wa:scoringScheme scoring scheme
The rating scheme the evaluations in this set were authored under: 'fi' (Frequency x Impact, ratings 1-3), 'fmea' (FMEA 3-point, ratings 1-3 with detection difficulty) or 'fmea6' (FMEA 6-point, ratings 1-6 with detection difficulty). Without it a consumer cannot tell a 3 that means 'high' on a three-point scale from a 3 that means 'moderate' on a six-point one, so the same integer describes two different risks.
0 1 xsd:string
sh:in fi, fmea, fmea6

Implementation

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

solveit-wa:WeaknessEvaluationSetShape a sh:NodeShape ;
    rdfs:label "Weakness Evaluation Set Shape"@en ;
    sh:property [ sh:class solveit-wa:WeaknessEvaluation ;
            sh:minCount 1 ;
            sh:name "has evaluation" ;
            sh:path solveit-wa:hasEvaluation ],
        [ sh:class uco-identity:Identity ;
            sh:minCount 1 ;
            sh:name "evaluated by" ;
            sh:path solveit-wa:evaluatedBy ],
        [ sh:datatype xsd:string ;
            sh:in ( "fi" "fmea" "fmea6" ) ;
            sh:maxCount 1 ;
            sh:name "scoring scheme" ;
            sh:path solveit-wa:scoringScheme ] ;
    sh:targetClass solveit-wa:WeaknessEvaluationSet .