Ontology Version: 3.1.0

cacontology-street:DrugFacilitatedVulnerabilityShape leaf node


URI

https://cacontology.projectvic.org/street#DrugFacilitatedVulnerabilityShape

Label

Drug Facilitated Vulnerability Shape

Description

Validation shape for drug-facilitated vulnerability instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-street:DrugFacilitatedVulnerability) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-street:administrationMethod Method of substance administration (offered, forced, shared).
sh:message Administration method must be offered, forced, or shared.
0 1 xsd:string
sh:in offered, forced, shared

Implementation

@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@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-street:DrugFacilitatedVulnerabilityShape a sh:NodeShape ;
    rdfs:label "Drug Facilitated Vulnerability Shape"@en ;
    rdfs:comment "Validation shape for drug-facilitated vulnerability instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "offered" "forced" "shared" ) ;
            sh:maxCount 1 ;
            sh:message "Administration method must be offered, forced, or shared."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:administrationMethod ] ;
    sh:targetClass cacontology-street:DrugFacilitatedVulnerability .