forked from andimou/wa-vocabulary
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwa.csv.spec.ttl
More file actions
163 lines (132 loc) · 5.89 KB
/
Copy pathwa.csv.spec.ttl
File metadata and controls
163 lines (132 loc) · 5.89 KB
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
@prefix : <http://semweb.mmlab.be/ns/wa#> .
@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 owl: <http://www.w3.org/2002/07/owl#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix schema: <http://schema.org/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix wgs84_pos: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
#@prefix transit: <http://vocab.org/transit/terms/> .
@prefix wt: <http://westtoer.be/voc/> .
@prefix wa: <http://semweb.mmlab.be/ns/wa#> .
<#> a :Spec
; :base_uri "tdt:package:resource/"
; :resource <#Accessibility>, <#Address>, <#boolean_lookup>
.
<#Accessibility> a :Resource
; :type schema:
; :identity [
:source_column "id_WESTKANS"
]
; :attribute
[ :property dc:identifier; :source_column "id_WESTKANS" ],
[ :property schema:name; :source_column "NAAM" ; :language "nl" ],
[ :property schema:telephone; :source_column "TEL" ],
[ :property schema:telephone; :source_column "GSM" ],
[ :property schema:email; :source_column "MAIL" ],
[ :property schema:url; :source_column "WEB" ],
#[ :property wt:children; :source_column "KIDS"; :lookup <#boolean_lookup>; :datatype xsd:boolean ],
#[ :property wt:disabled_accessible; :source_column "ACCESSIBLE_4_DISSABLED"; :lookup <#boolean_lookup>; :datatype xsd:boolean ],
[ :property wa:stairStep; :source_column "TREDE2" ],
[ :property wa:stairStepScore; :source_column "TREDE1_SCORE" ],
[ :property wa:stairStep; :source_column "TREDE2" ],
[ :property wa:stairStepScore; :source_column "TREDE2_SCORE" ],
[ :property wa:steepness; :source_column "HELLING1_PCT" ],
[ :property wa:steepnessScore; :source_column "HELLING1_SCORE" ],
[ :property wa:steepness; :source_column "HELLING2_PCT" ],
[ :property wa:steepnessScore; :source_column "HELLING2_SCORE" ],
[ :property wa:elevatorDoorWidth; :source_column "LIFTDEUR_B" ],
[ :property wa:elevatorDoorWidthScore; :source_column "LIFTDEUR_SCORE" ],
[ :property wa:elevatorSpaceWidth; :source_column "LIFT_B" ],
[ :property wa:elevatorSpaceWidthScore; :source_column "LIFT_B_SCORE" ],
[ :property wa:elevatorSpaceDepth; :source_column "LIFT_D" ],
[ :property wa:elevatorSpaceDepthScore; :source_column "LIFT_D_SCORE" ],
[ :property wa:entranceDoorWidth; :source_column "INKOMDEUR" ],
[ :property wa:entranceDoorWidthScore; :source_column "INKOMDEUR_SCORE" ],
[ :property wa:tableHeight; :source_column "TAFEL_H" ],
[ :property wa:tableHeightScore; :source_column "TAFEL_H_SCORE" ],
[ :property wa:tableDepth; :source_column "TAFEL_D" ],
[ :property wa:tableDepthScore; :source_column "TAFEL_D_SCORE" ],
[ :property wa:toiletCorridorWidth; :source_column "TOILET_GANG" ],
[ :property wa:toiletCorridorWidthScore; :source_column "TOILET_GANG_SCORE" ],
[ :property wa:toiletCorridorDoorWidth; :source_column "TOILET_GANG_DEUR" ],
[ :property wa:toiletCorridorDoorWidthScore; :source_column "TOILET_GANG_DEUR_SCORE" ],
[ :property wa:toiletDoorstep; :source_column "TOILET_DREMPEL1" ],
[ :property wa:toiletDoorstepScore; :source_column "TOILET_DREMPEL1_SCORE" ],
[ :property wa:toiletDoorstep; :source_column "TOILET_DREMPEL2" ],
[ :property wa:toiletDoorstepScore; :source_column "TOILET_DREMPEL2_SCORE" ],
[ :property wa:toiletSteepness; :source_column "TOILET_HELLING_PCT" ],
[ :property wa:toiletSteepnessScore; :source_column "TOILET_HELLING_SCORE" ],
[ :property wa:toiletDoorWidth; :source_column "TOILET_DEUR_B" ],
[ :property wa:toiletDoorWidthScore; :source_column "TOILET_DEUR_SCORE" ],
[ :property wa:toiletSpaceNext; :source_column "TOILET_RUIMTENAAST" ],
[ :property wa:toiletSpaceNextScore; :source_column "TOILET_RUIMTENAAST_SCORE" ],
[ :property wa:toiletSpaceInfront; :source_column "TOILET_RUIMTEVOOR" ],
[ :property schema:postalInfrontScore; :source_column "TOILET_RUIMTEVOOR_SCORE" ],
[ :property wa:handrails; :source_column "TOILET_BEUGELS" ],
[ :property wa:handrailsScore; :source_column "TOILET_BEUGELS_SCORE" ]
; :relationship
[ :property schema:location; :object_from <#Address> ],
[ :property schema:image; :object_from <#Image1>],
[ :property schema:image; :object_from <#Image2>],
[ :property schema:url; :object_from <#URL_TOELVA>],
[ :property schema:url; :object_from <#URL_BROCHURE>]
.
<#Image1> a :Resource
; :type schema:ImageObject
; :identity [
:source_column "URL_FOTO_1";
:base_uri ""
]
.
<#Image2> a :Resource
; :type schema:ImageObject
; :identity [
:source_column "URL_FOTO_2";
:base_uri ""
]
.
<#URL_TOELVA> a :Resource
; :type schema:ImageObject
; :identity [
:source_column "URL_TOELVA";
:base_uri ""
]
.
<#URL_BROCHURE> a :Resource
; :type schema:ImageObject
; :identity [
:source_column "URL_BROCHURE";
:base_uri ""
]
.
<#Address> a :Resource
; :type schema:PostalAddress
; :identity [
:source_column "id_WESTKANS";
:base_uri "tdt:package:resource/location/"
]
; :attribute
[ :property schema:streetAddress;
:source_columns ( "ADRES_STRAAT" "ADRES_NR" );
:source_column_glue " ";
],
[ :property schema:postalCode; :source_column "PNR" ],
[ :property schema:addressLocality;
:source_columns ( "GEMEENTE" "DEELGEMEENTE" ) ;
:source_column_glue " - "
],
[ :property wgs84_pos:lat; :source_column "LAT"; :datatype xsd:float],
[ :property wgs84_pos:lon; :source_column "LON"; :datatype xsd:float ],
[ :property wgs84_pos:lat; :source_column "X"; :datatype xsd:float],
[ :property wgs84_pos:lon; :source_column "Y"; :datatype xsd:float ] .
<#boolean_lookup> a :Lookup;
:lookup_entry [
:lookup_key "1";
:lookup_value "true"
] ;
:lookup_entry [
:lookup_key "0";
:lookup_value "false"
] .