Added surveyStation data to TemplateTest and completed mapping to EP
ontology.
Showing
8 changed files
with
666 additions
and
139 deletions
1 | -# Saved by TopBraid on Mon Aug 15 01:24:24 BST 2011 | 1 | +# Saved by TopBraid on Tue Aug 16 11:17:28 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity |
3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem | 3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem |
4 | # imports: http://www.reportinghub.no/ep/schema/1.0/organization | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/organization |
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
6 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
7 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
8 | # imports: http://www.linkedmodel.org/1.1/schema/ordered | 8 | # imports: http://www.linkedmodel.org/1.1/schema/ordered |
9 | 9 | ||
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | 15 | ||
16 | <http://www.reportinghub.no/ep/schema/1.0/activity> | 16 | <http://www.reportinghub.no/ep/schema/1.0/activity> |
17 | rdf:type owl:Ontology ; | 17 | rdf:type owl:Ontology ; |
18 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/well> ; | 18 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/organization> ; |
19 | owl:versionInfo "0.1.0"^^xsd:string . | 19 | owl:versionInfo "0.1.0"^^xsd:string . |
20 | 20 | ||
21 | ep-activity:Activity | 21 | ep-activity:Activity |
... | @@ -24,33 +24,33 @@ ep-activity:Activity | ... | @@ -24,33 +24,33 @@ ep-activity:Activity |
24 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | 24 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; |
25 | rdfs:subClassOf | 25 | rdfs:subClassOf |
26 | [ rdf:type owl:Restriction ; | 26 | [ rdf:type owl:Restriction ; |
27 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 27 | + owl:allValuesFrom ep-activity:Activity ; |
28 | - owl:onProperty ep-activity:finishedAt | 28 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> |
29 | ] ; | 29 | ] ; |
30 | rdfs:subClassOf | 30 | rdfs:subClassOf |
31 | [ rdf:type owl:Restriction ; | 31 | [ rdf:type owl:Restriction ; |
32 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 32 | + owl:allValuesFrom ep-activity:Activity ; |
33 | - owl:onProperty ep-activity:startedAt | 33 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> |
34 | ] ; | 34 | ] ; |
35 | rdfs:subClassOf | 35 | rdfs:subClassOf |
36 | [ rdf:type owl:Restriction ; | 36 | [ rdf:type owl:Restriction ; |
37 | owl:allValuesFrom ep-activity:Activity ; | 37 | owl:allValuesFrom ep-activity:Activity ; |
38 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> | 38 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> |
39 | ] ; | 39 | ] ; |
40 | rdfs:subClassOf | 40 | rdfs:subClassOf |
41 | [ rdf:type owl:Restriction ; | 41 | [ rdf:type owl:Restriction ; |
42 | owl:allValuesFrom ep-activity:Activity ; | 42 | owl:allValuesFrom ep-activity:Activity ; |
43 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> | 43 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> |
44 | ] ; | 44 | ] ; |
45 | rdfs:subClassOf | 45 | rdfs:subClassOf |
46 | [ rdf:type owl:Restriction ; | 46 | [ rdf:type owl:Restriction ; |
47 | - owl:allValuesFrom ep-activity:Activity ; | 47 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
48 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> | 48 | + owl:onProperty ep-activity:startedAt |
49 | ] ; | 49 | ] ; |
50 | rdfs:subClassOf | 50 | rdfs:subClassOf |
51 | [ rdf:type owl:Restriction ; | 51 | [ rdf:type owl:Restriction ; |
52 | - owl:allValuesFrom ep-activity:Activity ; | 52 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
53 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> | 53 | + owl:onProperty ep-activity:finishedAt |
54 | ] . | 54 | ] . |
55 | 55 | ||
56 | ep-activity:ActivitySuccessType | 56 | ep-activity:ActivitySuccessType |
... | @@ -64,13 +64,13 @@ ep-activity:DailyDrillingActivity | ... | @@ -64,13 +64,13 @@ ep-activity:DailyDrillingActivity |
64 | rdfs:subClassOf ep-activity:DrillingActivity ; | 64 | rdfs:subClassOf ep-activity:DrillingActivity ; |
65 | rdfs:subClassOf | 65 | rdfs:subClassOf |
66 | [ rdf:type owl:Restriction ; | 66 | [ rdf:type owl:Restriction ; |
67 | - owl:allValuesFrom ep-activity:Activity ; | 67 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
68 | - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> | 68 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> |
69 | ] ; | 69 | ] ; |
70 | rdfs:subClassOf | 70 | rdfs:subClassOf |
71 | [ rdf:type owl:Restriction ; | 71 | [ rdf:type owl:Restriction ; |
72 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 72 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; |
73 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | 73 | + owl:onProperty ep-activity:onWellBore |
74 | ] ; | 74 | ] ; |
75 | rdfs:subClassOf | 75 | rdfs:subClassOf |
76 | [ rdf:type owl:Restriction ; | 76 | [ rdf:type owl:Restriction ; |
... | @@ -79,13 +79,13 @@ ep-activity:DailyDrillingActivity | ... | @@ -79,13 +79,13 @@ ep-activity:DailyDrillingActivity |
79 | ] ; | 79 | ] ; |
80 | rdfs:subClassOf | 80 | rdfs:subClassOf |
81 | [ rdf:type owl:Restriction ; | 81 | [ rdf:type owl:Restriction ; |
82 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; | 82 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
83 | - owl:onProperty ep-activity:onWellBore | 83 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> |
84 | ] ; | 84 | ] ; |
85 | rdfs:subClassOf | 85 | rdfs:subClassOf |
86 | [ rdf:type owl:Restriction ; | 86 | [ rdf:type owl:Restriction ; |
87 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 87 | + owl:allValuesFrom ep-activity:Activity ; |
88 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | 88 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> |
89 | ] . | 89 | ] . |
90 | 90 | ||
91 | ep-activity:DailyProductionActivity | 91 | ep-activity:DailyProductionActivity |
... | @@ -134,47 +134,47 @@ ep-activity:DrillingActivity | ... | @@ -134,47 +134,47 @@ ep-activity:DrillingActivity |
134 | rdfs:subClassOf ep-activity:Activity . | 134 | rdfs:subClassOf ep-activity:Activity . |
135 | 135 | ||
136 | ep-activity:DrillingActivity-circulation_loss | 136 | ep-activity:DrillingActivity-circulation_loss |
137 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 137 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
138 | rdfs:label "drilling activity circulation loss"^^xsd:string ; | 138 | rdfs:label "drilling activity circulation loss"^^xsd:string ; |
139 | rdfs:subClassOf ep-activity:DrillingActivity . | 139 | rdfs:subClassOf ep-activity:DrillingActivity . |
140 | 140 | ||
141 | ep-activity:DrillingActivity-equipment_failure | 141 | ep-activity:DrillingActivity-equipment_failure |
142 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 142 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
143 | rdfs:label "drilling activity equipment failure"^^xsd:string ; | 143 | rdfs:label "drilling activity equipment failure"^^xsd:string ; |
144 | rdfs:subClassOf ep-activity:DrillingActivity . | 144 | rdfs:subClassOf ep-activity:DrillingActivity . |
145 | 145 | ||
146 | ep-activity:DrillingActivity-equipment_hang | 146 | ep-activity:DrillingActivity-equipment_hang |
147 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 147 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
148 | rdfs:label "drilling activity equipment hang"^^xsd:string ; | 148 | rdfs:label "drilling activity equipment hang"^^xsd:string ; |
149 | rdfs:subClassOf ep-activity:DrillingActivity . | 149 | rdfs:subClassOf ep-activity:DrillingActivity . |
150 | 150 | ||
151 | ep-activity:DrillingActivity-injury | 151 | ep-activity:DrillingActivity-injury |
152 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 152 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
153 | rdfs:label "drilling activity injury"^^xsd:string ; | 153 | rdfs:label "drilling activity injury"^^xsd:string ; |
154 | rdfs:subClassOf ep-activity:DrillingActivity . | 154 | rdfs:subClassOf ep-activity:DrillingActivity . |
155 | 155 | ||
156 | ep-activity:DrillingActivity-kick | 156 | ep-activity:DrillingActivity-kick |
157 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 157 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
158 | rdfs:label "drilling activity operation kick"^^xsd:string ; | 158 | rdfs:label "drilling activity operation kick"^^xsd:string ; |
159 | rdfs:subClassOf ep-activity:DrillingActivity . | 159 | rdfs:subClassOf ep-activity:DrillingActivity . |
160 | 160 | ||
161 | ep-activity:DrillingActivity-mud_loss | 161 | ep-activity:DrillingActivity-mud_loss |
162 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 162 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
163 | rdfs:label "drilling activity mud loss"^^xsd:string ; | 163 | rdfs:label "drilling activity mud loss"^^xsd:string ; |
164 | rdfs:subClassOf ep-activity:DrillingActivity . | 164 | rdfs:subClassOf ep-activity:DrillingActivity . |
165 | 165 | ||
166 | ep-activity:DrillingActivity-operation_failed | 166 | ep-activity:DrillingActivity-operation_failed |
167 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 167 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
168 | rdfs:label "drilling activity operation failed"^^xsd:string ; | 168 | rdfs:label "drilling activity operation failed"^^xsd:string ; |
169 | rdfs:subClassOf ep-activity:DrillingActivity . | 169 | rdfs:subClassOf ep-activity:DrillingActivity . |
170 | 170 | ||
171 | ep-activity:DrillingActivity-stuck_equipment | 171 | ep-activity:DrillingActivity-stuck_equipment |
172 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 172 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
173 | rdfs:label "drilling activity stuck equipment"^^xsd:string ; | 173 | rdfs:label "drilling activity stuck equipment"^^xsd:string ; |
174 | rdfs:subClassOf ep-activity:DrillingActivity . | 174 | rdfs:subClassOf ep-activity:DrillingActivity . |
175 | 175 | ||
176 | ep-activity:DrillingActivity-success | 176 | ep-activity:DrillingActivity-success |
177 | - rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ; | 177 | + rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; |
178 | rdfs:label "drilling activity success"^^xsd:string ; | 178 | rdfs:label "drilling activity success"^^xsd:string ; |
179 | rdfs:subClassOf ep-activity:DrillingActivity . | 179 | rdfs:subClassOf ep-activity:DrillingActivity . |
180 | 180 | ||
... | @@ -184,7 +184,7 @@ ep-activity:DrillingActivityOutcomeType | ... | @@ -184,7 +184,7 @@ ep-activity:DrillingActivityOutcomeType |
184 | rdfs:subClassOf owl:Class . | 184 | rdfs:subClassOf owl:Class . |
185 | 185 | ||
186 | ep-activity:FailedActivity | 186 | ep-activity:FailedActivity |
187 | - rdf:type owl:Class , ep-activity:ActivitySuccessType ; | 187 | + rdf:type ep-activity:ActivitySuccessType , owl:Class ; |
188 | rdfs:label "failed activity"^^xsd:string ; | 188 | rdfs:label "failed activity"^^xsd:string ; |
189 | rdfs:subClassOf ep-activity:Activity ; | 189 | rdfs:subClassOf ep-activity:Activity ; |
190 | owl:disjointWith ep-activity:SuccessfulActivity . | 190 | owl:disjointWith ep-activity:SuccessfulActivity . |
... | @@ -195,13 +195,13 @@ ep-activity:FluidActivity | ... | @@ -195,13 +195,13 @@ ep-activity:FluidActivity |
195 | rdfs:subClassOf ep-activity:Activity . | 195 | rdfs:subClassOf ep-activity:Activity . |
196 | 196 | ||
197 | ep-activity:FormationIntegrityTest | 197 | ep-activity:FormationIntegrityTest |
198 | - rdf:type owl:Class , ep-activity:PressureTestType ; | 198 | + rdf:type ep-activity:PressureTestType , owl:Class ; |
199 | rdfs:label "formation integrity test"^^xsd:string ; | 199 | rdfs:label "formation integrity test"^^xsd:string ; |
200 | rdfs:subClassOf ep-activity:WellBorePressureTest ; | 200 | rdfs:subClassOf ep-activity:WellBorePressureTest ; |
201 | owl:disjointWith ep-activity:LeakOffTest . | 201 | owl:disjointWith ep-activity:LeakOffTest . |
202 | 202 | ||
203 | ep-activity:LeakOffTest | 203 | ep-activity:LeakOffTest |
204 | - rdf:type owl:Class , ep-activity:PressureTestType ; | 204 | + rdf:type ep-activity:PressureTestType , owl:Class ; |
205 | rdfs:label "leak-off test"^^xsd:string ; | 205 | rdfs:label "leak-off test"^^xsd:string ; |
206 | rdfs:subClassOf ep-activity:WellBorePressureTest ; | 206 | rdfs:subClassOf ep-activity:WellBorePressureTest ; |
207 | owl:disjointWith ep-activity:FormationIntegrityTest . | 207 | owl:disjointWith ep-activity:FormationIntegrityTest . |
... | @@ -237,7 +237,7 @@ ep-activity:OffshoreWellActivity | ... | @@ -237,7 +237,7 @@ ep-activity:OffshoreWellActivity |
237 | rdfs:subClassOf ep-activity:OffshoreActivity ; | 237 | rdfs:subClassOf ep-activity:OffshoreActivity ; |
238 | rdfs:subClassOf | 238 | rdfs:subClassOf |
239 | [ rdf:type owl:Restriction ; | 239 | [ rdf:type owl:Restriction ; |
240 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 240 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; |
241 | owl:onProperty ep-activity:onWell | 241 | owl:onProperty ep-activity:onWell |
242 | ] ; | 242 | ] ; |
243 | rdfs:subClassOf | 243 | rdfs:subClassOf |
... | @@ -247,7 +247,7 @@ ep-activity:OffshoreWellActivity | ... | @@ -247,7 +247,7 @@ ep-activity:OffshoreWellActivity |
247 | ] ; | 247 | ] ; |
248 | rdfs:subClassOf | 248 | rdfs:subClassOf |
249 | [ rdf:type owl:Restriction ; | 249 | [ rdf:type owl:Restriction ; |
250 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; | 250 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
251 | owl:onProperty ep-activity:onWell | 251 | owl:onProperty ep-activity:onWell |
252 | ] . | 252 | ] . |
253 | 253 | ||
... | @@ -262,7 +262,7 @@ ep-activity:ProductionActivity | ... | @@ -262,7 +262,7 @@ ep-activity:ProductionActivity |
262 | rdfs:subClassOf ep-activity:Activity . | 262 | rdfs:subClassOf ep-activity:Activity . |
263 | 263 | ||
264 | ep-activity:SuccessfulActivity | 264 | ep-activity:SuccessfulActivity |
265 | - rdf:type owl:Class , ep-activity:ActivitySuccessType ; | 265 | + rdf:type ep-activity:ActivitySuccessType , owl:Class ; |
266 | rdfs:label "successful activity"^^xsd:string ; | 266 | rdfs:label "successful activity"^^xsd:string ; |
267 | rdfs:subClassOf ep-activity:Activity ; | 267 | rdfs:subClassOf ep-activity:Activity ; |
268 | owl:disjointWith ep-activity:FailedActivity . | 268 | owl:disjointWith ep-activity:FailedActivity . |
... | @@ -287,6 +287,11 @@ ep-activity:WeeklyProductionActivity | ... | @@ -287,6 +287,11 @@ ep-activity:WeeklyProductionActivity |
287 | owl:onProperty ep-activity:hasSubActivity | 287 | owl:onProperty ep-activity:hasSubActivity |
288 | ] . | 288 | ] . |
289 | 289 | ||
290 | +ep-activity:WellBoreDirectionalSurvey | ||
291 | + rdf:type owl:Class ; | ||
292 | + rdfs:label "well bore directional survey"^^xsd:string ; | ||
293 | + rdfs:subClassOf ep-activity:Activity . | ||
294 | + | ||
290 | ep-activity:WellBoreDrillingType | 295 | ep-activity:WellBoreDrillingType |
291 | rdf:type rdfs:Class ; | 296 | rdf:type rdfs:Class ; |
292 | rdfs:label "well bore drilling type"^^xsd:string ; | 297 | rdfs:label "well bore drilling type"^^xsd:string ; |
... | @@ -298,18 +303,18 @@ ep-activity:WellBorePressureTest | ... | @@ -298,18 +303,18 @@ ep-activity:WellBorePressureTest |
298 | rdfs:subClassOf ep-activity:Activity . | 303 | rdfs:subClassOf ep-activity:Activity . |
299 | 304 | ||
300 | ep-activity:createdAt | 305 | ep-activity:createdAt |
301 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; | 306 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
302 | rdfs:label "created at"^^xsd:string ; | 307 | rdfs:label "created at"^^xsd:string ; |
303 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | 308 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
304 | 309 | ||
305 | ep-activity:drillingContractor | 310 | ep-activity:drillingContractor |
306 | - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | 311 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; |
307 | rdfs:domain ep-activity:DrillingActivity ; | 312 | rdfs:domain ep-activity:DrillingActivity ; |
308 | rdfs:label "drilling contractor"^^xsd:string ; | 313 | rdfs:label "drilling contractor"^^xsd:string ; |
309 | rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . | 314 | rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . |
310 | 315 | ||
311 | ep-activity:drillingOperator | 316 | ep-activity:drillingOperator |
312 | - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | 317 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; |
313 | rdfs:domain ep-activity:DrillingActivity ; | 318 | rdfs:domain ep-activity:DrillingActivity ; |
314 | rdfs:label "drilling operator"^^xsd:string ; | 319 | rdfs:label "drilling operator"^^xsd:string ; |
315 | rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . | 320 | rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . |
... | @@ -332,7 +337,7 @@ ep-activity:onWell | ... | @@ -332,7 +337,7 @@ ep-activity:onWell |
332 | rdfs:label "on well"^^xsd:string . | 337 | rdfs:label "on well"^^xsd:string . |
333 | 338 | ||
334 | ep-activity:onWellBore | 339 | ep-activity:onWellBore |
335 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 340 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
336 | rdfs:label "on WellBore"^^xsd:string . | 341 | rdfs:label "on WellBore"^^xsd:string . |
337 | 342 | ||
338 | ep-activity:reportOn | 343 | ep-activity:reportOn |
... | @@ -345,7 +350,7 @@ ep-activity:startedAt | ... | @@ -345,7 +350,7 @@ ep-activity:startedAt |
345 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | 350 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
346 | 351 | ||
347 | ep-activity:wellBoreDrillingType | 352 | ep-activity:wellBoreDrillingType |
348 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 353 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
349 | rdfs:domain ep-activity:DrillingActivity ; | 354 | rdfs:domain ep-activity:DrillingActivity ; |
350 | rdfs:label "has sub activity"^^xsd:string ; | 355 | rdfs:label "has sub activity"^^xsd:string ; |
351 | rdfs:range ep-activity:WellBoreDrillingType ; | 356 | rdfs:range ep-activity:WellBoreDrillingType ; | ... | ... |
1 | -# Saved by TopBraid on Sun Aug 14 20:00:53 BST 2011 | 1 | +# Saved by TopBraid on Tue Aug 16 11:34:45 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | 2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib |
3 | # imports: http://www.reportinghub.no/ep/schema/1.0/report | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/report |
4 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
... | @@ -149,13 +149,36 @@ ep-spin-lib:buildRigURI | ... | @@ -149,13 +149,36 @@ ep-spin-lib:buildRigURI |
149 | ]) | 149 | ]) |
150 | ] . | 150 | ] . |
151 | 151 | ||
152 | +ep-spin-lib:buildSurveyedPartOfAWellBoreURI | ||
153 | + rdf:type spin:Function ; | ||
154 | + rdfs:label "build SurveyedPartOfWellBore URI"^^xsd:string ; | ||
155 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
156 | + spin:body | ||
157 | + [ rdf:type sp:Select ; | ||
158 | + sp:resultVariables (_:b7) ; | ||
159 | + sp:where ([ rdf:type sp:Bind ; | ||
160 | + sp:expression | ||
161 | + [ rdf:type ep-spin-lib:buildURI ; | ||
162 | + sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-atDirectionalSurvey/" ; | ||
163 | + sp:arg2 [ rdf:type fn:concat ; | ||
164 | + sp:arg1 spin:_arg1 ; | ||
165 | + sp:arg2 "$" ; | ||
166 | + sp:arg3 spin:_arg2 ; | ||
167 | + sp:arg4 "$" ; | ||
168 | + sp:arg5 spin:_arg3 | ||
169 | + ] | ||
170 | + ] ; | ||
171 | + sp:variable _:b7 | ||
172 | + ]) | ||
173 | + ] . | ||
174 | + | ||
152 | ep-spin-lib:buildTemporalPartOfARigURI | 175 | ep-spin-lib:buildTemporalPartOfARigURI |
153 | rdf:type spin:Function ; | 176 | rdf:type spin:Function ; |
154 | rdfs:label "build TemporalPartOfRig URI"^^xsd:string ; | 177 | rdfs:label "build TemporalPartOfRig URI"^^xsd:string ; |
155 | rdfs:subClassOf ep-spin-lib:Function ; | 178 | rdfs:subClassOf ep-spin-lib:Function ; |
156 | spin:body | 179 | spin:body |
157 | [ rdf:type sp:Select ; | 180 | [ rdf:type sp:Select ; |
158 | - sp:resultVariables (_:b7) ; | 181 | + sp:resultVariables (_:b8) ; |
159 | sp:where ([ rdf:type sp:Bind ; | 182 | sp:where ([ rdf:type sp:Bind ; |
160 | sp:expression | 183 | sp:expression |
161 | [ rdf:type ep-spin-lib:buildURI ; | 184 | [ rdf:type ep-spin-lib:buildURI ; |
... | @@ -168,7 +191,7 @@ ep-spin-lib:buildTemporalPartOfARigURI | ... | @@ -168,7 +191,7 @@ ep-spin-lib:buildTemporalPartOfARigURI |
168 | sp:arg5 spin:_arg3 | 191 | sp:arg5 spin:_arg3 |
169 | ] | 192 | ] |
170 | ] ; | 193 | ] ; |
171 | - sp:variable _:b7 | 194 | + sp:variable _:b8 |
172 | ]) | 195 | ]) |
173 | ] . | 196 | ] . |
174 | 197 | ||
... | @@ -178,7 +201,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI | ... | @@ -178,7 +201,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI |
178 | rdfs:subClassOf ep-spin-lib:Function ; | 201 | rdfs:subClassOf ep-spin-lib:Function ; |
179 | spin:body | 202 | spin:body |
180 | [ rdf:type sp:Select ; | 203 | [ rdf:type sp:Select ; |
181 | - sp:resultVariables (_:b8) ; | 204 | + sp:resultVariables (_:b9) ; |
182 | sp:where ([ rdf:type sp:Bind ; | 205 | sp:where ([ rdf:type sp:Bind ; |
183 | sp:expression | 206 | sp:expression |
184 | [ rdf:type ep-spin-lib:buildURI ; | 207 | [ rdf:type ep-spin-lib:buildURI ; |
... | @@ -191,7 +214,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI | ... | @@ -191,7 +214,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI |
191 | sp:arg5 spin:_arg3 | 214 | sp:arg5 spin:_arg3 |
192 | ] | 215 | ] |
193 | ] ; | 216 | ] ; |
194 | - sp:variable _:b8 | 217 | + sp:variable _:b9 |
195 | ]) | 218 | ]) |
196 | ] . | 219 | ] . |
197 | 220 | ||
... | @@ -201,7 +224,7 @@ ep-spin-lib:buildURI | ... | @@ -201,7 +224,7 @@ ep-spin-lib:buildURI |
201 | rdfs:subClassOf ep-spin-lib:Function ; | 224 | rdfs:subClassOf ep-spin-lib:Function ; |
202 | spin:body | 225 | spin:body |
203 | [ rdf:type sp:Select ; | 226 | [ rdf:type sp:Select ; |
204 | - sp:resultVariables (_:b9) ; | 227 | + sp:resultVariables (_:b10) ; |
205 | sp:where ([ rdf:type sp:Bind ; | 228 | sp:where ([ rdf:type sp:Bind ; |
206 | sp:expression | 229 | sp:expression |
207 | [ rdf:type sp:iri ; | 230 | [ rdf:type sp:iri ; |
... | @@ -210,7 +233,7 @@ ep-spin-lib:buildURI | ... | @@ -210,7 +233,7 @@ ep-spin-lib:buildURI |
210 | sp:arg2 spin:_arg2 | 233 | sp:arg2 spin:_arg2 |
211 | ] | 234 | ] |
212 | ] ; | 235 | ] ; |
213 | - sp:variable _:b9 | 236 | + sp:variable _:b10 |
214 | ]) | 237 | ]) |
215 | ] ; | 238 | ] ; |
216 | spin:constraint | 239 | spin:constraint |
... | @@ -224,13 +247,36 @@ ep-spin-lib:buildURI | ... | @@ -224,13 +247,36 @@ ep-spin-lib:buildURI |
224 | spl:valueType xsd:string | 247 | spl:valueType xsd:string |
225 | ] . | 248 | ] . |
226 | 249 | ||
250 | +ep-spin-lib:buildWellBoreDirectionalSurveyURI | ||
251 | + rdf:type spin:Function ; | ||
252 | + rdfs:label "build WellBoreDirectionalSurvey URI"^^xsd:string ; | ||
253 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
254 | + spin:body | ||
255 | + [ rdf:type sp:Select ; | ||
256 | + sp:resultVariables (_:b11) ; | ||
257 | + sp:where ([ rdf:type sp:Bind ; | ||
258 | + sp:expression | ||
259 | + [ rdf:type ep-spin-lib:buildURI ; | ||
260 | + sp:arg1 "https://www.reportinghub.no/ep/data/WellBoreDirectionalSurvey/" ; | ||
261 | + sp:arg2 [ rdf:type fn:concat ; | ||
262 | + sp:arg1 spin:_arg1 ; | ||
263 | + sp:arg2 "$" ; | ||
264 | + sp:arg3 spin:_arg2 ; | ||
265 | + sp:arg4 "$" ; | ||
266 | + sp:arg5 spin:_arg3 | ||
267 | + ] | ||
268 | + ] ; | ||
269 | + sp:variable _:b11 | ||
270 | + ]) | ||
271 | + ] . | ||
272 | + | ||
227 | ep-spin-lib:normalizeString | 273 | ep-spin-lib:normalizeString |
228 | rdf:type spin:Function ; | 274 | rdf:type spin:Function ; |
229 | rdfs:label "normalize string"^^xsd:string ; | 275 | rdfs:label "normalize string"^^xsd:string ; |
230 | rdfs:subClassOf ep-spin-lib:Function ; | 276 | rdfs:subClassOf ep-spin-lib:Function ; |
231 | spin:body | 277 | spin:body |
232 | [ rdf:type sp:Select ; | 278 | [ rdf:type sp:Select ; |
233 | - sp:resultVariables (_:b10) ; | 279 | + sp:resultVariables (_:b12) ; |
234 | sp:where ([ rdf:type sp:Bind ; | 280 | sp:where ([ rdf:type sp:Bind ; |
235 | sp:expression | 281 | sp:expression |
236 | [ rdf:type smf:regex ; | 282 | [ rdf:type smf:regex ; |
... | @@ -238,67 +284,67 @@ ep-spin-lib:normalizeString | ... | @@ -238,67 +284,67 @@ ep-spin-lib:normalizeString |
238 | sp:arg2 "\\((.*)\\)" ; | 284 | sp:arg2 "\\((.*)\\)" ; |
239 | sp:arg3 "" | 285 | sp:arg3 "" |
240 | ] ; | 286 | ] ; |
241 | - sp:variable _:b11 | 287 | + sp:variable _:b13 |
242 | ] [ rdf:type sp:Bind ; | 288 | ] [ rdf:type sp:Bind ; |
243 | sp:expression | 289 | sp:expression |
244 | [ rdf:type smf:trim ; | 290 | [ rdf:type smf:trim ; |
245 | - sp:arg1 _:b11 | 291 | + sp:arg1 _:b13 |
246 | ] ; | 292 | ] ; |
247 | - sp:variable _:b12 | 293 | + sp:variable _:b14 |
248 | ] [ rdf:type sp:Bind ; | 294 | ] [ rdf:type sp:Bind ; |
249 | sp:expression | 295 | sp:expression |
250 | [ rdf:type smf:encodeURL ; | 296 | [ rdf:type smf:encodeURL ; |
251 | - sp:arg1 _:b12 | 297 | + sp:arg1 _:b14 |
252 | ] ; | 298 | ] ; |
253 | - sp:variable _:b13 | 299 | + sp:variable _:b15 |
254 | ] [ rdf:type sp:Bind ; | 300 | ] [ rdf:type sp:Bind ; |
255 | sp:expression | 301 | sp:expression |
256 | [ rdf:type smf:regex ; | 302 | [ rdf:type smf:regex ; |
257 | - sp:arg1 _:b13 ; | 303 | + sp:arg1 _:b15 ; |
258 | sp:arg2 "%2F" ; | 304 | sp:arg2 "%2F" ; |
259 | sp:arg3 "_" | 305 | sp:arg3 "_" |
260 | ] ; | 306 | ] ; |
261 | - sp:variable _:b14 | 307 | + sp:variable _:b16 |
262 | ] [ rdf:type sp:Bind ; | 308 | ] [ rdf:type sp:Bind ; |
263 | sp:expression | 309 | sp:expression |
264 | [ rdf:type smf:regex ; | 310 | [ rdf:type smf:regex ; |
265 | - sp:arg1 _:b14 ; | 311 | + sp:arg1 _:b16 ; |
266 | sp:arg2 "%[0-9A-F][0-9A-F]" ; | 312 | sp:arg2 "%[0-9A-F][0-9A-F]" ; |
267 | sp:arg3 "" | 313 | sp:arg3 "" |
268 | ] ; | 314 | ] ; |
269 | - sp:variable _:b15 | 315 | + sp:variable _:b17 |
270 | ] [ rdf:type sp:Bind ; | 316 | ] [ rdf:type sp:Bind ; |
271 | sp:expression | 317 | sp:expression |
272 | [ rdf:type smf:regex ; | 318 | [ rdf:type smf:regex ; |
273 | - sp:arg1 _:b15 ; | 319 | + sp:arg1 _:b17 ; |
274 | sp:arg2 "\\+" ; | 320 | sp:arg2 "\\+" ; |
275 | sp:arg3 "_" | 321 | sp:arg3 "_" |
276 | ] ; | 322 | ] ; |
277 | - sp:variable _:b16 | 323 | + sp:variable _:b18 |
278 | ] [ rdf:type sp:Bind ; | 324 | ] [ rdf:type sp:Bind ; |
279 | sp:expression | 325 | sp:expression |
280 | [ rdf:type smf:regex ; | 326 | [ rdf:type smf:regex ; |
281 | - sp:arg1 _:b16 ; | 327 | + sp:arg1 _:b18 ; |
282 | sp:arg2 "_+" ; | 328 | sp:arg2 "_+" ; |
283 | sp:arg3 "_" | 329 | sp:arg3 "_" |
284 | ] ; | 330 | ] ; |
285 | - sp:variable _:b17 | 331 | + sp:variable _:b19 |
286 | ] [ rdf:type sp:Bind ; | 332 | ] [ rdf:type sp:Bind ; |
287 | sp:expression | 333 | sp:expression |
288 | [ rdf:type smf:regex ; | 334 | [ rdf:type smf:regex ; |
289 | - sp:arg1 _:b17 ; | 335 | + sp:arg1 _:b19 ; |
290 | sp:arg2 "\\*" ; | 336 | sp:arg2 "\\*" ; |
291 | sp:arg3 "" | 337 | sp:arg3 "" |
292 | ] ; | 338 | ] ; |
293 | - sp:variable _:b18 | 339 | + sp:variable _:b20 |
294 | ] [ rdf:type sp:Bind ; | 340 | ] [ rdf:type sp:Bind ; |
295 | sp:expression | 341 | sp:expression |
296 | [ rdf:type xsd:string ; | 342 | [ rdf:type xsd:string ; |
297 | sp:arg1 [ rdf:type smf:upperCase ; | 343 | sp:arg1 [ rdf:type smf:upperCase ; |
298 | - sp:arg1 _:b18 | 344 | + sp:arg1 _:b20 |
299 | ] | 345 | ] |
300 | ] ; | 346 | ] ; |
301 | - sp:variable _:b10 | 347 | + sp:variable _:b12 |
302 | ]) | 348 | ]) |
303 | ] ; | 349 | ] ; |
304 | spin:constraint | 350 | spin:constraint |
... | @@ -313,7 +359,7 @@ ep-spin-lib:selectActivitySuccessType | ... | @@ -313,7 +359,7 @@ ep-spin-lib:selectActivitySuccessType |
313 | rdfs:subClassOf ep-spin-lib:Function ; | 359 | rdfs:subClassOf ep-spin-lib:Function ; |
314 | spin:body | 360 | spin:body |
315 | [ rdf:type sp:Select ; | 361 | [ rdf:type sp:Select ; |
316 | - sp:resultVariables (_:b19) ; | 362 | + sp:resultVariables (_:b21) ; |
317 | sp:where ([ rdf:type sp:Bind ; | 363 | sp:where ([ rdf:type sp:Bind ; |
318 | sp:expression | 364 | sp:expression |
319 | [ rdf:type sp:if ; | 365 | [ rdf:type sp:if ; |
... | @@ -324,7 +370,7 @@ ep-spin-lib:selectActivitySuccessType | ... | @@ -324,7 +370,7 @@ ep-spin-lib:selectActivitySuccessType |
324 | sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ; | 370 | sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ; |
325 | sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity> | 371 | sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity> |
326 | ] ; | 372 | ] ; |
327 | - sp:variable _:b19 | 373 | + sp:variable _:b21 |
328 | ]) | 374 | ]) |
329 | ] . | 375 | ] . |
330 | 376 | ||
... | @@ -334,7 +380,7 @@ ep-spin-lib:selectDailyDrillingReportType | ... | @@ -334,7 +380,7 @@ ep-spin-lib:selectDailyDrillingReportType |
334 | rdfs:subClassOf ep-spin-lib:Function ; | 380 | rdfs:subClassOf ep-spin-lib:Function ; |
335 | spin:body | 381 | spin:body |
336 | [ rdf:type sp:Select ; | 382 | [ rdf:type sp:Select ; |
337 | - sp:resultVariables (_:b20) ; | 383 | + sp:resultVariables (_:b22) ; |
338 | sp:where ([ rdf:type sp:Bind ; | 384 | sp:where ([ rdf:type sp:Bind ; |
339 | sp:expression | 385 | sp:expression |
340 | [ rdf:type sp:if ; | 386 | [ rdf:type sp:if ; |
... | @@ -352,7 +398,7 @@ ep-spin-lib:selectDailyDrillingReportType | ... | @@ -352,7 +398,7 @@ ep-spin-lib:selectDailyDrillingReportType |
352 | sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport> | 398 | sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport> |
353 | ] | 399 | ] |
354 | ] ; | 400 | ] ; |
355 | - sp:variable _:b20 | 401 | + sp:variable _:b22 |
356 | ]) | 402 | ]) |
357 | ] . | 403 | ] . |
358 | 404 | ||
... | @@ -362,7 +408,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType | ... | @@ -362,7 +408,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType |
362 | rdfs:subClassOf ep-spin-lib:Function ; | 408 | rdfs:subClassOf ep-spin-lib:Function ; |
363 | spin:body | 409 | spin:body |
364 | [ rdf:type sp:Select ; | 410 | [ rdf:type sp:Select ; |
365 | - sp:resultVariables (_:b21) ; | 411 | + sp:resultVariables (_:b23) ; |
366 | sp:where ([ rdf:type sp:Bind ; | 412 | sp:where ([ rdf:type sp:Bind ; |
367 | sp:expression | 413 | sp:expression |
368 | [ rdf:type sp:if ; | 414 | [ rdf:type sp:if ; |
... | @@ -429,7 +475,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType | ... | @@ -429,7 +475,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType |
429 | ] | 475 | ] |
430 | ] | 476 | ] |
431 | ] ; | 477 | ] ; |
432 | - sp:variable _:b21 | 478 | + sp:variable _:b23 |
433 | ]) | 479 | ]) |
434 | ] . | 480 | ] . |
435 | 481 | ||
... | @@ -439,7 +485,7 @@ ep-spin-lib:selectDrillingActivityPurposeType | ... | @@ -439,7 +485,7 @@ ep-spin-lib:selectDrillingActivityPurposeType |
439 | rdfs:subClassOf ep-spin-lib:Function ; | 485 | rdfs:subClassOf ep-spin-lib:Function ; |
440 | spin:body | 486 | spin:body |
441 | [ rdf:type sp:Select ; | 487 | [ rdf:type sp:Select ; |
442 | - sp:resultVariables (_:b22) ; | 488 | + sp:resultVariables (_:b24) ; |
443 | sp:where ([ rdf:type sp:Bind ; | 489 | sp:where ([ rdf:type sp:Bind ; |
444 | sp:expression | 490 | sp:expression |
445 | [ rdf:type smf:if ; | 491 | [ rdf:type smf:if ; |
... | @@ -1023,7 +1069,7 @@ ep-spin-lib:selectDrillingActivityPurposeType | ... | @@ -1023,7 +1069,7 @@ ep-spin-lib:selectDrillingActivityPurposeType |
1023 | ] | 1069 | ] |
1024 | ] | 1070 | ] |
1025 | ] ; | 1071 | ] ; |
1026 | - sp:variable _:b22 | 1072 | + sp:variable _:b24 |
1027 | ]) | 1073 | ]) |
1028 | ] . | 1074 | ] . |
1029 | 1075 | ||
... | @@ -1033,7 +1079,7 @@ ep-spin-lib:selectFixedOrMoveableRigType | ... | @@ -1033,7 +1079,7 @@ ep-spin-lib:selectFixedOrMoveableRigType |
1033 | rdfs:subClassOf ep-spin-lib:Function ; | 1079 | rdfs:subClassOf ep-spin-lib:Function ; |
1034 | spin:body | 1080 | spin:body |
1035 | [ rdf:type sp:Select ; | 1081 | [ rdf:type sp:Select ; |
1036 | - sp:resultVariables (_:b23) ; | 1082 | + sp:resultVariables (_:b25) ; |
1037 | sp:where ([ rdf:type sp:Bind ; | 1083 | sp:where ([ rdf:type sp:Bind ; |
1038 | sp:expression | 1084 | sp:expression |
1039 | [ rdf:type sp:if ; | 1085 | [ rdf:type sp:if ; |
... | @@ -1044,7 +1090,7 @@ ep-spin-lib:selectFixedOrMoveableRigType | ... | @@ -1044,7 +1090,7 @@ ep-spin-lib:selectFixedOrMoveableRigType |
1044 | sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ; | 1090 | sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ; |
1045 | sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig> | 1091 | sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig> |
1046 | ] ; | 1092 | ] ; |
1047 | - sp:variable _:b23 | 1093 | + sp:variable _:b25 |
1048 | ]) | 1094 | ]) |
1049 | ] . | 1095 | ] . |
1050 | 1096 | ||
... | @@ -1054,7 +1100,7 @@ ep-spin-lib:selectLabelOfSystem | ... | @@ -1054,7 +1100,7 @@ ep-spin-lib:selectLabelOfSystem |
1054 | rdfs:subClassOf ep-spin-lib:Function ; | 1100 | rdfs:subClassOf ep-spin-lib:Function ; |
1055 | spin:body | 1101 | spin:body |
1056 | [ rdf:type sp:Select ; | 1102 | [ rdf:type sp:Select ; |
1057 | - sp:resultVariables (_:b24) ; | 1103 | + sp:resultVariables (_:b26) ; |
1058 | sp:where ([ rdf:type sp:Bind ; | 1104 | sp:where ([ rdf:type sp:Bind ; |
1059 | sp:expression | 1105 | sp:expression |
1060 | [ rdf:type sp:if ; | 1106 | [ rdf:type sp:if ; |
... | @@ -1100,7 +1146,7 @@ ep-spin-lib:selectLabelOfSystem | ... | @@ -1100,7 +1146,7 @@ ep-spin-lib:selectLabelOfSystem |
1100 | ] | 1146 | ] |
1101 | ] | 1147 | ] |
1102 | ] ; | 1148 | ] ; |
1103 | - sp:variable _:b24 | 1149 | + sp:variable _:b26 |
1104 | ]) | 1150 | ]) |
1105 | ] . | 1151 | ] . |
1106 | 1152 | ||
... | @@ -1110,7 +1156,7 @@ ep-spin-lib:selectPressureTestType | ... | @@ -1110,7 +1156,7 @@ ep-spin-lib:selectPressureTestType |
1110 | rdfs:subClassOf ep-spin-lib:Function ; | 1156 | rdfs:subClassOf ep-spin-lib:Function ; |
1111 | spin:body | 1157 | spin:body |
1112 | [ rdf:type sp:Select ; | 1158 | [ rdf:type sp:Select ; |
1113 | - sp:resultVariables (_:b25) ; | 1159 | + sp:resultVariables (_:b27) ; |
1114 | sp:where ([ rdf:type sp:Bind ; | 1160 | sp:where ([ rdf:type sp:Bind ; |
1115 | sp:expression | 1161 | sp:expression |
1116 | [ rdf:type smf:if ; | 1162 | [ rdf:type smf:if ; |
... | @@ -1127,7 +1173,7 @@ ep-spin-lib:selectPressureTestType | ... | @@ -1127,7 +1173,7 @@ ep-spin-lib:selectPressureTestType |
1127 | sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest> | 1173 | sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest> |
1128 | ] | 1174 | ] |
1129 | ] ; | 1175 | ] ; |
1130 | - sp:variable _:b25 | 1176 | + sp:variable _:b27 |
1131 | ]) | 1177 | ]) |
1132 | ] . | 1178 | ] . |
1133 | 1179 | ||
... | @@ -1137,8 +1183,8 @@ ep-spin-lib:selectWellBoreDrillingType | ... | @@ -1137,8 +1183,8 @@ ep-spin-lib:selectWellBoreDrillingType |
1137 | rdfs:subClassOf ep-spin-lib:Function ; | 1183 | rdfs:subClassOf ep-spin-lib:Function ; |
1138 | spin:body | 1184 | spin:body |
1139 | [ rdf:type sp:Select ; | 1185 | [ rdf:type sp:Select ; |
1140 | - sp:resultVariables (_:b26) ; | 1186 | + sp:resultVariables (_:b28) ; |
1141 | - sp:where ([ sp:object _:b26 ; | 1187 | + sp:where ([ sp:object _:b28 ; |
1142 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ; | 1188 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ; |
1143 | sp:subject spin:_arg1 | 1189 | sp:subject spin:_arg1 |
1144 | ]) | 1190 | ]) |
... | @@ -1150,7 +1196,7 @@ ep-spin-lib:selectWellBoreHphtType | ... | @@ -1150,7 +1196,7 @@ ep-spin-lib:selectWellBoreHphtType |
1150 | rdfs:subClassOf ep-spin-lib:Function ; | 1196 | rdfs:subClassOf ep-spin-lib:Function ; |
1151 | spin:body | 1197 | spin:body |
1152 | [ rdf:type sp:Select ; | 1198 | [ rdf:type sp:Select ; |
1153 | - sp:resultVariables (_:b27) ; | 1199 | + sp:resultVariables (_:b29) ; |
1154 | sp:where ([ rdf:type sp:Bind ; | 1200 | sp:where ([ rdf:type sp:Bind ; |
1155 | sp:expression | 1201 | sp:expression |
1156 | [ rdf:type sp:if ; | 1202 | [ rdf:type sp:if ; |
... | @@ -1161,7 +1207,7 @@ ep-spin-lib:selectWellBoreHphtType | ... | @@ -1161,7 +1207,7 @@ ep-spin-lib:selectWellBoreHphtType |
1161 | sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ; | 1207 | sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ; |
1162 | sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore> | 1208 | sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore> |
1163 | ] ; | 1209 | ] ; |
1164 | - sp:variable _:b27 | 1210 | + sp:variable _:b29 |
1165 | ]) | 1211 | ]) |
1166 | ] . | 1212 | ] . |
1167 | 1213 | ||
... | @@ -1171,7 +1217,7 @@ ep-spin-lib:selectWellBoreTightnessType | ... | @@ -1171,7 +1217,7 @@ ep-spin-lib:selectWellBoreTightnessType |
1171 | rdfs:subClassOf ep-spin-lib:Function ; | 1217 | rdfs:subClassOf ep-spin-lib:Function ; |
1172 | spin:body | 1218 | spin:body |
1173 | [ rdf:type sp:Select ; | 1219 | [ rdf:type sp:Select ; |
1174 | - sp:resultVariables (_:b28) ; | 1220 | + sp:resultVariables (_:b30) ; |
1175 | sp:where ([ rdf:type sp:Bind ; | 1221 | sp:where ([ rdf:type sp:Bind ; |
1176 | sp:expression | 1222 | sp:expression |
1177 | [ rdf:type sp:if ; | 1223 | [ rdf:type sp:if ; |
... | @@ -1182,81 +1228,87 @@ ep-spin-lib:selectWellBoreTightnessType | ... | @@ -1182,81 +1228,87 @@ ep-spin-lib:selectWellBoreTightnessType |
1182 | sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ; | 1228 | sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ; |
1183 | sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore> | 1229 | sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore> |
1184 | ] ; | 1230 | ] ; |
1185 | - sp:variable _:b28 | 1231 | + sp:variable _:b30 |
1186 | ]) | 1232 | ]) |
1187 | ] . | 1233 | ] . |
1188 | 1234 | ||
1189 | -_:b28 | 1235 | +_:b1 sp:varName "uri"^^xsd:string . |
1190 | - sp:varName "wellBoreTightnessType"^^xsd:string . | ||
1191 | 1236 | ||
1192 | -_:b27 | 1237 | +_:b2 sp:varName "uri"^^xsd:string . |
1193 | - sp:varName "wellBoreHphtType"^^xsd:string . | ||
1194 | 1238 | ||
1195 | -_:b26 | 1239 | +_:b3 sp:varName "uri"^^xsd:string . |
1196 | - sp:varName "wellBoreDrillingType"^^xsd:string . | ||
1197 | 1240 | ||
1198 | -_:b25 | 1241 | +_:b4 sp:varName "uri"^^xsd:string . |
1199 | - sp:varName "pressureTestType"^^xsd:string . | ||
1200 | 1242 | ||
1201 | -_:b24 | 1243 | +_:b5 sp:varName "uri"^^xsd:string . |
1202 | - sp:varName "dailyDrillingReportType"^^xsd:string . | ||
1203 | 1244 | ||
1204 | -_:b23 | 1245 | +_:b6 sp:varName "uri"^^xsd:string . |
1205 | - sp:varName "fixedOrMoveableRigType"^^xsd:string . | ||
1206 | 1246 | ||
1207 | -_:b22 | 1247 | +_:b7 sp:varName "uri"^^xsd:string . |
1208 | - sp:varName "drillingActivityPurposeType"^^xsd:string . | ||
1209 | 1248 | ||
1210 | -_:b21 | 1249 | +_:b8 sp:varName "uri"^^xsd:string . |
1211 | - sp:varName "drillingActivityOutcomeType"^^xsd:string . | ||
1212 | 1250 | ||
1213 | -_:b20 | 1251 | +_:b9 sp:varName "uri"^^xsd:string . |
1214 | - sp:varName "dailyDrillingReportType"^^xsd:string . | ||
1215 | 1252 | ||
1216 | -_:b19 | 1253 | +_:b10 |
1217 | - sp:varName "activitySuccessType"^^xsd:string . | 1254 | + sp:varName "uri"^^xsd:string . |
1218 | 1255 | ||
1219 | -_:b18 | 1256 | +_:b12 |
1220 | - sp:varName "t4"^^xsd:string . | 1257 | + sp:varName "normalizedStr"^^xsd:string . |
1221 | 1258 | ||
1222 | -_:b17 | 1259 | +_:b13 |
1223 | - sp:varName "t3"^^xsd:string . | 1260 | + sp:varName "s1"^^xsd:string . |
1224 | 1261 | ||
1225 | -_:b16 | 1262 | +_:b14 |
1226 | - sp:varName "t2"^^xsd:string . | 1263 | + sp:varName "s2"^^xsd:string . |
1227 | 1264 | ||
1228 | _:b15 | 1265 | _:b15 |
1229 | - sp:varName "t1"^^xsd:string . | 1266 | + sp:varName "t0a"^^xsd:string . |
1230 | 1267 | ||
1231 | -_:b14 | 1268 | +_:b16 |
1232 | sp:varName "t0b"^^xsd:string . | 1269 | sp:varName "t0b"^^xsd:string . |
1233 | 1270 | ||
1234 | -_:b13 | 1271 | +_:b17 |
1235 | - sp:varName "t0a"^^xsd:string . | 1272 | + sp:varName "t1"^^xsd:string . |
1236 | 1273 | ||
1237 | -_:b12 | 1274 | +_:b18 |
1238 | - sp:varName "s2"^^xsd:string . | 1275 | + sp:varName "t2"^^xsd:string . |
1239 | 1276 | ||
1240 | -_:b11 | 1277 | +_:b19 |
1241 | - sp:varName "s1"^^xsd:string . | 1278 | + sp:varName "t3"^^xsd:string . |
1242 | 1279 | ||
1243 | -_:b10 | 1280 | +_:b20 |
1244 | - sp:varName "normalizedStr"^^xsd:string . | 1281 | + sp:varName "t4"^^xsd:string . |
1245 | 1282 | ||
1246 | -_:b9 sp:varName "uri"^^xsd:string . | 1283 | +_:b21 |
1284 | + sp:varName "activitySuccessType"^^xsd:string . | ||
1247 | 1285 | ||
1248 | -_:b8 sp:varName "uri"^^xsd:string . | 1286 | +_:b22 |
1287 | + sp:varName "dailyDrillingReportType"^^xsd:string . | ||
1249 | 1288 | ||
1250 | -_:b7 sp:varName "uri"^^xsd:string . | 1289 | +_:b23 |
1290 | + sp:varName "drillingActivityOutcomeType"^^xsd:string . | ||
1251 | 1291 | ||
1252 | -_:b6 sp:varName "uri"^^xsd:string . | 1292 | +_:b24 |
1293 | + sp:varName "drillingActivityPurposeType"^^xsd:string . | ||
1253 | 1294 | ||
1254 | -_:b5 sp:varName "uri"^^xsd:string . | 1295 | +_:b25 |
1296 | + sp:varName "fixedOrMoveableRigType"^^xsd:string . | ||
1255 | 1297 | ||
1256 | -_:b3 sp:varName "uri"^^xsd:string . | 1298 | +_:b26 |
1299 | + sp:varName "dailyDrillingReportType"^^xsd:string . | ||
1257 | 1300 | ||
1258 | -_:b2 sp:varName "uri"^^xsd:string . | 1301 | +_:b27 |
1302 | + sp:varName "pressureTestType"^^xsd:string . | ||
1259 | 1303 | ||
1260 | -_:b1 sp:varName "uri"^^xsd:string . | 1304 | +_:b28 |
1305 | + sp:varName "wellBoreDrillingType"^^xsd:string . | ||
1261 | 1306 | ||
1262 | -_:b4 sp:varName "uri"^^xsd:string . | 1307 | +_:b29 |
1308 | + sp:varName "wellBoreHphtType"^^xsd:string . | ||
1309 | + | ||
1310 | +_:b30 | ||
1311 | + sp:varName "wellBoreTightnessType"^^xsd:string . | ||
1312 | + | ||
1313 | +_:b11 | ||
1314 | + sp:varName "uri"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Sun Aug 14 20:00:53 BST 2011 | 1 | +# Saved by TopBraid on Tue Aug 16 11:34:45 BST 2011 |
2 | # baseURI: null | 2 | # baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
1 | +# Saved by TopBraid on Tue Aug 16 11:26:15 BST 2011 | ||
1 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization |
2 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity | 3 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity |
3 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | ||
4 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | ||
5 | -# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias | ||
6 | # imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo | 4 | # imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo |
5 | +# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias | ||
7 | # imports: http://www.reportinghub.no/swp/ddr | 6 | # imports: http://www.reportinghub.no/swp/ddr |
7 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation | ||
8 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | ||
9 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | ||
8 | 10 | ||
9 | @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . | 11 | @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . |
10 | @prefix ddr1: <http://www.reportinghub.no/swp/ddr#> . | 12 | @prefix ddr1: <http://www.reportinghub.no/swp/ddr#> . |
... | @@ -16,13 +18,14 @@ | ... | @@ -16,13 +18,14 @@ |
16 | @prefix sp: <http://spinrdf.org/sp#> . | 18 | @prefix sp: <http://spinrdf.org/sp#> . |
17 | @prefix spin: <http://spinrdf.org/spin#> . | 19 | @prefix spin: <http://spinrdf.org/spin#> . |
18 | @prefix spl: <http://spinrdf.org/spl#> . | 20 | @prefix spl: <http://spinrdf.org/spl#> . |
21 | +@prefix surveyStation: <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#> . | ||
19 | @prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . | 22 | @prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . |
20 | @prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . | 23 | @prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . |
21 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 24 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
22 | 25 | ||
23 | <http://www.reportinghub.no/ep/transform/1.1/normalization> | 26 | <http://www.reportinghub.no/ep/transform/1.1/normalization> |
24 | rdf:type owl:Ontology ; | 27 | rdf:type owl:Ontology ; |
25 | - owl:imports <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/swp/ddr> ; | 28 | + owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> , <http://www.reportinghub.no/swp/ddr> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> ; |
26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 29 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
27 | 30 | ||
28 | owl:Thing | 31 | owl:Thing |
... | @@ -63,8 +66,8 @@ owl:Thing | ... | @@ -63,8 +66,8 @@ owl:Thing |
63 | ]) | 66 | ]) |
64 | ] . | 67 | ] . |
65 | 68 | ||
66 | -_:b3 sp:varName "newLabel"^^xsd:string . | 69 | +_:b1 sp:varName "oldLabel"^^xsd:string . |
67 | 70 | ||
68 | _:b2 sp:varName "p"^^xsd:string . | 71 | _:b2 sp:varName "p"^^xsd:string . |
69 | 72 | ||
70 | -_:b1 sp:varName "oldLabel"^^xsd:string . | 73 | +_:b3 sp:varName "newLabel"^^xsd:string . | ... | ... |
1 | +# Saved by TopBraid on Tue Aug 16 11:03:54 BST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation | ||
3 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
4 | +# imports: http://spinrdf.org/spin | ||
5 | + | ||
6 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation#> . | ||
7 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
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 sp: <http://spinrdf.org/sp#> . | ||
12 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
13 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
14 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
15 | + | ||
16 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
17 | + spin:rule | ||
18 | + [ rdf:type sp:Construct ; | ||
19 | + rdfs:comment "STEP 185 Set azimuth of WellBoreDirectionalSurvey"^^xsd:string ; | ||
20 | + sp:templates ([ sp:object _:b1 ; | ||
21 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ; | ||
22 | + sp:subject _:b2 | ||
23 | + ]) ; | ||
24 | + sp:where ([ sp:object _:b3 ; | ||
25 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
26 | + sp:subject spin:_this | ||
27 | + ] [ sp:object _:b4 ; | ||
28 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
29 | + sp:subject spin:_this | ||
30 | + ] [ sp:object _:b5 ; | ||
31 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; | ||
32 | + sp:subject spin:_this | ||
33 | + ] [ sp:object _:b6 ; | ||
34 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; | ||
35 | + sp:subject _:b5 | ||
36 | + ] [ sp:object _:b1 ; | ||
37 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#azi> ; | ||
38 | + sp:subject _:b5 | ||
39 | + ] [ rdf:type sp:Bind ; | ||
40 | + sp:expression | ||
41 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
42 | + sp:arg1 _:b3 | ||
43 | + ] ; | ||
44 | + sp:variable _:b7 | ||
45 | + ] [ rdf:type sp:Bind ; | ||
46 | + sp:expression | ||
47 | + [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; | ||
48 | + sp:arg1 _:b7 ; | ||
49 | + sp:arg2 _:b4 ; | ||
50 | + sp:arg3 _:b6 | ||
51 | + ] ; | ||
52 | + sp:variable _:b2 | ||
53 | + ]) | ||
54 | + ] ; | ||
55 | + spin:rule | ||
56 | + [ rdf:type sp:Construct ; | ||
57 | + rdfs:comment "STEP 184 Set inclination of WellBoreDirectionalSurvey"^^xsd:string ; | ||
58 | + sp:templates ([ sp:object _:b8 ; | ||
59 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ; | ||
60 | + sp:subject _:b9 | ||
61 | + ]) ; | ||
62 | + sp:where ([ sp:object _:b10 ; | ||
63 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
64 | + sp:subject spin:_this | ||
65 | + ] [ sp:object _:b11 ; | ||
66 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
67 | + sp:subject spin:_this | ||
68 | + ] [ sp:object _:b12 ; | ||
69 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; | ||
70 | + sp:subject spin:_this | ||
71 | + ] [ sp:object _:b13 ; | ||
72 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; | ||
73 | + sp:subject _:b12 | ||
74 | + ] [ sp:object _:b8 ; | ||
75 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#incl> ; | ||
76 | + sp:subject _:b12 | ||
77 | + ] [ rdf:type sp:Bind ; | ||
78 | + sp:expression | ||
79 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
80 | + sp:arg1 _:b10 | ||
81 | + ] ; | ||
82 | + sp:variable _:b14 | ||
83 | + ] [ rdf:type sp:Bind ; | ||
84 | + sp:expression | ||
85 | + [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; | ||
86 | + sp:arg1 _:b14 ; | ||
87 | + sp:arg2 _:b11 ; | ||
88 | + sp:arg3 _:b13 | ||
89 | + ] ; | ||
90 | + sp:variable _:b9 | ||
91 | + ]) | ||
92 | + ] ; | ||
93 | + spin:rule | ||
94 | + [ rdf:type sp:Construct ; | ||
95 | + rdfs:comment "STEP 183 Set tvd of WellBoreDirectionalSurvey"^^xsd:string ; | ||
96 | + sp:templates ([ sp:object _:b15 ; | ||
97 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; | ||
98 | + sp:subject _:b16 | ||
99 | + ]) ; | ||
100 | + sp:where ([ sp:object _:b17 ; | ||
101 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
102 | + sp:subject spin:_this | ||
103 | + ] [ sp:object _:b18 ; | ||
104 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
105 | + sp:subject spin:_this | ||
106 | + ] [ sp:object _:b19 ; | ||
107 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; | ||
108 | + sp:subject spin:_this | ||
109 | + ] [ sp:object _:b20 ; | ||
110 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; | ||
111 | + sp:subject _:b19 | ||
112 | + ] [ sp:object _:b15 ; | ||
113 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; | ||
114 | + sp:subject _:b19 | ||
115 | + ] [ rdf:type sp:Bind ; | ||
116 | + sp:expression | ||
117 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
118 | + sp:arg1 _:b17 | ||
119 | + ] ; | ||
120 | + sp:variable _:b21 | ||
121 | + ] [ rdf:type sp:Bind ; | ||
122 | + sp:expression | ||
123 | + [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; | ||
124 | + sp:arg1 _:b21 ; | ||
125 | + sp:arg2 _:b18 ; | ||
126 | + sp:arg3 _:b20 | ||
127 | + ] ; | ||
128 | + sp:variable _:b16 | ||
129 | + ]) | ||
130 | + ] ; | ||
131 | + spin:rule | ||
132 | + [ rdf:type sp:Construct ; | ||
133 | + rdfs:comment "STEP 182 Set md of WellBoreDirectionalSurvey"^^xsd:string ; | ||
134 | + sp:templates ([ sp:object _:b22 ; | ||
135 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; | ||
136 | + sp:subject _:b23 | ||
137 | + ]) ; | ||
138 | + sp:where ([ sp:object _:b24 ; | ||
139 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
140 | + sp:subject spin:_this | ||
141 | + ] [ sp:object _:b25 ; | ||
142 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
143 | + sp:subject spin:_this | ||
144 | + ] [ sp:object _:b26 ; | ||
145 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; | ||
146 | + sp:subject spin:_this | ||
147 | + ] [ sp:object _:b27 ; | ||
148 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; | ||
149 | + sp:subject _:b26 | ||
150 | + ] [ sp:object _:b22 ; | ||
151 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; | ||
152 | + sp:subject _:b26 | ||
153 | + ] [ rdf:type sp:Bind ; | ||
154 | + sp:expression | ||
155 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
156 | + sp:arg1 _:b24 | ||
157 | + ] ; | ||
158 | + sp:variable _:b28 | ||
159 | + ] [ rdf:type sp:Bind ; | ||
160 | + sp:expression | ||
161 | + [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; | ||
162 | + sp:arg1 _:b28 ; | ||
163 | + sp:arg2 _:b25 ; | ||
164 | + sp:arg3 _:b27 | ||
165 | + ] ; | ||
166 | + sp:variable _:b23 | ||
167 | + ]) | ||
168 | + ] ; | ||
169 | + spin:rule | ||
170 | + [ rdf:type sp:Construct ; | ||
171 | + rdfs:comment "STEP 181 Set time of WellBoreDirectionalSurvey"^^xsd:string ; | ||
172 | + sp:templates ([ sp:object _:b29 ; | ||
173 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ; | ||
174 | + sp:subject _:b30 | ||
175 | + ]) ; | ||
176 | + sp:where ([ sp:object _:b31 ; | ||
177 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
178 | + sp:subject spin:_this | ||
179 | + ] [ sp:object _:b32 ; | ||
180 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
181 | + sp:subject spin:_this | ||
182 | + ] [ sp:object _:b33 ; | ||
183 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; | ||
184 | + sp:subject spin:_this | ||
185 | + ] [ sp:object _:b34 ; | ||
186 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; | ||
187 | + sp:subject _:b33 | ||
188 | + ] [ sp:object _:b29 ; | ||
189 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ; | ||
190 | + sp:subject _:b33 | ||
191 | + ] [ rdf:type sp:Bind ; | ||
192 | + sp:expression | ||
193 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
194 | + sp:arg1 _:b31 | ||
195 | + ] ; | ||
196 | + sp:variable _:b35 | ||
197 | + ] [ rdf:type sp:Bind ; | ||
198 | + sp:expression | ||
199 | + [ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ; | ||
200 | + sp:arg1 _:b35 ; | ||
201 | + sp:arg2 _:b32 ; | ||
202 | + sp:arg3 _:b34 | ||
203 | + ] ; | ||
204 | + sp:variable _:b30 | ||
205 | + ]) | ||
206 | + ] ; | ||
207 | + spin:rule | ||
208 | + [ rdf:type sp:Construct ; | ||
209 | + rdfs:comment "STEP 180 Create a WellBoreDirectionalSurvey activity"^^xsd:string ; | ||
210 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreDirectionalSurvey> ; | ||
211 | + sp:predicate rdf:type ; | ||
212 | + sp:subject _:b36 | ||
213 | + ] [ sp:object _:b36 ; | ||
214 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
215 | + sp:subject _:b37 | ||
216 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; | ||
217 | + sp:predicate rdf:type ; | ||
218 | + sp:subject _:b38 | ||
219 | + ] [ sp:object _:b39 ; | ||
220 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
221 | + sp:subject _:b38 | ||
222 | + ] [ sp:object _:b38 ; | ||
223 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
224 | + sp:subject _:b36 | ||
225 | + ]) ; | ||
226 | + sp:where ([ sp:object _:b40 ; | ||
227 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
228 | + sp:subject spin:_this | ||
229 | + ] [ sp:object _:b41 ; | ||
230 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
231 | + sp:subject spin:_this | ||
232 | + ] [ sp:object _:b42 ; | ||
233 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#surveyStation> ; | ||
234 | + sp:subject spin:_this | ||
235 | + ] [ sp:object _:b43 ; | ||
236 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; | ||
237 | + sp:subject _:b42 | ||
238 | + ] [ sp:object _:b39 ; | ||
239 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
240 | + sp:subject _:b37 | ||
241 | + ] [ rdf:type sp:Bind ; | ||
242 | + sp:expression | ||
243 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
244 | + sp:arg1 _:b40 | ||
245 | + ] ; | ||
246 | + sp:variable _:b44 | ||
247 | + ] [ rdf:type sp:Bind ; | ||
248 | + sp:expression | ||
249 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
250 | + sp:arg1 _:b44 ; | ||
251 | + sp:arg2 _:b41 | ||
252 | + ] ; | ||
253 | + sp:variable _:b37 | ||
254 | + ] [ rdf:type sp:Bind ; | ||
255 | + sp:expression | ||
256 | + [ rdf:type ep-spin-lib:buildWellBoreDirectionalSurveyURI ; | ||
257 | + sp:arg1 _:b44 ; | ||
258 | + sp:arg2 _:b41 ; | ||
259 | + sp:arg3 _:b43 | ||
260 | + ] ; | ||
261 | + sp:variable _:b36 | ||
262 | + ] [ rdf:type sp:Bind ; | ||
263 | + sp:expression | ||
264 | + [ rdf:type ep-spin-lib:buildSurveyedPartOfAWellBoreURI ; | ||
265 | + sp:arg1 _:b44 ; | ||
266 | + sp:arg2 _:b41 ; | ||
267 | + sp:arg3 _:b43 | ||
268 | + ] ; | ||
269 | + sp:variable _:b38 | ||
270 | + ]) | ||
271 | + ] . | ||
272 | + | ||
273 | +<http://www.reportinghub.no/ep/transform/1.1/ddr/surveyStation> | ||
274 | + rdf:type owl:Ontology ; | ||
275 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ; | ||
276 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
277 | + | ||
278 | +_:b7 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
279 | + | ||
280 | +_:b6 sp:varName "index"^^xsd:string . | ||
281 | + | ||
282 | +_:b5 sp:varName "surveyStation"^^xsd:string . | ||
283 | + | ||
284 | +_:b4 sp:varName "dTimStart"^^xsd:string . | ||
285 | + | ||
286 | +_:b3 sp:varName "nameWellBore"^^xsd:string . | ||
287 | + | ||
288 | +_:b2 sp:varName "surveyedPartOfAWellBore"^^xsd:string . | ||
289 | + | ||
290 | +_:b1 sp:varName "azi"^^xsd:string . | ||
291 | + | ||
292 | +_:b14 | ||
293 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
294 | + | ||
295 | +_:b13 | ||
296 | + sp:varName "index"^^xsd:string . | ||
297 | + | ||
298 | +_:b12 | ||
299 | + sp:varName "surveyStation"^^xsd:string . | ||
300 | + | ||
301 | +_:b11 | ||
302 | + sp:varName "dTimStart"^^xsd:string . | ||
303 | + | ||
304 | +_:b10 | ||
305 | + sp:varName "nameWellBore"^^xsd:string . | ||
306 | + | ||
307 | +_:b9 sp:varName "surveyedPartOfAWellBore"^^xsd:string . | ||
308 | + | ||
309 | +_:b8 sp:varName "incl"^^xsd:string . | ||
310 | + | ||
311 | +_:b21 | ||
312 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
313 | + | ||
314 | +_:b20 | ||
315 | + sp:varName "index"^^xsd:string . | ||
316 | + | ||
317 | +_:b19 | ||
318 | + sp:varName "surveyStation"^^xsd:string . | ||
319 | + | ||
320 | +_:b18 | ||
321 | + sp:varName "dTimStart"^^xsd:string . | ||
322 | + | ||
323 | +_:b17 | ||
324 | + sp:varName "nameWellBore"^^xsd:string . | ||
325 | + | ||
326 | +_:b16 | ||
327 | + sp:varName "surveyedPartOfAWellBore"^^xsd:string . | ||
328 | + | ||
329 | +_:b15 | ||
330 | + sp:varName "tvdOfSurvey"^^xsd:string . | ||
331 | + | ||
332 | +_:b28 | ||
333 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
334 | + | ||
335 | +_:b27 | ||
336 | + sp:varName "index"^^xsd:string . | ||
337 | + | ||
338 | +_:b26 | ||
339 | + sp:varName "surveyStation"^^xsd:string . | ||
340 | + | ||
341 | +_:b25 | ||
342 | + sp:varName "dTimStart"^^xsd:string . | ||
343 | + | ||
344 | +_:b24 | ||
345 | + sp:varName "nameWellBore"^^xsd:string . | ||
346 | + | ||
347 | +_:b23 | ||
348 | + sp:varName "surveyedPartOfAWellBore"^^xsd:string . | ||
349 | + | ||
350 | +_:b22 | ||
351 | + sp:varName "mdOfSurvey"^^xsd:string . | ||
352 | + | ||
353 | +_:b35 | ||
354 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
355 | + | ||
356 | +_:b34 | ||
357 | + sp:varName "index"^^xsd:string . | ||
358 | + | ||
359 | +_:b33 | ||
360 | + sp:varName "surveyStation"^^xsd:string . | ||
361 | + | ||
362 | +_:b32 | ||
363 | + sp:varName "dTimStart"^^xsd:string . | ||
364 | + | ||
365 | +_:b31 | ||
366 | + sp:varName "nameWellBore"^^xsd:string . | ||
367 | + | ||
368 | +_:b30 | ||
369 | + sp:varName "wellBoreDirectionalSurvey"^^xsd:string . | ||
370 | + | ||
371 | +_:b29 | ||
372 | + sp:varName "timeOfSurvey"^^xsd:string . | ||
373 | + | ||
374 | +_:b44 | ||
375 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
376 | + | ||
377 | +_:b43 | ||
378 | + sp:varName "index"^^xsd:string . | ||
379 | + | ||
380 | +_:b42 | ||
381 | + sp:varName "surveyStation"^^xsd:string . | ||
382 | + | ||
383 | +_:b41 | ||
384 | + sp:varName "dTimStart"^^xsd:string . | ||
385 | + | ||
386 | +_:b40 | ||
387 | + sp:varName "nameWellBore"^^xsd:string . | ||
388 | + | ||
389 | +_:b39 | ||
390 | + sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string . | ||
391 | + | ||
392 | +_:b38 | ||
393 | + sp:varName "surveyedPartOfAWellBore"^^xsd:string . | ||
394 | + | ||
395 | +_:b37 | ||
396 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
397 | + | ||
398 | +_:b36 | ||
399 | + sp:varName "wellBoreDirectionalSurvey"^^xsd:string . |
1 | +# Saved by TopBraid on Tue Aug 16 11:03:54 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 | + ] . |
... | @@ -55,6 +55,55 @@ | ... | @@ -55,6 +55,55 @@ |
55 | <witsml:avgTempBH uom="degC">20</witsml:avgTempBH> | 55 | <witsml:avgTempBH uom="degC">20</witsml:avgTempBH> |
56 | <witsml:fixedRig>true</witsml:fixedRig> | 56 | <witsml:fixedRig>true</witsml:fixedRig> |
57 | </witsml:statusInfo> | 57 | </witsml:statusInfo> |
58 | + <witsml:surveyStation> | ||
59 | +<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim> | ||
60 | +<witsml:md uom="m">3569</witsml:md> | ||
61 | +<witsml:tvd uom="m">1822.47</witsml:tvd> | ||
62 | +<witsml:incl uom="dega">80.3</witsml:incl> | ||
63 | +<witsml:azi uom="dega">44.62</witsml:azi> | ||
64 | +</witsml:surveyStation> | ||
65 | +<witsml:surveyStation> | ||
66 | +<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim> | ||
67 | +<witsml:md uom="m">3602.4</witsml:md> | ||
68 | +<witsml:tvd uom="m">1826.76</witsml:tvd> | ||
69 | +<witsml:incl uom="dega">84.93</witsml:incl> | ||
70 | +<witsml:azi uom="dega">44.97</witsml:azi> | ||
71 | +</witsml:surveyStation> | ||
72 | +<witsml:surveyStation> | ||
73 | +<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim> | ||
74 | +<witsml:md uom="m">3628.9</witsml:md> | ||
75 | +<witsml:tvd uom="m">1828.39</witsml:tvd> | ||
76 | +<witsml:incl uom="dega">88.05</witsml:incl> | ||
77 | +<witsml:azi uom="dega">45.24</witsml:azi> | ||
78 | +</witsml:surveyStation> | ||
79 | +<witsml:surveyStation> | ||
80 | +<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim> | ||
81 | +<witsml:md uom="m">3655.8</witsml:md> | ||
82 | +<witsml:tvd uom="m">1828.8</witsml:tvd> | ||
83 | +<witsml:incl uom="dega">90.17</witsml:incl> | ||
84 | +<witsml:azi uom="dega">46.92</witsml:azi> | ||
85 | +</witsml:surveyStation> | ||
86 | +<witsml:surveyStation> | ||
87 | +<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim> | ||
88 | +<witsml:md uom="m">3680.8</witsml:md> | ||
89 | +<witsml:tvd uom="m">1828.54</witsml:tvd> | ||
90 | +<witsml:incl uom="dega">91.02</witsml:incl> | ||
91 | +<witsml:azi uom="dega">43.49</witsml:azi> | ||
92 | +</witsml:surveyStation> | ||
93 | +<witsml:surveyStation> | ||
94 | +<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim> | ||
95 | +<witsml:md uom="m">3709</witsml:md> | ||
96 | +<witsml:tvd uom="m">1827.81</witsml:tvd> | ||
97 | +<witsml:incl uom="dega">91.98</witsml:incl> | ||
98 | +<witsml:azi uom="dega">43.83</witsml:azi> | ||
99 | +</witsml:surveyStation> | ||
100 | +<witsml:surveyStation> | ||
101 | +<witsml:dTim>2010-01-25T00:00:00.000Z</witsml:dTim> | ||
102 | +<witsml:md uom="m">3736.2</witsml:md> | ||
103 | +<witsml:tvd uom="m">1827.44</witsml:tvd> | ||
104 | +<witsml:incl uom="dega">89.57</witsml:incl> | ||
105 | +<witsml:azi uom="dega">43.7</witsml:azi> | ||
106 | +</witsml:surveyStation> | ||
58 | <witsml:activity> | 107 | <witsml:activity> |
59 | <witsml:dTimStart>2011-04-05T06:00:00.001Z</witsml:dTimStart> | 108 | <witsml:dTimStart>2011-04-05T06:00:00.001Z</witsml:dTimStart> |
60 | <witsml:dTimEnd>2011-04-05T06:15:00.001Z</witsml:dTimEnd> | 109 | <witsml:dTimEnd>2011-04-05T06:15:00.001Z</witsml:dTimEnd> |
... | @@ -203,5 +252,6 @@ Sand Zones: | ... | @@ -203,5 +252,6 @@ Sand Zones: |
203 | <witsml:dTimRepair>2009-12-30T11:30:00.000Z</witsml:dTimRepair> | 252 | <witsml:dTimRepair>2009-12-30T11:30:00.000Z</witsml:dTimRepair> |
204 | <witsml:description>Feilfunksjon på URA. Det er avvik mellom posisjon kloa på URA har og det DrillView viser.</witsml:description> | 253 | <witsml:description>Feilfunksjon på URA. Det er avvik mellom posisjon kloa på URA har og det DrillView viser.</witsml:description> |
205 | </witsml:equipFailureInfo> | 254 | </witsml:equipFailureInfo> |
206 | - </witsml:drillReport> | 255 | + |
256 | +</witsml:drillReport> | ||
207 | </witsml:drillReports> | 257 | </witsml:drillReports> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment