Some progress on the HTML browser, but I am finding it difficult to
debug, and currently it is not working properly.
Showing
6 changed files
with
97 additions
and
78 deletions
1 | +# Saved by TopBraid on Thu Aug 11 18:18:26 BST 2011 | ||
1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity |
2 | -# imports: http://www.linkedmodel.org/1.1/schema/ordered | ||
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/core |
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | ||
6 | # 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/equipment | ||
7 | +# imports: http://www.linkedmodel.org/1.1/schema/ordered | ||
7 | 8 | ||
8 | @prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . | 9 | @prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . |
9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 10 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
... | @@ -13,7 +14,7 @@ | ... | @@ -13,7 +14,7 @@ |
13 | 14 | ||
14 | <http://www.reportinghub.no/ep/schema/1.0/activity> | 15 | <http://www.reportinghub.no/ep/schema/1.0/activity> |
15 | rdf:type owl:Ontology ; | 16 | rdf:type owl:Ontology ; |
16 | - owl:imports <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> ; | 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> ; |
17 | owl:versionInfo "0.1.0"^^xsd:string . | 18 | owl:versionInfo "0.1.0"^^xsd:string . |
18 | 19 | ||
19 | ep-activity:Activity | 20 | ep-activity:Activity |
... | @@ -22,33 +23,33 @@ ep-activity:Activity | ... | @@ -22,33 +23,33 @@ ep-activity:Activity |
22 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | 23 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; |
23 | rdfs:subClassOf | 24 | rdfs:subClassOf |
24 | [ rdf:type owl:Restriction ; | 25 | [ rdf:type owl:Restriction ; |
25 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 26 | + owl:allValuesFrom ep-activity:Activity ; |
26 | - owl:onProperty ep-activity:finishedAt | 27 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> |
27 | ] ; | 28 | ] ; |
28 | rdfs:subClassOf | 29 | rdfs:subClassOf |
29 | [ rdf:type owl:Restriction ; | 30 | [ rdf:type owl:Restriction ; |
30 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 31 | + owl:allValuesFrom ep-activity:Activity ; |
31 | - owl:onProperty ep-activity:startedAt | 32 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> |
32 | ] ; | 33 | ] ; |
33 | rdfs:subClassOf | 34 | rdfs:subClassOf |
34 | [ rdf:type owl:Restriction ; | 35 | [ rdf:type owl:Restriction ; |
35 | owl:allValuesFrom ep-activity:Activity ; | 36 | owl:allValuesFrom ep-activity:Activity ; |
36 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> | 37 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> |
37 | ] ; | 38 | ] ; |
38 | rdfs:subClassOf | 39 | rdfs:subClassOf |
39 | [ rdf:type owl:Restriction ; | 40 | [ rdf:type owl:Restriction ; |
40 | owl:allValuesFrom ep-activity:Activity ; | 41 | owl:allValuesFrom ep-activity:Activity ; |
41 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> | 42 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> |
42 | ] ; | 43 | ] ; |
43 | rdfs:subClassOf | 44 | rdfs:subClassOf |
44 | [ rdf:type owl:Restriction ; | 45 | [ rdf:type owl:Restriction ; |
45 | - owl:allValuesFrom ep-activity:Activity ; | 46 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
46 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> | 47 | + owl:onProperty ep-activity:startedAt |
47 | ] ; | 48 | ] ; |
48 | rdfs:subClassOf | 49 | rdfs:subClassOf |
49 | [ rdf:type owl:Restriction ; | 50 | [ rdf:type owl:Restriction ; |
50 | - owl:allValuesFrom ep-activity:Activity ; | 51 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
51 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> | 52 | + owl:onProperty ep-activity:finishedAt |
52 | ] . | 53 | ] . |
53 | 54 | ||
54 | ep-activity:DailyDrillingActivity | 55 | ep-activity:DailyDrillingActivity |
... | @@ -57,13 +58,13 @@ ep-activity:DailyDrillingActivity | ... | @@ -57,13 +58,13 @@ ep-activity:DailyDrillingActivity |
57 | rdfs:subClassOf ep-activity:DrillingActivity ; | 58 | rdfs:subClassOf ep-activity:DrillingActivity ; |
58 | rdfs:subClassOf | 59 | rdfs:subClassOf |
59 | [ rdf:type owl:Restriction ; | 60 | [ rdf:type owl:Restriction ; |
60 | - owl:allValuesFrom ep-activity:Activity ; | 61 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
61 | - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> | 62 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> |
62 | ] ; | 63 | ] ; |
63 | rdfs:subClassOf | 64 | rdfs:subClassOf |
64 | [ rdf:type owl:Restriction ; | 65 | [ rdf:type owl:Restriction ; |
65 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 66 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; |
66 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | 67 | + owl:onProperty ep-activity:onWellBore |
67 | ] ; | 68 | ] ; |
68 | rdfs:subClassOf | 69 | rdfs:subClassOf |
69 | [ rdf:type owl:Restriction ; | 70 | [ rdf:type owl:Restriction ; |
... | @@ -72,20 +73,15 @@ ep-activity:DailyDrillingActivity | ... | @@ -72,20 +73,15 @@ ep-activity:DailyDrillingActivity |
72 | ] ; | 73 | ] ; |
73 | rdfs:subClassOf | 74 | rdfs:subClassOf |
74 | [ rdf:type owl:Restriction ; | 75 | [ rdf:type owl:Restriction ; |
75 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; | 76 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
76 | - owl:onProperty ep-activity:onWellBore | 77 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> |
77 | ] ; | 78 | ] ; |
78 | rdfs:subClassOf | 79 | rdfs:subClassOf |
79 | [ rdf:type owl:Restriction ; | 80 | [ rdf:type owl:Restriction ; |
80 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 81 | + owl:allValuesFrom ep-activity:Activity ; |
81 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | 82 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> |
82 | ] . | 83 | ] . |
83 | 84 | ||
84 | -ep-activity:DailyDrillingReportFinalisationType | ||
85 | - rdf:type rdfs:Class ; | ||
86 | - rdfs:label "daily drilling report finalisation type"^^xsd:string ; | ||
87 | - rdfs:subClassOf owl:Class . | ||
88 | - | ||
89 | ep-activity:DailyProductionActivity | 85 | ep-activity:DailyProductionActivity |
90 | rdf:type owl:Class ; | 86 | rdf:type owl:Class ; |
91 | rdfs:label "Daily production activity"^^xsd:string ; | 87 | rdfs:label "Daily production activity"^^xsd:string ; |
... | @@ -132,13 +128,13 @@ ep-activity:DrillingActivity | ... | @@ -132,13 +128,13 @@ ep-activity:DrillingActivity |
132 | rdfs:subClassOf ep-activity:Activity . | 128 | rdfs:subClassOf ep-activity:Activity . |
133 | 129 | ||
134 | ep-activity:FormationIntegrityTest | 130 | ep-activity:FormationIntegrityTest |
135 | - rdf:type owl:Class , ep-activity:PressureTestType ; | 131 | + rdf:type ep-activity:PressureTestType , owl:Class ; |
136 | rdfs:label "formation integrity test"^^xsd:string ; | 132 | rdfs:label "formation integrity test"^^xsd:string ; |
137 | rdfs:subClassOf ep-activity:WellBorePressureTest ; | 133 | rdfs:subClassOf ep-activity:WellBorePressureTest ; |
138 | owl:disjointWith ep-activity:LeakOffTest . | 134 | owl:disjointWith ep-activity:LeakOffTest . |
139 | 135 | ||
140 | ep-activity:LeakOffTest | 136 | ep-activity:LeakOffTest |
141 | - rdf:type owl:Class , ep-activity:PressureTestType ; | 137 | + rdf:type ep-activity:PressureTestType , owl:Class ; |
142 | rdfs:label "leak-off test"^^xsd:string ; | 138 | rdfs:label "leak-off test"^^xsd:string ; |
143 | rdfs:subClassOf ep-activity:WellBorePressureTest ; | 139 | rdfs:subClassOf ep-activity:WellBorePressureTest ; |
144 | owl:disjointWith ep-activity:FormationIntegrityTest . | 140 | owl:disjointWith ep-activity:FormationIntegrityTest . |
... | @@ -174,7 +170,7 @@ ep-activity:OffshoreWellActivity | ... | @@ -174,7 +170,7 @@ ep-activity:OffshoreWellActivity |
174 | rdfs:subClassOf ep-activity:OffshoreActivity ; | 170 | rdfs:subClassOf ep-activity:OffshoreActivity ; |
175 | rdfs:subClassOf | 171 | rdfs:subClassOf |
176 | [ rdf:type owl:Restriction ; | 172 | [ rdf:type owl:Restriction ; |
177 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 173 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; |
178 | owl:onProperty ep-activity:onWell | 174 | owl:onProperty ep-activity:onWell |
179 | ] ; | 175 | ] ; |
180 | rdfs:subClassOf | 176 | rdfs:subClassOf |
... | @@ -184,7 +180,7 @@ ep-activity:OffshoreWellActivity | ... | @@ -184,7 +180,7 @@ ep-activity:OffshoreWellActivity |
184 | ] ; | 180 | ] ; |
185 | rdfs:subClassOf | 181 | rdfs:subClassOf |
186 | [ rdf:type owl:Restriction ; | 182 | [ rdf:type owl:Restriction ; |
187 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; | 183 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
188 | owl:onProperty ep-activity:onWell | 184 | owl:onProperty ep-activity:onWell |
189 | ] . | 185 | ] . |
190 | 186 | ||
... | @@ -229,7 +225,7 @@ ep-activity:WellBorePressureTest | ... | @@ -229,7 +225,7 @@ ep-activity:WellBorePressureTest |
229 | rdfs:subClassOf ep-activity:Activity . | 225 | rdfs:subClassOf ep-activity:Activity . |
230 | 226 | ||
231 | ep-activity:createdAt | 227 | ep-activity:createdAt |
232 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; | 228 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
233 | rdfs:label "created at"^^xsd:string ; | 229 | rdfs:label "created at"^^xsd:string ; |
234 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | 230 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
235 | 231 | ||
... | @@ -251,7 +247,7 @@ ep-activity:onWell | ... | @@ -251,7 +247,7 @@ ep-activity:onWell |
251 | rdfs:label "on well"^^xsd:string . | 247 | rdfs:label "on well"^^xsd:string . |
252 | 248 | ||
253 | ep-activity:onWellBore | 249 | ep-activity:onWellBore |
254 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 250 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
255 | rdfs:label "on WellBore"^^xsd:string . | 251 | rdfs:label "on WellBore"^^xsd:string . |
256 | 252 | ||
257 | ep-activity:reportOn | 253 | ep-activity:reportOn |
... | @@ -264,7 +260,7 @@ ep-activity:startedAt | ... | @@ -264,7 +260,7 @@ ep-activity:startedAt |
264 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | 260 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
265 | 261 | ||
266 | ep-activity:wellBoreDrillingType | 262 | ep-activity:wellBoreDrillingType |
267 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 263 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
268 | rdfs:domain ep-activity:DrillingActivity ; | 264 | rdfs:domain ep-activity:DrillingActivity ; |
269 | rdfs:label "has sub activity"^^xsd:string ; | 265 | rdfs:label "has sub activity"^^xsd:string ; |
270 | rdfs:range ep-activity:WellBoreDrillingType ; | 266 | rdfs:range ep-activity:WellBoreDrillingType ; | ... | ... |
1 | +# Saved by TopBraid on Thu Aug 11 18:17:22 BST 2011 | ||
1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/report | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/report |
2 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
3 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
4 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity |
6 | 7 | ||
7 | @prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> . | 8 | @prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> . |
8 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
... | @@ -12,23 +13,27 @@ | ... | @@ -12,23 +13,27 @@ |
12 | 13 | ||
13 | <http://www.reportinghub.no/ep/schema/1.0/report> | 14 | <http://www.reportinghub.no/ep/schema/1.0/report> |
14 | rdf:type owl:Ontology ; | 15 | rdf:type owl:Ontology ; |
15 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> ; | 16 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <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/well> ; |
16 | owl:versionInfo "0.1.0"^^xsd:string . | 17 | owl:versionInfo "0.1.0"^^xsd:string . |
17 | 18 | ||
18 | ep-report:DailyDrillingReport | 19 | ep-report:DailyDrillingReport |
19 | rdf:type owl:Class ; | 20 | rdf:type owl:Class ; |
20 | rdfs:subClassOf ep-report:Report . | 21 | rdfs:subClassOf ep-report:Report . |
21 | 22 | ||
22 | -ep-report:FinalDailyDrillingReport | 23 | +ep-report:DailyDrillingReportFinalisationType |
23 | rdf:type owl:Class ; | 24 | rdf:type owl:Class ; |
25 | + rdfs:subClassOf owl:Class . | ||
26 | + | ||
27 | +ep-report:FinalDailyDrillingReport | ||
28 | + rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; | ||
24 | rdfs:subClassOf ep-report:DailyDrillingReport . | 29 | rdfs:subClassOf ep-report:DailyDrillingReport . |
25 | 30 | ||
26 | ep-report:NormalDailyDrillingReport | 31 | ep-report:NormalDailyDrillingReport |
27 | - rdf:type owl:Class ; | 32 | + rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; |
28 | rdfs:subClassOf ep-report:DailyDrillingReport . | 33 | rdfs:subClassOf ep-report:DailyDrillingReport . |
29 | 34 | ||
30 | ep-report:PreliminaryDailyDrillingReport | 35 | ep-report:PreliminaryDailyDrillingReport |
31 | - rdf:type owl:Class ; | 36 | + rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ; |
32 | rdfs:subClassOf ep-report:DailyDrillingReport . | 37 | rdfs:subClassOf ep-report:DailyDrillingReport . |
33 | 38 | ||
34 | ep-report:Report | 39 | ep-report:Report | ... | ... |
1 | -# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 11 15:48:53 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/transform/1.1/ddr/activity | 3 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity |
4 | -# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias | ||
5 | # 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 | ||
6 | +# imports: file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml | ||
7 | +# imports: http://www.reportinghub.no/swp/ddr | ||
6 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | 8 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
7 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | 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#> . |
12 | +@prefix ddr1: <http://www.reportinghub.no/swp/ddr#> . | ||
10 | @prefix fn: <http://www.w3.org/2005/xpath-functions#> . | 13 | @prefix fn: <http://www.w3.org/2005/xpath-functions#> . |
11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 14 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 15 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
... | @@ -21,7 +24,7 @@ | ... | @@ -21,7 +24,7 @@ |
21 | 24 | ||
22 | <http://www.reportinghub.no/ep/transform/1.1/normalization> | 25 | <http://www.reportinghub.no/ep/transform/1.1/normalization> |
23 | rdf:type owl:Ontology ; | 26 | rdf:type owl:Ontology ; |
24 | - 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> ; | 27 | + owl:imports <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> , <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> ; |
25 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 28 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
26 | 29 | ||
27 | owl:Thing | 30 | owl:Thing | ... | ... |
1 | -# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 11 15:48:53 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 | -<html let:activity="{= spl:object(?this, ep-activity:reportOn) }" | 1 | +<html |
2 | - let:onWellBore="{# SELECT ?onWellBore WHERE { ?this ep-activity:reportOn/ep-activity:onWellBore ?onWellBore } }" | 2 | +let:dailyDrillingReport="{= ?this }" |
3 | - let:report="{= ?this }"> | 3 | +let:dailyDrillingActivity="{= spl:object(?dailyDrillingReport, ep-activity:reportOn) }" |
4 | - <head> | 4 | +let:temporalPartOfAWellBore="{# SELECT ?temporalPartOfAWellBore WHERE { ?dailyDrillingReport ep-activity:reportOn/ep-activity:onWellBore ?temporalPartOfAWellBore } }" |
5 | - <link rel="stylesheet" type="text/css" href="lib/rh/ddr.css" /> | 5 | +> |
6 | - </head> | 6 | +<head> |
7 | - <body let:wellBore="{= spl:object(?onWellBore, ep-core:temporalPartOf) }"> | 7 | +<link rel="stylesheet" type="text/css" href="lib/rh/ddr.css" /> |
8 | - <h1>Summary report Wellbore: {= rhspin:npdName(?wellBore) }</h1> | 8 | +</head> |
9 | - <div>End time: {= ui:label(spl:object(?activity, ep-activity:finishedAt)) }</div> | 9 | +<body |
10 | - <hr /> | 10 | +let:wellBore="{= spl:object(?temporalPartOfAWellBore, ep-core:temporalPartOf) }" |
11 | - <table><tr> | 11 | +let:status="{# SELECT ?status WHERE { ?dailyDrillingReport rdf:type ?status . ?status rdf:type ep-report:DailyDrillingReportFinalisationType} }" |
12 | +> | ||
13 | +<!-- | ||
14 | +let:pressureTestType="{# SELECT ?pressureTestType WHERE { ?dailyDrillingActivity ep-core:hasPart ?pressureTest . ?pressureTest rdf:type ?pressureTestType . ?pressureTestType rdf:type ep-activity:PressureTestType} }" | ||
15 | +--> | ||
16 | + | ||
17 | +<h1>Summary report Wellbore: {= rhspin:npdName(?wellBore) }</h1> | ||
18 | +<div>End time: {= ui:label(spl:object(?dailyDrillingActivity, ep-activity:finishedAt)) }</div> | ||
19 | +<hr /> | ||
20 | + | ||
21 | +<table><tr> | ||
12 | <td class="ddrSummaryLeft"> | 22 | <td class="ddrSummaryLeft"> |
13 | <rhswp:NameValuePair arg:name="Report Number:" arg:value="{ spl:object(?this, ?) }" /> | 23 | <rhswp:NameValuePair arg:name="Report Number:" arg:value="{ spl:object(?this, ?) }" /> |
14 | <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{= rhspin:npdName(?wellBore) }" /> | 24 | <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{= rhspin:npdName(?wellBore) }" /> |
15 | - <rhswp:NameValuePair arg:name="Status:" arg:value="{= ui:label(spl:object(?this, rdf:type)) }" /> | 25 | + <rhswp:NameValuePair arg:name="Status:" arg:value="{= ui:label(?status) }" /> |
16 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" /> | 26 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" /> |
17 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" /> | 27 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" /> |
18 | <rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" /> | 28 | <rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" /> |
19 | - <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{ spl:object(?this, ???) }" /> | 29 | +<!-- <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:elevKelly) }}" /> |
20 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" /> | 30 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" /> |
21 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" /> | 31 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" /> |
22 | <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" /> | 32 | <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" /> |
23 | - <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdKickoff) }" /> | 33 | + <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:mdKickoff) }" /> |
24 | - <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdPlugTop) }" /> | 34 | + <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:mdPlugTop) }" /> |
25 | - <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{ spl:object(?activity, ???) }" /> | 35 | + <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= rhspin:dtypeValue(?dailyDrillingActivity, ddr:ropCurrent) }" /> |
26 | - <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{ spl:object(?this, ???) }" /> | 36 | + <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{= ui:label(?pressureTestType) }" /> |
27 | - <rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdStrengthForm) }" /> | 37 | + <rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:mdStrengthForm) }" /> |
28 | <rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" /> | 38 | <rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" /> |
29 | - <rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdCsgLast) }" /> | 39 | + <rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= rhspin:dtypeValue(?dailyDrillingActivity, ddr:tvdCsgLast) }" /> |
30 | </td> | 40 | </td> |
31 | <td class="ddrSummaryRight"> | 41 | <td class="ddrSummaryRight"> |
32 | - <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?activity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?activity, ep-activity:finishedAt))) }" /> | 42 | + <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?dailyDrillingActivity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?dailyDrillingActivity, ep-activity:finishedAt))) }" /> |
33 | <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wellBore) }" /> | 43 | <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wellBore) }" /> |
34 | - <rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ep-activity:createdAt) }" /> | 44 | + <rhswp:NameValuePair arg:name="Created date:" arg:value="{= ui:label(spl:object(?dailyDrillingReport, ep-activity:createdAt)) }" /> |
35 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" /> | 45 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" /> |
36 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" /> | 46 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" /> |
37 | <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" /> | 47 | <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" /> |
38 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" /> | 48 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" /> |
39 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" /> | 49 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" /> |
40 | - <rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{ spl:object(?this, ???) }" /> | 50 | + <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{ spl:object(?this, ???) }" /> |
41 | <rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" /> | 51 | <rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" /> |
42 | - <rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?activity, ddr:tvdKickoff) }" /> | 52 | + <rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:tvdKickoff) }" /> |
43 | - <rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvd) }" /> | 53 | + <rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:tvd) }" /> |
44 | - <rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= rhspin:dtypeValue(?activity, ddr:distDrill) }" /> | 54 | + <rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= rhspin:dtypeValue(?dailyDrillingActivity, ddr:distDrill) }" /> |
45 | - <rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdDiaHoleStart) }" /> | 55 | + <rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= rhspin:dtypeValue(?dailyDrillingActivity, ddr:mdDiaHoleStart) }" /> |
46 | - <rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdStrengthForm) }" /> | 56 | + <rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:tvdStrengthForm) }" /> |
47 | <rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" /> | 57 | <rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" /> |
48 | - <rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdCsgLast) }" /> | 58 | + <rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:mdCsgLast) }" /> |
49 | - </td> | 59 | + --> </td> |
50 | </tr></table> | 60 | </tr></table> |
61 | + | ||
51 | </body> | 62 | </body> |
52 | </html> | 63 | </html> | ... | ... |
1 | +# Saved by TopBraid on Thu Aug 11 15:40:02 BST 2011 | ||
1 | # baseURI: http://www.reportinghub.no/swp/ddr | 2 | # baseURI: http://www.reportinghub.no/swp/ddr |
2 | -# imports: http://uispin.org/tui | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/organization |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | ||
4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | ||
7 | # imports: http://www.reportinghub.no/ep/schema/1.0/report | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/report |
5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
8 | # imports: http://www.reportinghub.no/ep/schema/1.0/well | 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/well |
7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | ||
8 | +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | ||
9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity | ||
10 | +# imports: http://www.reportinghub.no/ep/schema/1.0/facility | ||
11 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
12 | +# imports: http://uispin.org/tui | ||
9 | 13 | ||
10 | @prefix : <http://www.reportinghub.no/swp/ddr#> . | 14 | @prefix : <http://www.reportinghub.no/swp/ddr#> . |
11 | @prefix let: <http://uispin.org/let#> . | 15 | @prefix let: <http://uispin.org/let#> . |
... | @@ -24,5 +28,5 @@ | ... | @@ -24,5 +28,5 @@ |
24 | 28 | ||
25 | <http://www.reportinghub.no/swp/ddr> | 29 | <http://www.reportinghub.no/swp/ddr> |
26 | rdf:type owl:Ontology ; | 30 | rdf:type owl:Ontology ; |
27 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> ; | 31 | + owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ; |
28 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 32 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
-
Please register or login to post a comment