David Leal

Reinstated work on DPR lib, but not yet core-production

1 -# Saved by TopBraid on Wed Oct 12 16:32:18 BST 2011 1 +# Saved by TopBraid on Wed Oct 12 20:37:18 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
3 # imports: http://www.reportinghub.no/ep/schema/1.0/geography 3 # imports: http://www.reportinghub.no/ep/schema/1.0/geography
4 # imports: http://www.reportinghub.no/ep/schema/1.0/well 4 # imports: http://www.reportinghub.no/ep/schema/1.0/well
...@@ -231,13 +231,132 @@ ep-dpr-spin-lib:buildStateURI ...@@ -231,13 +231,132 @@ ep-dpr-spin-lib:buildStateURI
231 ]) 231 ])
232 ] . 232 ] .
233 233
234 +ep-dpr-spin-lib:selectDurationScale
235 + rdf:type spin:Function ;
236 + rdfs:label "select Duration scale"^^xsd:string ;
237 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
238 + spin:body
239 + [ rdf:type sp:Select ;
240 + sp:resultVariables (_:b10) ;
241 + sp:where ([ rdf:type sp:Bind ;
242 + sp:expression
243 + [ rdf:type sp:if ;
244 + sp:arg1 [ rdf:type sp:eq ;
245 + sp:arg1 spin:_arg1 ;
246 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_h>
247 + ] ;
248 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#hour> ;
249 + sp:arg3 [ rdf:type sp:if ;
250 + sp:arg1 [ rdf:type sp:eq ;
251 + sp:arg1 spin:_arg1 ;
252 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_min>
253 + ] ;
254 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#minute> ;
255 + sp:arg3 [ rdf:type sp:if ;
256 + sp:arg1 [ rdf:type sp:eq ;
257 + sp:arg1 spin:_arg1 ;
258 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_s>
259 + ] ;
260 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#second> ;
261 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
262 + ]
263 + ]
264 + ] ;
265 + sp:variable _:b10
266 + ])
267 + ] .
268 +
269 +ep-dpr-spin-lib:selectLengthScale
270 + rdf:type spin:Function ;
271 + rdfs:label "select Length scale"^^xsd:string ;
272 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
273 + spin:body
274 + [ rdf:type sp:Select ;
275 + sp:resultVariables (_:b11) ;
276 + sp:where ([ rdf:type sp:Bind ;
277 + sp:expression
278 + [ rdf:type sp:if ;
279 + sp:arg1 [ rdf:type sp:eq ;
280 + sp:arg1 spin:_arg1 ;
281 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_in64>
282 + ] ;
283 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#inch_64> ;
284 + sp:arg3 [ rdf:type sp:if ;
285 + sp:arg1 [ rdf:type sp:eq ;
286 + sp:arg1 spin:_arg1 ;
287 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_m>
288 + ] ;
289 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre> ;
290 + sp:arg3 [ rdf:type sp:if ;
291 + sp:arg1 [ rdf:type sp:eq ;
292 + sp:arg1 spin:_arg1 ;
293 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_cm>
294 + ] ;
295 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#centimetre> ;
296 + sp:arg3 [ rdf:type sp:if ;
297 + sp:arg1 [ rdf:type sp:eq ;
298 + sp:arg1 spin:_arg1 ;
299 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_mm>
300 + ] ;
301 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#millimetre> ;
302 + sp:arg3 [ rdf:type sp:if ;
303 + sp:arg1 [ rdf:type sp:eq ;
304 + sp:arg1 spin:_arg1 ;
305 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_in>
306 + ] ;
307 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#inch> ;
308 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
309 + ]
310 + ]
311 + ]
312 + ]
313 + ] ;
314 + sp:variable _:b11
315 + ])
316 + ] .
317 +
318 +ep-dpr-spin-lib:selectPressureScale
319 + rdf:type spin:Function ;
320 + rdfs:label "select Pressure scale"^^xsd:string ;
321 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
322 + spin:body
323 + [ rdf:type sp:Select ;
324 + sp:resultVariables (_:b12) ;
325 + sp:where ([ rdf:type sp:Bind ;
326 + sp:expression
327 + [ rdf:type sp:if ;
328 + sp:arg1 [ rdf:type sp:eq ;
329 + sp:arg1 spin:_arg1 ;
330 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#PU_bar>
331 + ] ;
332 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#bar> ;
333 + sp:arg3 [ rdf:type sp:if ;
334 + sp:arg1 [ rdf:type sp:eq ;
335 + sp:arg1 spin:_arg1 ;
336 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#PU_atm>
337 + ] ;
338 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#atmosphere> ;
339 + sp:arg3 [ rdf:type sp:if ;
340 + sp:arg1 [ rdf:type sp:eq ;
341 + sp:arg1 spin:_arg1 ;
342 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#PU_MPa>
343 + ] ;
344 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#megaPa> ;
345 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
346 + ]
347 + ]
348 + ] ;
349 + sp:variable _:b12
350 + ])
351 + ] .
352 +
234 ep-dpr-spin-lib:selectProductType 353 ep-dpr-spin-lib:selectProductType
235 rdf:type spin:Function ; 354 rdf:type spin:Function ;
236 rdfs:label "select ProductType"^^xsd:string ; 355 rdfs:label "select ProductType"^^xsd:string ;
237 rdfs:subClassOf ep-dpr-spin-lib:Function ; 356 rdfs:subClassOf ep-dpr-spin-lib:Function ;
238 spin:body 357 spin:body
239 [ rdf:type sp:Select ; 358 [ rdf:type sp:Select ;
240 - sp:resultVariables (_:b10) ; 359 + sp:resultVariables (_:b13) ;
241 sp:where ([ rdf:type sp:Bind ; 360 sp:where ([ rdf:type sp:Bind ;
242 sp:expression 361 sp:expression
243 [ rdf:type sp:if ; 362 [ rdf:type sp:if ;
...@@ -444,7 +563,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -444,7 +563,7 @@ ep-dpr-spin-lib:selectProductType
444 ] 563 ]
445 ] 564 ]
446 ] ; 565 ] ;
447 - sp:variable _:b10 566 + sp:variable _:b13
448 ]) 567 ])
449 ] . 568 ] .
450 569
...@@ -454,7 +573,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -454,7 +573,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
454 rdfs:subClassOf ep-dpr-spin-lib:Function ; 573 rdfs:subClassOf ep-dpr-spin-lib:Function ;
455 spin:body 574 spin:body
456 [ rdf:type sp:Select ; 575 [ rdf:type sp:Select ;
457 - sp:resultVariables (_:b11) ; 576 + sp:resultVariables (_:b14) ;
458 sp:where ([ rdf:type sp:Bind ; 577 sp:where ([ rdf:type sp:Bind ;
459 sp:expression 578 sp:expression
460 [ rdf:type sp:if ; 579 [ rdf:type sp:if ;
...@@ -633,7 +752,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -633,7 +752,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
633 ] 752 ]
634 ] 753 ]
635 ] ; 754 ] ;
636 - sp:variable _:b11 755 + sp:variable _:b14
637 ]) 756 ])
638 ] . 757 ] .
639 758
...@@ -643,7 +762,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -643,7 +762,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
643 rdfs:subClassOf ep-dpr-spin-lib:Function ; 762 rdfs:subClassOf ep-dpr-spin-lib:Function ;
644 spin:body 763 spin:body
645 [ rdf:type sp:Select ; 764 [ rdf:type sp:Select ;
646 - sp:resultVariables (_:b12) ; 765 + sp:resultVariables (_:b15) ;
647 sp:where ([ rdf:type sp:Bind ; 766 sp:where ([ rdf:type sp:Bind ;
648 sp:expression 767 sp:expression
649 [ rdf:type sp:if ; 768 [ rdf:type sp:if ;
...@@ -703,7 +822,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -703,7 +822,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
703 ] 822 ]
704 ] 823 ]
705 ] ; 824 ] ;
706 - sp:variable _:b12 825 + sp:variable _:b15
707 ]) 826 ])
708 ] . 827 ] .
709 828
...@@ -713,7 +832,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -713,7 +832,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
713 rdfs:subClassOf ep-dpr-spin-lib:Function ; 832 rdfs:subClassOf ep-dpr-spin-lib:Function ;
714 spin:body 833 spin:body
715 [ rdf:type sp:Select ; 834 [ rdf:type sp:Select ;
716 - sp:resultVariables (_:b13) ; 835 + sp:resultVariables (_:b16) ;
717 sp:where ([ rdf:type sp:Bind ; 836 sp:where ([ rdf:type sp:Bind ;
718 sp:expression 837 sp:expression
719 [ rdf:type sp:if ; 838 [ rdf:type sp:if ;
...@@ -731,7 +850,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -731,7 +850,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
731 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 850 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
732 ] 851 ]
733 ] ; 852 ] ;
734 - sp:variable _:b13 853 + sp:variable _:b16
735 ]) 854 ])
736 ] . 855 ] .
737 856
...@@ -741,7 +860,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -741,7 +860,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
741 rdfs:subClassOf ep-dpr-spin-lib:Function ; 860 rdfs:subClassOf ep-dpr-spin-lib:Function ;
742 spin:body 861 spin:body
743 [ rdf:type sp:Select ; 862 [ rdf:type sp:Select ;
744 - sp:resultVariables (_:b14) ; 863 + sp:resultVariables (_:b17) ;
745 sp:where ([ rdf:type sp:Bind ; 864 sp:where ([ rdf:type sp:Bind ;
746 sp:expression 865 sp:expression
747 [ rdf:type sp:if ; 866 [ rdf:type sp:if ;
...@@ -759,7 +878,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -759,7 +878,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
759 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 878 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
760 ] 879 ]
761 ] ; 880 ] ;
762 - sp:variable _:b14 881 + sp:variable _:b17
763 ]) 882 ])
764 ] . 883 ] .
765 884
...@@ -769,7 +888,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -769,7 +888,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
769 rdfs:subClassOf ep-dpr-spin-lib:Function ; 888 rdfs:subClassOf ep-dpr-spin-lib:Function ;
770 spin:body 889 spin:body
771 [ rdf:type sp:Select ; 890 [ rdf:type sp:Select ;
772 - sp:resultVariables (_:b15) ; 891 + sp:resultVariables (_:b18) ;
773 sp:where ([ rdf:type sp:Bind ; 892 sp:where ([ rdf:type sp:Bind ;
774 sp:expression 893 sp:expression
775 [ rdf:type sp:if ; 894 [ rdf:type sp:if ;
...@@ -920,7 +1039,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -920,7 +1039,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
920 ] 1039 ]
921 ] 1040 ]
922 ] ; 1041 ] ;
923 - sp:variable _:b15 1042 + sp:variable _:b18
924 ]) 1043 ])
925 ] . 1044 ] .
926 1045
...@@ -930,7 +1049,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -930,7 +1049,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
930 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1049 rdfs:subClassOf ep-dpr-spin-lib:Function ;
931 spin:body 1050 spin:body
932 [ rdf:type sp:Select ; 1051 [ rdf:type sp:Select ;
933 - sp:resultVariables (_:b16) ; 1052 + sp:resultVariables (_:b19) ;
934 sp:where ([ rdf:type sp:Bind ; 1053 sp:where ([ rdf:type sp:Bind ;
935 sp:expression 1054 sp:expression
936 [ rdf:type sp:if ; 1055 [ rdf:type sp:if ;
...@@ -1004,7 +1123,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -1004,7 +1123,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
1004 ] 1123 ]
1005 ] 1124 ]
1006 ] ; 1125 ] ;
1007 - sp:variable _:b16 1126 + sp:variable _:b19
1008 ]) 1127 ])
1009 ] . 1128 ] .
1010 1129
...@@ -1013,7 +1132,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1013,7 +1132,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1013 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1132 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1014 spin:body 1133 spin:body
1015 [ rdf:type sp:Select ; 1134 [ rdf:type sp:Select ;
1016 - sp:resultVariables (_:b17) ; 1135 + sp:resultVariables (_:b20) ;
1017 sp:where ([ rdf:type sp:Bind ; 1136 sp:where ([ rdf:type sp:Bind ;
1018 sp:expression 1137 sp:expression
1019 [ rdf:type sp:if ; 1138 [ rdf:type sp:if ;
...@@ -1157,7 +1276,56 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1157,7 +1276,56 @@ ep-dpr-spin-lib:selectSafetyActivityType
1157 ] 1276 ]
1158 ] 1277 ]
1159 ] ; 1278 ] ;
1160 - sp:variable _:b17 1279 + sp:variable _:b20
1280 + ])
1281 + ] .
1282 +
1283 +ep-dpr-spin-lib:selectSpecificVolumeScale
1284 + rdf:type spin:Function ;
1285 + rdfs:label "select SpecificVolume scale"^^xsd:string ;
1286 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1287 + spin:body
1288 + [ rdf:type sp:Select ;
1289 + sp:resultVariables (_:b21) ;
1290 + sp:where ([ rdf:type sp:Bind ;
1291 + sp:expression
1292 + [ rdf:type sp:if ;
1293 + sp:arg1 [ rdf:type sp:eq ;
1294 + sp:arg1 spin:_arg1 ;
1295 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
1296 + ] ;
1297 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
1298 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1299 + ] ;
1300 + sp:variable _:b21
1301 + ])
1302 + ] .
1303 +
1304 +ep-dpr-spin-lib:selectTemperatureScale
1305 + rdf:type spin:Function ;
1306 + rdfs:label "select Temperature scale"^^xsd:string ;
1307 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1308 + spin:body
1309 + [ rdf:type sp:Select ;
1310 + sp:resultVariables (_:b22) ;
1311 + sp:where ([ rdf:type sp:Bind ;
1312 + sp:expression
1313 + [ rdf:type sp:if ;
1314 + sp:arg1 [ rdf:type sp:eq ;
1315 + sp:arg1 spin:_arg1 ;
1316 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TTU_degC>
1317 + ] ;
1318 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#celsius> ;
1319 + sp:arg3 [ rdf:type sp:if ;
1320 + sp:arg1 [ rdf:type sp:eq ;
1321 + sp:arg1 spin:_arg1 ;
1322 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TTU_degF>
1323 + ] ;
1324 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fahrenheit> ;
1325 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1326 + ]
1327 + ] ;
1328 + sp:variable _:b22
1161 ]) 1329 ])
1162 ] . 1330 ] .
1163 1331
...@@ -1167,7 +1335,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1167,7 +1335,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1167 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1335 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1168 spin:body 1336 spin:body
1169 [ rdf:type sp:Select ; 1337 [ rdf:type sp:Select ;
1170 - sp:resultVariables (_:b18) ; 1338 + sp:resultVariables (_:b23) ;
1171 sp:where ([ rdf:type sp:Bind ; 1339 sp:where ([ rdf:type sp:Bind ;
1172 sp:expression 1340 sp:expression
1173 [ rdf:type sp:if ; 1341 [ rdf:type sp:if ;
...@@ -1241,7 +1409,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1241,7 +1409,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1241 ] 1409 ]
1242 ] 1410 ]
1243 ] ; 1411 ] ;
1244 - sp:variable _:b18 1412 + sp:variable _:b23
1245 ]) 1413 ])
1246 ] . 1414 ] .
1247 1415
...@@ -1250,7 +1418,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1250,7 +1418,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1250 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1418 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1251 spin:body 1419 spin:body
1252 [ rdf:type sp:Select ; 1420 [ rdf:type sp:Select ;
1253 - sp:resultVariables (_:b19) ; 1421 + sp:resultVariables (_:b24) ;
1254 sp:where ([ rdf:type sp:Bind ; 1422 sp:where ([ rdf:type sp:Bind ;
1255 sp:expression 1423 sp:expression
1256 [ rdf:type sp:if ; 1424 [ rdf:type sp:if ;
...@@ -1324,7 +1492,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1324,7 +1492,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1324 ] 1492 ]
1325 ] 1493 ]
1326 ] ; 1494 ] ;
1327 - sp:variable _:b19 1495 + sp:variable _:b24
1328 ]) 1496 ])
1329 ] . 1497 ] .
1330 1498
...@@ -1334,7 +1502,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1334,7 +1502,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1334 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1502 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1335 spin:body 1503 spin:body
1336 [ rdf:type sp:Select ; 1504 [ rdf:type sp:Select ;
1337 - sp:resultVariables (_:b20) ; 1505 + sp:resultVariables (_:b25) ;
1338 sp:where ([ rdf:type sp:Bind ; 1506 sp:where ([ rdf:type sp:Bind ;
1339 sp:expression 1507 sp:expression
1340 [ rdf:type sp:if ; 1508 [ rdf:type sp:if ;
...@@ -1359,7 +1527,77 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1359,7 +1527,77 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1359 ] 1527 ]
1360 ] 1528 ]
1361 ] ; 1529 ] ;
1362 - sp:variable _:b20 1530 + sp:variable _:b25
1531 + ])
1532 + ] .
1533 +
1534 +ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1535 + rdf:type spin:Function ;
1536 + rdfs:label "select VolumeFlowRateAtStandardTemperaturePressureType"^^xsd:string ;
1537 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1538 + spin:body
1539 + [ rdf:type sp:Select ;
1540 + sp:resultVariables (_:b26) ;
1541 + sp:where ([ rdf:type sp:Bind ;
1542 + sp:expression
1543 + [ rdf:type sp:if ;
1544 + sp:arg1 [ rdf:type sp:eq ;
1545 + sp:arg1 spin:_arg1 ;
1546 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#STP_15degC1atm>
1547 + ] ;
1548 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#VolumeFlowRateAt15degC1atm> ;
1549 + sp:arg3 [ rdf:type sp:if ;
1550 + sp:arg1 [ rdf:type sp:eq ;
1551 + sp:arg1 spin:_arg1 ;
1552 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#STP_60degF1atm>
1553 + ] ;
1554 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#VolumeFlowRateAt60degF1atm> ;
1555 + sp:arg3 [ rdf:type sp:if ;
1556 + sp:arg1 [ rdf:type sp:eq ;
1557 + sp:arg1 spin:_arg1 ;
1558 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#STP_0degC1atm>
1559 + ] ;
1560 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#VolumeFlowRateAt15degC1atm> ;
1561 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#MeasureOfFlowOfMaterial>
1562 + ]
1563 + ]
1564 + ] ;
1565 + sp:variable _:b26
1566 + ])
1567 + ] .
1568 +
1569 +ep-dpr-spin-lib:selectVolumeFlowRateScale
1570 + rdf:type spin:Function ;
1571 + rdfs:label "select VolumeFlowRate scale"^^xsd:string ;
1572 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
1573 + spin:body
1574 + [ rdf:type sp:Select ;
1575 + sp:resultVariables (_:b27) ;
1576 + sp:where ([ rdf:type sp:Bind ;
1577 + sp:expression
1578 + [ rdf:type sp:if ;
1579 + sp:arg1 [ rdf:type sp:eq ;
1580 + sp:arg1 spin:_arg1 ;
1581 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VFRU_m3d>
1582 + ] ;
1583 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre3_day-1> ;
1584 + sp:arg3 [ rdf:type sp:if ;
1585 + sp:arg1 [ rdf:type sp:eq ;
1586 + sp:arg1 spin:_arg1 ;
1587 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VFRU_bbld>
1588 + ] ;
1589 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#barrel_day-1> ;
1590 + sp:arg3 [ rdf:type sp:if ;
1591 + sp:arg1 [ rdf:type sp:eq ;
1592 + sp:arg1 spin:_arg1 ;
1593 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VFRU_m3h>
1594 + ] ;
1595 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre3_hour-1> ;
1596 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1597 + ]
1598 + ]
1599 + ] ;
1600 + sp:variable _:b27
1363 ]) 1601 ])
1364 ] . 1602 ] .
1365 1603
...@@ -1369,7 +1607,7 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1369,7 +1607,7 @@ ep-dpr-spin-lib:selectVolumeScale
1369 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1607 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1370 spin:body 1608 spin:body
1371 [ rdf:type sp:Select ; 1609 [ rdf:type sp:Select ;
1372 - sp:resultVariables (_:b21) ; 1610 + sp:resultVariables (_:b28) ;
1373 sp:where ([ rdf:type sp:Bind ; 1611 sp:where ([ rdf:type sp:Bind ;
1374 sp:expression 1612 sp:expression
1375 [ rdf:type sp:if ; 1613 [ rdf:type sp:if ;
...@@ -1597,60 +1835,81 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1597,60 +1835,81 @@ ep-dpr-spin-lib:selectVolumeScale
1597 ] 1835 ]
1598 ] 1836 ]
1599 ] ; 1837 ] ;
1600 - sp:variable _:b21 1838 + sp:variable _:b28
1601 ]) 1839 ])
1602 ] . 1840 ] .
1603 1841
1604 -_:b1 sp:varName "uri"^^xsd:string . 1842 +_:b10
1843 + sp:varName "durationScale"^^xsd:string .
1605 1844
1606 -_:b4 sp:varName "uri"^^xsd:string . 1845 +_:b11
1846 + sp:varName "lengthScale"^^xsd:string .
1847 +
1848 +_:b12
1849 + sp:varName "pressureScale"^^xsd:string .
1607 1850
1608 _:b21 1851 _:b21
1609 - sp:varName "volumeScale"^^xsd:string . 1852 + sp:varName "specificVolumeScale"^^xsd:string .
1610 1853
1611 -_:b20 1854 +_:b26
1612 - sp:varName "volumeAtStdType"^^xsd:string . 1855 + sp:varName "volumeFlowRateAtStdType"^^xsd:string .
1613 1856
1614 -_:b19 1857 +_:b27
1615 - sp:varName "prodActType"^^xsd:string . 1858 + sp:varName "volumeFlowRateScale"^^xsd:string .
1616 1859
1617 -_:b18 1860 +_:b22
1618 - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . 1861 + sp:varName "temperatureScale"^^xsd:string .
1619 1862
1620 -_:b17 1863 +_:b1 sp:varName "uri"^^xsd:string .
1621 - sp:varName "safetyActivityType"^^xsd:string .
1622 1864
1623 -_:b16 1865 +_:b2 sp:varName "uri"^^xsd:string .
1624 - sp:varName "relationshipToMeasure"^^xsd:string .
1625 1866
1626 -_:b15 1867 +_:b3 sp:varName "uri"^^xsd:string .
1627 - sp:varName "productionFlowPurposeType"^^xsd:string .
1628 1868
1629 -_:b14 1869 +_:b4 sp:varName "uri"^^xsd:string .
1630 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1870 +
1871 +_:b5 sp:varName "uri"^^xsd:string .
1872 +
1873 +_:b6 sp:varName "uri"^^xsd:string .
1874 +
1875 +_:b7 sp:varName "uri"^^xsd:string .
1876 +
1877 +_:b8 sp:varName "uri"^^xsd:string .
1878 +
1879 +_:b9 sp:varName "uri"^^xsd:string .
1631 1880
1632 _:b13 1881 _:b13
1633 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1882 + sp:varName "productType"^^xsd:string .
1634 1883
1635 -_:b12 1884 +_:b14
1885 + sp:varName "productionFacilityType"^^xsd:string .
1886 +
1887 +_:b15
1636 sp:varName "productionFlowDefinitionType"^^xsd:string . 1888 sp:varName "productionFlowDefinitionType"^^xsd:string .
1637 1889
1638 -_:b11 1890 +_:b16
1639 - sp:varName "productionFacilityType"^^xsd:string . 1891 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1640 1892
1641 -_:b10 1893 +_:b17
1642 - sp:varName "productType"^^xsd:string . 1894 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1643 1895
1644 -_:b9 sp:varName "uri"^^xsd:string . 1896 +_:b18
1897 + sp:varName "productionFlowPurposeType"^^xsd:string .
1645 1898
1646 -_:b8 sp:varName "uri"^^xsd:string . 1899 +_:b19
1900 + sp:varName "relationshipToMeasure"^^xsd:string .
1647 1901
1648 -_:b7 sp:varName "uri"^^xsd:string . 1902 +_:b20
1903 + sp:varName "safetyActivityType"^^xsd:string .
1649 1904
1650 -_:b6 sp:varName "uri"^^xsd:string . 1905 +_:b23
1906 + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
1651 1907
1652 -_:b5 sp:varName "uri"^^xsd:string . 1908 +_:b24
1909 + sp:varName "prodActType"^^xsd:string .
1653 1910
1654 -_:b3 sp:varName "uri"^^xsd:string . 1911 +_:b25
1912 + sp:varName "volumeAtStdType"^^xsd:string .
1655 1913
1656 -_:b2 sp:varName "uri"^^xsd:string . 1914 +_:b28
1915 + sp:varName "volumeScale"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Oct 12 16:32:18 BST 2011 1 +# Saved by TopBraid on Wed Oct 12 20:37:18 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#> .
......
This diff could not be displayed because it is too large.