Holger Knublauch
1 -# Saved by TopBraid on Thu Aug 11 18:18:26 BST 2011 1 +# Saved by TopBraid on Fri Aug 12 10:44:21 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/core 4 +# imports: http://www.reportinghub.no/ep/schema/1.0/organization
5 # imports: http://www.reportinghub.no/ep/schema/1.0/well 5 # imports: http://www.reportinghub.no/ep/schema/1.0/well
6 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
6 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 7 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
7 # imports: http://www.linkedmodel.org/1.1/schema/ordered 8 # imports: http://www.linkedmodel.org/1.1/schema/ordered
8 9
...@@ -14,7 +15,7 @@ ...@@ -14,7 +15,7 @@
14 15
15 <http://www.reportinghub.no/ep/schema/1.0/activity> 16 <http://www.reportinghub.no/ep/schema/1.0/activity>
16 rdf:type owl:Ontology ; 17 rdf:type owl:Ontology ;
17 - 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> ; 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:versionInfo "0.1.0"^^xsd:string . 19 owl:versionInfo "0.1.0"^^xsd:string .
19 20
20 ep-activity:Activity 21 ep-activity:Activity
...@@ -23,33 +24,33 @@ ep-activity:Activity ...@@ -23,33 +24,33 @@ ep-activity:Activity
23 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 24 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
24 rdfs:subClassOf 25 rdfs:subClassOf
25 [ rdf:type owl:Restriction ; 26 [ rdf:type owl:Restriction ;
26 - owl:allValuesFrom ep-activity:Activity ; 27 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
27 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> 28 + owl:onProperty ep-activity:finishedAt
28 ] ; 29 ] ;
29 rdfs:subClassOf 30 rdfs:subClassOf
30 [ rdf:type owl:Restriction ; 31 [ rdf:type owl:Restriction ;
31 - owl:allValuesFrom ep-activity:Activity ; 32 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
32 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> 33 + owl:onProperty ep-activity:startedAt
33 ] ; 34 ] ;
34 rdfs:subClassOf 35 rdfs:subClassOf
35 [ rdf:type owl:Restriction ; 36 [ rdf:type owl:Restriction ;
36 owl:allValuesFrom ep-activity:Activity ; 37 owl:allValuesFrom ep-activity:Activity ;
37 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> 38 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
38 ] ; 39 ] ;
39 rdfs:subClassOf 40 rdfs:subClassOf
40 [ rdf:type owl:Restriction ; 41 [ rdf:type owl:Restriction ;
41 owl:allValuesFrom ep-activity:Activity ; 42 owl:allValuesFrom ep-activity:Activity ;
42 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> 43 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
43 ] ; 44 ] ;
44 rdfs:subClassOf 45 rdfs:subClassOf
45 [ rdf:type owl:Restriction ; 46 [ rdf:type owl:Restriction ;
46 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 47 + owl:allValuesFrom ep-activity:Activity ;
47 - owl:onProperty ep-activity:startedAt 48 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
48 ] ; 49 ] ;
49 rdfs:subClassOf 50 rdfs:subClassOf
50 [ rdf:type owl:Restriction ; 51 [ rdf:type owl:Restriction ;
51 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 52 + owl:allValuesFrom ep-activity:Activity ;
52 - owl:onProperty ep-activity:finishedAt 53 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
53 ] . 54 ] .
54 55
55 ep-activity:DailyDrillingActivity 56 ep-activity:DailyDrillingActivity
...@@ -58,13 +59,13 @@ ep-activity:DailyDrillingActivity ...@@ -58,13 +59,13 @@ ep-activity:DailyDrillingActivity
58 rdfs:subClassOf ep-activity:DrillingActivity ; 59 rdfs:subClassOf ep-activity:DrillingActivity ;
59 rdfs:subClassOf 60 rdfs:subClassOf
60 [ rdf:type owl:Restriction ; 61 [ rdf:type owl:Restriction ;
61 - owl:allValuesFrom ep-activity:DrillingActivity ; 62 + owl:allValuesFrom ep-activity:Activity ;
62 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> 63 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
63 ] ; 64 ] ;
64 rdfs:subClassOf 65 rdfs:subClassOf
65 [ rdf:type owl:Restriction ; 66 [ rdf:type owl:Restriction ;
66 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; 67 + owl:allValuesFrom ep-activity:DrillingActivity ;
67 - owl:onProperty ep-activity:onWellBore 68 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
68 ] ; 69 ] ;
69 rdfs:subClassOf 70 rdfs:subClassOf
70 [ rdf:type owl:Restriction ; 71 [ rdf:type owl:Restriction ;
...@@ -73,13 +74,13 @@ ep-activity:DailyDrillingActivity ...@@ -73,13 +74,13 @@ ep-activity:DailyDrillingActivity
73 ] ; 74 ] ;
74 rdfs:subClassOf 75 rdfs:subClassOf
75 [ rdf:type owl:Restriction ; 76 [ rdf:type owl:Restriction ;
76 - owl:allValuesFrom ep-activity:DrillingActivity ; 77 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
77 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> 78 + owl:onProperty ep-activity:onWellBore
78 ] ; 79 ] ;
79 rdfs:subClassOf 80 rdfs:subClassOf
80 [ rdf:type owl:Restriction ; 81 [ rdf:type owl:Restriction ;
81 - owl:allValuesFrom ep-activity:Activity ; 82 + owl:allValuesFrom ep-activity:DrillingActivity ;
82 - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> 83 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
83 ] . 84 ] .
84 85
85 ep-activity:DailyProductionActivity 86 ep-activity:DailyProductionActivity
...@@ -128,13 +129,13 @@ ep-activity:DrillingActivity ...@@ -128,13 +129,13 @@ ep-activity:DrillingActivity
128 rdfs:subClassOf ep-activity:Activity . 129 rdfs:subClassOf ep-activity:Activity .
129 130
130 ep-activity:FormationIntegrityTest 131 ep-activity:FormationIntegrityTest
131 - rdf:type ep-activity:PressureTestType , owl:Class ; 132 + rdf:type owl:Class , ep-activity:PressureTestType ;
132 rdfs:label "formation integrity test"^^xsd:string ; 133 rdfs:label "formation integrity test"^^xsd:string ;
133 rdfs:subClassOf ep-activity:WellBorePressureTest ; 134 rdfs:subClassOf ep-activity:WellBorePressureTest ;
134 owl:disjointWith ep-activity:LeakOffTest . 135 owl:disjointWith ep-activity:LeakOffTest .
135 136
136 ep-activity:LeakOffTest 137 ep-activity:LeakOffTest
137 - rdf:type ep-activity:PressureTestType , owl:Class ; 138 + rdf:type owl:Class , ep-activity:PressureTestType ;
138 rdfs:label "leak-off test"^^xsd:string ; 139 rdfs:label "leak-off test"^^xsd:string ;
139 rdfs:subClassOf ep-activity:WellBorePressureTest ; 140 rdfs:subClassOf ep-activity:WellBorePressureTest ;
140 owl:disjointWith ep-activity:FormationIntegrityTest . 141 owl:disjointWith ep-activity:FormationIntegrityTest .
...@@ -170,7 +171,7 @@ ep-activity:OffshoreWellActivity ...@@ -170,7 +171,7 @@ ep-activity:OffshoreWellActivity
170 rdfs:subClassOf ep-activity:OffshoreActivity ; 171 rdfs:subClassOf ep-activity:OffshoreActivity ;
171 rdfs:subClassOf 172 rdfs:subClassOf
172 [ rdf:type owl:Restriction ; 173 [ rdf:type owl:Restriction ;
173 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; 174 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
174 owl:onProperty ep-activity:onWell 175 owl:onProperty ep-activity:onWell
175 ] ; 176 ] ;
176 rdfs:subClassOf 177 rdfs:subClassOf
...@@ -180,7 +181,7 @@ ep-activity:OffshoreWellActivity ...@@ -180,7 +181,7 @@ ep-activity:OffshoreWellActivity
180 ] ; 181 ] ;
181 rdfs:subClassOf 182 rdfs:subClassOf
182 [ rdf:type owl:Restriction ; 183 [ rdf:type owl:Restriction ;
183 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 184 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
184 owl:onProperty ep-activity:onWell 185 owl:onProperty ep-activity:onWell
185 ] . 186 ] .
186 187
...@@ -225,10 +226,22 @@ ep-activity:WellBorePressureTest ...@@ -225,10 +226,22 @@ ep-activity:WellBorePressureTest
225 rdfs:subClassOf ep-activity:Activity . 226 rdfs:subClassOf ep-activity:Activity .
226 227
227 ep-activity:createdAt 228 ep-activity:createdAt
228 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; 229 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
229 rdfs:label "created at"^^xsd:string ; 230 rdfs:label "created at"^^xsd:string ;
230 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 231 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
231 232
233 +ep-activity:drillingContractor
234 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
235 + rdfs:domain ep-activity:DrillingActivity ;
236 + rdfs:label "drilling contractor"^^xsd:string ;
237 + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
238 +
239 +ep-activity:drillingOperator
240 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
241 + rdfs:domain ep-activity:DrillingActivity ;
242 + rdfs:label "drilling operator"^^xsd:string ;
243 + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
244 +
232 ep-activity:finishedAt 245 ep-activity:finishedAt
233 rdf:type owl:DatatypeProperty ; 246 rdf:type owl:DatatypeProperty ;
234 rdfs:label "finished at"^^xsd:string ; 247 rdfs:label "finished at"^^xsd:string ;
...@@ -247,7 +260,7 @@ ep-activity:onWell ...@@ -247,7 +260,7 @@ ep-activity:onWell
247 rdfs:label "on well"^^xsd:string . 260 rdfs:label "on well"^^xsd:string .
248 261
249 ep-activity:onWellBore 262 ep-activity:onWellBore
250 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 263 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
251 rdfs:label "on WellBore"^^xsd:string . 264 rdfs:label "on WellBore"^^xsd:string .
252 265
253 ep-activity:reportOn 266 ep-activity:reportOn
...@@ -260,7 +273,7 @@ ep-activity:startedAt ...@@ -260,7 +273,7 @@ ep-activity:startedAt
260 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 273 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
261 274
262 ep-activity:wellBoreDrillingType 275 ep-activity:wellBoreDrillingType
263 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 276 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
264 rdfs:domain ep-activity:DrillingActivity ; 277 rdfs:domain ep-activity:DrillingActivity ;
265 rdfs:label "has sub activity"^^xsd:string ; 278 rdfs:label "has sub activity"^^xsd:string ;
266 rdfs:range ep-activity:WellBoreDrillingType ; 279 rdfs:range ep-activity:WellBoreDrillingType ;
......
1 -# Saved by TopBraid on Wed Aug 10 13:32:44 BST 2011 1 +# Saved by TopBraid on Fri Aug 12 11:33:44 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/facility 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/facility
3 # imports: http://www.reportinghub.no/ep/schema/1.0/core 3 # imports: http://www.reportinghub.no/ep/schema/1.0/core
4 # imports: http://purl.org/dc/elements/1.1/ 4 # imports: http://purl.org/dc/elements/1.1/
5 -# imports: http://spinrdf.org/spin
6 # imports: http://purl.org/dc/terms/ 5 # imports: http://purl.org/dc/terms/
6 +# imports: http://spinrdf.org/spin
7 7
8 @prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> . 8 @prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> .
9 @prefix owl: <http://www.w3.org/2002/07/owl#> . 9 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 16
17 <http://www.reportinghub.no/ep/schema/1.0/facility> 17 <http://www.reportinghub.no/ep/schema/1.0/facility>
18 rdf:type owl:Ontology ; 18 rdf:type owl:Ontology ;
19 - owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> ; 19 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://purl.org/dc/terms/> , <http://purl.org/dc/elements/1.1/> ;
20 owl:versionInfo "0.1.0"^^xsd:string . 20 owl:versionInfo "0.1.0"^^xsd:string .
21 21
22 ep-fac:AllOrPartOfTheLifeOfARig 22 ep-fac:AllOrPartOfTheLifeOfARig
...@@ -33,10 +33,25 @@ ep-fac:FixedFacility ...@@ -33,10 +33,25 @@ ep-fac:FixedFacility
33 rdf:type owl:DeprecatedClass ; 33 rdf:type owl:DeprecatedClass ;
34 rdfs:subClassOf ep-fac:Facility . 34 rdfs:subClassOf ep-fac:Facility .
35 35
36 +ep-fac:FixedOrMoveableRigType
37 + rdf:type rdfs:Class ;
38 + rdfs:label "fixed of moveable rig type"^^xsd:string ;
39 + rdfs:subClassOf owl:Class .
40 +
41 +ep-fac:FixedRig
42 + rdf:type ep-fac:FixedOrMoveableRigType , owl:Class ;
43 + rdfs:label "fixed rig"^^xsd:string ;
44 + rdfs:subClassOf ep-fac:FixedFacility , ep-fac:Rig .
45 +
36 ep-fac:MoveableFacility 46 ep-fac:MoveableFacility
37 rdf:type owl:Class ; 47 rdf:type owl:Class ;
38 rdfs:subClassOf ep-fac:Facility . 48 rdfs:subClassOf ep-fac:Facility .
39 49
50 +ep-fac:MoveableRig
51 + rdf:type ep-fac:FixedOrMoveableRigType , owl:Class ;
52 + rdfs:label "moveable rig"^^xsd:string ;
53 + rdfs:subClassOf ep-fac:MoveableFacility , ep-fac:Rig .
54 +
40 ep-fac:Rig 55 ep-fac:Rig
41 rdf:type owl:Class ; 56 rdf:type owl:Class ;
42 rdfs:label "rig"^^xsd:string ; 57 rdfs:label "rig"^^xsd:string ;
......
1 -# baseURI: http://www.reportinghub.no/ep/schema/1.0/well 1 +# Saved by TopBraid on Fri Aug 12 14:16:38 BST 2011
2 -# imports: http://www.reportinghub.no/ep/schema/1.0/core 2 +# baseURI: http://www.reportinghub.no/ep/schema/1.0/well
3 - 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
4 -@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> . 4 +
5 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 5 +@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> .
6 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 - 9 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
10 -<http://www.reportinghub.no/ep/schema/1.0/well> 10 +
11 - rdf:type owl:Ontology ; 11 +<http://www.reportinghub.no/ep/schema/1.0/well>
12 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ; 12 + rdf:type owl:Ontology ;
13 - owl:versionInfo "0.1.0"^^xsd:string . 13 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ;
14 - 14 + owl:versionInfo "0.1.0"^^xsd:string .
15 -ep-well:AllOrPartOfTheLifeOfAWellBore 15 +
16 - rdf:type owl:Class ; 16 +ep-well:AllOrPartOfTheLifeOfAWellBore
17 - rdfs:label "all or part of the life of a well bore"^^xsd:string ; 17 + rdf:type owl:Class ;
18 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . 18 + rdfs:label "all or part of the life of a well bore"^^xsd:string ;
19 - 19 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
20 -ep-well:TemporalPartOfAWellBore 20 +
21 - rdf:type owl:Class ; 21 +ep-well:HphtWellBore
22 - rdfs:label "temporal part of a well bore"^^xsd:string ; 22 + rdf:type ep-well:WellBoreHphtType , owl:Class ;
23 - rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore . 23 + rdfs:label "high pressure high temperature well bore"^^xsd:string ;
24 - 24 + rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
25 -ep-well:Well 25 + owl:disjointWith ep-well:NotHphtWellBore .
26 - rdf:type owl:Class ; 26 +
27 - rdfs:label "Well"^^xsd:string ; 27 +ep-well:LeakyWellBore
28 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ; 28 + rdf:type owl:Class , ep-well:WellBoreTightnessType ;
29 - rdfs:subClassOf 29 + rdfs:label "leaky well bore"^^xsd:string ;
30 - [ rdf:type owl:Restriction ; 30 + rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
31 - owl:allValuesFrom ep-well:WellBore ; 31 + owl:disjointWith ep-well:TightWellBore .
32 - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> 32 +
33 - ] ; 33 +ep-well:NotHphtWellBore
34 - rdfs:subClassOf 34 + rdf:type ep-well:WellBoreHphtType , owl:Class ;
35 - [ rdf:type owl:Restriction ; 35 + rdfs:label "not high pressure high temperature well bore"^^xsd:string ;
36 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 36 + rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
37 - owl:onProperty <http://www.reportinghub.no/ep/schema/core#name> 37 + owl:disjointWith ep-well:HphtWellBore .
38 - ] . 38 +
39 - 39 +ep-well:TemporalPartOfAWellBore
40 -ep-well:WellBore 40 + rdf:type owl:Class ;
41 - rdf:type owl:Class ; 41 + rdfs:label "temporal part of a well bore"^^xsd:string ;
42 - rdfs:label "well bore"^^xsd:string ; 42 + rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore .
43 - rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore ; 43 +
44 - rdfs:subClassOf 44 +ep-well:TightWellBore
45 - [ rdf:type owl:Restriction ; 45 + rdf:type owl:Class , ep-well:WellBoreTightnessType ;
46 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 46 + rdfs:label "tight well bore"^^xsd:string ;
47 - owl:onProperty <http://www.reportinghub.no/ep/schema/core#name> 47 + rdfs:subClassOf ep-well:TemporalPartOfAWellBore ;
48 - ] . 48 + owl:disjointWith ep-well:LeakyWellBore .
49 +
50 +ep-well:Well
51 + rdf:type owl:Class ;
52 + rdfs:label "Well"^^xsd:string ;
53 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
54 + rdfs:subClassOf
55 + [ rdf:type owl:Restriction ;
56 + owl:allValuesFrom ep-well:WellBore ;
57 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
58 + ] ;
59 + rdfs:subClassOf
60 + [ rdf:type owl:Restriction ;
61 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
62 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
63 + ] .
64 +
65 +ep-well:WellBore
66 + rdf:type owl:Class ;
67 + rdfs:label "well bore"^^xsd:string ;
68 + rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore ;
69 + rdfs:subClassOf
70 + [ rdf:type owl:Restriction ;
71 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
72 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
73 + ] .
74 +
75 +ep-well:WellBoreHphtType
76 + rdf:type rdfs:Class ;
77 + rdfs:label "well bore high pressure high temperature type"^^xsd:string ;
78 + rdfs:subClassOf owl:Class .
79 +
80 +ep-well:WellBoreTightnessType
81 + rdf:type rdfs:Class ;
82 + rdfs:label "well bore tightness type"^^xsd:string ;
83 + rdfs:subClassOf owl:Class .
......
1 -# Saved by TopBraid on Wed Aug 10 13:36:32 BST 2011 1 +# Saved by TopBraid on Fri Aug 12 14:18:47 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
...@@ -912,13 +912,34 @@ ep-spin-lib:selectDrillingActivityPurposeType ...@@ -912,13 +912,34 @@ ep-spin-lib:selectDrillingActivityPurposeType
912 ]) 912 ])
913 ] . 913 ] .
914 914
915 +ep-spin-lib:selectFixedOrMoveableRigType
916 + rdf:type spin:Function ;
917 + rdfs:label "select FixedOrMoveableRigType"^^xsd:string ;
918 + rdfs:subClassOf ep-spin-lib:Function ;
919 + spin:body
920 + [ rdf:type sp:Select ;
921 + sp:resultVariables (_:b20) ;
922 + sp:where ([ rdf:type sp:Bind ;
923 + sp:expression
924 + [ rdf:type sp:if ;
925 + sp:arg1 [ rdf:type sp:eq ;
926 + sp:arg1 spin:_arg1 ;
927 + sp:arg2 "true"^^xsd:boolean
928 + ] ;
929 + sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ;
930 + sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
931 + ] ;
932 + sp:variable _:b20
933 + ])
934 + ] .
935 +
915 ep-spin-lib:selectLabelOfSystem 936 ep-spin-lib:selectLabelOfSystem
916 rdf:type spin:Function ; 937 rdf:type spin:Function ;
917 rdfs:label "select DailyDrillingReportType"^^xsd:string ; 938 rdfs:label "select DailyDrillingReportType"^^xsd:string ;
918 rdfs:subClassOf ep-spin-lib:Function ; 939 rdfs:subClassOf ep-spin-lib:Function ;
919 spin:body 940 spin:body
920 [ rdf:type sp:Select ; 941 [ rdf:type sp:Select ;
921 - sp:resultVariables (_:b20) ; 942 + sp:resultVariables (_:b21) ;
922 sp:where ([ rdf:type sp:Bind ; 943 sp:where ([ rdf:type sp:Bind ;
923 sp:expression 944 sp:expression
924 [ rdf:type sp:if ; 945 [ rdf:type sp:if ;
...@@ -964,7 +985,7 @@ ep-spin-lib:selectLabelOfSystem ...@@ -964,7 +985,7 @@ ep-spin-lib:selectLabelOfSystem
964 ] 985 ]
965 ] 986 ]
966 ] ; 987 ] ;
967 - sp:variable _:b20 988 + sp:variable _:b21
968 ]) 989 ])
969 ] . 990 ] .
970 991
...@@ -974,7 +995,7 @@ ep-spin-lib:selectPressureTestType ...@@ -974,7 +995,7 @@ ep-spin-lib:selectPressureTestType
974 rdfs:subClassOf ep-spin-lib:Function ; 995 rdfs:subClassOf ep-spin-lib:Function ;
975 spin:body 996 spin:body
976 [ rdf:type sp:Select ; 997 [ rdf:type sp:Select ;
977 - sp:resultVariables (_:b21) ; 998 + sp:resultVariables (_:b22) ;
978 sp:where ([ rdf:type sp:Bind ; 999 sp:where ([ rdf:type sp:Bind ;
979 sp:expression 1000 sp:expression
980 [ rdf:type smf:if ; 1001 [ rdf:type smf:if ;
...@@ -991,7 +1012,7 @@ ep-spin-lib:selectPressureTestType ...@@ -991,7 +1012,7 @@ ep-spin-lib:selectPressureTestType
991 sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest> 1012 sp:arg2 <http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest>
992 ] 1013 ]
993 ] ; 1014 ] ;
994 - sp:variable _:b21 1015 + sp:variable _:b22
995 ]) 1016 ])
996 ] . 1017 ] .
997 1018
...@@ -1001,13 +1022,55 @@ ep-spin-lib:selectWellBoreDrillingType ...@@ -1001,13 +1022,55 @@ ep-spin-lib:selectWellBoreDrillingType
1001 rdfs:subClassOf ep-spin-lib:Function ; 1022 rdfs:subClassOf ep-spin-lib:Function ;
1002 spin:body 1023 spin:body
1003 [ rdf:type sp:Select ; 1024 [ rdf:type sp:Select ;
1004 - sp:resultVariables (_:b22) ; 1025 + sp:resultVariables (_:b23) ;
1005 - sp:where ([ sp:object _:b22 ; 1026 + sp:where ([ sp:object _:b23 ;
1006 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ; 1027 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mapsTo> ;
1007 sp:subject spin:_arg1 1028 sp:subject spin:_arg1
1008 ]) 1029 ])
1009 ] . 1030 ] .
1010 1031
1032 +ep-spin-lib:selectWellBoreHphtType
1033 + rdf:type spin:Function ;
1034 + rdfs:label "select WellBoreHphtType"^^xsd:string ;
1035 + rdfs:subClassOf ep-spin-lib:Function ;
1036 + spin:body
1037 + [ rdf:type sp:Select ;
1038 + sp:resultVariables (_:b24) ;
1039 + sp:where ([ rdf:type sp:Bind ;
1040 + sp:expression
1041 + [ rdf:type sp:if ;
1042 + sp:arg1 [ rdf:type sp:eq ;
1043 + sp:arg1 spin:_arg1 ;
1044 + sp:arg2 "true"^^xsd:boolean
1045 + ] ;
1046 + sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ;
1047 + sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
1048 + ] ;
1049 + sp:variable _:b24
1050 + ])
1051 + ] .
1052 +
1053 +ep-spin-lib:selectWellBoreTightnessType
1054 + rdf:type spin:Function ;
1055 + rdfs:label "select WellBoreTightnessType"^^xsd:string ;
1056 + rdfs:subClassOf ep-spin-lib:Function ;
1057 + spin:body
1058 + [ rdf:type sp:Select ;
1059 + sp:resultVariables (_:b25) ;
1060 + sp:where ([ rdf:type sp:Bind ;
1061 + sp:expression
1062 + [ rdf:type sp:if ;
1063 + sp:arg1 [ rdf:type sp:eq ;
1064 + sp:arg1 spin:_arg1 ;
1065 + sp:arg2 "true"^^xsd:boolean
1066 + ] ;
1067 + sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ;
1068 + sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
1069 + ] ;
1070 + sp:variable _:b25
1071 + ])
1072 + ] .
1073 +
1011 _:b1 sp:varName "uri"^^xsd:string . 1074 _:b1 sp:varName "uri"^^xsd:string .
1012 1075
1013 _:b2 sp:varName "uri"^^xsd:string . 1076 _:b2 sp:varName "uri"^^xsd:string .
...@@ -1016,6 +1079,10 @@ _:b3 sp:varName "uri"^^xsd:string . ...@@ -1016,6 +1079,10 @@ _:b3 sp:varName "uri"^^xsd:string .
1016 1079
1017 _:b4 sp:varName "uri"^^xsd:string . 1080 _:b4 sp:varName "uri"^^xsd:string .
1018 1081
1082 +_:b5 sp:varName "uri"^^xsd:string .
1083 +
1084 +_:b6 sp:varName "uri"^^xsd:string .
1085 +
1019 _:b7 sp:varName "uri"^^xsd:string . 1086 _:b7 sp:varName "uri"^^xsd:string .
1020 1087
1021 _:b8 sp:varName "uri"^^xsd:string . 1088 _:b8 sp:varName "uri"^^xsd:string .
...@@ -1053,14 +1120,19 @@ _:b19 ...@@ -1053,14 +1120,19 @@ _:b19
1053 sp:varName "drillingActivityPurposeType"^^xsd:string . 1120 sp:varName "drillingActivityPurposeType"^^xsd:string .
1054 1121
1055 _:b20 1122 _:b20
1056 - sp:varName "dailyDrillingReportType"^^xsd:string . 1123 + sp:varName "fixedOrMoveableRigType"^^xsd:string .
1057 1124
1058 _:b21 1125 _:b21
1059 - sp:varName "pressureTestType"^^xsd:string . 1126 + sp:varName "dailyDrillingReportType"^^xsd:string .
1060 1127
1061 _:b22 1128 _:b22
1129 + sp:varName "pressureTestType"^^xsd:string .
1130 +
1131 +_:b23
1062 sp:varName "wellBoreDrillingType"^^xsd:string . 1132 sp:varName "wellBoreDrillingType"^^xsd:string .
1063 1133
1064 -_:b6 sp:varName "uri"^^xsd:string . 1134 +_:b25
1135 + sp:varName "wellBoreTightnessType"^^xsd:string .
1065 1136
1066 -_:b5 sp:varName "uri"^^xsd:string . 1137 +_:b24
1138 + sp:varName "wellBoreHphtType"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 10 13:36:32 BST 2011 1 +# Saved by TopBraid on Fri Aug 12 14:18:47 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 Wed Aug 10 14:05:00 BST 2011 1 +# Saved by TopBraid on Fri Aug 12 13:54:21 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 # imports: http://www.reportinghub.no/ep/schema/1.0/ddr 4 # imports: http://www.reportinghub.no/ep/schema/1.0/ddr
5 # imports: http://spinrdf.org/spin 5 # imports: http://spinrdf.org/spin
6 6
7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . 7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> .
8 +@prefix arg: <http://spinrdf.org/arg#> .
8 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 9 @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
9 @prefix fn: <http://www.w3.org/2005/xpath-functions#> . 10 @prefix fn: <http://www.w3.org/2005/xpath-functions#> .
10 @prefix owl: <http://www.w3.org/2002/07/owl#> . 11 @prefix owl: <http://www.w3.org/2002/07/owl#> .
11 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 @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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
13 @prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . 15 @prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
14 @prefix sp: <http://spinrdf.org/sp#> . 16 @prefix sp: <http://spinrdf.org/sp#> .
15 @prefix spin: <http://spinrdf.org/spin#> . 17 @prefix spin: <http://spinrdf.org/spin#> .
...@@ -19,9 +21,9 @@ ...@@ -19,9 +21,9 @@
19 <http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 21 <http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
20 spin:rule 22 spin:rule
21 [ rdf:type sp:Construct ; 23 [ rdf:type sp:Construct ;
22 - rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ; 24 + rdfs:comment "STEP 167 Set drill completion date"^^xsd:string ;
23 sp:templates ([ sp:object _:b1 ; 25 sp:templates ([ sp:object _:b1 ;
24 - sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ; 26 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
25 sp:subject _:b2 27 sp:subject _:b2
26 ]) ; 28 ]) ;
27 sp:where ([ sp:object _:b3 ; 29 sp:where ([ sp:object _:b3 ;
...@@ -33,34 +35,114 @@ ...@@ -33,34 +35,114 @@
33 ] [ sp:object _:b5 ; 35 ] [ sp:object _:b5 ;
34 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 36 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
35 sp:subject spin:_this 37 sp:subject spin:_this
38 + ] [ sp:object _:b1 ;
39 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dateDrillComplete> ;
40 + sp:subject _:b5
36 ] [ sp:object _:b6 ; 41 ] [ sp:object _:b6 ;
42 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
43 + sp:subject _:b7
44 + ] [ sp:object _:b2 ;
45 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
46 + sp:subject _:b6
47 + ] [ rdf:type sp:Bind ;
48 + sp:expression
49 + [ rdf:type ep-spin-lib:normalizeString ;
50 + sp:arg1 _:b3
51 + ] ;
52 + sp:variable _:b8
53 + ] [ rdf:type sp:Bind ;
54 + sp:expression
55 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
56 + sp:arg1 _:b8 ;
57 + sp:arg2 _:b4
58 + ] ;
59 + sp:variable _:b7
60 + ])
61 + ] ;
62 + spin:rule
63 + [ rdf:type sp:Construct ;
64 + rdfs:comment "STEP 164 Set preSPUD date"^^xsd:string ;
65 + sp:templates ([ sp:object _:b9 ;
66 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ;
67 + sp:subject _:b10
68 + ]) ;
69 + sp:where ([ sp:object _:b11 ;
70 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
71 + sp:subject spin:_this
72 + ] [ sp:object _:b12 ;
73 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
74 + sp:subject spin:_this
75 + ] [ sp:object _:b13 ;
76 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
77 + sp:subject spin:_this
78 + ] [ sp:object _:b9 ;
79 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimPreSpud> ;
80 + sp:subject _:b13
81 + ] [ sp:object _:b14 ;
82 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
83 + sp:subject _:b15
84 + ] [ sp:object _:b10 ;
85 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
86 + sp:subject _:b14
87 + ] [ rdf:type sp:Bind ;
88 + sp:expression
89 + [ rdf:type ep-spin-lib:normalizeString ;
90 + sp:arg1 _:b11
91 + ] ;
92 + sp:variable _:b16
93 + ] [ rdf:type sp:Bind ;
94 + sp:expression
95 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
96 + sp:arg1 _:b16 ;
97 + sp:arg2 _:b12
98 + ] ;
99 + sp:variable _:b15
100 + ])
101 + ] ;
102 + spin:rule
103 + [ rdf:type sp:Construct ;
104 + rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ;
105 + sp:templates ([ sp:object _:b17 ;
106 + sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ;
107 + sp:subject _:b18
108 + ]) ;
109 + sp:where ([ sp:object _:b19 ;
110 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
111 + sp:subject spin:_this
112 + ] [ sp:object _:b20 ;
113 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
114 + sp:subject spin:_this
115 + ] [ sp:object _:b21 ;
116 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
117 + sp:subject spin:_this
118 + ] [ sp:object _:b22 ;
37 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; 119 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
38 - sp:subject _:b5 120 + sp:subject _:b21
39 - ] [ sp:object _:b1 ; 121 + ] [ sp:object _:b17 ;
40 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; 122 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
41 - sp:subject _:b6 123 + sp:subject _:b22
42 ] [ sp:object "NPD Name" ; 124 ] [ sp:object "NPD Name" ;
43 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; 125 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
44 - sp:subject _:b6 126 + sp:subject _:b22
45 - ] [ sp:object _:b7 ; 127 + ] [ sp:object _:b23 ;
46 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; 128 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
47 - sp:subject _:b8 129 + sp:subject _:b24
48 - ] [ sp:object _:b2 ; 130 + ] [ sp:object _:b18 ;
49 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 131 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
50 - sp:subject _:b7 132 + sp:subject _:b23
51 ] [ rdf:type sp:Bind ; 133 ] [ rdf:type sp:Bind ;
52 sp:expression 134 sp:expression
53 [ rdf:type ep-spin-lib:normalizeString ; 135 [ rdf:type ep-spin-lib:normalizeString ;
54 - sp:arg1 _:b3 136 + sp:arg1 _:b19
55 ] ; 137 ] ;
56 - sp:variable _:b9 138 + sp:variable _:b25
57 ] [ rdf:type sp:Bind ; 139 ] [ rdf:type sp:Bind ;
58 sp:expression 140 sp:expression
59 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 141 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
60 - sp:arg1 _:b9 ; 142 + sp:arg1 _:b25 ;
61 - sp:arg2 _:b4 143 + sp:arg2 _:b20
62 ] ; 144 ] ;
63 - sp:variable _:b8 145 + sp:variable _:b24
64 ]) 146 ])
65 ] ; 147 ] ;
66 spin:rule 148 spin:rule
...@@ -68,74 +150,212 @@ ...@@ -68,74 +150,212 @@
68 rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ; 150 rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ;
69 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ; 151 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ;
70 sp:predicate rdf:type ; 152 sp:predicate rdf:type ;
71 - sp:subject _:b10 153 + sp:subject _:b26
72 - ] [ sp:object _:b10 ; 154 + ] [ sp:object _:b26 ;
73 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; 155 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ;
74 - sp:subject _:b11 156 + sp:subject _:b27
75 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ; 157 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ;
76 sp:predicate rdf:type ; 158 sp:predicate rdf:type ;
77 - sp:subject _:b12 159 + sp:subject _:b28
78 - ] [ sp:object _:b13 ; 160 + ] [ sp:object _:b29 ;
79 sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ; 161 sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ;
80 - sp:subject _:b12 162 + sp:subject _:b28
81 - ] [ sp:object _:b12 ; 163 + ] [ sp:object _:b28 ;
82 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 164 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
83 - sp:subject _:b10 165 + sp:subject _:b26
84 ]) ; 166 ]) ;
85 - sp:where ([ sp:object _:b14 ; 167 + sp:where ([ sp:object _:b30 ;
86 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 168 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
87 sp:subject spin:_this 169 sp:subject spin:_this
88 - ] [ sp:object _:b15 ; 170 + ] [ sp:object _:b31 ;
89 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 171 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
90 sp:subject spin:_this 172 sp:subject spin:_this
91 - ] [ sp:object _:b16 ; 173 + ] [ sp:object _:b32 ;
92 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 174 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
93 sp:subject spin:_this 175 sp:subject spin:_this
94 - ] [ sp:object _:b17 ; 176 + ] [ sp:object _:b33 ;
95 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; 177 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
96 sp:subject spin:_this 178 sp:subject spin:_this
97 - ] [ sp:object _:b18 ; 179 + ] [ sp:object _:b34 ;
98 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; 180 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ;
99 - sp:subject _:b17 181 + sp:subject _:b33
100 ] [ sp:object "NPD Code" ; 182 ] [ sp:object "NPD Code" ;
101 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; 183 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ;
102 - sp:subject _:b18 184 + sp:subject _:b34
103 - ] [ sp:object _:b13 ; 185 + ] [ sp:object _:b29 ;
104 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; 186 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
105 - sp:subject _:b18 187 + sp:subject _:b34
106 ] [ rdf:type sp:Bind ; 188 ] [ rdf:type sp:Bind ;
107 sp:expression 189 sp:expression
108 [ rdf:type ep-spin-lib:normalizeString ; 190 [ rdf:type ep-spin-lib:normalizeString ;
109 - sp:arg1 _:b14 191 + sp:arg1 _:b30
110 ] ; 192 ] ;
111 - sp:variable _:b19 193 + sp:variable _:b35
112 ] [ rdf:type sp:Bind ; 194 ] [ rdf:type sp:Bind ;
113 sp:expression 195 sp:expression
114 [ rdf:type ep-spin-lib:normalizeString ; 196 [ rdf:type ep-spin-lib:normalizeString ;
115 - sp:arg1 _:b13 197 + sp:arg1 _:b29
116 ] ; 198 ] ;
117 - sp:variable _:b20 199 + sp:variable _:b36
118 ] [ rdf:type sp:Bind ; 200 ] [ rdf:type sp:Bind ;
119 sp:expression 201 sp:expression
120 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 202 [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
121 - sp:arg1 _:b19 ; 203 + sp:arg1 _:b35 ;
122 - sp:arg2 _:b15 204 + sp:arg2 _:b31
123 ] ; 205 ] ;
124 - sp:variable _:b11 206 + sp:variable _:b27
125 ] [ rdf:type sp:Bind ; 207 ] [ rdf:type sp:Bind ;
126 sp:expression 208 sp:expression
127 [ rdf:type ep-spin-lib:buildRigURI ; 209 [ rdf:type ep-spin-lib:buildRigURI ;
128 - sp:arg1 _:b20 210 + sp:arg1 _:b36
129 ] ; 211 ] ;
130 - sp:variable _:b12 212 + sp:variable _:b28
131 ] [ rdf:type sp:Bind ; 213 ] [ rdf:type sp:Bind ;
132 sp:expression 214 sp:expression
133 [ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ; 215 [ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ;
134 - sp:arg1 _:b20 ; 216 + sp:arg1 _:b36 ;
135 - sp:arg2 _:b15 ; 217 + sp:arg2 _:b31 ;
136 - sp:arg3 _:b16 218 + sp:arg3 _:b32
219 + ] ;
220 + sp:variable _:b26
221 + ])
222 + ] ;
223 + spin:rule
224 + [ rdf:type sp:Construct ;
225 + rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
226 + sp:templates ([ sp:object _:b37 ;
227 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingOperator> ;
228 + sp:subject _:b38
229 + ] [ sp:object _:b39 ;
230 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
231 + sp:subject _:b37
232 + ]) ;
233 + sp:where ([ sp:object _:b40 ;
234 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
235 + sp:subject spin:_this
236 + ] [ sp:object _:b41 ;
237 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
238 + sp:subject spin:_this
239 + ] [ sp:object _:b42 ;
240 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
241 + sp:subject spin:_this
242 + ] [ sp:object _:b39 ;
243 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#operator> ;
244 + sp:subject _:b42
245 + ] [ rdf:type sp:Bind ;
246 + sp:expression
247 + [ rdf:type ep-spin-lib:normalizeString ;
248 + sp:arg1 _:b40
249 + ] ;
250 + sp:variable _:b43
251 + ] [ rdf:type sp:Bind ;
252 + sp:expression
253 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
254 + sp:arg1 _:b43 ;
255 + sp:arg2 _:b41
256 + ] ;
257 + sp:variable _:b38
258 + ] [ rdf:type sp:Bind ;
259 + sp:expression
260 + [ rdf:type ep-spin-lib:normalizeString ;
261 + sp:arg1 _:b39
262 + ] ;
263 + sp:variable _:b44
264 + ] [ rdf:type sp:Bind ;
265 + sp:expression
266 + [ rdf:type rhspin:companyById ;
267 + arg:id _:b44
268 + ] ;
269 + sp:variable _:b37
270 + ])
271 + ] ;
272 + spin:rule
273 + [ rdf:type sp:Construct ;
274 + rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
275 + sp:templates ([ sp:object _:b45 ;
276 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#drillingContractor> ;
277 + sp:subject _:b46
278 + ] [ sp:object _:b47 ;
279 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
280 + sp:subject _:b45
281 + ]) ;
282 + sp:where ([ sp:object _:b48 ;
283 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
284 + sp:subject spin:_this
285 + ] [ sp:object _:b49 ;
286 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
287 + sp:subject spin:_this
288 + ] [ sp:object _:b50 ;
289 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
290 + sp:subject spin:_this
291 + ] [ sp:object _:b47 ;
292 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#drillContractor> ;
293 + sp:subject _:b50
294 + ] [ rdf:type sp:Bind ;
295 + sp:expression
296 + [ rdf:type ep-spin-lib:normalizeString ;
297 + sp:arg1 _:b48
298 + ] ;
299 + sp:variable _:b51
300 + ] [ rdf:type sp:Bind ;
301 + sp:expression
302 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
303 + sp:arg1 _:b51 ;
304 + sp:arg2 _:b49
305 + ] ;
306 + sp:variable _:b46
307 + ] [ rdf:type sp:Bind ;
308 + sp:expression
309 + [ rdf:type ep-spin-lib:normalizeString ;
310 + sp:arg1 _:b47
137 ] ; 311 ] ;
138 - sp:variable _:b10 312 + sp:variable _:b52
313 + ] [ rdf:type sp:Bind ;
314 + sp:expression
315 + [ rdf:type rhspin:companyById ;
316 + arg:id _:b52
317 + ] ;
318 + sp:variable _:b45
319 + ])
320 + ] ;
321 + spin:rule
322 + [ rdf:type sp:Construct ;
323 + rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
324 + sp:templates ([ sp:object _:b53 ;
325 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ;
326 + sp:subject _:b54
327 + ]) ;
328 + sp:where ([ sp:object _:b55 ;
329 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
330 + sp:subject spin:_this
331 + ] [ sp:object _:b56 ;
332 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
333 + sp:subject spin:_this
334 + ] [ sp:object _:b57 ;
335 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ;
336 + sp:subject spin:_this
337 + ] [ sp:object _:b53 ;
338 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimSpud> ;
339 + sp:subject _:b57
340 + ] [ sp:object _:b58 ;
341 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
342 + sp:subject _:b59
343 + ] [ sp:object _:b54 ;
344 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
345 + sp:subject _:b58
346 + ] [ rdf:type sp:Bind ;
347 + sp:expression
348 + [ rdf:type ep-spin-lib:normalizeString ;
349 + sp:arg1 _:b55
350 + ] ;
351 + sp:variable _:b60
352 + ] [ rdf:type sp:Bind ;
353 + sp:expression
354 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
355 + sp:arg1 _:b60 ;
356 + sp:arg2 _:b56
357 + ] ;
358 + sp:variable _:b59
139 ]) 359 ])
140 ] . 360 ] .
141 361
...@@ -144,46 +364,168 @@ ...@@ -144,46 +364,168 @@
144 owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; 364 owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
145 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 365 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
146 366
147 -[] rdf:type smf:regex . 367 +_:b45
368 + sp:varName "contractor"^^xsd:string .
148 369
149 -[] rdf:type smf:trim . 370 +_:b46
371 + sp:varName "dailyDrillingActivity"^^xsd:string .
150 372
151 -[] rdf:type fn:starts-with . 373 +_:b47
374 + sp:varName "nameContractor"^^xsd:string .
152 375
153 -[] rdf:type sp:Modify . 376 +_:b48
377 + sp:varName "nameWellBore"^^xsd:string .
154 378
155 -_:b14 379 +_:b49
380 + sp:varName "dTimStart"^^xsd:string .
381 +
382 +_:b50
383 + sp:varName "wellboreInfo"^^xsd:string .
384 +
385 +_:b51
386 + sp:varName "normalizedWellBoreName"^^xsd:string .
387 +
388 +_:b52
389 + sp:varName "normalizedContractorName"^^xsd:string .
390 +
391 +_:b37
392 + sp:varName "operator"^^xsd:string .
393 +
394 +_:b38
395 + sp:varName "dailyDrillingActivity"^^xsd:string .
396 +
397 +_:b39
398 + sp:varName "nameOperator"^^xsd:string .
399 +
400 +_:b40
156 sp:varName "nameWellBore"^^xsd:string . 401 sp:varName "nameWellBore"^^xsd:string .
157 402
158 -_:b15 403 +_:b41
159 sp:varName "dTimStart"^^xsd:string . 404 sp:varName "dTimStart"^^xsd:string .
160 405
161 -_:b16 406 +_:b42
407 + sp:varName "wellboreInfo"^^xsd:string .
408 +
409 +_:b43
410 + sp:varName "normalizedWellBoreName"^^xsd:string .
411 +
412 +_:b44
413 + sp:varName "normalizedOperatorName"^^xsd:string .
414 +
415 +_:b26
416 + sp:varName "temporalPartOfARig"^^xsd:string .
417 +
418 +_:b27
419 + sp:varName "dailyDrillingActivity"^^xsd:string .
420 +
421 +_:b28
422 + sp:varName "rig"^^xsd:string .
423 +
424 +_:b29
425 + sp:varName "nameRig"^^xsd:string .
426 +
427 +_:b30
428 + sp:varName "nameWellBore"^^xsd:string .
429 +
430 +_:b31
431 + sp:varName "dTimStart"^^xsd:string .
432 +
433 +_:b32
162 sp:varName "dTimEnd"^^xsd:string . 434 sp:varName "dTimEnd"^^xsd:string .
163 435
164 -_:b17 436 +_:b33
165 sp:varName "wellboreInfo"^^xsd:string . 437 sp:varName "wellboreInfo"^^xsd:string .
166 438
167 -_:b18 439 +_:b34
168 sp:varName "rigAlias"^^xsd:string . 440 sp:varName "rigAlias"^^xsd:string .
169 441
170 -_:b13 442 +_:b35
171 - sp:varName "nameRig"^^xsd:string . 443 + sp:varName "normalizedWellBoreName"^^xsd:string .
444 +
445 +_:b36
446 + sp:varName "normalizedRigName"^^xsd:string .
447 +
448 +_:b17
449 + sp:varName "name"^^xsd:string .
450 +
451 +_:b18
452 + sp:varName "rig"^^xsd:string .
172 453
173 _:b19 454 _:b19
174 - sp:varName "normalizedWellBoreName"^^xsd:string . 455 + sp:varName "nameWellBore"^^xsd:string .
175 456
176 _:b20 457 _:b20
177 - sp:varName "normalizedRigName"^^xsd:string . 458 + sp:varName "dTimStart"^^xsd:string .
178 459
179 -_:b11 460 +_:b21
461 + sp:varName "wellboreInfo"^^xsd:string .
462 +
463 +_:b22
464 + sp:varName "rigAlias"^^xsd:string .
465 +
466 +_:b23
467 + sp:varName "temporalPartOfARig"^^xsd:string .
468 +
469 +_:b24
180 sp:varName "dailyDrillingActivity"^^xsd:string . 470 sp:varName "dailyDrillingActivity"^^xsd:string .
181 471
472 +_:b25
473 + sp:varName "normalizedWellBoreName"^^xsd:string .
474 +
475 +[] rdf:type sp:Modify .
476 +
477 +[] rdf:type fn:starts-with .
478 +
479 +[] rdf:type smf:trim .
480 +
481 +[] rdf:type smf:regex .
482 +
483 +_:b55
484 + sp:varName "nameWellBore"^^xsd:string .
485 +
486 +_:b56
487 + sp:varName "dTimStart"^^xsd:string .
488 +
489 +_:b57
490 + sp:varName "wellboreInfo"^^xsd:string .
491 +
492 +_:b53
493 + sp:varName "spudDate"^^xsd:string .
494 +
495 +_:b59
496 + sp:varName "dailyDrillingActivity"^^xsd:string .
497 +
498 +_:b58
499 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
500 +
501 +_:b54
502 + sp:varName "wellBore"^^xsd:string .
503 +
504 +_:b60
505 + sp:varName "normalizedWellBoreName"^^xsd:string .
506 +
507 +_:b11
508 + sp:varName "nameWellBore"^^xsd:string .
509 +
182 _:b12 510 _:b12
183 - sp:varName "rig"^^xsd:string . 511 + sp:varName "dTimStart"^^xsd:string .
512 +
513 +_:b13
514 + sp:varName "wellboreInfo"^^xsd:string .
515 +
516 +_:b9 sp:varName "preSpudDate"^^xsd:string .
517 +
518 +_:b15
519 + sp:varName "dailyDrillingActivity"^^xsd:string .
520 +
521 +_:b14
522 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
184 523
185 _:b10 524 _:b10
186 - sp:varName "temporalPartOfARig"^^xsd:string . 525 + sp:varName "wellBore"^^xsd:string .
526 +
527 +_:b16
528 + sp:varName "normalizedWellBoreName"^^xsd:string .
187 529
188 _:b3 sp:varName "nameWellBore"^^xsd:string . 530 _:b3 sp:varName "nameWellBore"^^xsd:string .
189 531
...@@ -191,22 +533,20 @@ _:b4 sp:varName "dTimStart"^^xsd:string . ...@@ -191,22 +533,20 @@ _:b4 sp:varName "dTimStart"^^xsd:string .
191 533
192 _:b5 sp:varName "wellboreInfo"^^xsd:string . 534 _:b5 sp:varName "wellboreInfo"^^xsd:string .
193 535
194 -_:b6 sp:varName "rigAlias"^^xsd:string . 536 +_:b1 sp:varName "dateDrillComplete"^^xsd:string .
195 537
196 -_:b1 sp:varName "name"^^xsd:string . 538 +_:b7 sp:varName "dailyDrillingActivity"^^xsd:string .
197 539
198 -_:b8 sp:varName "dailyDrillingActivity"^^xsd:string . 540 +_:b6 sp:varName "temporalPartOfAWellBore"^^xsd:string .
199 541
200 -_:b7 sp:varName "temporalPartOfARig"^^xsd:string . 542 +_:b2 sp:varName "wellBore"^^xsd:string .
201 543
202 -_:b2 sp:varName "rig"^^xsd:string . 544 +_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
203 545
204 -_:b9 sp:varName "normalizedWellBoreName"^^xsd:string . 546 +([]) .
205 547
206 ([] [] [ rdf:type sp:Filter 548 ([] [] [ rdf:type sp:Filter
207 ] [ rdf:type sp:Bind 549 ] [ rdf:type sp:Bind
208 ]) . 550 ]) .
209 551
210 ([]) . 552 ([]) .
211 -
212 -([]) .
......
1 +<witsml:drillReports version="1.4.0.0" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.witsml.org/schemas/1series http://www.npd.no/schema/DDRS/1series/WITSML_drillReport_profiled_schema_phase2.xsd">
2 + <witsml:drillReport>
3 + <witsml:nameWell>25/8-C-23</witsml:nameWell>
4 + <witsml:nameWellbore>25/08-C-23 B</witsml:nameWellbore>
5 + <witsml:name>25/8-C-23</witsml:name>
6 + <witsml:dTimStart>2006-06-05T06:00:00.001Z</witsml:dTimStart>
7 + <witsml:dTimEnd>2006-06-06T06:00:00.001Z</witsml:dTimEnd>
8 + <witsml:versionKind>preliminary</witsml:versionKind>
9 + <witsml:createDate>2006-06-06T13:15:00.001Z</witsml:createDate>
10 + <witsml:wellAlias>
11 + <witsml:name>25/8-C-23</witsml:name>
12 + <witsml:namingSystem>NPD code</witsml:namingSystem>
13 + </witsml:wellAlias>
14 + <witsml:wellboreAlias>
15 + <witsml:name>25/08-C-23 B</witsml:name>
16 + <witsml:namingSystem>NPD code</witsml:namingSystem>
17 + </witsml:wellboreAlias>
18 + <witsml:wellboreAlias>
19 + <witsml:name>123</witsml:name>
20 + <witsml:namingSystem>NPD number</witsml:namingSystem>
21 + </witsml:wellboreAlias>
22 + <witsml:wellboreInfo>
23 + <witsml:dTimSpud>1986-06-06</witsml:dTimSpud>
24 + <witsml:operator>Big operator Inc</witsml:operator>
25 + <witsml:rigAlias>
26 + <witsml:name>4321</witsml:name>
27 + <witsml:namingSystem>NPD Code</witsml:namingSystem>
28 + </witsml:rigAlias>
29 + </witsml:wellboreInfo>
30 + <witsml:statusInfo>
31 + <witsml:reportNo>1</witsml:reportNo>
32 + <witsml:dTim>2011-04-05T06:00:00.001Z</witsml:dTim>
33 + <witsml:tvd uom="m">4561</witsml:tvd>
34 + <witsml:presTestType>leak off test</witsml:presTestType>
35 + <witsml:distDrill uom="m">78.9</witsml:distDrill>
36 + <witsml:elevKelly uom="m">23.5</witsml:elevKelly>
37 + <witsml:ropCurrent uom="m/h">6.22</witsml:ropCurrent>
38 + <witsml:mdKickoff uom="m">1233.22</witsml:mdKickoff>
39 + <witsml:tvdKickoff uom="m">1245</witsml:tvdKickoff>
40 + <witsml:mdPlugTop uom="m">3564.22</witsml:mdPlugTop>
41 + <witsml:mdCsgLast uom="m">1234.56</witsml:mdCsgLast>
42 + <witsml:tvdCsgLast uom="m">1234</witsml:tvdCsgLast>
43 + <witsml:strengthForm uom="g/cm3">123</witsml:strengthForm>
44 + <witsml:mdStrengthForm uom="m">1234</witsml:mdStrengthForm>
45 + <witsml:tvdStrengthForm uom="m">1240</witsml:tvdStrengthForm>
46 + <witsml:diaCsgLast uom="in">16.6</witsml:diaCsgLast>
47 + <witsml:diaHole uom="in">43.33</witsml:diaHole>
48 + <witsml:md uom="m">6898</witsml:md>
49 + <witsml:waterDepth uom="m">15</witsml:waterDepth>
50 + <witsml:avgPresBH uom="psig">2</witsml:avgPresBH>
51 + <witsml:avgTempBH uom="degC">20</witsml:avgTempBH>
52 + <witsml:fixedRig>true</witsml:fixedRig>
53 + <witsml:hpht>false</witsml:hpht>
54 + <witsml:tightWell>false</witsml:tightWell>
55 + </witsml:statusInfo>
56 + </witsml:drillReport>
57 +</witsml:drillReports>
...\ No newline at end of file ...\ No newline at end of file