-
Notifications
You must be signed in to change notification settings - Fork 40
/
shape-fdp.ttl
47 lines (46 loc) · 1.39 KB
/
shape-fdp.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@prefix : <http://fairdatapoint.org/> .
@prefix dash: <http://datashapes.org/dash#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix fdp: <https://w3id.org/fdp/fdp-o#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
:FDPShape a sh:NodeShape ;
sh:targetClass fdp:FAIRDataPoint ;
sh:property [
sh:path fdp:startDate ;
sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
dash:editor dash:DatePickerEditor ;
dash:viewer dash:LiteralViewer ;
] , [
sh:path fdp:endDate ;
sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
dash:editor dash:DatePickerEditor ;
dash:viewer dash:LiteralViewer ;
] , [
sh:path fdp:uiLanguage ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
sh:defaultValue <http://id.loc.gov/vocabulary/iso639-1/en>;
dash:editor dash:URIEditor ;
dash:viewer dash:LabelViewer ;
] , [
sh:path fdp:metadataIdentifier ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
dash:editor dash:URIEditor ;
dash:viewer dash:LabelViewer ;
] , [
sh:path fdp:metadataIssued ;
sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
dash:editor dash:DatePickerEditor ;
dash:viewer dash:LiteralViewer ;
] , [
sh:path fdp:metadataModified ;
sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
dash:editor dash:DatePickerEditor ;
dash:viewer dash:LiteralViewer ;
] .