Put in missing select function for production operation activities
Showing
2 changed files
with
97 additions
and
32 deletions
1 | -# Saved by TopBraid on Thu Oct 13 17:25:55 BST 2011 | 1 | +# Saved by TopBraid on Thu Oct 13 18:07:56 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 |
... | @@ -1153,13 +1153,75 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -1153,13 +1153,75 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType |
1153 | ]) | 1153 | ]) |
1154 | ] . | 1154 | ] . |
1155 | 1155 | ||
1156 | +ep-dpr-spin-lib:selectProductionOperationPartType | ||
1157 | + rdf:type spin:Function ; | ||
1158 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
1159 | + spin:body | ||
1160 | + [ rdf:type sp:Select ; | ||
1161 | + sp:resultVariables (_:b24) ; | ||
1162 | + sp:where ([ rdf:type sp:Bind ; | ||
1163 | + sp:expression | ||
1164 | + [ rdf:type sp:if ; | ||
1165 | + sp:arg1 [ rdf:type sp:eq ; | ||
1166 | + sp:arg1 spin:_arg1 ; | ||
1167 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_production> | ||
1168 | + ] ; | ||
1169 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; | ||
1170 | + sp:arg3 [ rdf:type sp:if ; | ||
1171 | + sp:arg1 [ rdf:type sp:eq ; | ||
1172 | + sp:arg1 spin:_arg1 ; | ||
1173 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_maintenance> | ||
1174 | + ] ; | ||
1175 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#MaintenanceActivity> ; | ||
1176 | + sp:arg3 [ rdf:type sp:if ; | ||
1177 | + sp:arg1 [ rdf:type sp:eq ; | ||
1178 | + sp:arg1 spin:_arg1 ; | ||
1179 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_powerstationfailure> | ||
1180 | + ] ; | ||
1181 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#PowerStationFailure> ; | ||
1182 | + sp:arg3 [ rdf:type sp:if ; | ||
1183 | + sp:arg1 [ rdf:type sp:eq ; | ||
1184 | + sp:arg1 spin:_arg1 ; | ||
1185 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_deviations> | ||
1186 | + ] ; | ||
1187 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#Deviation> ; | ||
1188 | + sp:arg3 [ rdf:type sp:if ; | ||
1189 | + sp:arg1 [ rdf:type sp:eq ; | ||
1190 | + sp:arg1 spin:_arg1 ; | ||
1191 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_airtraffic> | ||
1192 | + ] ; | ||
1193 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AirTrafficOperation> ; | ||
1194 | + sp:arg3 [ rdf:type sp:if ; | ||
1195 | + sp:arg1 [ rdf:type sp:eq ; | ||
1196 | + sp:arg1 spin:_arg1 ; | ||
1197 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_construction> | ||
1198 | + ] ; | ||
1199 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ConstructionOperation> ; | ||
1200 | + sp:arg3 [ rdf:type sp:if ; | ||
1201 | + sp:arg1 [ rdf:type sp:eq ; | ||
1202 | + sp:arg1 spin:_arg1 ; | ||
1203 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_s> | ||
1204 | + ] ; | ||
1205 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#second> ; | ||
1206 | + sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#PartOfProductionActivity> | ||
1207 | + ] | ||
1208 | + ] | ||
1209 | + ] | ||
1210 | + ] | ||
1211 | + ] | ||
1212 | + ] | ||
1213 | + ] ; | ||
1214 | + sp:variable _:b24 | ||
1215 | + ]) | ||
1216 | + ] . | ||
1217 | + | ||
1156 | ep-dpr-spin-lib:selectRelationshipToMeasure | 1218 | ep-dpr-spin-lib:selectRelationshipToMeasure |
1157 | rdf:type spin:Function ; | 1219 | rdf:type spin:Function ; |
1158 | rdfs:label "select RelationshipToMeasure"^^xsd:string ; | 1220 | rdfs:label "select RelationshipToMeasure"^^xsd:string ; |
1159 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1221 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1160 | spin:body | 1222 | spin:body |
1161 | [ rdf:type sp:Select ; | 1223 | [ rdf:type sp:Select ; |
1162 | - sp:resultVariables (_:b24) ; | 1224 | + sp:resultVariables (_:b25) ; |
1163 | sp:where ([ rdf:type sp:Bind ; | 1225 | sp:where ([ rdf:type sp:Bind ; |
1164 | sp:expression | 1226 | sp:expression |
1165 | [ rdf:type sp:if ; | 1227 | [ rdf:type sp:if ; |
... | @@ -1233,7 +1295,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure | ... | @@ -1233,7 +1295,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure |
1233 | ] | 1295 | ] |
1234 | ] | 1296 | ] |
1235 | ] ; | 1297 | ] ; |
1236 | - sp:variable _:b24 | 1298 | + sp:variable _:b25 |
1237 | ]) | 1299 | ]) |
1238 | ] . | 1300 | ] . |
1239 | 1301 | ||
... | @@ -1242,7 +1304,7 @@ ep-dpr-spin-lib:selectSafetyActivityType | ... | @@ -1242,7 +1304,7 @@ ep-dpr-spin-lib:selectSafetyActivityType |
1242 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1304 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1243 | spin:body | 1305 | spin:body |
1244 | [ rdf:type sp:Select ; | 1306 | [ rdf:type sp:Select ; |
1245 | - sp:resultVariables (_:b25) ; | 1307 | + sp:resultVariables (_:b26) ; |
1246 | sp:where ([ rdf:type sp:Bind ; | 1308 | sp:where ([ rdf:type sp:Bind ; |
1247 | sp:expression | 1309 | sp:expression |
1248 | [ rdf:type sp:if ; | 1310 | [ rdf:type sp:if ; |
... | @@ -1386,7 +1448,7 @@ ep-dpr-spin-lib:selectSafetyActivityType | ... | @@ -1386,7 +1448,7 @@ ep-dpr-spin-lib:selectSafetyActivityType |
1386 | ] | 1448 | ] |
1387 | ] | 1449 | ] |
1388 | ] ; | 1450 | ] ; |
1389 | - sp:variable _:b25 | 1451 | + sp:variable _:b26 |
1390 | ]) | 1452 | ]) |
1391 | ] . | 1453 | ] . |
1392 | 1454 | ||
... | @@ -1396,7 +1458,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale | ... | @@ -1396,7 +1458,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale |
1396 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1458 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1397 | spin:body | 1459 | spin:body |
1398 | [ rdf:type sp:Select ; | 1460 | [ rdf:type sp:Select ; |
1399 | - sp:resultVariables (_:b26) ; | 1461 | + sp:resultVariables (_:b27) ; |
1400 | sp:where ([ rdf:type sp:Bind ; | 1462 | sp:where ([ rdf:type sp:Bind ; |
1401 | sp:expression | 1463 | sp:expression |
1402 | [ rdf:type sp:if ; | 1464 | [ rdf:type sp:if ; |
... | @@ -1407,7 +1469,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale | ... | @@ -1407,7 +1469,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale |
1407 | sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | 1469 | sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; |
1408 | sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | 1470 | sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> |
1409 | ] ; | 1471 | ] ; |
1410 | - sp:variable _:b26 | 1472 | + sp:variable _:b27 |
1411 | ]) | 1473 | ]) |
1412 | ] . | 1474 | ] . |
1413 | 1475 | ||
... | @@ -1417,7 +1479,7 @@ ep-dpr-spin-lib:selectTemperatureScale | ... | @@ -1417,7 +1479,7 @@ ep-dpr-spin-lib:selectTemperatureScale |
1417 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1479 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1418 | spin:body | 1480 | spin:body |
1419 | [ rdf:type sp:Select ; | 1481 | [ rdf:type sp:Select ; |
1420 | - sp:resultVariables (_:b27) ; | 1482 | + sp:resultVariables (_:b28) ; |
1421 | sp:where ([ rdf:type sp:Bind ; | 1483 | sp:where ([ rdf:type sp:Bind ; |
1422 | sp:expression | 1484 | sp:expression |
1423 | [ rdf:type sp:if ; | 1485 | [ rdf:type sp:if ; |
... | @@ -1435,7 +1497,7 @@ ep-dpr-spin-lib:selectTemperatureScale | ... | @@ -1435,7 +1497,7 @@ ep-dpr-spin-lib:selectTemperatureScale |
1435 | sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | 1497 | sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> |
1436 | ] | 1498 | ] |
1437 | ] ; | 1499 | ] ; |
1438 | - sp:variable _:b27 | 1500 | + sp:variable _:b28 |
1439 | ]) | 1501 | ]) |
1440 | ] . | 1502 | ] . |
1441 | 1503 | ||
... | @@ -1445,7 +1507,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -1445,7 +1507,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
1445 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1507 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1446 | spin:body | 1508 | spin:body |
1447 | [ rdf:type sp:Select ; | 1509 | [ rdf:type sp:Select ; |
1448 | - sp:resultVariables (_:b28) ; | 1510 | + sp:resultVariables (_:b29) ; |
1449 | sp:where ([ rdf:type sp:Bind ; | 1511 | sp:where ([ rdf:type sp:Bind ; |
1450 | sp:expression | 1512 | sp:expression |
1451 | [ rdf:type sp:if ; | 1513 | [ rdf:type sp:if ; |
... | @@ -1519,7 +1581,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -1519,7 +1581,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
1519 | ] | 1581 | ] |
1520 | ] | 1582 | ] |
1521 | ] ; | 1583 | ] ; |
1522 | - sp:variable _:b28 | 1584 | + sp:variable _:b29 |
1523 | ]) | 1585 | ]) |
1524 | ] . | 1586 | ] . |
1525 | 1587 | ||
... | @@ -1528,7 +1590,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType | ... | @@ -1528,7 +1590,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType |
1528 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1590 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1529 | spin:body | 1591 | spin:body |
1530 | [ rdf:type sp:Select ; | 1592 | [ rdf:type sp:Select ; |
1531 | - sp:resultVariables (_:b29) ; | 1593 | + sp:resultVariables (_:b30) ; |
1532 | sp:where ([ rdf:type sp:Bind ; | 1594 | sp:where ([ rdf:type sp:Bind ; |
1533 | sp:expression | 1595 | sp:expression |
1534 | [ rdf:type sp:if ; | 1596 | [ rdf:type sp:if ; |
... | @@ -1602,7 +1664,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType | ... | @@ -1602,7 +1664,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType |
1602 | ] | 1664 | ] |
1603 | ] | 1665 | ] |
1604 | ] ; | 1666 | ] ; |
1605 | - sp:variable _:b29 | 1667 | + sp:variable _:b30 |
1606 | ]) | 1668 | ]) |
1607 | ] . | 1669 | ] . |
1608 | 1670 | ||
... | @@ -1612,7 +1674,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType | ... | @@ -1612,7 +1674,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType |
1612 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1674 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1613 | spin:body | 1675 | spin:body |
1614 | [ rdf:type sp:Select ; | 1676 | [ rdf:type sp:Select ; |
1615 | - sp:resultVariables (_:b30) ; | 1677 | + sp:resultVariables (_:b31) ; |
1616 | sp:where ([ rdf:type sp:Bind ; | 1678 | sp:where ([ rdf:type sp:Bind ; |
1617 | sp:expression | 1679 | sp:expression |
1618 | [ rdf:type sp:if ; | 1680 | [ rdf:type sp:if ; |
... | @@ -1637,7 +1699,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType | ... | @@ -1637,7 +1699,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType |
1637 | ] | 1699 | ] |
1638 | ] | 1700 | ] |
1639 | ] ; | 1701 | ] ; |
1640 | - sp:variable _:b30 | 1702 | + sp:variable _:b31 |
1641 | ]) | 1703 | ]) |
1642 | ] . | 1704 | ] . |
1643 | 1705 | ||
... | @@ -1647,7 +1709,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType | ... | @@ -1647,7 +1709,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType |
1647 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1709 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1648 | spin:body | 1710 | spin:body |
1649 | [ rdf:type sp:Select ; | 1711 | [ rdf:type sp:Select ; |
1650 | - sp:resultVariables (_:b31) ; | 1712 | + sp:resultVariables (_:b32) ; |
1651 | sp:where ([ rdf:type sp:Bind ; | 1713 | sp:where ([ rdf:type sp:Bind ; |
1652 | sp:expression | 1714 | sp:expression |
1653 | [ rdf:type sp:if ; | 1715 | [ rdf:type sp:if ; |
... | @@ -1672,7 +1734,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType | ... | @@ -1672,7 +1734,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType |
1672 | ] | 1734 | ] |
1673 | ] | 1735 | ] |
1674 | ] ; | 1736 | ] ; |
1675 | - sp:variable _:b31 | 1737 | + sp:variable _:b32 |
1676 | ]) | 1738 | ]) |
1677 | ] . | 1739 | ] . |
1678 | 1740 | ||
... | @@ -1682,7 +1744,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale | ... | @@ -1682,7 +1744,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale |
1682 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1744 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1683 | spin:body | 1745 | spin:body |
1684 | [ rdf:type sp:Select ; | 1746 | [ rdf:type sp:Select ; |
1685 | - sp:resultVariables (_:b32) ; | 1747 | + sp:resultVariables (_:b33) ; |
1686 | sp:where ([ rdf:type sp:Bind ; | 1748 | sp:where ([ rdf:type sp:Bind ; |
1687 | sp:expression | 1749 | sp:expression |
1688 | [ rdf:type sp:if ; | 1750 | [ rdf:type sp:if ; |
... | @@ -1707,7 +1769,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale | ... | @@ -1707,7 +1769,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale |
1707 | ] | 1769 | ] |
1708 | ] | 1770 | ] |
1709 | ] ; | 1771 | ] ; |
1710 | - sp:variable _:b32 | 1772 | + sp:variable _:b33 |
1711 | ]) | 1773 | ]) |
1712 | ] . | 1774 | ] . |
1713 | 1775 | ||
... | @@ -1717,7 +1779,7 @@ ep-dpr-spin-lib:selectVolumeScale | ... | @@ -1717,7 +1779,7 @@ ep-dpr-spin-lib:selectVolumeScale |
1717 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1779 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
1718 | spin:body | 1780 | spin:body |
1719 | [ rdf:type sp:Select ; | 1781 | [ rdf:type sp:Select ; |
1720 | - sp:resultVariables (_:b33) ; | 1782 | + sp:resultVariables (_:b34) ; |
1721 | sp:where ([ rdf:type sp:Bind ; | 1783 | sp:where ([ rdf:type sp:Bind ; |
1722 | sp:expression | 1784 | sp:expression |
1723 | [ rdf:type sp:if ; | 1785 | [ rdf:type sp:if ; |
... | @@ -1945,7 +2007,7 @@ ep-dpr-spin-lib:selectVolumeScale | ... | @@ -1945,7 +2007,7 @@ ep-dpr-spin-lib:selectVolumeScale |
1945 | ] | 2007 | ] |
1946 | ] | 2008 | ] |
1947 | ] ; | 2009 | ] ; |
1948 | - sp:variable _:b33 | 2010 | + sp:variable _:b34 |
1949 | ]) | 2011 | ]) |
1950 | ] . | 2012 | ] . |
1951 | 2013 | ||
... | @@ -2005,36 +2067,39 @@ _:b22 | ... | @@ -2005,36 +2067,39 @@ _:b22 |
2005 | _:b23 | 2067 | _:b23 |
2006 | sp:varName "productionFlowPurposeType"^^xsd:string . | 2068 | sp:varName "productionFlowPurposeType"^^xsd:string . |
2007 | 2069 | ||
2008 | -_:b24 | 2070 | +_:b25 |
2009 | sp:varName "relationshipToMeasure"^^xsd:string . | 2071 | sp:varName "relationshipToMeasure"^^xsd:string . |
2010 | 2072 | ||
2011 | -_:b25 | 2073 | +_:b26 |
2012 | sp:varName "safetyActivityType"^^xsd:string . | 2074 | sp:varName "safetyActivityType"^^xsd:string . |
2013 | 2075 | ||
2014 | -_:b26 | 2076 | +_:b27 |
2015 | sp:varName "specificVolumeScale"^^xsd:string . | 2077 | sp:varName "specificVolumeScale"^^xsd:string . |
2016 | 2078 | ||
2017 | -_:b27 | 2079 | +_:b28 |
2018 | sp:varName "temperatureScale"^^xsd:string . | 2080 | sp:varName "temperatureScale"^^xsd:string . |
2019 | 2081 | ||
2020 | -_:b28 | 2082 | +_:b29 |
2021 | sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | 2083 | sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . |
2022 | 2084 | ||
2023 | -_:b29 | 2085 | +_:b30 |
2024 | sp:varName "prodActType"^^xsd:string . | 2086 | sp:varName "prodActType"^^xsd:string . |
2025 | 2087 | ||
2026 | -_:b30 | 2088 | +_:b31 |
2027 | sp:varName "volumeAtStdType"^^xsd:string . | 2089 | sp:varName "volumeAtStdType"^^xsd:string . |
2028 | 2090 | ||
2029 | -_:b31 | 2091 | +_:b32 |
2030 | sp:varName "volumeFlowRateAtStdType"^^xsd:string . | 2092 | sp:varName "volumeFlowRateAtStdType"^^xsd:string . |
2031 | 2093 | ||
2032 | -_:b32 | 2094 | +_:b33 |
2033 | sp:varName "volumeFlowRateScale"^^xsd:string . | 2095 | sp:varName "volumeFlowRateScale"^^xsd:string . |
2034 | 2096 | ||
2035 | -_:b33 | 2097 | +_:b34 |
2036 | sp:varName "volumeScale"^^xsd:string . | 2098 | sp:varName "volumeScale"^^xsd:string . |
2037 | 2099 | ||
2038 | _:b3 sp:varName "uri"^^xsd:string . | 2100 | _:b3 sp:varName "uri"^^xsd:string . |
2039 | 2101 | ||
2040 | _:b2 sp:varName "uri"^^xsd:string . | 2102 | _:b2 sp:varName "uri"^^xsd:string . |
2103 | + | ||
2104 | +_:b24 | ||
2105 | + sp:varName "popType"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Thu Oct 13 17:25:56 BST 2011 | 1 | +# Saved by TopBraid on Thu Oct 13 18:07:56 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