-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdatafields.ttl
363 lines (331 loc) · 12.2 KB
/
datafields.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix fim: <https://schema.fim.fitko.net/fields/baukasten/> .
@prefix ff: <https://foerderfunke.org/default#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
ff:hasFirstNames a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00000154 ;
ff:hasFimVersion "1.3" ;
ff:hasFimUrl "https://schema.fim.fitko.net/fields/baukasten/F00000154/1.3" ;
rdfs:label "Vorname" ; # Vornamen
rdfs:comment "Vorname + Mittelnamen" ;
ff:similarDatafield foaf:firstName ; # owl equivalentProperty/class? TODO
ff:hasShaclShape ff:FirstNamesShape .
ff:FirstNamesShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasFirstNames ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
] .
ff:hasFamilyName a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00000013 ;
ff:hasFimVersion "1.5" ;
ff:hasFimUrl "https://schema.fim.fitko.net/fields/baukasten/F00000013/1.5" ;
rdfs:label "Nachname" ; # Familienname
rdfs:comment "Familienname einer natürlichen Person bestehend aus Nachname, Zuname bzw. Familienname." ;
ff:similarDatafield foaf:lastName ;
ff:hasShaclShape ff:FamilyNameShape .
ff:FamilyNameShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasFamilyName ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
] .
ff:hasBirthday a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F03008235 ;
ff:hasFimVersion "2.0" ;
ff:hasFimUrl "https://schema.fim.fitko.net/fields/baukasten/F03008235/2.0" ;
rdfs:label "Geburtsdatum" ;
rdfs:comment "Dieses Feld beinhaltet das Geburtsdatum, also Tag, Monat und Jahr der Vollendung der Geburt." ;
ff:similarDatafield foaf:birthday ;
ff:hasShaclShape ff:BirthdayShape .
ff:BirthdayShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasBirthday ;
sh:datatype xsd:date ;
sh:maxCount 1 ;
] .
ff:hasGender a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F60000332 ;
ff:hasFimVersion "1.3" ;
ff:hasFimUrl "https://schema.fim.fitko.net/fields/baukasten/F60000332/1.3" ;
rdfs:label "Geschlecht" ;
rdfs:comment "Beschreibt das Geschlecht einer Person. Folgende Angaben sind möglich: divers, männlich, weiblich, keine Angabe" ;
ff:hasShaclShape ff:GenderShape .
ff:GenderShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasGender ;
sh:in ("weiblich" "männlich" "divers" "keine Angabe") ;
sh:maxCount 1 ;
rdfs:seeAlso <https://schema.fim.fitko.net/fields/baukasten/F60000332/1.3>
] .
ff:hasBirthPlace a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00000067 ;
ff:hasFimVersion "1.3" ;
ff:hasFimUrl "https://schema.fim.fitko.net/fields/baukasten/F00000067/1.3" ;
rdfs:label "Geburtsort" ;
rdfs:comment "Der Ort der Geburt einer natürlichen Person." ;
ff:hasShaclShape ff:BirthPlaceShape .
ff:BirthPlaceShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasBirthPlace ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
] .
ff:hasResidence a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F03010085 ;
ff:hasFimVersion "1.0" ;
ff:hasFimUrl "https://schema.fim.fitko.net/fields/baukasten/F03010085/1.0" ;
rdfs:label "Wohnort" ;
rdfs:comment "Enthält den Namen eines Ortes (Gemeinde, Ortschaft oder Stadt)." ;
ff:hasShaclShape ff:ResidenceShape .
ff:ResidenceShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasResidence ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
] .
ff:hasMaritalStatus a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00000559 ;
ff:hasFimVersion "1.3" ;
ff:hasFimUrl "https://schema.fim.fitko.net/fields/baukasten/F00000559/1.3" ;
rdfs:label "Familienstand" ;
ff:hasShaclShape ff:MaritalStatusShape .
ff:MaritalStatusShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasMaritalStatus ;
sh:in ("LD" "VH" "VW" "GS" "EA" "LP" "LV" "LA" "LE" "NB") ;
sh:maxCount 1 ;
ff:shInAbbrevationsStandFor ("ledig" "verheiratet" "verwitwet" "geschieden" "Ehe aufgehoben" "in eingetragener Lebenspartnerschaft" "durch Tod aufgelöste Lebenspartnerschaft" "aufgehobene Lebenspartnerschaft" "durch Todeserklärung aufgelöste Lebenspartnerschaft" "nicht bekannt") ;
rdfs:seeAlso <https://www.xrepository.de/details/urn:de:dsmeld:schluesseltabelle:familienstand>
] .
ff:eligibleForSocialSupport a ff:DataField ;
rdfs:label "Sozialbedürftig" ;
rdfs:comment "This is a shortcut for demo purposes" ;
ff:hasShaclShape ff:EligibleForSocialSupportShape .
ff:EligibleForSocialSupportShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:eligibleForSocialSupport ;
sh:datatype xsd:boolean ;
] .
ff:worksAsFreelancer a ff:DataField ;
rdfs:label "Selbstständige Tätigkeiten" ;
ff:hasShaclShape ff:WorksAsFreelancerShape .
ff:WorksAsFreelancerShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:worksAsFreelancer ;
sh:datatype xsd:boolean ;
] .
# ------------------------------------------------------
ff:hasAge a ff:DataField ;
rdfs:label "Alter" ;
ff:similarDatafield foaf:age ;
ff:hasShaclShape ff:AgeShape .
ff:AgeShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasAge ;
sh:datatype xsd:integer ;
sh:minInclusive 0 ;
sh:maxCount 1 ;
] .
ff:paysRentCold a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00000240 ;
ff:hasFimVersion "1.5" ;
rdfs:label "Höhe der Miete" ;
ff:hasShaclShape ff:paysRentColdShape .
ff:paysRentColdShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:paysRentCold ;
sh:datatype xsd:integer ;
sh:maxCount 1 ;
sh:minInclusive 0 ;
] .
ff:hasLivingArea a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00003175 ;
ff:hasFimVersion "1.0" ;
rdfs:label "Wohnfläche in m²" ;
ff:hasShaclShape ff:hasLivingAreaShape .
ff:hasLivingAreaShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasLivingArea ;
sh:datatype xsd:integer ;
sh:minInclusive 0 ;
sh:maxCount 1 ;
] .
ff:hasNumberOfChildren a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F05011522 ;
ff:hasFimVersion "1.0" ;
rdfs:label "Anzahl Kinder" ;
rdfs:comment "Angabe der Anzahl der im Haushalt lebenden Kinder." .
ff:hasNumberOfChildrenShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasNumberOfChildren ;
sh:datatype xsd:integer ;
sh:minInclusive 0 ;
sh:maxCount 1 ;
] .
ff:hasIncomeBrutto a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00000575 ;
ff:hasFimVersion "1.1" ;
rdfs:label "Höhe des Einkommens (Brutto)" ;
ff:hasShaclShape ff:hasIncomeBruttoShape .
ff:hasIncomeBruttoShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasIncomeBrutto ;
sh:datatype xsd:integer ;
sh:minInclusive 0 ;
sh:maxCount 1 ;
] .
ff:hasIncomeNetto a ff:FimDataFieldProperty, ff:DataField ;
ff:hasFimId fim:F00001158 ;
ff:hasFimVersion "1.0" ;
rdfs:label "Nettoeinkommen monatlich" ;
ff:hasShaclShape ff:hasIncomeNettoShape .
ff:hasIncomeNettoShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasIncomeNetto ;
sh:datatype xsd:integer ;
sh:minInclusive 0 ;
sh:maxCount 1 ;
] .
ff:receivesKindergeld a ff:FimLeistung, ff:DataField ;
ff:hasFimId 576982 ;
ff:hasLeiKaId 99041008000000 ;
rdfs:label "Kindergeld" .
ff:parentingSetup a ff:DataField ;
rdfs:label "Erziehungsverantwortung" ;
ff:hasShaclShape ff:parentingSetupShape .
ff:parentingSetupShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:parentingSetup ;
sh:in (ff:Alleinerziehend ff:Elternpaar) ;
] .
ff:receivesWohngeld a ff:DataField ;
rdfs:label "Wohngeld" ;
ff:hasShaclShape ff:receivesWohngeldShape .
ff:receivesWohngeldShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:receivesWohngeld ;
sh:datatype xsd:integer ;
sh:minInclusive 0 ;
sh:maxCount 1 ;
] .
ff:hasChild a ff:DataField ;
rdfs:label "Kind" ;
ff:hasShaclShape ff:hasChildShape .
ff:hasChildShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasChild ;
sh:class ff:Child ;
] .
ff:Child a ff:Class ;
rdfs:label "Kind" .
ff:hasToy a ff:DataField ;
rdfs:label "Spielzeug" ;
ff:hasShaclShape ff:hasToyShape .
ff:hasToyShape a sh:NodeShape ;
sh:targetClass ff:Child ;
sh:property [
sh:path ff:hasToy ;
sh:class ff:Toy ;
] .
ff:Toy a ff:Class ;
rdfs:label "Spielzeug" .
ff:hasEmploymentStatus a ff:DataField ;
rdfs:label "Beschäftigungsverhältnis" ;
ff:hasShaclShape ff:hasEmploymentStatusShape .
ff:hasEmploymentStatusShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
ff:modelledAfter <https://www.xrepository.de/details/urn:xoev-de:xfamilie:codeliste:einkommensart> ;
sh:property [
sh:path ff:hasEmploymentStatus ;
sh:in ( "Angestellt" "Selbststaendig" "Ausbildung" "Arbeitslos" "Gefoerderte Ausbildung" ) ;
] .
ff:hasCompliedRequirementProfile a ff:DataField ;
rdfs:label "Bereits erfülltes Anforderungsprofil" ;
ff:hasShaclShape ff:hasCompliedRequirementProfileShape .
ff:hasCompliedRequirementProfileShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasCompliedRequirementProfile ;
sh:class ff:CompliedRequirementProfile ;
] .
ff:CompliedRequirementProfile a ff:Class ;
rdfs:label "Bereits erfülltes Anforderungsprofil" ;
ff:hasShaclShape ff:CompliedRequirementProfileShape .
ff:CompliedRequirementProfileShape a sh:NodeShape ;
sh:targetClass ff:CompliedRequirementProfile ;
sh:property [
sh:path ff:hasRpUri ;
sh:nodeKind sh:IRI ; # "sh:class ff:RequirementProfile ;" would be better, but would require to throw the RPs into the user profile validation because those triples are defined there, e.g.: ff:kinderzuschlag a ff:RequirementProfile
sh:minCount 1 ;
sh:maxCount 1 ;
] .
ff:hasRpUri a ff:DataField ;
rdfs:label "Anforderungsprofil" .
ff:residesInState a ff:DataField ;
rdfs:label "Bundesland" .
ff:hasDeferred a ff:DataField ;
rdfs:label "Zurückgestellt" ;
ff:hasShaclShape ff:hasDeferredShape .
ff:hasDeferredShape a sh:NodeShape ;
sh:targetClass ff:Citizen ;
sh:property [
sh:path ff:hasDeferred ;
sh:class ff:Deferment ;
] .
ff:Deferment a ff:Class ;
rdfs:label "Zurückstellung" ;
ff:hasShaclShape ff:DefermentShape .
ff:DefermentShape a sh:NodeShape ;
sh:targetClass ff:Deferment ;
sh:property [
sh:path dcterms:created ;
sh:datatype xsd:date ;
] ;
sh:property [
sh:path dcterms:type ;
sh:in ( ff:MaterializationRule ff:CompliedRequirementProfile ff:MissingDataField ) ; # was suggested to user via one of these
] ;
sh:property [
sh:path dcterms:source ;
sh:nodeKind sh:IRI ;
] ;
sh:property [
sh:path rdf:subject ;
sh:nodeKind sh:IRI ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path rdf:predicate ;
sh:nodeKind sh:IRI ;
sh:minCount 1 ;
sh:maxCount 1 ;
] .
dcterms:created a ff:DataField ; rdfs:label "erstellt" .
dcterms:type a ff:DataField ; rdfs:label "Typ" .
dcterms:source a ff:DataField ; rdfs:label "Quelle" .
rdf:subject a ff:DataField ; rdfs:label "Subjekt" .
rdf:predicate a ff:DataField ; rdfs:label "Attribut" .