Skip to content

Commit

Permalink
Modelling Deferment
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed May 26, 2024
1 parent 19bc5f7 commit 011cce8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions datafields.ttl
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
@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 ;
Expand Down Expand Up @@ -313,3 +315,49 @@ ff:hasRpUri a ff:DataField ;

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" .

0 comments on commit 011cce8

Please sign in to comment.