Few fixes to mappings - still not got water cleansing working though - amount of…
… oil property won't set
Showing
2 changed files
with
122 additions
and
117 deletions
1 | -# Saved by TopBraid on Fri Oct 14 20:23:54 BST 2011 | 1 | +# Saved by TopBraid on Fri Oct 14 21:14:36 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/lib | 4 | # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib |
... | @@ -991,6 +991,9 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs | ... | @@ -991,6 +991,9 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs |
991 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#oilInWater> ; | 991 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#oilInWater> ; |
992 | sp:subject _:b124 | 992 | sp:subject _:b124 |
993 | ] [ sp:object _:b129 ; | 993 | ] [ sp:object _:b129 ; |
994 | + sp:predicate _:b130 ; | ||
995 | + sp:subject _:b128 | ||
996 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#SpecificMass> ; | ||
994 | sp:predicate rdf:type ; | 997 | sp:predicate rdf:type ; |
995 | sp:subject _:b128 | 998 | sp:subject _:b128 |
996 | ]) ; | 999 | ]) ; |
... | @@ -998,24 +1001,24 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs | ... | @@ -998,24 +1001,24 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs |
998 | sp:expression | 1001 | sp:expression |
999 | [ rdf:type spif:generateUUID | 1002 | [ rdf:type spif:generateUUID |
1000 | ] ; | 1003 | ] ; |
1001 | - sp:variable _:b130 | 1004 | + sp:variable _:b131 |
1002 | ] [ rdf:type sp:Bind ; | 1005 | ] [ rdf:type sp:Bind ; |
1003 | sp:expression | 1006 | sp:expression |
1004 | [ rdf:type spif:buildURI ; | 1007 | [ rdf:type spif:buildURI ; |
1005 | sp:arg1 "https://www.reportinghub.no/ep/data/waterCleaningQuality/{?1}" ; | 1008 | sp:arg1 "https://www.reportinghub.no/ep/data/waterCleaningQuality/{?1}" ; |
1006 | - sp:arg2 _:b130 | 1009 | + sp:arg2 _:b131 |
1007 | ] ; | 1010 | ] ; |
1008 | sp:variable _:b119 | 1011 | sp:variable _:b119 |
1009 | ] [ rdf:type sp:Bind ; | 1012 | ] [ rdf:type sp:Bind ; |
1010 | sp:expression | 1013 | sp:expression |
1011 | [ rdf:type spif:generateUUID | 1014 | [ rdf:type spif:generateUUID |
1012 | ] ; | 1015 | ] ; |
1013 | - sp:variable _:b131 | 1016 | + sp:variable _:b132 |
1014 | ] [ rdf:type sp:Bind ; | 1017 | ] [ rdf:type sp:Bind ; |
1015 | sp:expression | 1018 | sp:expression |
1016 | [ rdf:type spif:buildURI ; | 1019 | [ rdf:type spif:buildURI ; |
1017 | sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/{?1}" ; | 1020 | sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/{?1}" ; |
1018 | - sp:arg2 _:b131 | 1021 | + sp:arg2 _:b132 |
1019 | ] ; | 1022 | ] ; |
1020 | sp:variable _:b124 | 1023 | sp:variable _:b124 |
1021 | ] [ rdf:type sp:Optional ; | 1024 | ] [ rdf:type sp:Optional ; |
... | @@ -1037,15 +1040,13 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs | ... | @@ -1037,15 +1040,13 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs |
1037 | sp:subject spin:_this | 1040 | sp:subject spin:_this |
1038 | ]) | 1041 | ]) |
1039 | ] [ rdf:type sp:Optional ; | 1042 | ] [ rdf:type sp:Optional ; |
1040 | - sp:elements ([ sp:object _:b132 ; | 1043 | + sp:elements ([ sp:object _:b133 ; |
1041 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#amountOfOilRef> ; | 1044 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#amountOfOilRef> ; |
1042 | sp:subject spin:_this | 1045 | sp:subject spin:_this |
1043 | - ] [ sp:object | 1046 | + ] [ sp:object _:b129 ; |
1044 | - [ sp:varName "oilAmountVal"^^xsd:string | ||
1045 | - ] ; | ||
1046 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1047 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
1047 | - sp:subject _:b132 | 1048 | + sp:subject _:b133 |
1048 | - ] [ sp:object _:b133 ; | 1049 | + ] [ sp:object _:b134 ; |
1049 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 1050 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
1050 | sp:subject | 1051 | sp:subject |
1051 | [ sp:varName "oilAmounrRef"^^xsd:string | 1052 | [ sp:varName "oilAmounrRef"^^xsd:string |
... | @@ -1053,83 +1054,81 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs | ... | @@ -1053,83 +1054,81 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs |
1053 | ] [ rdf:type sp:Bind ; | 1054 | ] [ rdf:type sp:Bind ; |
1054 | sp:expression | 1055 | sp:expression |
1055 | [ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ; | 1056 | [ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ; |
1056 | - sp:arg1 _:b133 | 1057 | + sp:arg1 _:b134 |
1057 | ] ; | 1058 | ] ; |
1058 | sp:variable _:b127 | 1059 | sp:variable _:b127 |
1059 | ] [ rdf:type sp:Bind ; | 1060 | ] [ rdf:type sp:Bind ; |
1060 | sp:expression | 1061 | sp:expression |
1061 | [ rdf:type spif:generateUUID | 1062 | [ rdf:type spif:generateUUID |
1062 | ] ; | 1063 | ] ; |
1063 | - sp:variable _:b134 | 1064 | + sp:variable _:b135 |
1064 | ] [ rdf:type sp:Bind ; | 1065 | ] [ rdf:type sp:Bind ; |
1065 | sp:expression | 1066 | sp:expression |
1066 | [ rdf:type spif:buildURI ; | 1067 | [ rdf:type spif:buildURI ; |
1067 | sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/amountOfOil/{?1}" ; | 1068 | sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/amountOfOil/{?1}" ; |
1068 | - sp:arg2 _:b134 | 1069 | + sp:arg2 _:b135 |
1069 | ] ; | 1070 | ] ; |
1070 | sp:variable _:b126 | 1071 | sp:variable _:b126 |
1071 | ]) | 1072 | ]) |
1072 | ] [ rdf:type sp:Optional ; | 1073 | ] [ rdf:type sp:Optional ; |
1073 | - sp:elements ([ sp:object _:b135 ; | 1074 | + sp:elements ([ sp:object _:b136 ; |
1074 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#oilInWaterProducedRef> ; | 1075 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#oilInWaterProducedRef> ; |
1075 | sp:subject spin:_this | 1076 | sp:subject spin:_this |
1076 | ] [ sp:object | 1077 | ] [ sp:object |
1077 | [ sp:varName "owVal"^^xsd:string | 1078 | [ sp:varName "owVal"^^xsd:string |
1078 | ] ; | 1079 | ] ; |
1079 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1080 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
1080 | - sp:subject _:b135 | 1081 | + sp:subject _:b136 |
1081 | - ] [ sp:object | 1082 | + ] [ sp:object _:b137 ; |
1082 | - [ sp:varName "owUOM"^^xsd:string | ||
1083 | - ] ; | ||
1084 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 1083 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
1085 | - sp:subject _:b135 | 1084 | + sp:subject _:b136 |
1086 | ] [ rdf:type sp:Bind ; | 1085 | ] [ rdf:type sp:Bind ; |
1087 | sp:expression | 1086 | sp:expression |
1088 | [ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ; | 1087 | [ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ; |
1089 | - sp:arg1 _:b133 | 1088 | + sp:arg1 _:b137 |
1090 | ] ; | 1089 | ] ; |
1091 | - sp:variable _:b129 | 1090 | + sp:variable _:b130 |
1092 | ] [ rdf:type sp:Bind ; | 1091 | ] [ rdf:type sp:Bind ; |
1093 | sp:expression | 1092 | sp:expression |
1094 | [ rdf:type spif:generateUUID | 1093 | [ rdf:type spif:generateUUID |
1095 | ] ; | 1094 | ] ; |
1096 | - sp:variable _:b136 | 1095 | + sp:variable _:b138 |
1097 | ] [ rdf:type sp:Bind ; | 1096 | ] [ rdf:type sp:Bind ; |
1098 | sp:expression | 1097 | sp:expression |
1099 | [ rdf:type spif:buildURI ; | 1098 | [ rdf:type spif:buildURI ; |
1100 | - sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/amountOfOil/{?1}" ; | 1099 | + sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/oilInWater/{?1}" ; |
1101 | - sp:arg2 _:b136 | 1100 | + sp:arg2 _:b138 |
1102 | ] ; | 1101 | ] ; |
1103 | sp:variable _:b128 | 1102 | sp:variable _:b128 |
1104 | ]) | 1103 | ]) |
1105 | ] [ rdf:type sp:Optional ; | 1104 | ] [ rdf:type sp:Optional ; |
1106 | - sp:elements ([ sp:object _:b137 ; | 1105 | + sp:elements ([ sp:object _:b139 ; |
1107 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ; | 1106 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ; |
1108 | - sp:subject _:b138 | 1107 | + sp:subject _:b140 |
1109 | ] [ sp:object spin:_this ; | 1108 | ] [ sp:object spin:_this ; |
1110 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#waterCleaningQualityRef> ; | 1109 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#waterCleaningQualityRef> ; |
1111 | - sp:subject _:b137 | 1110 | + sp:subject _:b139 |
1112 | - ] [ sp:object _:b139 ; | 1111 | + ] [ sp:object _:b141 ; |
1113 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ; | 1112 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ; |
1114 | - sp:subject _:b138 | 1113 | + sp:subject _:b140 |
1115 | - ] [ sp:object _:b140 ; | 1114 | + ] [ sp:object _:b142 ; |
1116 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1115 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
1117 | - sp:subject _:b139 | ||
1118 | - ] [ sp:object _:b138 ; | ||
1119 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ; | ||
1120 | sp:subject _:b141 | 1116 | sp:subject _:b141 |
1121 | - ] [ sp:object _:b142 ; | 1117 | + ] [ sp:object _:b140 ; |
1118 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ; | ||
1119 | + sp:subject _:b143 | ||
1120 | + ] [ sp:object _:b144 ; | ||
1122 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ; | 1121 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ; |
1123 | - sp:subject _:b141 | 1122 | + sp:subject _:b143 |
1124 | - ] [ sp:object _:b143 ; | 1123 | + ] [ sp:object _:b145 ; |
1125 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ; | 1124 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ; |
1126 | - sp:subject _:b141 | 1125 | + sp:subject _:b143 |
1127 | ] [ rdf:type sp:Bind ; | 1126 | ] [ rdf:type sp:Bind ; |
1128 | sp:expression | 1127 | sp:expression |
1129 | [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ; | 1128 | [ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ; |
1130 | - sp:arg1 _:b140 ; | 1129 | + sp:arg1 _:b142 ; |
1131 | - sp:arg2 _:b142 ; | 1130 | + sp:arg2 _:b144 ; |
1132 | - sp:arg3 _:b143 | 1131 | + sp:arg3 _:b145 |
1133 | ] ; | 1132 | ] ; |
1134 | sp:variable _:b122 | 1133 | sp:variable _:b122 |
1135 | ]) | 1134 | ]) |
... | @@ -1370,81 +1369,6 @@ _:b117 | ... | @@ -1370,81 +1369,6 @@ _:b117 |
1370 | _:b118 | 1369 | _:b118 |
1371 | sp:varName "endDate"^^xsd:string . | 1370 | sp:varName "endDate"^^xsd:string . |
1372 | 1371 | ||
1373 | -_:b119 | ||
1374 | - sp:varName "epWaterClean"^^xsd:string . | ||
1375 | - | ||
1376 | -_:b120 | ||
1377 | - sp:varName "startTime"^^xsd:string . | ||
1378 | - | ||
1379 | -_:b121 | ||
1380 | - sp:varName "endTime"^^xsd:string . | ||
1381 | - | ||
1382 | -_:b122 | ||
1383 | - sp:varName "epInstProdOpAct"^^xsd:string . | ||
1384 | - | ||
1385 | -_:b123 | ||
1386 | - sp:varName "samplePoint"^^xsd:string . | ||
1387 | - | ||
1388 | -_:b124 | ||
1389 | - sp:varName "epWaterSample"^^xsd:string . | ||
1390 | - | ||
1391 | -_:b125 | ||
1392 | - sp:varName "phVal"^^xsd:string . | ||
1393 | - | ||
1394 | -_:b126 | ||
1395 | - sp:varName "epOilAmount"^^xsd:string . | ||
1396 | - | ||
1397 | -_:b127 | ||
1398 | - sp:varName "epOilAmountUOM"^^xsd:string . | ||
1399 | - | ||
1400 | -_:b128 | ||
1401 | - sp:varName "epOilInWater"^^xsd:string . | ||
1402 | - | ||
1403 | -_:b129 | ||
1404 | - sp:varName "epOwUOM"^^xsd:string . | ||
1405 | - | ||
1406 | -_:b130 | ||
1407 | - sp:varName "UUID"^^xsd:string . | ||
1408 | - | ||
1409 | -_:b131 | ||
1410 | - sp:varName "wsUUID"^^xsd:string . | ||
1411 | - | ||
1412 | -_:b132 | ||
1413 | - sp:varName "oilAmountRef"^^xsd:string . | ||
1414 | - | ||
1415 | -_:b133 | ||
1416 | - sp:varName "oilAmountUOM"^^xsd:string . | ||
1417 | - | ||
1418 | -_:b134 | ||
1419 | - sp:varName "oaUUID"^^xsd:string . | ||
1420 | - | ||
1421 | -_:b135 | ||
1422 | - sp:varName "oilInWaterRef"^^xsd:string . | ||
1423 | - | ||
1424 | -_:b136 | ||
1425 | - sp:varName "owUUID"^^xsd:string . | ||
1426 | - | ||
1427 | -_:b137 | ||
1428 | - sp:varName "prodAct"^^xsd:string . | ||
1429 | - | ||
1430 | -_:b138 | ||
1431 | - sp:varName "instRep"^^xsd:string . | ||
1432 | - | ||
1433 | -_:b139 | ||
1434 | - sp:varName "installation"^^xsd:string . | ||
1435 | - | ||
1436 | -_:b140 | ||
1437 | - sp:varName "installName"^^xsd:string . | ||
1438 | - | ||
1439 | -_:b141 | ||
1440 | - sp:varName "parentRep"^^xsd:string . | ||
1441 | - | ||
1442 | -_:b142 | ||
1443 | - sp:varName "startDate"^^xsd:string . | ||
1444 | - | ||
1445 | -_:b143 | ||
1446 | - sp:varName "endDate"^^xsd:string . | ||
1447 | - | ||
1448 | _:b55 | 1372 | _:b55 |
1449 | sp:varName "beds"^^xsd:string . | 1373 | sp:varName "beds"^^xsd:string . |
1450 | 1374 | ||
... | @@ -1549,3 +1473,84 @@ _:b2 sp:varName "epDailyProdAct"^^xsd:string . | ... | @@ -1549,3 +1473,84 @@ _:b2 sp:varName "epDailyProdAct"^^xsd:string . |
1549 | _:b8 sp:varName "epAnnualProdAct"^^xsd:string . | 1473 | _:b8 sp:varName "epAnnualProdAct"^^xsd:string . |
1550 | 1474 | ||
1551 | _:b9 sp:varName "epProdActToDate"^^xsd:string . | 1475 | _:b9 sp:varName "epProdActToDate"^^xsd:string . |
1476 | + | ||
1477 | +_:b131 | ||
1478 | + sp:varName "UUID"^^xsd:string . | ||
1479 | + | ||
1480 | +_:b119 | ||
1481 | + sp:varName "epWaterClean"^^xsd:string . | ||
1482 | + | ||
1483 | +_:b132 | ||
1484 | + sp:varName "wsUUID"^^xsd:string . | ||
1485 | + | ||
1486 | +_:b124 | ||
1487 | + sp:varName "epWaterSample"^^xsd:string . | ||
1488 | + | ||
1489 | +_:b121 | ||
1490 | + sp:varName "endTime"^^xsd:string . | ||
1491 | + | ||
1492 | +_:b120 | ||
1493 | + sp:varName "startTime"^^xsd:string . | ||
1494 | + | ||
1495 | +_:b123 | ||
1496 | + sp:varName "samplePoint"^^xsd:string . | ||
1497 | + | ||
1498 | +_:b125 | ||
1499 | + sp:varName "phVal"^^xsd:string . | ||
1500 | + | ||
1501 | +_:b133 | ||
1502 | + sp:varName "oilAmountRef"^^xsd:string . | ||
1503 | + | ||
1504 | +_:b129 | ||
1505 | + sp:varName "oilAmountVal"^^xsd:string . | ||
1506 | + | ||
1507 | +_:b134 | ||
1508 | + sp:varName "oilAmountUOM"^^xsd:string . | ||
1509 | + | ||
1510 | +_:b127 | ||
1511 | + sp:varName "epOilAmountUOM"^^xsd:string . | ||
1512 | + | ||
1513 | +_:b135 | ||
1514 | + sp:varName "oaUUID"^^xsd:string . | ||
1515 | + | ||
1516 | +_:b126 | ||
1517 | + sp:varName "epOilAmount"^^xsd:string . | ||
1518 | + | ||
1519 | +_:b136 | ||
1520 | + sp:varName "oilInWaterRef"^^xsd:string . | ||
1521 | + | ||
1522 | +_:b137 | ||
1523 | + sp:varName "owUOM"^^xsd:string . | ||
1524 | + | ||
1525 | +_:b130 | ||
1526 | + sp:varName "epOwUOM"^^xsd:string . | ||
1527 | + | ||
1528 | +_:b138 | ||
1529 | + sp:varName "owUUID"^^xsd:string . | ||
1530 | + | ||
1531 | +_:b128 | ||
1532 | + sp:varName "epOilInWater"^^xsd:string . | ||
1533 | + | ||
1534 | +_:b140 | ||
1535 | + sp:varName "instRep"^^xsd:string . | ||
1536 | + | ||
1537 | +_:b139 | ||
1538 | + sp:varName "prodAct"^^xsd:string . | ||
1539 | + | ||
1540 | +_:b141 | ||
1541 | + sp:varName "installation"^^xsd:string . | ||
1542 | + | ||
1543 | +_:b142 | ||
1544 | + sp:varName "installName"^^xsd:string . | ||
1545 | + | ||
1546 | +_:b143 | ||
1547 | + sp:varName "parentRep"^^xsd:string . | ||
1548 | + | ||
1549 | +_:b144 | ||
1550 | + sp:varName "startDate"^^xsd:string . | ||
1551 | + | ||
1552 | +_:b145 | ||
1553 | + sp:varName "endDate"^^xsd:string . | ||
1554 | + | ||
1555 | +_:b122 | ||
1556 | + sp:varName "epInstProdOpAct"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Fri Oct 14 20:23:54 BST 2011 | 1 | +# Saved by TopBraid on Fri Oct 14 21:14:36 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#> . | ... | ... |
-
Please register or login to post a comment