Ontology Version: 3.1.0

cac-core-shapes:AssessmentResultShape leaf node


URI

https://cacontology.projectvic.org/core/shapes#AssessmentResultShape

Label

Assessment Result Shape

Description

Minimal interoperability shape for assessment results.

Targets (1)

Property Constraints (3)

Focus nodes of this shape (cac-core:AssessmentResult) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cac-core:assesses assesses
An assessment result must reference at least one entity it assesses.
1 *
cac-core:hasConfidence confidence
Optional confidence score between 0 and 1.
0 1 xsd:decimal
sh:minInclusive 0
sh:maxInclusive 1
rdfs:label label
1 * xsd:string

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cac-core-shapes: <https://cacontology.projectvic.org/core/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cac-core-shapes:AssessmentResultShape a sh:NodeShape ;
    rdfs:label "Assessment Result Shape"@en ;
    rdfs:comment "Minimal interoperability shape for assessment results."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:minCount 1 ;
            sh:name "label"@en ;
            sh:path rdfs:label ],
        [ sh:description "An assessment result must reference at least one entity it assesses."@en ;
            sh:minCount 1 ;
            sh:name "assesses"@en ;
            sh:path cac-core:assesses ],
        [ sh:datatype xsd:decimal ;
            sh:description "Optional confidence score between 0 and 1."@en ;
            sh:maxCount 1 ;
            sh:maxInclusive 1 ;
            sh:minInclusive 0 ;
            sh:name "confidence"@en ;
            sh:path cac-core:hasConfidence ] ;
    sh:targetClass cac-core:AssessmentResult .