From d650c19b6af0337afa6b34c90eea80d5af979073 Mon Sep 17 00:00:00 2001 From: Benjamin Degenhart Date: Tue, 30 Apr 2024 20:58:48 +0200 Subject: [PATCH] Use sh:in instead of sh:hasValue to avoid double validation violation --- shacl/dev-eauto.ttl | 4 ++-- shacl/opendva-existenzgruendungspass-thueringen.ttl | 2 +- shacl/opendva-jenabonus.ttl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shacl/dev-eauto.ttl b/shacl/dev-eauto.ttl index f2a5faf..49012ae 100644 --- a/shacl/dev-eauto.ttl +++ b/shacl/dev-eauto.ttl @@ -13,11 +13,11 @@ ff:CitizenOwnsElectricCarShape ] ; sh:property [ sh:path ff:hasResidence ; - sh:hasValue "Berlin" ; + sh:in ("Berlin") ; ] ; sh:property [ sh:path ff:hasDrivingLicense ; - sh:hasValue true ; + sh:in (true) ; ] . ff:ElectricCarShape diff --git a/shacl/opendva-existenzgruendungspass-thueringen.ttl b/shacl/opendva-existenzgruendungspass-thueringen.ttl index 8ace44d..5543b63 100644 --- a/shacl/opendva-existenzgruendungspass-thueringen.ttl +++ b/shacl/opendva-existenzgruendungspass-thueringen.ttl @@ -17,7 +17,7 @@ ff:MainPersonShape a sh:NodeShape ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "Eine selbständige Tätigkeit darf noch nicht begonnen worden sein" ; - sh:hasValue false ; + sh:in (false) ; ] ; sh:property [ sh:path ff:residesInState ; diff --git a/shacl/opendva-jenabonus.ttl b/shacl/opendva-jenabonus.ttl index c78bc3a..5694b10 100644 --- a/shacl/opendva-jenabonus.ttl +++ b/shacl/opendva-jenabonus.ttl @@ -17,12 +17,12 @@ ff:MainPersonShape a sh:NodeShape ; sh:path ff:eligibleForSocialSupport ; sh:minCount 1 ; sh:maxCount 1 ; - sh:hasValue true ; + sh:in (true) ; sh:message "Eine Form von Sozialhilfe ist Voraussetzung" ] ; sh:property [ sh:path ff:hasResidence ; - sh:hasValue "Jena" ; + sh:in ("Jena") ; sh:minCount 1 ; sh:maxCount 1 ; sh:message "Der Wohnort muss Jena sein"