-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshacl.ttl
71 lines (69 loc) · 2.01 KB
/
shacl.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uuite: <http://linked-data-uu-ite.netlify.app/shacl.ttl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
uuite:PersonShape a sh:NodeShape;
sh:targetClass schema:Person;
sh:property [
sh:path schema:name;
sh:datatype xsd:string;
sh:name "person name";
sh:minCount 1;
sh:maxCount 1;
].
uuite:LegislationShape a sh:NodeShape;
sh:targetClass schema:Legislation;
sh:property [
sh:name "legislation legal force status";
sh:path schema:legislationLegalForce;
sh:in ( schema:NotInForce schema:PartiallyInForce schema:InForce );
sh:minCount 1;
sh:maxCount 1;
];
sh:property [
sh:name "legislation date";
sh:path schema:legislationDate;
sh:datatype schema:Date;
sh:maxCount 1;
];
sh:property [
sh:name "legislation passed by";
sh:path schema:legislationPassedBy;
sh:node uuite:PersonShape;
];
sh:property [
sh:name "legislation type";
sh:path schema:legislationType;
sh:datatype xsd:string;
sh:minCount 1;
sh:maxCount 1;
];
sh:property [
sh:name "legislation change";
sh:path schema:legislationChanges;
sh:node uuite:LegislationShape;
];
sh:property [
sh:name "legislation identifier";
sh:path schema:legislationIdentifier;
sh:datatype xsd:string;
sh:maxCount 1;
];
sh:property [
sh:name "legislation part of";
sh:path schema:isPartOf;
sh:node uuite:LegislationShape;
];
sh:property [
sh:name "legislation text";
sh:path schema:text;
sh:datatype xsd:string;
sh:maxCount 1;
];
sh:property [
sh:name "legislation position in list";
sh:path schema:position;
sh:datatype xsd:integer;
sh:maxCount 1;
].