Skip to content

Commit

Permalink
Fix SHACL-logic of Kinderzuschlag
Browse files Browse the repository at this point in the history
Thanks to @lucascool12 and MaximeJ for their help in the SHACL discord!
  • Loading branch information
benjaminaaron committed Jun 22, 2024
1 parent 0d844bf commit 571e0ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shacl/kinderzuschlag.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
] ;
sh:property [
sh:path ff:hasChild ;
sh:node ff:ChildShape ;
sh:minCount 1 ;
sh:qualifiedValueShape ff:ChildShape;
sh:qualifiedMinCount 1;
sh:message "The child doesn't exist or doesn't fulfill all criteria" ;
] ;
sh:property [
Expand All @@ -65,7 +65,6 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
] .

ff:ChildShape a sh:NodeShape ;
sh:targetObjectsOf ff:hasChild ;
sh:property [
sh:path ff:hasAge ;
sh:maxExclusive 25 ;
Expand Down

0 comments on commit 571e0ec

Please sign in to comment.