deno.land / x / shacl_to_type@v0.0.9 / shapes / Person.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@prefix dash: <http://datashapes.org/dash#> .@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .@prefix schema: <https://schema.org/> .@prefix sh: <http://www.w3.org/ns/shacl#> .@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
schema:PersonShape a sh:NodeShape ; sh:targetClass schema:Person ; sh:property [ sh:group schema:NameGroup ; sh:path schema:givenName ; sh:order 1 ; sh:or ( [ sh:datatype xsd:string ] [ sh:datatype rdf:langString] ) ; sh:name "given name" ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:group schema:NameGroup ; sh:path schema:familyName ; sh:order 2 ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:callSign ; sh:order 2 ; sh:datatype rdf:langString ; sh:minCount 1 ; ] ; sh:property [ sh:path schema:colleague ; sh:order 2 ; ] ; sh:property [ sh:path schema:description ; sh:order 2 ; sh:datatype xsd:string ; sh:minCount 1 ; ] ; sh:property [ sh:path schema:abstract ; sh:order 2 ; sh:datatype xsd:string ; sh:minCount 1 ; ] ; sh:property [ sh:path schema:birthDate ; sh:datatype xsd:date ; sh:lessThan schema:deathDate ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:gender ; sh:in ( "female" "male" ) ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:address ; sh:node schema:AddressShape ; ] .schema:TopGroup a sh:PropertyGroup ; sh:order 1 .
schema:NameGroup a sh:PropertyGroup ; sh:order 2 .
schema:AddressShape a sh:NodeShape ; sh:targetClass schema:PostalAddress ; sh:closed true ; sh:property [ sh:path rdf:type ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:streetAddress ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:addressRegion ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:addressLocality ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:postalCode ; sh:or ( [ sh:datatype xsd:string ] [ sh:datatype xsd:integer ] ) ; sh:minInclusive "1000" ; sh:maxInclusive "99999" ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:addressCountry ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] .
shacl_to_type

Version Info

Tagged at
a year ago