MonkeyChap

Put in missing select function for production operation activities

# Saved by TopBraid on Thu Oct 13 17:25:55 BST 2011
# Saved by TopBraid on Thu Oct 13 18:07:56 BST 2011
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/schema/1.0/well
......@@ -1153,13 +1153,75 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
])
] .
ep-dpr-spin-lib:selectProductionOperationPartType
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b24) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_production>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_maintenance>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#MaintenanceActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_powerstationfailure>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#PowerStationFailure> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_deviations>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#Deviation> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_airtraffic>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AirTrafficOperation> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#OK_construction>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#ConstructionOperation> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TU_s>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#second> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/production-activity#PartOfProductionActivity>
]
]
]
]
]
]
] ;
sp:variable _:b24
])
] .
ep-dpr-spin-lib:selectRelationshipToMeasure
rdf:type spin:Function ;
rdfs:label "select RelationshipToMeasure"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b24) ;
sp:resultVariables (_:b25) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1233,7 +1295,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
]
]
] ;
sp:variable _:b24
sp:variable _:b25
])
] .
......@@ -1242,7 +1304,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b25) ;
sp:resultVariables (_:b26) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1386,7 +1448,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
] ;
sp:variable _:b25
sp:variable _:b26
])
] .
......@@ -1396,7 +1458,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b26) ;
sp:resultVariables (_:b27) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1407,7 +1469,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b26
sp:variable _:b27
])
] .
......@@ -1417,7 +1479,7 @@ ep-dpr-spin-lib:selectTemperatureScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b27) ;
sp:resultVariables (_:b28) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1435,7 +1497,7 @@ ep-dpr-spin-lib:selectTemperatureScale
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
] ;
sp:variable _:b27
sp:variable _:b28
])
] .
......@@ -1445,7 +1507,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:resultVariables (_:b29) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1519,7 +1581,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
] ;
sp:variable _:b28
sp:variable _:b29
])
] .
......@@ -1528,7 +1590,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:resultVariables (_:b30) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1602,7 +1664,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
]
]
] ;
sp:variable _:b29
sp:variable _:b30
])
] .
......@@ -1612,7 +1674,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b30) ;
sp:resultVariables (_:b31) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1637,7 +1699,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
] ;
sp:variable _:b30
sp:variable _:b31
])
] .
......@@ -1647,7 +1709,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b31) ;
sp:resultVariables (_:b32) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1672,7 +1734,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
] ;
sp:variable _:b31
sp:variable _:b32
])
] .
......@@ -1682,7 +1744,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b32) ;
sp:resultVariables (_:b33) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1707,7 +1769,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
]
]
] ;
sp:variable _:b32
sp:variable _:b33
])
] .
......@@ -1717,7 +1779,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b33) ;
sp:resultVariables (_:b34) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1945,7 +2007,7 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
] ;
sp:variable _:b33
sp:variable _:b34
])
] .
......@@ -2005,36 +2067,39 @@ _:b22
_:b23
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b24
_:b25
sp:varName "relationshipToMeasure"^^xsd:string .
_:b25
_:b26
sp:varName "safetyActivityType"^^xsd:string .
_:b26
_:b27
sp:varName "specificVolumeScale"^^xsd:string .
_:b27
_:b28
sp:varName "temperatureScale"^^xsd:string .
_:b28
_:b29
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b29
_:b30
sp:varName "prodActType"^^xsd:string .
_:b30
_:b31
sp:varName "volumeAtStdType"^^xsd:string .
_:b31
_:b32
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b32
_:b33
sp:varName "volumeFlowRateScale"^^xsd:string .
_:b33
_:b34
sp:varName "volumeScale"^^xsd:string .
_:b3 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "popType"^^xsd:string .
......
# Saved by TopBraid on Thu Oct 13 17:25:56 BST 2011
# Saved by TopBraid on Thu Oct 13 18:07:56 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......