Use of temporal parts of a WellBore; splitting of rules between
drillReport and statusInfo; mapping to ISO 15926 for temporalPartOf
Showing
3 changed files
with
345 additions
and
0 deletions
1 | +# Saved by TopBraid on Thu Aug 04 10:27:48 BST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | ||
3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
4 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
5 | +# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL | ||
6 | +# imports: http://spinrdf.org/spin | ||
7 | + | ||
8 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo#> . | ||
9 | +@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | ||
10 | +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | ||
11 | +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | ||
12 | +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | ||
13 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
14 | +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . | ||
15 | +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
16 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
17 | +@prefix p1: <http://example.org/file1#> . | ||
18 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
19 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
20 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
21 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
22 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
23 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
24 | + | ||
25 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
26 | + spin:rule | ||
27 | + [ rdf:type sp:Construct ; | ||
28 | + rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ; | ||
29 | + sp:templates ([ sp:object _:b1 ; | ||
30 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
31 | + sp:subject _:b2 | ||
32 | + ]) ; | ||
33 | + sp:where ([ sp:object _:b3 ; | ||
34 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
35 | + sp:subject spin:_this | ||
36 | + ] [ sp:object _:b4 ; | ||
37 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
38 | + sp:subject spin:_this | ||
39 | + ] [ sp:object _:b5 ; | ||
40 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
41 | + sp:subject spin:_this | ||
42 | + ] [ sp:object _:b1 ; | ||
43 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
44 | + sp:subject _:b5 | ||
45 | + ] [ rdf:type sp:Bind ; | ||
46 | + sp:expression | ||
47 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
48 | + sp:arg1 _:b3 | ||
49 | + ] ; | ||
50 | + sp:variable _:b6 | ||
51 | + ] [ rdf:type sp:Bind ; | ||
52 | + sp:expression | ||
53 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
54 | + sp:arg1 _:b6 ; | ||
55 | + sp:arg2 _:b4 | ||
56 | + ] ; | ||
57 | + sp:variable _:b2 | ||
58 | + ]) | ||
59 | + ] ; | ||
60 | + spin:rule | ||
61 | + [ rdf:type sp:Construct ; | ||
62 | + rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ; | ||
63 | + sp:templates ([ sp:object _:b7 ; | ||
64 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
65 | + sp:subject _:b8 | ||
66 | + ]) ; | ||
67 | + sp:where ([ sp:object _:b9 ; | ||
68 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
69 | + sp:subject spin:_this | ||
70 | + ] [ sp:object _:b10 ; | ||
71 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
72 | + sp:subject spin:_this | ||
73 | + ] [ sp:object _:b11 ; | ||
74 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
75 | + sp:subject spin:_this | ||
76 | + ] [ sp:object _:b7 ; | ||
77 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
78 | + sp:subject _:b11 | ||
79 | + ] [ rdf:type sp:Bind ; | ||
80 | + sp:expression | ||
81 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
82 | + sp:arg1 _:b9 | ||
83 | + ] ; | ||
84 | + sp:variable _:b12 | ||
85 | + ] [ rdf:type sp:Bind ; | ||
86 | + sp:expression | ||
87 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
88 | + sp:arg1 _:b12 ; | ||
89 | + sp:arg2 _:b10 | ||
90 | + ] ; | ||
91 | + sp:variable _:b8 | ||
92 | + ]) | ||
93 | + ] ; | ||
94 | + spin:rule | ||
95 | + [ rdf:type sp:Construct ; | ||
96 | + rdfs:comment "STEP 109 Transfer md"^^xsd:string ; | ||
97 | + sp:templates ([ sp:object _:b13 ; | ||
98 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
99 | + sp:subject _:b14 | ||
100 | + ]) ; | ||
101 | + sp:where ([ sp:object _:b15 ; | ||
102 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
103 | + sp:subject spin:_this | ||
104 | + ] [ sp:object _:b16 ; | ||
105 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
106 | + sp:subject spin:_this | ||
107 | + ] [ sp:object _:b17 ; | ||
108 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
109 | + sp:subject spin:_this | ||
110 | + ] [ sp:object _:b14 ; | ||
111 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
112 | + sp:subject _:b18 | ||
113 | + ] [ sp:object _:b13 ; | ||
114 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
115 | + sp:subject _:b17 | ||
116 | + ] [ rdf:type sp:Bind ; | ||
117 | + sp:expression | ||
118 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
119 | + sp:arg1 _:b15 | ||
120 | + ] ; | ||
121 | + sp:variable _:b19 | ||
122 | + ] [ rdf:type sp:Bind ; | ||
123 | + sp:expression | ||
124 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
125 | + sp:arg1 _:b19 ; | ||
126 | + sp:arg2 _:b16 | ||
127 | + ] ; | ||
128 | + sp:variable _:b18 | ||
129 | + ]) | ||
130 | + ] ; | ||
131 | + spin:rule | ||
132 | + [ rdf:type sp:Construct ; | ||
133 | + rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ; | ||
134 | + sp:templates ([ sp:object _:b20 ; | ||
135 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
136 | + sp:subject _:b21 | ||
137 | + ]) ; | ||
138 | + sp:where ([ sp:object _:b22 ; | ||
139 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
140 | + sp:subject spin:_this | ||
141 | + ] [ sp:object _:b23 ; | ||
142 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
143 | + sp:subject spin:_this | ||
144 | + ] [ sp:object _:b24 ; | ||
145 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
146 | + sp:subject spin:_this | ||
147 | + ] [ sp:object _:b20 ; | ||
148 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
149 | + sp:subject _:b24 | ||
150 | + ] [ rdf:type sp:Bind ; | ||
151 | + sp:expression | ||
152 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
153 | + sp:arg1 _:b22 | ||
154 | + ] ; | ||
155 | + sp:variable _:b25 | ||
156 | + ] [ rdf:type sp:Bind ; | ||
157 | + sp:expression | ||
158 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
159 | + sp:arg1 _:b25 ; | ||
160 | + sp:arg2 _:b23 | ||
161 | + ] ; | ||
162 | + sp:variable _:b21 | ||
163 | + ]) | ||
164 | + ] ; | ||
165 | + spin:rule | ||
166 | + [ rdf:type sp:Construct ; | ||
167 | + rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ; | ||
168 | + sp:templates ([ sp:object _:b26 ; | ||
169 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
170 | + sp:subject _:b27 | ||
171 | + ]) ; | ||
172 | + sp:where ([ sp:object _:b28 ; | ||
173 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
174 | + sp:subject spin:_this | ||
175 | + ] [ sp:object _:b29 ; | ||
176 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
177 | + sp:subject spin:_this | ||
178 | + ] [ sp:object _:b30 ; | ||
179 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
180 | + sp:subject spin:_this | ||
181 | + ] [ sp:object _:b26 ; | ||
182 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
183 | + sp:subject _:b30 | ||
184 | + ] [ rdf:type sp:Bind ; | ||
185 | + sp:expression | ||
186 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
187 | + sp:arg1 _:b28 | ||
188 | + ] ; | ||
189 | + sp:variable _:b31 | ||
190 | + ] [ rdf:type sp:Bind ; | ||
191 | + sp:expression | ||
192 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
193 | + sp:arg1 _:b31 ; | ||
194 | + sp:arg2 _:b29 | ||
195 | + ] ; | ||
196 | + sp:variable _:b27 | ||
197 | + ]) | ||
198 | + ] . | ||
199 | + | ||
200 | +<http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> | ||
201 | + rdf:type owl:Ontology ; | ||
202 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> ; | ||
203 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
204 | + | ||
205 | +_:b6 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
206 | + | ||
207 | +_:b5 sp:varName "statusInfo"^^xsd:string . | ||
208 | + | ||
209 | +_:b4 sp:varName "dTimStart"^^xsd:string . | ||
210 | + | ||
211 | +_:b3 sp:varName "nameWellBore"^^xsd:string . | ||
212 | + | ||
213 | +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
214 | + | ||
215 | +_:b1 sp:varName "distDrill"^^xsd:string . | ||
216 | + | ||
217 | +_:b12 | ||
218 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
219 | + | ||
220 | +_:b11 | ||
221 | + sp:varName "statusInfo"^^xsd:string . | ||
222 | + | ||
223 | +_:b10 | ||
224 | + sp:varName "dTimStart"^^xsd:string . | ||
225 | + | ||
226 | +_:b9 sp:varName "nameWellBore"^^xsd:string . | ||
227 | + | ||
228 | +_:b8 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
229 | + | ||
230 | +_:b7 sp:varName "forecast24Hr"^^xsd:string . | ||
231 | + | ||
232 | +_:b19 | ||
233 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
234 | + | ||
235 | +_:b18 | ||
236 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
237 | + | ||
238 | +_:b17 | ||
239 | + sp:varName "statusInfo"^^xsd:string . | ||
240 | + | ||
241 | +_:b16 | ||
242 | + sp:varName "dTimStart"^^xsd:string . | ||
243 | + | ||
244 | +_:b15 | ||
245 | + sp:varName "nameWellBore"^^xsd:string . | ||
246 | + | ||
247 | +_:b14 | ||
248 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
249 | + | ||
250 | +_:b13 | ||
251 | + sp:varName "md"^^xsd:string . | ||
252 | + | ||
253 | +_:b31 | ||
254 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
255 | + | ||
256 | +_:b30 | ||
257 | + sp:varName "statusInfo"^^xsd:string . | ||
258 | + | ||
259 | +_:b29 | ||
260 | + sp:varName "dTimStart"^^xsd:string . | ||
261 | + | ||
262 | +_:b28 | ||
263 | + sp:varName "nameWellBore"^^xsd:string . | ||
264 | + | ||
265 | +_:b27 | ||
266 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
267 | + | ||
268 | +_:b26 | ||
269 | + sp:varName "sum24Hr"^^xsd:string . | ||
270 | + | ||
271 | +_:b25 | ||
272 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
273 | + | ||
274 | +_:b24 | ||
275 | + sp:varName "statusInfo"^^xsd:string . | ||
276 | + | ||
277 | +_:b23 | ||
278 | + sp:varName "dTimStart"^^xsd:string . | ||
279 | + | ||
280 | +_:b22 | ||
281 | + sp:varName "nameWellBore"^^xsd:string . | ||
282 | + | ||
283 | +_:b21 | ||
284 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
285 | + | ||
286 | +_:b20 | ||
287 | + sp:varName "ropCurrentValue"^^xsd:string . |
1 | +# Saved by TopBraid on Thu Aug 04 10:01:34 BST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/iso15926/bindEP-NativeOWL | ||
3 | +# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
4 | +# imports: http://purl.org/dc/elements/1.1/ | ||
5 | +# imports: http://www.w3.org/2004/02/skos/core | ||
6 | +# imports: http://www.reportinghub.no/iso15926/nativeOWL | ||
7 | +# imports: http://purl.org/dc/terms/ | ||
8 | + | ||
9 | +@prefix : <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | ||
10 | +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . | ||
11 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
12 | +@prefix p1: <http://example.org/file1#> . | ||
13 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
14 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
15 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
16 | + | ||
17 | +<http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> | ||
18 | + rdfs:subClassOf iso15926:PossibleIndividual . | ||
19 | + | ||
20 | +<http://www.reportinghub.no/iso15926/bindEP-NativeOWL> | ||
21 | + rdf:type owl:Ontology ; | ||
22 | + owl:imports <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.reportinghub.no/iso15926/nativeOWL> , <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://www.w3.org/2004/02/skos/core> ; | ||
23 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
www.reportinghub.no/iso15926/nativeOWL.ttl
0 → 100644
1 | +# Saved by TopBraid on Thu Aug 04 09:41:43 BST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/iso15926/nativeOWL | ||
3 | +# imports: http://purl.org/dc/elements/1.1/ | ||
4 | +# imports: http://www.w3.org/2004/02/skos/core | ||
5 | +# imports: http://purl.org/dc/terms/ | ||
6 | + | ||
7 | +@prefix : <http://www.reportinghub.no/iso15926/nativeOWL#> . | ||
8 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
9 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
10 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
12 | + | ||
13 | +<http://www.reportinghub.no/iso15926/nativeOWL> | ||
14 | + rdf:type owl:Ontology ; | ||
15 | + owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://www.w3.org/2004/02/skos/core> ; | ||
16 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
17 | + | ||
18 | +:PossibleIndividual | ||
19 | + rdf:type owl:Class ; | ||
20 | + rdfs:label "possible individual"^^xsd:string ; | ||
21 | + rdfs:subClassOf owl:Thing . | ||
22 | + | ||
23 | +:hasTemporalPart | ||
24 | + rdf:type owl:TransitiveProperty ; | ||
25 | + rdfs:domain :PossibleIndividual ; | ||
26 | + rdfs:label "has temporal part"^^xsd:string ; | ||
27 | + rdfs:range :PossibleIndividual ; | ||
28 | + owl:inverseOf :temporalPartOf . | ||
29 | + | ||
30 | +:temporalPartOf | ||
31 | + rdf:type owl:ObjectProperty , owl:TransitiveProperty ; | ||
32 | + rdfs:domain :PossibleIndividual ; | ||
33 | + rdfs:label "temporal part of"^^xsd:string ; | ||
34 | + rdfs:range :PossibleIndividual ; | ||
35 | + owl:inverseOf :hasTemporalPart . |
-
Please register or login to post a comment