MonkeyChap

Started to work on HTML reporting - still needs attention

1 -# Saved by TopBraid on Fri Oct 14 14:49:32 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 17:19:24 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations
3 # imports: http://www.reportinghub.no/ep/schema/1.0/production-organization 3 # imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
4 # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed 4 # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed
...@@ -156,14 +156,20 @@ ...@@ -156,14 +156,20 @@
156 sp:predicate rdf:type ; 156 sp:predicate rdf:type ;
157 sp:subject _:b19 157 sp:subject _:b19
158 ] [ sp:object _:b19 ; 158 ] [ sp:object _:b19 ;
159 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
160 + sp:subject _:b20
161 + ] [ sp:object _:b21 ;
162 + sp:predicate rdfs:label ;
163 + sp:subject _:b19
164 + ] [ sp:object _:b22 ;
159 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#involvement> ; 165 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#involvement> ;
160 sp:subject _:b16 166 sp:subject _:b16
161 - ] [ sp:object _:b20 ; 167 + ] [ sp:object _:b22 ;
162 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#involvement> ;
163 - sp:subject _:b16
164 - ] [ sp:object _:b20 ;
165 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> ; 168 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> ;
166 - sp:subject _:b21 169 + sp:subject _:b20
170 + ] [ sp:object _:b23 ;
171 + sp:predicate rdfs:label ;
172 + sp:subject _:b20
167 ]) ; 173 ]) ;
168 sp:where ([ sp:object 174 sp:where ([ sp:object
169 [ sp:varName "mainFacility"^^xsd:string 175 [ sp:varName "mainFacility"^^xsd:string
...@@ -186,37 +192,37 @@ ...@@ -186,37 +192,37 @@
186 ] 192 ]
187 ]) 193 ])
188 ] [ rdf:type sp:Optional ; 194 ] [ rdf:type sp:Optional ;
189 - sp:elements ([ sp:object _:b22 ; 195 + sp:elements ([ sp:object _:b24 ;
190 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ; 196 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
191 sp:subject spin:_this 197 sp:subject spin:_this
192 - ] [ sp:object _:b23 ; 198 + ] [ sp:object _:b21 ;
193 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; 199 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
194 - sp:subject _:b22 200 + sp:subject _:b24
195 - ] [ sp:object _:b24 ; 201 + ] [ sp:object _:b25 ;
196 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ; 202 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ;
197 sp:subject spin:_this 203 sp:subject spin:_this
198 - ] [ sp:object _:b25 ; 204 + ] [ sp:object _:b23 ;
199 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 205 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
200 - sp:subject _:b24 206 + sp:subject _:b25
201 ] [ rdf:type sp:Bind ; 207 ] [ rdf:type sp:Bind ;
202 sp:expression 208 sp:expression
203 [ rdf:type ep-dpr-spin-lib:buildFacilityURI ; 209 [ rdf:type ep-dpr-spin-lib:buildFacilityURI ;
204 - sp:arg1 _:b25 210 + sp:arg1 _:b23
205 ] ; 211 ] ;
206 - sp:variable _:b21 212 + sp:variable _:b20
207 ] [ rdf:type sp:Bind ; 213 ] [ rdf:type sp:Bind ;
208 sp:expression 214 sp:expression
209 [ rdf:type ep-dpr-spin-lib:buildTemporalPartOfFacilityURI ; 215 [ rdf:type ep-dpr-spin-lib:buildTemporalPartOfFacilityURI ;
210 - sp:arg1 _:b25 ; 216 + sp:arg1 _:b23 ;
211 sp:arg2 _:b17 ; 217 sp:arg2 _:b17 ;
212 sp:arg3 _:b18 218 sp:arg3 _:b18
213 ] ; 219 ] ;
214 - sp:variable _:b20 220 + sp:variable _:b22
215 ] [ rdf:type sp:Bind ; 221 ] [ rdf:type sp:Bind ;
216 sp:expression 222 sp:expression
217 [ rdf:type ep-spin-lib:buildURI ; 223 [ rdf:type ep-spin-lib:buildURI ;
218 sp:arg1 "https://www.reportinghub.no/ep/data/OperatingCompany/" ; 224 sp:arg1 "https://www.reportinghub.no/ep/data/OperatingCompany/" ;
219 - sp:arg2 _:b23 225 + sp:arg2 _:b21
220 ] ; 226 ] ;
221 sp:variable _:b19 227 sp:variable _:b19
222 ]) 228 ])
...@@ -232,7 +238,7 @@ ...@@ -232,7 +238,7 @@
232 ] [ rdf:type sp:Bind ; 238 ] [ rdf:type sp:Bind ;
233 sp:expression 239 sp:expression
234 [ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ; 240 [ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
235 - sp:arg1 _:b25 ; 241 + sp:arg1 _:b23 ;
236 sp:arg2 _:b17 ; 242 sp:arg2 _:b17 ;
237 sp:arg3 _:b18 243 sp:arg3 _:b18
238 ] ; 244 ] ;
...@@ -240,7 +246,7 @@ ...@@ -240,7 +246,7 @@
240 ] [ rdf:type sp:Bind ; 246 ] [ rdf:type sp:Bind ;
241 sp:expression 247 sp:expression
242 [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ; 248 [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
243 - sp:arg1 _:b25 ; 249 + sp:arg1 _:b23 ;
244 sp:arg2 _:b17 ; 250 sp:arg2 _:b17 ;
245 sp:arg3 _:b18 251 sp:arg3 _:b18
246 ] ; 252 ] ;
...@@ -248,14 +254,14 @@ ...@@ -248,14 +254,14 @@
248 ] [ rdf:type sp:Bind ; 254 ] [ rdf:type sp:Bind ;
249 sp:expression 255 sp:expression
250 [ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ; 256 [ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
251 - sp:arg1 _:b25 ; 257 + sp:arg1 _:b23 ;
252 sp:arg2 _:b18 258 sp:arg2 _:b18
253 ] ; 259 ] ;
254 sp:variable _:b14 260 sp:variable _:b14
255 ] [ rdf:type sp:Bind ; 261 ] [ rdf:type sp:Bind ;
256 sp:expression 262 sp:expression
257 [ rdf:type ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI ; 263 [ rdf:type ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI ;
258 - sp:arg1 _:b25 ; 264 + sp:arg1 _:b23 ;
259 sp:arg2 _:b18 265 sp:arg2 _:b18
260 ] ; 266 ] ;
261 sp:variable _:b15 267 sp:variable _:b15
...@@ -1052,401 +1058,401 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs ...@@ -1052,401 +1058,401 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs
1052 ]) 1058 ])
1053 ] . 1059 ] .
1054 1060
1055 -_:b5 sp:varName "docInfo"^^xsd:string . 1061 +_:b45
1056 - 1062 + sp:varName "parentRep"^^xsd:string .
1057 -_:b6 sp:varName "docNameStruct"^^xsd:string .
1058 1063
1059 -_:b7 sp:varName "docName"^^xsd:string . 1064 +_:b44
1065 + sp:varName "installName"^^xsd:string .
1060 1066
1061 -_:b8 sp:varName "docDate"^^xsd:string . 1067 +_:b43
1068 + sp:varName "installation"^^xsd:string .
1062 1069
1063 -_:b1 sp:varName "epDailyProdRep"^^xsd:string . 1070 +_:b42
1071 + sp:varName "instRep"^^xsd:string .
1064 1072
1065 -_:b9 sp:varName "porSet"^^xsd:string . 1073 +_:b41
1074 + sp:varName "prodAct"^^xsd:string .
1066 1075
1067 -_:b10 1076 +_:b40
1068 - sp:varName "porRef"^^xsd:string . 1077 + sp:varName "UUID"^^xsd:string .
1069 1078
1070 -_:b3 sp:varName "startDate"^^xsd:string . 1079 +_:b39
1080 + sp:varName "epInstProdOpAct"^^xsd:string .
1071 1081
1072 -_:b4 sp:varName "endDate"^^xsd:string . 1082 +_:b38
1083 + sp:varName "endTime"^^xsd:string .
1073 1084
1074 -_:b11 1085 +_:b37
1075 - sp:varName "contextFacility"^^xsd:string . 1086 + sp:varName "startTime"^^xsd:string .
1076 1087
1077 -_:b12 1088 +_:b36
1078 - sp:varName "mainFacName"^^xsd:string . 1089 + sp:varName "epCargoOp"^^xsd:string .
1079 1090
1080 -_:b2 sp:varName "epDailyProdAct"^^xsd:string . 1091 +_:b35
1092 + sp:varName "endDate"^^xsd:string .
1081 1093
1082 -_:b17 1094 +_:b34
1083 sp:varName "startDate"^^xsd:string . 1095 sp:varName "startDate"^^xsd:string .
1084 1096
1085 -_:b18 1097 +_:b33
1086 - sp:varName "endDate"^^xsd:string . 1098 + sp:varName "parentRep"^^xsd:string .
1087 1099
1088 -_:b22 1100 +_:b32
1089 - sp:varName "operator"^^xsd:string . 1101 + sp:varName "installName"^^xsd:string .
1090 1102
1091 -_:b23 1103 +_:b90
1092 - sp:varName "operatorName"^^xsd:string . 1104 + sp:varName "supplyShipName"^^xsd:string .
1093 1105
1094 -_:b24 1106 +_:b31
1095 - sp:varName "contextFacility"^^xsd:string . 1107 + sp:varName "installation"^^xsd:string .
1096 1108
1097 -_:b25 1109 +_:b30
1098 - sp:varName "mainFacName"^^xsd:string . 1110 + sp:varName "instRep"^^xsd:string .
1099 1111
1100 -_:b21 1112 +_:b29
1101 - sp:varName "epMainFac"^^xsd:string . 1113 + sp:varName "prodAct"^^xsd:string .
1102 1114
1103 -_:b20 1115 +_:b28
1104 - sp:varName "epMainFacTempPart"^^xsd:string . 1116 + sp:varName "alUUID"^^xsd:string .
1105 1117
1106 -_:b19 1118 +_:b27
1107 - sp:varName "opCo"^^xsd:string . 1119 + sp:varName "epInstProdOpAct"^^xsd:string .
1108 1120
1109 -_:b16 1121 +_:b26
1110 - sp:varName "epDailyProdAct"^^xsd:string . 1122 + sp:varName "epAlarm"^^xsd:string .
1111 1123
1112 -_:b13 1124 +_:b12
1113 - sp:varName "epDailyProdOpAct"^^xsd:string . 1125 + sp:varName "mainFacName"^^xsd:string .
1114 1126
1115 -_:b14 1127 +_:b11
1116 - sp:varName "epAnnualProdAct"^^xsd:string . 1128 + sp:varName "contextFacility"^^xsd:string .
1117 1129
1118 -_:b15 1130 +_:b10
1119 - sp:varName "epAnnualProdOpAct"^^xsd:string . 1131 + sp:varName "porRef"^^xsd:string .
1120 1132
1121 -_:b51 1133 +_:b9 sp:varName "porSet"^^xsd:string .
1122 - sp:varName "beds"^^xsd:string .
1123 1134
1124 -_:b59 1135 +_:b8 sp:varName "docDate"^^xsd:string .
1125 - sp:varName "parentRep"^^xsd:string .
1126 1136
1127 -_:b60 1137 +_:b7 sp:varName "docName"^^xsd:string .
1128 - sp:varName "startDate"^^xsd:string .
1129 1138
1130 -_:b61 1139 +_:b6 sp:varName "docNameStruct"^^xsd:string .
1131 - sp:varName "endDate"^^xsd:string .
1132 1140
1133 -_:b62 1141 +_:b5 sp:varName "docInfo"^^xsd:string .
1134 - sp:varName "mainFacility"^^xsd:string .
1135 1142
1136 -_:b63 1143 +_:b4 sp:varName "endDate"^^xsd:string .
1137 - sp:varName "mainFacName"^^xsd:string .
1138 1144
1139 -_:b64 1145 +_:b3 sp:varName "startDate"^^xsd:string .
1140 - sp:varName "installation"^^xsd:string .
1141 1146
1142 -_:b65 1147 +_:b2 sp:varName "epDailyProdAct"^^xsd:string .
1143 - sp:varName "installName"^^xsd:string .
1144 1148
1145 -_:b58 1149 +_:b1 sp:varName "epDailyProdRep"^^xsd:string .
1146 - sp:varName "epAnnualProdOpAct"^^xsd:string .
1147 1150
1148 -_:b49 1151 +_:b89
1149 - sp:varName "epDailyProdOpAct"^^xsd:string . 1152 + sp:varName "moUUID"^^xsd:string .
1150 1153
1151 -_:b48 1154 +_:b88
1152 sp:varName "epInstProdOpAct"^^xsd:string . 1155 sp:varName "epInstProdOpAct"^^xsd:string .
1153 1156
1154 -_:b50 1157 +_:b87
1155 - sp:varName "epInstallTempPart"^^xsd:string . 1158 + sp:varName "moActComment"^^xsd:string .
1156 1159
1157 -_:b55 1160 +_:b86
1158 - sp:varName "epInstallAnnualAct"^^xsd:string . 1161 + sp:varName "epSupplyShip"^^xsd:string .
1159 1162
1160 -_:b66 1163 +_:b85
1161 - sp:varName "operationalHSERef"^^xsd:string . 1164 + sp:varName "moEndTime"^^xsd:string .
1162 1165
1163 -_:b67 1166 +_:b84
1164 - sp:varName "safetyRef"^^xsd:string . 1167 + sp:varName "moStartTime"^^xsd:string .
1165 1168
1166 -_:b68 1169 +_:b83
1167 - sp:varName "safetyCountRef"^^xsd:string . 1170 + sp:varName "epMarineOp"^^xsd:string .
1168 1171
1169 -_:b57 1172 +_:b82
1170 - sp:varName "safetyCount"^^xsd:string . 1173 + sp:varName "endDate"^^xsd:string .
1171 1174
1172 -_:b69 1175 +_:b81
1173 - sp:varName "periodEnum"^^xsd:string . 1176 + sp:varName "startDate"^^xsd:string .
1174 1177
1175 -_:b53 1178 +_:b80
1176 - sp:varName "temporalPartOfActivityDurationType"^^xsd:string . 1179 + sp:varName "parentRep"^^xsd:string .
1177 1180
1178 -_:b70 1181 +_:b79
1179 - sp:varName "safetyActivityEnum"^^xsd:string . 1182 + sp:varName "installName"^^xsd:string .
1180 1183
1181 -_:b54 1184 +_:b78
1182 - sp:varName "safetyActivityType"^^xsd:string . 1185 + sp:varName "installation"^^xsd:string .
1183 1186
1184 -_:b125 1187 +_:b77
1185 - sp:varName "UUID"^^xsd:string . 1188 + sp:varName "instRep"^^xsd:string .
1186 1189
1187 -_:b114 1190 +_:b76
1188 - sp:varName "epWaterClean"^^xsd:string . 1191 + sp:varName "prodAct"^^xsd:string .
1189 1192
1190 -_:b126 1193 +_:b75
1191 - sp:varName "wsUUID"^^xsd:string . 1194 + sp:varName "UUID"^^xsd:string .
1192 1195
1193 -_:b119 1196 +_:b74
1194 - sp:varName "epWaterSample"^^xsd:string . 1197 + sp:varName "epInstProdOpAct"^^xsd:string .
1195 1198
1196 -_:b116 1199 +_:b73
1197 sp:varName "endTime"^^xsd:string . 1200 sp:varName "endTime"^^xsd:string .
1198 1201
1199 -_:b115 1202 +_:b72
1200 sp:varName "startTime"^^xsd:string . 1203 sp:varName "startTime"^^xsd:string .
1201 1204
1202 -_:b118 1205 +_:b71
1203 - sp:varName "samplePoint"^^xsd:string . 1206 + sp:varName "epLostProd"^^xsd:string .
1204 1207
1205 -_:b120 1208 +_:b70
1206 - sp:varName "phVal"^^xsd:string . 1209 + sp:varName "safetyActivityEnum"^^xsd:string .
1207 1210
1208 -_:b127 1211 +_:b69
1209 - sp:varName "oilAmountRef"^^xsd:string . 1212 + sp:varName "periodEnum"^^xsd:string .
1210 1213
1211 -_:b128 1214 +_:b68
1212 - sp:varName "oilAmountUOM"^^xsd:string . 1215 + sp:varName "safetyCountRef"^^xsd:string .
1213 1216
1214 -_:b122 1217 +_:b67
1215 - sp:varName "epOilAmountUOM"^^xsd:string . 1218 + sp:varName "safetyRef"^^xsd:string .
1216 1219
1217 -_:b129 1220 +_:b66
1218 - sp:varName "oaUUID"^^xsd:string . 1221 + sp:varName "operationalHSERef"^^xsd:string .
1219 1222
1220 -_:b121 1223 +_:b65
1221 - sp:varName "epOilAmount"^^xsd:string . 1224 + sp:varName "installName"^^xsd:string .
1222 1225
1223 -_:b130 1226 +_:b64
1224 - sp:varName "oilInWaterRef"^^xsd:string . 1227 + sp:varName "installation"^^xsd:string .
1225 1228
1226 -_:b124 1229 +_:b63
1227 - sp:varName "epOwUOM"^^xsd:string . 1230 + sp:varName "mainFacName"^^xsd:string .
1228 1231
1229 -_:b131 1232 +_:b62
1230 - sp:varName "owUUID"^^xsd:string . 1233 + sp:varName "mainFacility"^^xsd:string .
1231 1234
1232 -_:b123 1235 +_:b61
1233 - sp:varName "epOilInWater"^^xsd:string . 1236 + sp:varName "endDate"^^xsd:string .
1234 1237
1235 -_:b133 1238 +_:b60
1236 - sp:varName "instRep"^^xsd:string . 1239 + sp:varName "startDate"^^xsd:string .
1237 1240
1238 -_:b132 1241 +_:b59
1239 - sp:varName "prodAct"^^xsd:string . 1242 + sp:varName "parentRep"^^xsd:string .
1240 1243
1241 -_:b134 1244 +_:b91
1242 - sp:varName "installation"^^xsd:string . 1245 + sp:varName "moActivity"^^xsd:string .
1243 1246
1244 -_:b135 1247 +_:b58
1245 - sp:varName "installName"^^xsd:string . 1248 + sp:varName "epAnnualProdOpAct"^^xsd:string .
1246 1249
1247 -_:b136 1250 +_:b57
1248 - sp:varName "parentRep"^^xsd:string . 1251 + sp:varName "safetyCount"^^xsd:string .
1249 1252
1250 -_:b137 1253 +_:b55
1251 - sp:varName "startDate"^^xsd:string . 1254 + sp:varName "epInstallAnnualAct"^^xsd:string .
1252 1255
1253 -_:b138 1256 +_:b54
1254 - sp:varName "endDate"^^xsd:string . 1257 + sp:varName "safetyActivityType"^^xsd:string .
1255 1258
1256 -_:b117 1259 +_:b53
1257 - sp:varName "epInstProdOpAct"^^xsd:string . 1260 + sp:varName "temporalPartOfActivityDurationType"^^xsd:string .
1258 1261
1259 -_:b75 1262 +_:b51
1260 - sp:varName "UUID"^^xsd:string . 1263 + sp:varName "beds"^^xsd:string .
1261 1264
1262 -_:b71 1265 +_:b50
1263 - sp:varName "epLostProd"^^xsd:string . 1266 + sp:varName "epInstallTempPart"^^xsd:string .
1264 1267
1265 -_:b73 1268 +_:b49
1266 - sp:varName "endTime"^^xsd:string . 1269 + sp:varName "epDailyProdOpAct"^^xsd:string .
1267 1270
1268 -_:b72 1271 +_:b48
1269 - sp:varName "startTime"^^xsd:string . 1272 + sp:varName "epInstProdOpAct"^^xsd:string .
1270 1273
1271 -_:b77 1274 +_:b47
1272 - sp:varName "instRep"^^xsd:string . 1275 + sp:varName "endDate"^^xsd:string .
1273 1276
1274 -_:b76 1277 +_:b46
1278 + sp:varName "startDate"^^xsd:string .
1279 +
1280 +_:b92
1275 sp:varName "prodAct"^^xsd:string . 1281 sp:varName "prodAct"^^xsd:string .
1276 1282
1277 -_:b78 1283 +_:b16
1278 - sp:varName "installation"^^xsd:string . 1284 + sp:varName "epDailyProdAct"^^xsd:string .
1279 1285
1280 -_:b79 1286 +_:b13
1281 - sp:varName "installName"^^xsd:string . 1287 + sp:varName "epDailyProdOpAct"^^xsd:string .
1282 1288
1283 -_:b80 1289 +_:b14
1284 - sp:varName "parentRep"^^xsd:string . 1290 + sp:varName "epAnnualProdAct"^^xsd:string .
1285 1291
1286 -_:b81 1292 +_:b15
1287 - sp:varName "startDate"^^xsd:string . 1293 + sp:varName "epAnnualProdOpAct"^^xsd:string .
1288 1294
1289 -_:b82 1295 +_:b98
1290 sp:varName "endDate"^^xsd:string . 1296 sp:varName "endDate"^^xsd:string .
1291 1297
1292 -_:b74 1298 +_:b99
1299 + sp:varName "startTime"^^xsd:string .
1300 +
1301 +_:b93
1302 + sp:varName "instRep"^^xsd:string .
1303 +
1304 +_:b100
1305 + sp:varName "epNotableOp"^^xsd:string .
1306 +
1307 +_:b101
1308 + sp:varName "endTime"^^xsd:string .
1309 +
1310 +_:b102
1293 sp:varName "epInstProdOpAct"^^xsd:string . 1311 sp:varName "epInstProdOpAct"^^xsd:string .
1294 1312
1295 -_:b28 1313 +_:b103
1296 - sp:varName "alUUID"^^xsd:string . 1314 + sp:varName "naComment"^^xsd:string .
1297 1315
1298 -_:b26 1316 +_:b104
1299 - sp:varName "epAlarm"^^xsd:string . 1317 + sp:varName "epNotableOpType"^^xsd:string .
1300 1318
1301 -_:b30 1319 +_:b105
1302 - sp:varName "instRep"^^xsd:string . 1320 + sp:varName "UUID"^^xsd:string .
1303 1321
1304 -_:b29 1322 +_:b106
1323 + sp:varName "operationalCommentRefType"^^xsd:string .
1324 +
1325 +_:b107
1305 sp:varName "prodAct"^^xsd:string . 1326 sp:varName "prodAct"^^xsd:string .
1306 1327
1307 -_:b31 1328 +_:b108
1329 + sp:varName "instRep"^^xsd:string .
1330 +
1331 +_:b109
1308 sp:varName "installation"^^xsd:string . 1332 sp:varName "installation"^^xsd:string .
1309 1333
1310 -_:b32 1334 +_:b110
1311 sp:varName "installName"^^xsd:string . 1335 sp:varName "installName"^^xsd:string .
1312 1336
1313 -_:b33 1337 +_:b111
1314 sp:varName "parentRep"^^xsd:string . 1338 sp:varName "parentRep"^^xsd:string .
1315 1339
1316 -_:b34 1340 +_:b112
1317 sp:varName "startDate"^^xsd:string . 1341 sp:varName "startDate"^^xsd:string .
1318 1342
1319 -_:b35 1343 +_:b113
1320 sp:varName "endDate"^^xsd:string . 1344 sp:varName "endDate"^^xsd:string .
1321 1345
1322 -_:b27 1346 +_:b114
1323 - sp:varName "epInstProdOpAct"^^xsd:string . 1347 + sp:varName "epWaterClean"^^xsd:string .
1324 -
1325 -_:b40
1326 - sp:varName "UUID"^^xsd:string .
1327 1348
1328 -_:b36 1349 +_:b115
1329 - sp:varName "epCargoOp"^^xsd:string . 1350 + sp:varName "startTime"^^xsd:string .
1330 1351
1331 -_:b38 1352 +_:b116
1332 sp:varName "endTime"^^xsd:string . 1353 sp:varName "endTime"^^xsd:string .
1333 1354
1334 -_:b37 1355 +_:b117
1335 - sp:varName "startTime"^^xsd:string . 1356 + sp:varName "epInstProdOpAct"^^xsd:string .
1336 -
1337 -_:b42
1338 - sp:varName "instRep"^^xsd:string .
1339 1357
1340 -_:b41 1358 +_:b118
1341 - sp:varName "prodAct"^^xsd:string . 1359 + sp:varName "samplePoint"^^xsd:string .
1342 1360
1343 -_:b43 1361 +_:b94
1344 sp:varName "installation"^^xsd:string . 1362 sp:varName "installation"^^xsd:string .
1345 1363
1346 -_:b44 1364 +_:b119
1347 - sp:varName "installName"^^xsd:string . 1365 + sp:varName "epWaterSample"^^xsd:string .
1348 1366
1349 -_:b45 1367 +_:b120
1350 - sp:varName "parentRep"^^xsd:string . 1368 + sp:varName "phVal"^^xsd:string .
1351 1369
1352 -_:b46 1370 +_:b121
1353 - sp:varName "startDate"^^xsd:string . 1371 + sp:varName "epOilAmount"^^xsd:string .
1354 1372
1355 -_:b47 1373 +_:b122
1356 - sp:varName "endDate"^^xsd:string . 1374 + sp:varName "epOilAmountUOM"^^xsd:string .
1357 1375
1358 -_:b39 1376 +_:b123
1359 - sp:varName "epInstProdOpAct"^^xsd:string . 1377 + sp:varName "epOilInWater"^^xsd:string .
1360 1378
1361 -_:b89 1379 +_:b124
1362 - sp:varName "moUUID"^^xsd:string . 1380 + sp:varName "epOwUOM"^^xsd:string .
1363 1381
1364 -_:b83 1382 +_:b125
1365 - sp:varName "epMarineOp"^^xsd:string . 1383 + sp:varName "UUID"^^xsd:string .
1366 1384
1367 -_:b85 1385 +_:b126
1368 - sp:varName "moEndTime"^^xsd:string . 1386 + sp:varName "wsUUID"^^xsd:string .
1369 1387
1370 -_:b84 1388 +_:b95
1371 - sp:varName "moStartTime"^^xsd:string . 1389 + sp:varName "installName"^^xsd:string .
1372 1390
1373 -_:b90 1391 +_:b127
1374 - sp:varName "supplyShipName"^^xsd:string . 1392 + sp:varName "oilAmountRef"^^xsd:string .
1375 1393
1376 -_:b86 1394 +_:b128
1377 - sp:varName "epSupplyShip"^^xsd:string . 1395 + sp:varName "oilAmountUOM"^^xsd:string .
1378 1396
1379 -_:b91 1397 +_:b129
1380 - sp:varName "moActivity"^^xsd:string . 1398 + sp:varName "oaUUID"^^xsd:string .
1381 1399
1382 -_:b87 1400 +_:b130
1383 - sp:varName "moActComment"^^xsd:string . 1401 + sp:varName "oilInWaterRef"^^xsd:string .
1384 1402
1385 -_:b93 1403 +_:b131
1386 - sp:varName "instRep"^^xsd:string . 1404 + sp:varName "owUUID"^^xsd:string .
1387 1405
1388 -_:b92 1406 +_:b132
1389 sp:varName "prodAct"^^xsd:string . 1407 sp:varName "prodAct"^^xsd:string .
1390 1408
1391 -_:b94 1409 +_:b96
1410 + sp:varName "parentRep"^^xsd:string .
1411 +
1412 +_:b133
1413 + sp:varName "instRep"^^xsd:string .
1414 +
1415 +_:b134
1392 sp:varName "installation"^^xsd:string . 1416 sp:varName "installation"^^xsd:string .
1393 1417
1394 -_:b95 1418 +_:b135
1395 sp:varName "installName"^^xsd:string . 1419 sp:varName "installName"^^xsd:string .
1396 1420
1397 -_:b96 1421 +_:b136
1398 sp:varName "parentRep"^^xsd:string . 1422 sp:varName "parentRep"^^xsd:string .
1399 1423
1400 -_:b97 1424 +_:b137
1401 sp:varName "startDate"^^xsd:string . 1425 sp:varName "startDate"^^xsd:string .
1402 1426
1403 -_:b98 1427 +_:b138
1404 sp:varName "endDate"^^xsd:string . 1428 sp:varName "endDate"^^xsd:string .
1405 1429
1406 -_:b88 1430 +_:b17
1407 - sp:varName "epInstProdOpAct"^^xsd:string . 1431 + sp:varName "startDate"^^xsd:string .
1408 -
1409 -_:b105
1410 - sp:varName "UUID"^^xsd:string .
1411 -
1412 -_:b100
1413 - sp:varName "epNotableOp"^^xsd:string .
1414 -
1415 -_:b101
1416 - sp:varName "endTime"^^xsd:string .
1417 -
1418 -_:b99
1419 - sp:varName "startTime"^^xsd:string .
1420 -
1421 -_:b106
1422 - sp:varName "operationalCommentRefType"^^xsd:string .
1423 1432
1424 -_:b104 1433 +_:b18
1425 - sp:varName "epNotableOpType"^^xsd:string . 1434 + sp:varName "endDate"^^xsd:string .
1426 1435
1427 -_:b103 1436 +_:b24
1428 - sp:varName "naComment"^^xsd:string . 1437 + sp:varName "operator"^^xsd:string .
1429 1438
1430 -_:b108 1439 +_:b21
1431 - sp:varName "instRep"^^xsd:string . 1440 + sp:varName "operatorName"^^xsd:string .
1432 1441
1433 -_:b107 1442 +_:b25
1434 - sp:varName "prodAct"^^xsd:string . 1443 + sp:varName "contextFacility"^^xsd:string .
1435 1444
1436 -_:b109 1445 +_:b23
1437 - sp:varName "installation"^^xsd:string . 1446 + sp:varName "mainFacName"^^xsd:string .
1438 1447
1439 -_:b110 1448 +_:b20
1440 - sp:varName "installName"^^xsd:string . 1449 + sp:varName "epMainFac"^^xsd:string .
1441 1450
1442 -_:b111 1451 +_:b22
1443 - sp:varName "parentRep"^^xsd:string . 1452 + sp:varName "epMainFacTempPart"^^xsd:string .
1444 1453
1445 -_:b112 1454 +_:b97
1446 sp:varName "startDate"^^xsd:string . 1455 sp:varName "startDate"^^xsd:string .
1447 1456
1448 -_:b113 1457 +_:b19
1449 - sp:varName "endDate"^^xsd:string . 1458 + sp:varName "opCo"^^xsd:string .
1450 -
1451 -_:b102
1452 - sp:varName "epInstProdOpAct"^^xsd:string .
......
1 -# Saved by TopBraid on Fri Oct 14 14:49:32 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 17:19:24 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 -<ui:group> 1 +<ui:group
2 + let:report="{# SELECT ?report WHERE {?report a ep-prodreport:DailyProductionReport }}"
3 + let:mainAct="{# SELECT ?mainAct WHERE {?report a ep-prodreport:DailyProductionReport . ?report ep-report:reportOn ?mainAct}}"
4 + let:mainAct="{# SELECT ?mainAct WHERE {?report a ep-prodreport:DailyProductionReport . ?report ep-report:reportOn ?mainAct}}"
5 + let:opCo="{# SELECT ?opCo WHERE {?report a ep-prodreport:DailyProductionReport . ?report ep-report:reportOn ?mainAct . ?mainAct ep-prodact:involvement ?opCo}}"
6 + >
7 + <h1>Daily Production Report: {# SELECT ?mfName WHERE {?mainFac rdfs:label ?mfName}}</h1>
8 + <h2>Operating Company: {# SELECT ?ocName WHERE {?opCo rdfs:label ?ocName}}</h2>
2 9
3 - <h1>DPR</h1>
4 <hr /> 10 <hr />
5 11
6 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" /> 12 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInformation" />
......