David Leal

Added volumePerVolume scale

# Saved by TopBraid on Sat Oct 08 14:19:39 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
@prefix ep-prodeqt: <http://www.reportinghub.no/ep/schema/production-equipment#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -10,5 +10,21 @@
<http://www.reportinghub.no/ep/schema/1.0/production-equipment>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodeqt:CargoShip
rdf:type owl:Class ;
rdfs:label "cargo ship"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Vessel .
ep-prodeqt:Vessel
rdf:type owl:Class ;
rdfs:label "vessel"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:hasCaptain
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-prodeqt:Vessel ;
rdfs:label "has captain"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#Person> .
......
......@@ -20,7 +20,7 @@
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
......@@ -5079,6 +5079,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b30) ;
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#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b30
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
......@@ -5158,22 +5174,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b30) ;
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#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b30
])
] .
ep-dpr-spin-lib:selectTemperatureScale
......@@ -5476,6 +5476,30 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
])
] .
ep-dpr-spin-lib:selectVolumePerVolumeScale
rdf:type spin:Function ;
rdfs:label "select VolumePerVolume scale"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "volumePerVolumeScale"^^xsd:string
]) ;
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#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable
[ sp:varName "volumePerVolumeScale"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectVolumeScale
rdf:type spin:Function ;
rdfs:label "select VolumeScale"^^xsd:string ;
......@@ -5766,104 +5790,104 @@ ep-dpr-spin-lib:selectWellTestReasonType
])
] .
_:b37
sp:varName "volumeScale"^^xsd:string .
_:b36
sp:varName "volumeFlowRateScale"^^xsd:string .
_:b35
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b34
sp:varName "volumeAtStdType"^^xsd:string .
_:b33
sp:varName "prodActType"^^xsd:string .
_:b32
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b31
sp:varName "temperatureScale"^^xsd:string .
_:b30
sp:varName "specificVolumeScale"^^xsd:string .
_:b29
sp:varName "safetyActivityType"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "relationshipToMeasure"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b27
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b26
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFacilityType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b21
sp:varName "durationScale"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b19
_:b11
sp:varName "uri"^^xsd:string .
_:b18
_:b12
sp:varName "uri"^^xsd:string .
_:b17
_:b13
sp:varName "uri"^^xsd:string .
_:b16
_:b14
sp:varName "uri"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b14
_:b16
sp:varName "uri"^^xsd:string .
_:b13
_:b17
sp:varName "uri"^^xsd:string .
_:b12
_:b18
sp:varName "uri"^^xsd:string .
_:b11
_:b19
sp:varName "uri"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b21
sp:varName "durationScale"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFacilityType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b26
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b27
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "relationshipToMeasure"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b29
sp:varName "safetyActivityType"^^xsd:string .
_:b30
sp:varName "specificVolumeScale"^^xsd:string .
_:b31
sp:varName "temperatureScale"^^xsd:string .
_:b32
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b33
sp:varName "prodActType"^^xsd:string .
_:b34
sp:varName "volumeAtStdType"^^xsd:string .
_:b35
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b36
sp:varName "volumeFlowRateScale"^^xsd:string .
_:b37
sp:varName "volumeScale"^^xsd:string .
......