Ontology Version: 2.2.0

cacontology-detection:ClassificationResultObjectShape leaf node


URI

https://cacontology.projectvic.org/detection#ClassificationResultObjectShape

Label

Classification Result Object Shape

Description

Validates classification result instances with gUFO Object constraints.

Shape Properties

Instances of cacontology-detection:ClassificationResult can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-detection:ClassificationResult
cacontology-detection:ageEstimate 0 1 xsd:integer
cacontology-detection:tannerStage 0 1 xsd:integer
1
1 1 xsd:dateTime

Implementation

@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:ClassificationResultObjectShape a sh:NodeShape ;
    rdfs:label "Classification Result Object Shape"@en ;
    rdfs:comment "Validates classification result instances with gUFO Object constraints."@en ;
    sh:property [ sh:hasValue gufo:Object ;
            sh:message "Classification result must be typed as gUFO Object"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Classification result must specify creation time"@en ;
            sh:minCount 1 ;
            sh:path uco-core:createdTime ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 25 ;
            sh:message "Age estimate must be between 0 and 25 years when specified"@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-detection:ageEstimate ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 5 ;
            sh:message "Tanner stage must be between 1 and 5 when specified"@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-detection:tannerStage ] ;
    sh:targetClass cacontology-detection:ClassificationResult .