Skip to content

Commit dbc5883

Browse files
committed
Add no kids materialization rule
1 parent 842032c commit dbc5883

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

sozialplattform/materialization.ttl

+15
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,18 @@ ff:Year1961 ff:hasPensionAgeYears 66 ; ff:hasPensionAgeMonths 4 ; ff:appliesToBi
7575
ff:Year1962 ff:hasPensionAgeYears 66 ; ff:hasPensionAgeMonths 6 ; ff:appliesToBirthYear 1962 .
7676
ff:Year1963 ff:hasPensionAgeYears 66 ; ff:hasPensionAgeMonths 8 ; ff:appliesToBirthYear 1963 .
7777
ff:Year1964 ff:hasPensionAgeYears 66 ; ff:hasPensionAgeMonths 10 ; ff:appliesToBirthYear 1964 .
78+
79+
ff:NoKidsImpliesNoKidsInAgeRanges a ff:MaterializationRule, ff:SparqlRule ;
80+
rdfs:label "Wenn jemand keine Kinder hat, hat er auch keine Kinder in diesen beiden Altersspannen"@de, "If someone has no children, they also have no children in these two age ranges"@en ;
81+
ff:input ff:kinder ;
82+
ff:output ff:kinder_unter_18 ;
83+
ff:output ff:kinder_18_25 ;
84+
ff:sparqlConstructQuery """
85+
PREFIX ff: <https://foerderfunke.org/default#>
86+
CONSTRUCT {
87+
?person ff:kinder_unter_18 false .
88+
?person ff:kinder_18_25 false .
89+
} WHERE {
90+
?person ff:kinder false .
91+
}
92+
""" .

0 commit comments

Comments
 (0)