David Leal

Removal of "has" from properties in transforms

1 -# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011 1 +# Saved by TopBraid on Mon Aug 08 10:15:29 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.1/activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.1/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.linkedmodel.org/1.1/schema/ordered
5 # imports: http://www.reportinghub.no/ep/schema/equipment 4 # imports: http://www.reportinghub.no/ep/schema/equipment
5 +# imports: http://www.linkedmodel.org/1.1/schema/ordered
6 # imports: http://www.reportinghub.no/ep/schema/1.1/core 6 # imports: http://www.reportinghub.no/ep/schema/1.1/core
7 # imports: http://www.reportinghub.no/ep/schema/well 7 # imports: http://www.reportinghub.no/ep/schema/well
8 8
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 14
15 <http://www.reportinghub.no/ep/schema/1.1/activity> 15 <http://www.reportinghub.no/ep/schema/1.1/activity>
16 rdf:type owl:Ontology ; 16 rdf:type owl:Ontology ;
17 - owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.1/core> ; 17 + owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/well> ;
18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
19 19
20 ep-activity:Activity 20 ep-activity:Activity
...@@ -24,32 +24,32 @@ ep-activity:Activity ...@@ -24,32 +24,32 @@ ep-activity:Activity
24 rdfs:subClassOf 24 rdfs:subClassOf
25 [ rdf:type owl:Restriction ; 25 [ rdf:type owl:Restriction ;
26 owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 26 owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
27 - owl:onProperty ep-activity:finishedAt 27 + owl:onProperty ep-activity:startedAt
28 ] ; 28 ] ;
29 rdfs:subClassOf 29 rdfs:subClassOf
30 [ rdf:type owl:Restriction ; 30 [ rdf:type owl:Restriction ;
31 owl:allValuesFrom ep-activity:Activity ; 31 owl:allValuesFrom ep-activity:Activity ;
32 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> 32 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
33 ] ; 33 ] ;
34 rdfs:subClassOf 34 rdfs:subClassOf
35 [ rdf:type owl:Restriction ; 35 [ rdf:type owl:Restriction ;
36 owl:allValuesFrom ep-activity:Activity ; 36 owl:allValuesFrom ep-activity:Activity ;
37 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> 37 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
38 ] ; 38 ] ;
39 rdfs:subClassOf 39 rdfs:subClassOf
40 [ rdf:type owl:Restriction ; 40 [ rdf:type owl:Restriction ;
41 owl:allValuesFrom ep-activity:Activity ; 41 owl:allValuesFrom ep-activity:Activity ;
42 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> 42 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
43 ] ; 43 ] ;
44 rdfs:subClassOf 44 rdfs:subClassOf
45 [ rdf:type owl:Restriction ; 45 [ rdf:type owl:Restriction ;
46 owl:allValuesFrom ep-activity:Activity ; 46 owl:allValuesFrom ep-activity:Activity ;
47 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> 47 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
48 ] ; 48 ] ;
49 rdfs:subClassOf 49 rdfs:subClassOf
50 [ rdf:type owl:Restriction ; 50 [ rdf:type owl:Restriction ;
51 owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 51 owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
52 - owl:onProperty ep-activity:startedAt 52 + owl:onProperty ep-activity:finishedAt
53 ] . 53 ] .
54 54
55 ep-activity:DailyDrillingActivity 55 ep-activity:DailyDrillingActivity
...@@ -58,13 +58,13 @@ ep-activity:DailyDrillingActivity ...@@ -58,13 +58,13 @@ ep-activity:DailyDrillingActivity
58 rdfs:subClassOf ep-activity:DrillingActivity ; 58 rdfs:subClassOf ep-activity:DrillingActivity ;
59 rdfs:subClassOf 59 rdfs:subClassOf
60 [ rdf:type owl:Restriction ; 60 [ rdf:type owl:Restriction ;
61 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 61 + owl:allValuesFrom ep-activity:DrillingActivity ;
62 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> 62 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
63 ] ; 63 ] ;
64 rdfs:subClassOf 64 rdfs:subClassOf
65 [ rdf:type owl:Restriction ; 65 [ rdf:type owl:Restriction ;
66 - owl:allValuesFrom ep-activity:DrillingActivity ; 66 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
67 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> 67 + owl:onProperty ep-activity:onWellBore
68 ] ; 68 ] ;
69 rdfs:subClassOf 69 rdfs:subClassOf
70 [ rdf:type owl:Restriction ; 70 [ rdf:type owl:Restriction ;
...@@ -73,15 +73,20 @@ ep-activity:DailyDrillingActivity ...@@ -73,15 +73,20 @@ ep-activity:DailyDrillingActivity
73 ] ; 73 ] ;
74 rdfs:subClassOf 74 rdfs:subClassOf
75 [ rdf:type owl:Restriction ; 75 [ rdf:type owl:Restriction ;
76 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; 76 + owl:allValuesFrom ep-activity:DrillingActivity ;
77 - owl:onProperty ep-activity:onWellBore 77 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
78 ] ; 78 ] ;
79 rdfs:subClassOf 79 rdfs:subClassOf
80 [ rdf:type owl:Restriction ; 80 [ rdf:type owl:Restriction ;
81 - owl:allValuesFrom ep-activity:DrillingActivity ; 81 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
82 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> 82 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
83 ] . 83 ] .
84 84
85 +ep-activity:DailyDrillingReportFinalisationType
86 + rdf:type rdfs:Class ;
87 + rdfs:label "daily drilling report finalisation type"^^xsd:string ;
88 + rdfs:subClassOf owl:Class .
89 +
85 ep-activity:DailyProductionActivity 90 ep-activity:DailyProductionActivity
86 rdf:type owl:Class ; 91 rdf:type owl:Class ;
87 rdfs:label "Daily production activity"^^xsd:string ; 92 rdfs:label "Daily production activity"^^xsd:string ;
...@@ -128,13 +133,13 @@ ep-activity:DrillingActivity ...@@ -128,13 +133,13 @@ ep-activity:DrillingActivity
128 rdfs:subClassOf ep-activity:Activity . 133 rdfs:subClassOf ep-activity:Activity .
129 134
130 ep-activity:FormationIntegrityTest 135 ep-activity:FormationIntegrityTest
131 - rdf:type owl:Class ; 136 + rdf:type ep-activity:PressureTestType , owl:Class ;
132 rdfs:label "formation integrity test"^^xsd:string ; 137 rdfs:label "formation integrity test"^^xsd:string ;
133 rdfs:subClassOf ep-activity:WellBorePressureTest ; 138 rdfs:subClassOf ep-activity:WellBorePressureTest ;
134 owl:disjointWith ep-activity:LeakOffTest . 139 owl:disjointWith ep-activity:LeakOffTest .
135 140
136 ep-activity:LeakOffTest 141 ep-activity:LeakOffTest
137 - rdf:type owl:Class ; 142 + rdf:type ep-activity:PressureTestType , owl:Class ;
138 rdfs:label "leak-off test"^^xsd:string ; 143 rdfs:label "leak-off test"^^xsd:string ;
139 rdfs:subClassOf ep-activity:WellBorePressureTest ; 144 rdfs:subClassOf ep-activity:WellBorePressureTest ;
140 owl:disjointWith ep-activity:FormationIntegrityTest . 145 owl:disjointWith ep-activity:FormationIntegrityTest .
...@@ -170,13 +175,8 @@ ep-activity:OffshoreWellActivity ...@@ -170,13 +175,8 @@ ep-activity:OffshoreWellActivity
170 rdfs:subClassOf ep-activity:OffshoreActivity ; 175 rdfs:subClassOf ep-activity:OffshoreActivity ;
171 rdfs:subClassOf 176 rdfs:subClassOf
172 [ rdf:type owl:Restriction ; 177 [ rdf:type owl:Restriction ;
173 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ;
174 - owl:onProperty ep-activity:onRig
175 - ] ;
176 - rdfs:subClassOf
177 - [ rdf:type owl:Restriction ;
178 owl:cardinality "1"^^xsd:nonNegativeInteger ; 178 owl:cardinality "1"^^xsd:nonNegativeInteger ;
179 - owl:onProperty ep-activity:onRig 179 + owl:onProperty ep-activity:onWell
180 ] ; 180 ] ;
181 rdfs:subClassOf 181 rdfs:subClassOf
182 [ rdf:type owl:Restriction ; 182 [ rdf:type owl:Restriction ;
...@@ -186,9 +186,19 @@ ep-activity:OffshoreWellActivity ...@@ -186,9 +186,19 @@ ep-activity:OffshoreWellActivity
186 rdfs:subClassOf 186 rdfs:subClassOf
187 [ rdf:type owl:Restriction ; 187 [ rdf:type owl:Restriction ;
188 owl:cardinality "1"^^xsd:nonNegativeInteger ; 188 owl:cardinality "1"^^xsd:nonNegativeInteger ;
189 - owl:onProperty ep-activity:onWell 189 + owl:onProperty ep-activity:onRig
190 + ] ;
191 + rdfs:subClassOf
192 + [ rdf:type owl:Restriction ;
193 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ;
194 + owl:onProperty ep-activity:onRig
190 ] . 195 ] .
191 196
197 +ep-activity:PressureTestType
198 + rdf:type rdfs:Class ;
199 + rdfs:label "pressure test type"^^xsd:string ;
200 + rdfs:subClassOf owl:Class .
201 +
192 ep-activity:ProductionActivity 202 ep-activity:ProductionActivity
193 rdf:type owl:Class ; 203 rdf:type owl:Class ;
194 rdfs:label "Production activity"^^xsd:string ; 204 rdfs:label "Production activity"^^xsd:string ;
...@@ -216,7 +226,7 @@ ep-activity:WeeklyProductionActivity ...@@ -216,7 +226,7 @@ ep-activity:WeeklyProductionActivity
216 226
217 ep-activity:WellBoreDrillingType 227 ep-activity:WellBoreDrillingType
218 rdf:type rdfs:Class ; 228 rdf:type rdfs:Class ;
219 - rdfs:label "drill bypass"^^xsd:string ; 229 + rdfs:label "well bore drilling type"^^xsd:string ;
220 rdfs:subClassOf owl:Class . 230 rdfs:subClassOf owl:Class .
221 231
222 ep-activity:WellBorePressureTest 232 ep-activity:WellBorePressureTest
...@@ -225,7 +235,7 @@ ep-activity:WellBorePressureTest ...@@ -225,7 +235,7 @@ ep-activity:WellBorePressureTest
225 rdfs:subClassOf ep-activity:Activity . 235 rdfs:subClassOf ep-activity:Activity .
226 236
227 ep-activity:createdAt 237 ep-activity:createdAt
228 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 238 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
229 rdfs:label "created at"^^xsd:string ; 239 rdfs:label "created at"^^xsd:string ;
230 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 240 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
231 241
...@@ -247,7 +257,7 @@ ep-activity:onWell ...@@ -247,7 +257,7 @@ ep-activity:onWell
247 rdfs:label "on well"^^xsd:string . 257 rdfs:label "on well"^^xsd:string .
248 258
249 ep-activity:onWellBore 259 ep-activity:onWellBore
250 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 260 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
251 rdfs:label "on WellBore"^^xsd:string . 261 rdfs:label "on WellBore"^^xsd:string .
252 262
253 ep-activity:reportOn 263 ep-activity:reportOn
...@@ -260,8 +270,17 @@ ep-activity:startedAt ...@@ -260,8 +270,17 @@ ep-activity:startedAt
260 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 270 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
261 271
262 ep-activity:wellBoreDrillingType 272 ep-activity:wellBoreDrillingType
263 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 273 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
264 rdfs:domain ep-activity:DrillingActivity ; 274 rdfs:domain ep-activity:DrillingActivity ;
265 rdfs:label "has sub activity"^^xsd:string ; 275 rdfs:label "has sub activity"^^xsd:string ;
266 rdfs:range ep-activity:WellBoreDrillingType ; 276 rdfs:range ep-activity:WellBoreDrillingType ;
267 rdfs:subPropertyOf rdf:type . 277 rdfs:subPropertyOf rdf:type .
278 +
279 +<http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
280 + rdf:type ep-activity:DailyDrillingReportFinalisationType .
281 +
282 +<http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport>
283 + rdf:type ep-activity:DailyDrillingReportFinalisationType .
284 +
285 +<http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport>
286 + rdf:type ep-activity:DailyDrillingReportFinalisationType .
......
1 -# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011 1 +# Saved by TopBraid on Mon Aug 08 11:10:15 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 Sun Aug 07 17:45:34 PDT 2011 1 +# Saved by TopBraid on Mon Aug 08 11:17:51 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
3 -# imports: http://www.reportinghub.no/ep/schema/1.1/activity
4 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 3 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
5 -# imports: http://www.reportinghub.no/ep/schema/report
6 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo 4 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
7 -# imports: http://www.reportinghub.no/ep/schema/equipment
8 # imports: http://spinrdf.org/spin 5 # imports: http://spinrdf.org/spin
9 -# imports: http://www.reportinghub.no/ep/schema/well
10 6
11 @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . 7 @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
12 @prefix fn: <http://www.w3.org/2005/xpath-functions#> . 8 @prefix fn: <http://www.w3.org/2005/xpath-functions#> .
...@@ -21,7 +17,7 @@ ...@@ -21,7 +17,7 @@
21 17
22 <http://www.reportinghub.no/ep/transform/1.1/normalization> 18 <http://www.reportinghub.no/ep/transform/1.1/normalization>
23 rdf:type owl:Ontology ; 19 rdf:type owl:Ontology ;
24 - owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/schema/equipment> ; 20 + owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> ;
25 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 21 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
26 22
27 owl:Thing 23 owl:Thing
...@@ -62,8 +58,8 @@ owl:Thing ...@@ -62,8 +58,8 @@ owl:Thing
62 ]) 58 ])
63 ] . 59 ] .
64 60
65 -_:b2 sp:varName "p"^^xsd:string .
66 -
67 _:b1 sp:varName "oldLabel"^^xsd:string . 61 _:b1 sp:varName "oldLabel"^^xsd:string .
68 62
63 +_:b2 sp:varName "p"^^xsd:string .
64 +
69 _:b3 sp:varName "newLabel"^^xsd:string . 65 _:b3 sp:varName "newLabel"^^xsd:string .
......
1 -# Saved by TopBraid on Sun Aug 07 17:45:34 PDT 2011 1 +# Saved by TopBraid on Mon Aug 08 11:17:51 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#> .
......