Ontology Version: 3.0.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.

Target Classes (1)

Shape Properties

Instances of cac-core:AssessmentResult can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cac-core:AssessmentResult
cac-core:assesses 1
cac-core:hasConfidence 1 xsd:decimal
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 .