David Leal

drilling activity purpose ontology added

1 +# Saved by TopBraid on Mon Aug 08 14:59:50 BST 2011
2 +# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)
3 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 +# imports: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
5 +# imports: http://spinrdf.org/spin
6 +
7 +@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)#> .
8 +@prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.1/activity-purpose#> .
9 +@prefix ep-activity-purpose: <http://www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ACTIVITY-PURPOSE-(v1.1)#> .
10 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
11 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
12 +@prefix p2: <http://example.org/file2#> .
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 sp: <http://spinrdf.org/sp#> .
16 +@prefix spin: <http://spinrdf.org/spin#> .
17 +@prefix spl: <http://spinrdf.org/spl#> .
18 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19 +
20 +<http://www.reportinghub.no/ep/schema/ddr#ActivityCodeNPD>
21 + spin:rule
22 + [ rdf:type sp:Construct ;
23 + sp:templates ([ sp:object activity-purpose:DailyDrillingActivityPurposeType ;
24 + sp:predicate rdf:type ;
25 + sp:subject _:b1
26 + ]) ;
27 + sp:where ([ sp:object _:b2 ;
28 + sp:predicate rdfs:label ;
29 + sp:subject spin:_this
30 + ] [ rdf:type sp:Bind ;
31 + sp:expression
32 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityPurposeTypeURI ;
33 + sp:arg1 _:b2
34 + ] ;
35 + sp:variable _:b1
36 + ])
37 + ] .
38 +
39 +<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)>
40 + rdf:type owl:Ontology ;
41 + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> , <http://spinrdf.org/spin> ;
42 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
43 +
44 +_:b1 sp:varName "dailyDrillingActivityPurposeType"^^xsd:string .
45 +
46 +_:b2 sp:varName "label"^^xsd:string .
1 +# Saved by TopBraid on Mon Aug 08 14:59:50 BST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .
1 +# Saved by TopBraid on Mon Aug 08 15:10:22 BST 2011
2 +# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
3 +# imports: http://www.reportinghub.no/ep/schema/1.1/activity
4 +# imports: http://purl.org/dc/elements/1.1/
5 +# imports: http://www.w3.org/2004/02/skos/core
6 +# imports: http://spinrdf.org/spin
7 +# imports: http://purl.org/dc/terms/
8 +
9 +@prefix : <http://www.reportinghub.no/ep/schema/1.1/activity-purpose#> .
10 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
11 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
12 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
13 +@prefix sp: <http://spinrdf.org/sp#> .
14 +@prefix spin: <http://spinrdf.org/spin#> .
15 +@prefix spl: <http://spinrdf.org/spl#> .
16 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
17 +
18 +<http://www.reportinghub.no/ep/schema/1.1/activity-purpose>
19 + rdf:type owl:Ontology ;
20 + owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://www.w3.org/2004/02/skos/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
21 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
22 +
23 +:DailyDrillingActivityPurposeType
24 + rdf:type rdfs:Class ;
25 + rdfs:label "daily drilling activity purpose type"^^xsd:string ;
26 + rdfs:subClassOf owl:Class .
27 +
28 +:Completion--bopwellheadequipment
29 + rdf:type :DailyDrillingActivityPurposeType ;
30 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
31 +
32 +:Completion--circulatingconditioning
33 + rdf:type :DailyDrillingActivityPurposeType ;
34 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
35 +
36 +:Completion--completionstring
37 + rdf:type :DailyDrillingActivityPurposeType ;
38 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
39 +
40 +:Completion--flow
41 + rdf:type :DailyDrillingActivityPurposeType ;
42 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
43 +
44 +:Completion--hydraulicworkover
45 + rdf:type :DailyDrillingActivityPurposeType ;
46 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
47 +
48 +:Completion--mill
49 + rdf:type :DailyDrillingActivityPurposeType ;
50 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
51 +
52 +:Completion--other
53 + rdf:type :DailyDrillingActivityPurposeType ;
54 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
55 +
56 +:Completion--perforate
57 + rdf:type :DailyDrillingActivityPurposeType ;
58 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
59 +
60 +:Completion--rigupdown
61 + rdf:type :DailyDrillingActivityPurposeType ;
62 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
63 +
64 +:Completion--sandcontrol
65 + rdf:type :DailyDrillingActivityPurposeType ;
66 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
67 +
68 +:Completion--stimulate
69 + rdf:type :DailyDrillingActivityPurposeType ;
70 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
71 +
72 +:Completion--testscsssv
73 + rdf:type :DailyDrillingActivityPurposeType ;
74 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
75 +
76 +:Completion--wait
77 + rdf:type :DailyDrillingActivityPurposeType ;
78 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
79 +
80 +:Completion--wireline
81 + rdf:type :DailyDrillingActivityPurposeType ;
82 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
83 +
84 +:Drilling--bopactivities
85 + rdf:type :DailyDrillingActivityPurposeType ;
86 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
87 +
88 +:Drilling--bopwellheadequipment
89 + rdf:type :DailyDrillingActivityPurposeType ;
90 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
91 +
92 +:Drilling--casing
93 + rdf:type :DailyDrillingActivityPurposeType ;
94 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
95 +
96 +:Drilling--circulatingconditioning
97 + rdf:type :DailyDrillingActivityPurposeType ;
98 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
99 +
100 +:Drilling--drill
101 + rdf:type :DailyDrillingActivityPurposeType ;
102 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
103 +
104 +:Drilling--drive
105 + rdf:type :DailyDrillingActivityPurposeType ;
106 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
107 +
108 +:Drilling--holeopen
109 + rdf:type :DailyDrillingActivityPurposeType ;
110 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
111 +
112 +:Drilling--mill
113 + rdf:type :DailyDrillingActivityPurposeType ;
114 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
115 +
116 +:Drilling--other
117 + rdf:type :DailyDrillingActivityPurposeType ;
118 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
119 +
120 +:Drilling--pressuredetection
121 + rdf:type :DailyDrillingActivityPurposeType ;
122 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
123 +
124 +:Drilling--ream
125 + rdf:type :DailyDrillingActivityPurposeType ;
126 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
127 +
128 +:Drilling--rigupdown
129 + rdf:type :DailyDrillingActivityPurposeType ;
130 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
131 +
132 +:Drilling--survey
133 + rdf:type :DailyDrillingActivityPurposeType ;
134 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
135 +
136 +:Drilling--trip
137 + rdf:type :DailyDrillingActivityPurposeType ;
138 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
139 +
140 +:Drilling--underream
141 + rdf:type :DailyDrillingActivityPurposeType ;
142 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
143 +
144 +:Drilling--wait
145 + rdf:type :DailyDrillingActivityPurposeType ;
146 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
147 +
148 +:Formationevaluation--circulatingconditioning
149 + rdf:type :DailyDrillingActivityPurposeType ;
150 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
151 +
152 +:Formationevaluation--circulationsamples
153 + rdf:type :DailyDrillingActivityPurposeType ;
154 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
155 +
156 +:Formationevaluation--core
157 + rdf:type :DailyDrillingActivityPurposeType ;
158 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
159 +
160 +:Formationevaluation--drillstemtest
161 + rdf:type :DailyDrillingActivityPurposeType ;
162 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
163 +
164 +:Formationevaluation--log
165 + rdf:type :DailyDrillingActivityPurposeType ;
166 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
167 +
168 +:Formationevaluation--other
169 + rdf:type :DailyDrillingActivityPurposeType ;
170 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
171 +
172 +:Formationevaluation--productiontest
173 + rdf:type :DailyDrillingActivityPurposeType ;
174 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
175 +
176 +:Formationevaluation--rftfit
177 + rdf:type :DailyDrillingActivityPurposeType ;
178 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
179 +
180 +:Formationevaluation--rigupdown
181 + rdf:type :DailyDrillingActivityPurposeType ;
182 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
183 +
184 +:Formationevaluation--trip
185 + rdf:type :DailyDrillingActivityPurposeType ;
186 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
187 +
188 +:Formationevaluation--wait
189 + rdf:type :DailyDrillingActivityPurposeType ;
190 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
191 +
192 +:Interruption--fish
193 + rdf:type :DailyDrillingActivityPurposeType ;
194 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
195 +
196 +:Interruption--lostcirculation
197 + rdf:type :DailyDrillingActivityPurposeType ;
198 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
199 +
200 +:Interruption--maintain
201 + rdf:type :DailyDrillingActivityPurposeType ;
202 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
203 +
204 +:Interruption--mill
205 + rdf:type :DailyDrillingActivityPurposeType ;
206 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
207 +
208 +:Interruption--other
209 + rdf:type :DailyDrillingActivityPurposeType ;
210 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
211 +
212 +:Interruption--repair
213 + rdf:type :DailyDrillingActivityPurposeType ;
214 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
215 +
216 +:Interruption--rigupdown
217 + rdf:type :DailyDrillingActivityPurposeType ;
218 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
219 +
220 +:Interruption--sidetrack
221 + rdf:type :DailyDrillingActivityPurposeType ;
222 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
223 +
224 +:Interruption--wait
225 + rdf:type :DailyDrillingActivityPurposeType ;
226 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
227 +
228 +:Interruption--waitingonweather
229 + rdf:type :DailyDrillingActivityPurposeType ;
230 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
231 +
232 +:Interruption--wellcontrol
233 + rdf:type :DailyDrillingActivityPurposeType ;
234 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
235 +
236 +:Moving--anchor
237 + rdf:type :DailyDrillingActivityPurposeType ;
238 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
239 +
240 +:Moving--jack
241 + rdf:type :DailyDrillingActivityPurposeType ;
242 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
243 +
244 +:Moving--position
245 + rdf:type :DailyDrillingActivityPurposeType ;
246 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
247 +
248 +:Moving--skid
249 + rdf:type :DailyDrillingActivityPurposeType ;
250 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
251 +
252 +:Moving--transit
253 + rdf:type :DailyDrillingActivityPurposeType ;
254 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
255 +
256 +:Plugabandon--cementplug
257 + rdf:type :DailyDrillingActivityPurposeType ;
258 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
259 +
260 +:Plugabandon--circulatingconditioning
261 + rdf:type :DailyDrillingActivityPurposeType ;
262 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
263 +
264 +:Plugabandon--cut
265 + rdf:type :DailyDrillingActivityPurposeType ;
266 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
267 +
268 +:Plugabandon--equipmentrecovery
269 + rdf:type :DailyDrillingActivityPurposeType ;
270 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
271 +
272 +:Plugabandon--mechanicalplug
273 + rdf:type :DailyDrillingActivityPurposeType ;
274 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
275 +
276 +:Plugabandon--mill
277 + rdf:type :DailyDrillingActivityPurposeType ;
278 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
279 +
280 +:Plugabandon--other
281 + rdf:type :DailyDrillingActivityPurposeType ;
282 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
283 +
284 +:Plugabandon--perforate
285 + rdf:type :DailyDrillingActivityPurposeType ;
286 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
287 +
288 +:Plugabandon--rigupdown
289 + rdf:type :DailyDrillingActivityPurposeType ;
290 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
291 +
292 +:Plugabandon--squeeze
293 + rdf:type :DailyDrillingActivityPurposeType ;
294 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
295 +
296 +:Plugabandon--trip
297 + rdf:type :DailyDrillingActivityPurposeType ;
298 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
299 +
300 +:Plugabandon--wait
301 + rdf:type :DailyDrillingActivityPurposeType ;
302 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
303 +
304 +:Workover--bopwellheadequipment
305 + rdf:type :DailyDrillingActivityPurposeType ;
306 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
307 +
308 +:Workover--circulatingconditioning
309 + rdf:type :DailyDrillingActivityPurposeType ;
310 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
311 +
312 +:Workover--completionstring
313 + rdf:type :DailyDrillingActivityPurposeType ;
314 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
315 +
316 +:Workover--flow
317 + rdf:type :DailyDrillingActivityPurposeType ;
318 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
319 +
320 +:Workover--hydraulicworkover
321 + rdf:type :DailyDrillingActivityPurposeType ;
322 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
323 +
324 +:Workover--mill
325 + rdf:type :DailyDrillingActivityPurposeType ;
326 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
327 +
328 +:Workover--other
329 + rdf:type :DailyDrillingActivityPurposeType ;
330 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
331 +
332 +:Workover--perforate
333 + rdf:type :DailyDrillingActivityPurposeType ;
334 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
335 +
336 +:Workover--rigupdown
337 + rdf:type :DailyDrillingActivityPurposeType ;
338 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
339 +
340 +:Workover--sandcontrol
341 + rdf:type :DailyDrillingActivityPurposeType ;
342 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
343 +
344 +:Workover--stimulate
345 + rdf:type :DailyDrillingActivityPurposeType ;
346 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
347 +
348 +:Workover--testscsssv
349 + rdf:type :DailyDrillingActivityPurposeType ;
350 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
351 +
352 +:Workover--wait
353 + rdf:type :DailyDrillingActivityPurposeType ;
354 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
355 +
356 +:Workover--wireline
357 + rdf:type :DailyDrillingActivityPurposeType ;
358 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
1 +# Saved by TopBraid on Mon Aug 08 15:10:22 BST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .
1 +# Saved by TopBraid on Mon Aug 08 17:04:22 BST 2011
2 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
3 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 +# imports: http://www.reportinghub.no/ep/schema/1.1/activity
5 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
6 +# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
7 +# imports: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
8 +# imports: http://www.reportinghub.no/ep/schema/equipment
9 +# imports: http://spinrdf.org/spin
10 +# imports: http://www.reportinghub.no/ep/schema/well
11 +
12 +@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/activity#> .
13 +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
14 +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
15 +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
16 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
17 +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
18 +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
19 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
20 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
21 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
22 +@prefix sp: <http://spinrdf.org/sp#> .
23 +@prefix spin: <http://spinrdf.org/spin#> .
24 +@prefix spl: <http://spinrdf.org/spl#> .
25 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
26 +
27 +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
28 + spin:rule
29 + [ rdf:type sp:Construct ;
30 + rdfs:comment "STEP 130 Transfer proprietaryCode"^^xsd:string ;
31 + sp:templates ([ sp:object _:b1 ;
32 + sp:predicate rdf:type ;
33 + sp:subject _:b2
34 + ]) ;
35 + sp:where ([ sp:object _:b3 ;
36 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
37 + sp:subject spin:_this
38 + ] [ sp:object _:b4 ;
39 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
40 + sp:subject spin:_this
41 + ] [ sp:object _:b5 ;
42 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
43 + sp:subject _:b4
44 + ] [ sp:object _:b6 ;
45 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
46 + sp:subject _:b4
47 + ] [ sp:object _:b7 ;
48 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumProprietaryCode> ;
49 + sp:subject _:b4
50 + ] [ rdf:type sp:Bind ;
51 + sp:expression
52 + [ rdf:type ep-spin-lib:normalizeString ;
53 + sp:arg1 _:b3
54 + ] ;
55 + sp:variable _:b8
56 + ] [ rdf:type sp:Bind ;
57 + sp:expression
58 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
59 + sp:arg1 _:b8 ;
60 + sp:arg2 _:b6 ;
61 + sp:arg3 _:b5
62 + ] ;
63 + sp:variable _:b2
64 + ] [ rdf:type sp:Bind ;
65 + sp:expression
66 + [ rdf:type ep-spin-lib:selectDrillingActivityPurposeType ;
67 + sp:arg1 _:b7
68 + ] ;
69 + sp:variable _:b1
70 + ])
71 + ] ;
72 + spin:rule
73 + [ rdf:type sp:Construct ;
74 + rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
75 + sp:templates ([ sp:object _:b9 ;
76 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
77 + sp:subject _:b10
78 + ]) ;
79 + sp:where ([ sp:object _:b11 ;
80 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
81 + sp:subject spin:_this
82 + ] [ sp:object _:b12 ;
83 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
84 + sp:subject spin:_this
85 + ] [ sp:object _:b13 ;
86 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
87 + sp:subject _:b12
88 + ] [ sp:object _:b14 ;
89 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
90 + sp:subject _:b12
91 + ] [ sp:object _:b9 ;
92 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
93 + sp:subject _:b12
94 + ] [ sp:object _:b10 ;
95 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
96 + sp:subject _:b15
97 + ] [ rdf:type sp:Bind ;
98 + sp:expression
99 + [ rdf:type ep-spin-lib:normalizeString ;
100 + sp:arg1 _:b11
101 + ] ;
102 + sp:variable _:b16
103 + ] [ rdf:type sp:Bind ;
104 + sp:expression
105 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
106 + sp:arg1 _:b16 ;
107 + sp:arg2 _:b14 ;
108 + sp:arg3 _:b13
109 + ] ;
110 + sp:variable _:b15
111 + ])
112 + ] ;
113 + spin:rule
114 + [ rdf:type sp:Construct ;
115 + rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
116 + sp:templates ([ sp:object _:b17 ;
117 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
118 + sp:subject _:b18
119 + ]) ;
120 + sp:where ([ sp:object _:b19 ;
121 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
122 + sp:subject spin:_this
123 + ] [ sp:object _:b20 ;
124 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
125 + sp:subject spin:_this
126 + ] [ sp:object _:b21 ;
127 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
128 + sp:subject _:b20
129 + ] [ sp:object _:b22 ;
130 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
131 + sp:subject _:b20
132 + ] [ sp:object _:b17 ;
133 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
134 + sp:subject _:b20
135 + ] [ sp:object _:b18 ;
136 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
137 + sp:subject _:b23
138 + ] [ rdf:type sp:Bind ;
139 + sp:expression
140 + [ rdf:type ep-spin-lib:normalizeString ;
141 + sp:arg1 _:b19
142 + ] ;
143 + sp:variable _:b24
144 + ] [ rdf:type sp:Bind ;
145 + sp:expression
146 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
147 + sp:arg1 _:b24 ;
148 + sp:arg2 _:b22 ;
149 + sp:arg3 _:b21
150 + ] ;
151 + sp:variable _:b23
152 + ])
153 + ] ;
154 + spin:rule
155 + [ rdf:type sp:Construct ;
156 + rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
157 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
158 + sp:predicate rdf:type ;
159 + sp:subject _:b25
160 + ] [ sp:object _:b25 ;
161 + sp:predicate iso15926:hasPart ;
162 + sp:subject _:b26
163 + ] [ sp:object _:b27 ;
164 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
165 + sp:subject _:b25
166 + ] [ sp:object _:b28 ;
167 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
168 + sp:subject _:b25
169 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
170 + sp:predicate rdf:type ;
171 + sp:subject _:b29
172 + ] [ sp:object _:b30 ;
173 + sp:predicate iso15926:temporalPartOf ;
174 + sp:subject _:b29
175 + ] [ sp:object _:b29 ;
176 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
177 + sp:subject _:b25
178 + ]) ;
179 + sp:where ([ sp:object _:b31 ;
180 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
181 + sp:subject spin:_this
182 + ] [ sp:object _:b32 ;
183 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
184 + sp:subject spin:_this
185 + ] [ sp:object _:b33 ;
186 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
187 + sp:subject spin:_this
188 + ] [ sp:object _:b34 ;
189 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
190 + sp:subject _:b33
191 + ] [ sp:object _:b27 ;
192 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
193 + sp:subject _:b33
194 + ] [ sp:object _:b28 ;
195 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
196 + sp:subject _:b33
197 + ] [ rdf:type sp:Bind ;
198 + sp:expression
199 + [ rdf:type ep-spin-lib:normalizeString ;
200 + sp:arg1 _:b31
201 + ] ;
202 + sp:variable _:b35
203 + ] [ rdf:type sp:Bind ;
204 + sp:expression
205 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
206 + sp:arg1 _:b35 ;
207 + sp:arg2 _:b27 ;
208 + sp:arg3 _:b34
209 + ] ;
210 + sp:variable _:b25
211 + ] [ rdf:type sp:Bind ;
212 + sp:expression
213 + [ rdf:type ep-spin-lib:buildWellBoreURI ;
214 + sp:arg1 _:b35
215 + ] ;
216 + sp:variable _:b30
217 + ] [ rdf:type sp:Bind ;
218 + sp:expression
219 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
220 + sp:arg1 _:b35 ;
221 + sp:arg2 _:b32
222 + ] ;
223 + sp:variable _:b26
224 + ] [ rdf:type sp:Bind ;
225 + sp:expression
226 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
227 + sp:arg1 _:b35 ;
228 + sp:arg2 _:b27 ;
229 + sp:arg3 _:b28
230 + ] ;
231 + sp:variable _:b29
232 + ])
233 + ] .
234 +
235 +<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
236 + rdf:type owl:Ontology ;
237 + owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> ;
238 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
239 +
240 +_:b3 sp:varName "nameWellBore"^^xsd:string .
241 +
242 +_:b4 sp:varName "activity"^^xsd:string .
243 +
244 +_:b5 sp:varName "index"^^xsd:string .
245 +
246 +_:b6 sp:varName "dTimStartPart"^^xsd:string .
247 +
248 +_:b7 sp:varName "proprietaryCode"^^xsd:string .
249 +
250 +_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
251 +
252 +_:b2 sp:varName "partActivity"^^xsd:string .
253 +
254 +_:b1 sp:varName "drillingActivityPurposeType"^^xsd:string .
255 +
256 +_:b17
257 + sp:varName "md"^^xsd:string .
258 +
259 +_:b18
260 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
261 +
262 +_:b19
263 + sp:varName "nameWellBore"^^xsd:string .
264 +
265 +_:b20
266 + sp:varName "activity"^^xsd:string .
267 +
268 +_:b21
269 + sp:varName "index"^^xsd:string .
270 +
271 +_:b22
272 + sp:varName "dTimStartPart"^^xsd:string .
273 +
274 +_:b23
275 + sp:varName "partActivity"^^xsd:string .
276 +
277 +_:b24
278 + sp:varName "normalizedWellBoreName"^^xsd:string .
279 +
280 +_:b9 sp:varName "tvd"^^xsd:string .
281 +
282 +_:b10
283 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
284 +
285 +_:b11
286 + sp:varName "nameWellBore"^^xsd:string .
287 +
288 +_:b12
289 + sp:varName "activity"^^xsd:string .
290 +
291 +_:b13
292 + sp:varName "index"^^xsd:string .
293 +
294 +_:b14
295 + sp:varName "dTimStartPart"^^xsd:string .
296 +
297 +_:b15
298 + sp:varName "partActivity"^^xsd:string .
299 +
300 +_:b16
301 + sp:varName "normalizedWellBoreName"^^xsd:string .
302 +
303 +_:b25
304 + sp:varName "partActivity"^^xsd:string .
305 +
306 +_:b26
307 + sp:varName "dailyDrillingActivity"^^xsd:string .
308 +
309 +_:b27
310 + sp:varName "dTimStartPart"^^xsd:string .
311 +
312 +_:b28
313 + sp:varName "dTimEndPart"^^xsd:string .
314 +
315 +_:b29
316 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
317 +
318 +_:b30
319 + sp:varName "wellBore"^^xsd:string .
320 +
321 +_:b31
322 + sp:varName "nameWellBore"^^xsd:string .
323 +
324 +_:b32
325 + sp:varName "dTimStart"^^xsd:string .
326 +
327 +_:b33
328 + sp:varName "activity"^^xsd:string .
329 +
330 +_:b34
331 + sp:varName "index"^^xsd:string .
332 +
333 +_:b35
334 + sp:varName "normalizedWellBoreName"^^xsd:string .