Ontology Version: 3.1.0

cacontology-physical-shapes:PhysicalEvidenceShape leaf node


URI

https://cacontology.projectvic.org/physical/shapes#PhysicalEvidenceShape

Label

Physical Evidence Shape

Description

Enhanced validation shape for physical evidence instances with gUFO quality aspects.

Targets (1)

Property Constraints (12)

Focus nodes of this shape (cacontology-physical:PhysicalEvidence) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-physical:collectionDate
sh:message Physical evidence must specify collection date.
1 1 xsd:dateTime
cacontology-physical:collectionLocation
sh:message Physical evidence must specify collection location (5-200 characters).
1 1 xsd:string
sh:minLength 5
sh:maxLength 200
cacontology-physical:evidenceCategory
sh:message Physical evidence must specify evidence category from the allowed list.
1 1 xsd:string
sh:in primary_evidence, secondary_evidence, corroborative_evidence, circumstantial_evidence, demonstrative_evidence, real_evidence
cacontology-physical:evidenceCondition
sh:message Physical evidence must specify evidence condition from the allowed list.
1 1 xsd:string
sh:in excellent, good, fair, poor, damaged, deteriorated, contaminated
cacontology-physical:evidenceNumber
sh:message Physical evidence must specify evidence number (5-50 characters).
1 1 xsd:string
sh:minLength 5
sh:maxLength 50
cacontology-physical:evidenceStatus
sh:message Physical evidence must specify evidence status from the allowed list.
1 1 xsd:string
sh:in collected, processed, analyzed, stored, returned, destroyed, missing
cacontology-physical:evidenceType Category of physical evidence (digital_device, document, contraband, personal_item).
sh:message Physical evidence must specify evidence type from the allowed list.
1 1 xsd:string
sh:in digital_media, documents, photographs, clothing, biological_samples, weapons, contraband, personal_items
cacontology-physical:hasContaminationLevel Level of evidence contamination (gUFO quality aspect).
sh:message Contamination level must be between 0.0 and 1.0 (gUFO quality aspect).
0 1 xsd:double
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-physical:hasEvidenceIntegrity Overall integrity level of physical evidence (gUFO quality aspect).
sh:message Evidence integrity must be from allowed values (gUFO quality aspect).
0 1 xsd:string
sh:in compromised, questionable, good, excellent, pristine
cacontology-physical:hasEvidenceReliability Reliability assessment of evidence for prosecution (gUFO quality aspect).
sh:message Evidence reliability must be between 0.0 and 1.0 (gUFO quality aspect).
0 1 xsd:double
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-physical:hasForensicValue Forensic value assessment of evidence (gUFO quality aspect).
sh:message Forensic value must be from allowed values (gUFO quality aspect).
0 1 xsd:string
sh:in minimal, limited, moderate, high, critical
cacontology-physical:hasPreservationQuality Quality level of evidence preservation (gUFO quality aspect).
sh:message Preservation quality must be from allowed values (gUFO quality aspect).
0 1 xsd:string
sh:in poor, fair, good, excellent, optimal

Implementation

@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-physical-shapes:PhysicalEvidenceShape a sh:NodeShape ;
    rdfs:label "Physical Evidence Shape"@en ;
    rdfs:comment "Enhanced validation shape for physical evidence instances with gUFO quality aspects."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "digital_media" "documents" "photographs" "clothing" "biological_samples" "weapons" "contraband" "personal_items" ) ;
            sh:maxCount 1 ;
            sh:message "Physical evidence must specify evidence type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-physical:evidenceType ],
        [ sh:datatype xsd:string ;
            sh:in ( "primary_evidence" "secondary_evidence" "corroborative_evidence" "circumstantial_evidence" "demonstrative_evidence" "real_evidence" ) ;
            sh:maxCount 1 ;
            sh:message "Physical evidence must specify evidence category from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-physical:evidenceCategory ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Physical evidence must specify collection date."@en ;
            sh:minCount 1 ;
            sh:path cacontology-physical:collectionDate ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Physical evidence must specify collection location (5-200 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path cacontology-physical:collectionLocation ],
        [ sh:datatype xsd:string ;
            sh:in ( "excellent" "good" "fair" "poor" "damaged" "deteriorated" "contaminated" ) ;
            sh:maxCount 1 ;
            sh:message "Physical evidence must specify evidence condition from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-physical:evidenceCondition ],
        [ sh:datatype xsd:string ;
            sh:in ( "collected" "processed" "analyzed" "stored" "returned" "destroyed" "missing" ) ;
            sh:maxCount 1 ;
            sh:message "Physical evidence must specify evidence status from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-physical:evidenceStatus ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 50 ;
            sh:message "Physical evidence must specify evidence number (5-50 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path cacontology-physical:evidenceNumber ],
        [ sh:datatype xsd:string ;
            sh:in ( "compromised" "questionable" "good" "excellent" "pristine" ) ;
            sh:maxCount 1 ;
            sh:message "Evidence integrity must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-physical:hasEvidenceIntegrity ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Evidence reliability must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-physical:hasEvidenceReliability ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "fair" "good" "excellent" "optimal" ) ;
            sh:maxCount 1 ;
            sh:message "Preservation quality must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-physical:hasPreservationQuality ],
        [ sh:datatype xsd:string ;
            sh:in ( "minimal" "limited" "moderate" "high" "critical" ) ;
            sh:maxCount 1 ;
            sh:message "Forensic value must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-physical:hasForensicValue ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Contamination level must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-physical:hasContaminationLevel ] ;
    sh:targetClass cacontology-physical:PhysicalEvidence .