Skip to content

Commit 30e1848

Browse files
committed
Use shorter syntax with blank nodes, rename predicates
1 parent 826d9d3 commit 30e1848

File tree

1 file changed

+26
-39
lines changed

1 file changed

+26
-39
lines changed

sozialplattform/datafields.ttl

+26-39
Original file line numberDiff line numberDiff line change
@@ -42,49 +42,36 @@ ff:gesundheit-pflege a ff:Topic ;
4242
ff:geburtsdatum a ff:DataField, ff:SozialleistungsfinderDataField ;
4343
rdfs:label "Geburtsdatum" ;
4444
rdfs:comment "Wie lautet Ihr Geburtsdatum?" ;
45-
ff:hasOOshape ff:geburtsdatumOOshape ;
46-
ff:hasSOshape ff:geburtsdatumSOshape .
47-
ff:geburtsdatumOOshape a sh:PropertyShape ;
48-
sh:targetObjectsOf ff:geburtsdatum ;
49-
sh:datatype xsd:date .
50-
ff:geburtsdatumSOshape a sh:NodeShape ;
51-
sh:targetSubjectsOf ff:geburtsdatum ;
52-
sh:property [
53-
sh:path ff:geburtsdatum ;
54-
sh:maxCount 1 ;
45+
ff:objectConstraints [
46+
a sh:PropertyShape ;
47+
sh:targetObjectsOf ff:geburtsdatum ;
48+
sh:datatype xsd:date ;
49+
] ;
50+
ff:usageConstraints [
51+
a sh:NodeShape ;
52+
sh:targetSubjectsOf ff:geburtsdatum ;
53+
sh:property [
54+
sh:path ff:geburtsdatum ;
55+
sh:maxCount 1 ;
56+
] ;
5557
] .
5658

57-
#ff:geburtsdatum a ff:DataField, ff:SozialleistungsfinderDataField ;
58-
# rdfs:label "Geburtsdatum" ;
59-
# rdfs:comment "Wie lautet Ihr Geburtsdatum?" ;
60-
# ff:hasOOshape [
61-
# a sh:PropertyShape ;
62-
# sh:targetObjectsOf ff:geburtsdatum ;
63-
# sh:datatype xsd:date ;
64-
# ] ;
65-
# ff:hasSOshape [
66-
# a sh:NodeShape ;
67-
# sh:targetSubjectsOf ff:geburtsdatum ;
68-
# sh:property [
69-
# sh:path ff:geburtsdatum ;
70-
# sh:maxCount 1 ;
71-
# ] ;
72-
# ] .
73-
7459
ff:aufenthaltsort a ff:DataField, ff:SozialleistungsfinderDataField ;
7560
rdfs:label "Aufenthaltsort" ;
7661
rdfs:comment "Wo ist Ihr tatsächlicher Aufenthaltsort an dem Sie erreichbar sind?" ;
7762
ff:explanation "Das ist der Ort, wo Sie sich wirklich aufhalten. Es ist egal, ob Sie dort gemeldet sind oder das Recht haben, hier zu leben. Das kann auch eine Pflegeeinrichtung, ein Frauenhaus, ein Stadtteil oder Ähnliches sein." ;
78-
ff:hasOOshape ff:aufenthaltsortOOshape ;
79-
ff:hasSOshape ff:aufenthaltsortSOshape .
80-
ff:aufenthaltsortOOshape a sh:PropertyShape ;
81-
sh:targetObjectsOf ff:aufenthaltsort ;
82-
sh:in (ff:aufenthaltsort-option-ausserhalb ff:aufenthaltsort-option-innerhalb) .
83-
ff:aufenthaltsortSOshape a sh:NodeShape ;
84-
sh:targetSubjectsOf ff:aufenthaltsort ;
85-
sh:property [
86-
sh:path ff:aufenthaltsort ;
87-
sh:maxCount 1 ;
63+
ff:objectConstraints [
64+
a sh:PropertyShape ;
65+
sh:targetObjectsOf ff:aufenthaltsort ;
66+
sh:in (ff:aufenthaltsort-ao-ausserhalb ff:aufenthaltsort-ao-innerhalb) ;
67+
] ;
68+
ff:usageConstraints [
69+
a sh:NodeShape ;
70+
sh:targetSubjectsOf ff:aufenthaltsort ;
71+
sh:property [
72+
sh:path ff:aufenthaltsort ;
73+
sh:maxCount 1 ;
74+
] ;
8875
] .
89-
ff:aufenthaltsort-option-ausserhalb a ff:AnswerOption ; rdfs:label "außerhalb Deutschlands" .
90-
ff:aufenthaltsort-option-innerhalb a ff:AnswerOption ; rdfs:label "innerhalb Deutschlands" .
76+
ff:aufenthaltsort-ao-ausserhalb a ff:AnswerOption ; rdfs:label "außerhalb Deutschlands" .
77+
ff:aufenthaltsort-ao-innerhalb a ff:AnswerOption ; rdfs:label "innerhalb Deutschlands" .

0 commit comments

Comments
 (0)