Skip to content

Commit c7c0a96

Browse files
committed
Replace sh:hasValue with sh:in
Otherwise it doesn't work with the currently implemented missing data detection logic
1 parent ab785de commit c7c0a96

10 files changed

+80
-58
lines changed

sozialplattform/shacl/01-hilfe-zum-lebensunterhalt.ttl

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1919
sh:property [
2020
sh:path ff:aufenthaltsort ;
2121
sh:minCount 1 ;
22-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
22+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
2323
] ;
2424
sh:property [
2525
sh:path ff:pensionable ;
2626
sh:minCount 1 ;
27-
sh:hasValue false ;
27+
sh:in (false) ;
2828
] ;
2929
sh:property [
3030
sh:path ff:erwerbsfaehig_neu ;
3131
sh:minCount 1 ;
32-
sh:hasValue ff:erwerbsfaehig_neu-ao-nein-weniger-6-monate ;
32+
sh:in (ff:erwerbsfaehig_neu-ao-nein-weniger-6-monate) ;
3333
] ;
3434
sh:property [
3535
sh:path ff:beruf_neu ;
3636
sh:minCount 1 ;
3737
sh:not [
38-
sh:hasValue ff:beruf_neu-ao-alg ;
38+
sh:in (ff:beruf_neu-ao-alg) ;
3939
] ;
4040
] ;
4141
sh:property [

sozialplattform/shacl/02-kindergeld.ttl

+14-8
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,38 @@ ff:kindergeld a ff:RequirementProfile ;
1515

1616
ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1717
sh:targetClass ff:Citizen ;
18+
sh:property [
19+
sh:path ff:kinder_unter_18 ;
20+
sh:minCount 1 ;
21+
] ;
22+
sh:property [
23+
sh:path ff:kinder_18_25 ;
24+
sh:minCount 1 ;
25+
] ;
1826
sh:property [
1927
sh:path ff:kinder ;
2028
sh:minCount 1 ;
21-
sh:hasValue true ;
29+
sh:in (true) ;
2230
] ;
2331
sh:property [
2432
sh:path ff:pensionable ;
2533
sh:minCount 1 ;
26-
sh:hasValue false ;
34+
sh:in (false) ;
2735
] ;
2836
sh:property [
2937
sh:path ff:aufenthaltsort ;
3038
sh:minCount 1 ;
31-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
39+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
3240
] ;
3341
sh:or ([
3442
sh:property [
3543
sh:path ff:kinder_18_25 ;
36-
sh:minCount 1 ;
37-
sh:hasValue true ;
44+
sh:in (true) ;
3845
]
3946
] [
4047
sh:property [
4148
sh:path ff:kinder_unter_18 ;
42-
sh:minCount 1 ;
43-
sh:hasValue true ;
49+
sh:in (true) ;
4450
]
4551
]) ;
4652
sh:property [
@@ -60,5 +66,5 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
6066
sh:property [
6167
sh:path ff:kindergeld ;
6268
sh:minCount 1 ;
63-
sh:hasValue false ;
69+
sh:in (false) ;
6470
] .

sozialplattform/shacl/03-kinderzuschlag.ttl

+17-11
Original file line numberDiff line numberDiff line change
@@ -15,55 +15,61 @@ ff:kinderzuschlag a ff:RequirementProfile ;
1515

1616
ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1717
sh:targetClass ff:Citizen ;
18+
sh:property [
19+
sh:path ff:kinder_unter_18 ;
20+
sh:minCount 1 ;
21+
] ;
22+
sh:property [
23+
sh:path ff:kinder_18_25 ;
24+
sh:minCount 1 ;
25+
] ;
1826
sh:property [
1927
sh:path ff:aufenthalt ;
2028
sh:minCount 1 ;
21-
sh:hasValue true ;
29+
sh:in (true) ;
2230
] ;
2331
sh:property [
2432
sh:path ff:kinder ;
2533
sh:minCount 1 ;
26-
sh:hasValue true ;
34+
sh:in (true) ;
2735
] ;
2836
sh:property [
2937
sh:path ff:lebenssituation ;
3038
sh:minCount 1 ;
3139
sh:not [
32-
sh:hasValue ff:lebenssituation-ao-allein ;
40+
sh:in (ff:lebenssituation-ao-allein) ;
3341
] ;
3442
] ;
3543
sh:property [
3644
sh:path ff:aufenthaltsort ;
3745
sh:minCount 1 ;
38-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
46+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
3947
] ;
4048
sh:property [
4149
sh:path ff:einkommen_familie ;
4250
sh:minCount 1 ;
43-
sh:hasValue ff:einkommen_familie-ao-monatsbrutto-ueber-900-600 ;
51+
sh:in (ff:einkommen_familie-ao-monatsbrutto-ueber-900-600) ;
4452
] ;
4553
sh:or ([
4654
sh:property [
4755
sh:path ff:kinder_18_25 ;
48-
sh:minCount 1 ;
49-
sh:hasValue true ;
56+
sh:in (true) ;
5057
]
5158
] [
5259
sh:property [
5360
sh:path ff:kinder_unter_18 ;
54-
sh:minCount 1 ;
55-
sh:hasValue true ;
61+
sh:in (true) ;
5662
]
5763
]) ;
5864
sh:property [
5965
sh:path ff:kindergeld ;
6066
sh:minCount 1 ;
61-
sh:hasValue true ;
67+
sh:in (true) ;
6268
] ;
6369
sh:property [
6470
sh:path ff:einkommen_neu ;
6571
sh:minCount 1 ;
6672
sh:not [
67-
sh:hasValue ff:einkommen_neu-ao-alg-ii ;
73+
sh:in (ff:einkommen_neu-ao-alg-ii) ;
6874
] ;
6975
] .

sozialplattform/shacl/04-bafoeg.ttl

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
2323
sh:property [
2424
sh:path ff:lebenslage ;
2525
sh:minCount 1 ;
26-
sh:hasValue false ;
26+
sh:in (false) ;
2727
] ;
2828
sh:property [
2929
sh:path ff:krankenversicherung ;
3030
sh:minCount 1 ;
31-
sh:hasValue true ;
31+
sh:in (true) ;
3232
] ;
3333
sh:property [
3434
sh:path ff:pflegeversicherung ;
3535
sh:minCount 1 ;
36-
sh:hasValue true ;
36+
sh:in (true) ;
3737
] ;
3838
sh:property [
3939
sh:path ff:erwerbsfaehig_neu ;
4040
sh:minCount 1 ;
4141
sh:not [
42-
sh:hasValue ff:erwerbsfaehig_neu-ao-nein-greater-6-monate ;
42+
sh:in (ff:erwerbsfaehig_neu-ao-nein-greater-6-monate) ;
4343
] ;
4444
] ;
4545
sh:property [
4646
sh:path ff:beruf_neu ;
4747
sh:minCount 1 ;
48-
sh:hasValue ff:beruf_neu-ao-ausbildung ;
48+
sh:in (ff:beruf_neu-ao-ausbildung) ;
4949
] ;
5050
sh:property [
5151
sh:path ff:einkommen_neu ;

sozialplattform/shacl/05-buergergeld.ttl

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1818
sh:property [
1919
sh:path ff:aufenthalt ;
2020
sh:minCount 1 ;
21-
sh:hasValue true ;
21+
sh:in (true) ;
2222
] ;
2323
sh:property [
2424
sh:path ff:aufenthaltsort ;
2525
sh:minCount 1 ;
26-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
26+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
2727
] ;
2828
sh:property [
2929
sh:path ff:hasAge ;
@@ -33,13 +33,13 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
3333
sh:property [
3434
sh:path ff:pensionable ;
3535
sh:minCount 1 ;
36-
sh:hasValue false ;
36+
sh:in (false) ;
3737
] ;
3838
sh:property [
3939
sh:path ff:erwerbsfaehig_neu ;
4040
sh:minCount 1 ;
4141
sh:not [
42-
sh:hasValue ff:erwerbsfaehig_neu-ao-nein-greater-6-monate ;
42+
sh:in (ff:erwerbsfaehig_neu-ao-nein-greater-6-monate) ;
4343
] ;
4444
] ;
4545
sh:property [

sozialplattform/shacl/06-arbeitslosengeld.ttl

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1818
sh:property [
1919
sh:path ff:pensionable ;
2020
sh:minCount 1 ;
21-
sh:hasValue false ;
21+
sh:in (false) ;
2222
] ;
2323
sh:property [
2424
sh:path ff:aufenthalt ;
2525
sh:minCount 1 ;
26-
sh:hasValue true ;
26+
sh:in (true) ;
2727
] ;
2828
sh:property [
2929
sh:path ff:aufenthaltsort ;
3030
sh:minCount 1 ;
31-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
31+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
3232
] ;
3333
sh:property [
3434
sh:path ff:erwerbsfaehig_neu ;
3535
sh:minCount 1 ;
36-
sh:hasValue ff:erwerbsfaehig_neu-ao-ja ;
36+
sh:in (ff:erwerbsfaehig_neu-ao-ja) ;
3737
] ;
3838
sh:property [
3939
sh:path ff:beruf_neu ;
4040
sh:minCount 1 ;
41-
sh:hasValue ff:beruf_neu-ao-alg ;
41+
sh:in (ff:beruf_neu-ao-alg) ;
4242
] ;
4343
sh:property [
4444
sh:path ff:einkommen_neu ;

sozialplattform/shacl/07-berufsausbildungsbeihilfe-bab.ttl

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@prefix ff: <https://foerderfunke.org/default#> .
44
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
55

6-
ff:hberufsausbildungsbeihilfe-bab a ff:RequirementProfile ;
6+
ff:berufsausbildungsbeihilfe-bab a ff:RequirementProfile ;
77
ff:leikaId "99007004017000" ;
88
ff:title "Berufsausbildungsbeihilfe (BAB)"@de , "Vocational training allowance (BAB)"@en ;
99
ff:category ff:schule-studium-ausbildung-bc-kategorie ;
@@ -18,22 +18,22 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1818
sh:property [
1919
sh:path ff:pensionable ;
2020
sh:minCount 1 ;
21-
sh:hasValue false ;
21+
sh:in (false) ;
2222
] ;
2323
sh:property [
2424
sh:path ff:aufenthaltsort ;
2525
sh:minCount 1 ;
26-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
26+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
2727
] ;
2828
sh:property [
2929
sh:path ff:pflege ;
3030
sh:minCount 1 ;
31-
sh:hasValue true ;
31+
sh:in (true) ;
3232
] ;
3333
sh:property [
3434
sh:path ff:beruf_neu ;
3535
sh:minCount 1 ;
36-
sh:hasValue ff:beruf_neu-ao-ausbildung ;
36+
sh:in (ff:beruf_neu-ao-ausbildung) ;
3737
] ;
3838
sh:property [
3939
sh:path ff:einkommen_neu ;

sozialplattform/shacl/08-wohngeld.ttl

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1818
sh:property [
1919
sh:path ff:aufenthaltsort ;
2020
sh:minCount 1 ;
21-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
21+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
2222
] ;
2323
sh:property [
2424
sh:path ff:hasAge ;
@@ -28,13 +28,13 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
2828
sh:property [
2929
sh:path ff:pensionable ;
3030
sh:minCount 1 ;
31-
sh:hasValue false ;
31+
sh:in (false) ;
3232
] ;
3333
sh:property [
3434
sh:path ff:beruf_neu ;
3535
sh:minCount 1 ;
3636
sh:not [
37-
sh:hasValue ff:beruf_neu-ao-ausbildung ;
37+
sh:in (ff:beruf_neu-ao-ausbildung) ;
3838
] ;
3939
] ;
4040
sh:property [

sozialplattform/shacl/09-grundsicherung-im-alter-und-bei-erwerbsminderung.ttl

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ ff:MainPersonShape a sh:NodeShape, ff:EligibilityConstraint ;
1818
sh:property [
1919
sh:path ff:pensionable ;
2020
sh:minCount 1 ;
21-
sh:hasValue true ;
21+
sh:in (true) ;
2222
] ;
2323
sh:property [
2424
sh:path ff:aufenthaltsort ;
2525
sh:minCount 1 ;
26-
sh:hasValue ff:aufenthaltsort-ao-innerhalb ;
26+
sh:in (ff:aufenthaltsort-ao-innerhalb) ;
2727
] ;
2828
sh:property [
2929
sh:path ff:erwerbsfaehig_neu ;
3030
sh:minCount 1 ;
31-
sh:hasValue ff:erwerbsfaehig_neu-ao-nein-greater-6-monate ;
31+
sh:in (ff:erwerbsfaehig_neu-ao-nein-greater-6-monate) ;
3232
] ;
3333
sh:property [
3434
sh:path ff:beruf_neu ;
3535
sh:minCount 1 ;
36-
sh:hasValue ff:beruf_neu-ao-rente ;
36+
sh:in (ff:beruf_neu-ao-rente) ;
3737
] ;
3838
sh:property [
3939
sh:path ff:einkommen_neu ;

0 commit comments

Comments
 (0)