MonkeyChap

Specific Volume UoMs

Had to rename old specific volume map as it was actually mapping mass
concentration
......@@ -20,7 +20,7 @@
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
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: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:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
......@@ -4908,6 +4908,259 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^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#SVU_L100kg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_100kg-1> ;
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#SVU_Lkg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_kg-1> ;
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#SVU_Lt>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_tonne-1> ;
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#SVU_LtonUK>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_UkTon-1> ;
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#SVU_bbltonUK>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#bbl_UkTon-1> ;
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#SVU_bbltonUS>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#bbl_UsTon-1> ;
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#SVU_cm3g>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#cm3_g-1> ;
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#SVU_dm3kg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#dm3_kg-1> ;
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#SVU_dm3t>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#dm3_t-1> ;
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#SVU_ft3kg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#ft3_kg-1> ;
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#SVU_ft3lbm>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#ft3_lbm-1> ;
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#SVU_ft3sack94>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#ft3_sack94-1> ;
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#SVU_galUKlbm>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#ukGallon_lbm-1> ;
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#SVU_galUSlbm>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_lbm-1> ;
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#SVU_galUSsack94>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_sack94-1> ;
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#SVU_galUStonUK>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_ukStone-1> ;
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#SVU_galUStonUS>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_usStone-1> ;
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#SVU_m3g>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_g-1> ;
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#SVU_m3kg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_kg-1> ;
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#SVU_m3t>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_tonne-1> ;
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#SVU_m3tonUK>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_ukTon-1> ;
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#SVU_m3tonUS>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_usTon-1> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdf:type spin:Function ;
rdfs:label "select SpecificVolume scale"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^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#MCU_ppk>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#ppk> ;
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#MCU_Euc>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#euclid> ;
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#MCU_kgkg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#kg_kg-1> ;
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#MCU_ppdk>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#ppdk> ;
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#MCU_ppm>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#partPerMillionByMass> ;
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#MCU_mgkg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#mg_kg-1> ;
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#MCU_>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
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#MCU_kgsack94>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#kg_sack94-1> ;
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#MCU_permil>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#perMil> ;
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#MCU_gkg>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#g_kg-1> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b30) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
......@@ -5513,6 +5766,51 @@ 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 .
_:b28
sp:varName "relationshipToMeasure"^^xsd:string .
_:b27
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b26
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b24
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b23
sp:varName "productionFacilityType"^^xsd:string .
_:b22
sp:varName "productType"^^xsd:string .
......@@ -5569,48 +5867,3 @@ _:b3 sp:varName "UUID"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b27
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b26
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b24
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b28
sp:varName "relationshipToMeasure"^^xsd:string .
_:b23
sp:varName "productionFacilityType"^^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 .
......