Skip to content

Commit

Permalink
Add multi-level edtf for other datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
mielvds committed Jan 17, 2024
1 parent d676dba commit 3419d91
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions description/description.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@
a sh:PropertyShape ;
sh:path schema:dateCreated ;
sh:nodeKind sh:Literal ;
sh:datatype edtf:EDTF-level1 ;
sh:or (
[ sh:datatype edtf:EDTF-level0 ]
[ sh:datatype edtf:EDTF-level1 ]
[ sh:datatype edtf:EDTF-level2 ]
);
sh:minCount 1 ;
sh:maxCount 1 ;
sh:name "date created"@en ;
Expand All @@ -118,7 +122,11 @@
a sh:PropertyShape ;
sh:path schema:datePublished ;
sh:nodeKind sh:Literal ;
sh:datatype edtf:EDTF-level1 ;
sh:or (
[ sh:datatype edtf:EDTF-level0 ]
[ sh:datatype edtf:EDTF-level1 ]
[ sh:datatype edtf:EDTF-level2 ]
);
sh:maxCount 1;
sh:name "date published"@en ;
sh:name "gepubliceerd op"@nl ;
Expand Down Expand Up @@ -617,9 +625,10 @@
sh:path schema:dateCreated ;
sh:nodeKind sh:Literal ;
sh:or (
[ sh:datatype edtf:EDTF-level0 ]
[ sh:datatype edtf:EDTF-level1 ]
[ sh:datatype edtf:EDTF-level2 ] );
[ sh:datatype edtf:EDTF-level0 ]
[ sh:datatype edtf:EDTF-level1 ]
[ sh:datatype edtf:EDTF-level2 ]
);
sh:minCount 1 ;
sh:maxCount 1 ;
sh:name "date created"@en ;
Expand Down

0 comments on commit 3419d91

Please sign in to comment.