https://cacontology.projectvic.org/custodial#NeighborRelationshipShape
Validation shape for neighbor relationship instances.
@prefix cacontology-custodial: <https://cacontology.projectvic.org/custodial#> .
@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-custodial:NeighborRelationshipShape a sh:NodeShape ;
rdfs:label "Neighbor Relationship Shape"@en ;
rdfs:comment "Validation shape for neighbor relationship instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "same_building" "same_floor" "adjacent_unit" "same_block" "same_neighborhood" "nearby" ) ;
sh:maxCount 1 ;
sh:message "Neighbor relationship must specify residential proximity from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:residentialProximity ],
[ sh:datatype xsd:string ;
sh:in ( "daily" "weekly" "monthly" "occasional" "rare" "regular" "irregular" ) ;
sh:maxCount 1 ;
sh:message "Access frequency must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-custodial:accessFrequency ] ;
sh:targetClass cacontology-custodial:NeighborRelationship .