Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
deploy: 6811861
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed May 23, 2024
0 parents commit 054e234
Show file tree
Hide file tree
Showing 31 changed files with 1,535 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
2 changes: 2 additions & 0 deletions assets/bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/choices.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/choices.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/latest-rps-repo-commit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f64e3a38bc6aa8c74472f924a53377536aa61c0c
21 changes: 21 additions & 0 deletions assets/requirement-profiles/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 FörderFunke

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 4 additions & 0 deletions assets/requirement-profiles/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# requirement-profiles
Requirement profiles, details about datafields and materialization queries.

Used in the [foerderfunke-app](https://github.com/Citizen-Knowledge-Graph/foerderfunke-app) and for developing the [matching-engine](https://github.com/Citizen-Knowledge-Graph/matching-engine).
287 changes: 287 additions & 0 deletions assets/requirement-profiles/datafields.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,287 @@
@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/> .

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 "Vornamen: Vorname + Mittelnamen" ;
rdfs:comment "Plural zu Vorname" ;
ff:similarDatafield foaf:firstName ;
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 "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:devHasToy a ff:DataField ;
rdfs:label "Spielzeug" ;
ff:hasShaclShape ff:devHasToyShape .
ff:devHasToyShape a sh:NodeShape ;
sh:targetClass ff:Child ;
sh:property [
sh:path ff:devHasToy ;
sh:class ff:DevToy ;
] .

ff:DevToy 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" ) ;
] .
21 changes: 21 additions & 0 deletions assets/requirement-profiles/manifest.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@prefix ff: <https://foerderfunke.org/default#> .
@prefix schema: <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .

ff:datafieldsFile a schema:DigitalDocument ;
schema:identifier "datafields-file" ;
dcterms:format "text/turtle" ;
ff:relativePath "datafields.ttl" .

ff:materializationFile a schema:DigitalDocument ;
schema:identifier "materialization-file" ;
dcterms:format "text/turtle" ;
ff:relativePath "materialization.ttl" .

ff:requirementProfilesFolder a schema:Collection ;
schema:identifier "requirement-profiles-folder" ;
ff:relativePath "shacl/" .

ff:userProfileExamplesFolder a schema:Collection ;
schema:identifier "user-profile-examples-folder" ;
ff:relativePath "user-profile-examples/" .
Loading

0 comments on commit 054e234

Please sign in to comment.