MonkeyChap

Specific Volume UoMs

Had to rename old specific volume map as it was actually mapping mass
concentration
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 20
21 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> 21 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
22 rdf:type owl:Ontology ; 22 rdf:type owl:Ontology ;
23 - 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> ; 23 + 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> ;
24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
25 25
26 ep-dpr-spin-lib:BuildDailyProductionReportURI 26 ep-dpr-spin-lib:BuildDailyProductionReportURI
...@@ -4908,6 +4908,259 @@ ep-dpr-spin-lib:selectSpecificVolumeScale ...@@ -4908,6 +4908,259 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
4908 rdfs:subClassOf ep-dpr-spin-lib:Function ; 4908 rdfs:subClassOf ep-dpr-spin-lib:Function ;
4909 spin:body 4909 spin:body
4910 [ rdf:type sp:Select ; 4910 [ rdf:type sp:Select ;
4911 + sp:resultVariables ([ sp:varName "myVar"^^xsd:string
4912 + ]) ;
4913 + sp:where ([ rdf:type sp:Bind ;
4914 + sp:expression
4915 + [ rdf:type sp:if ;
4916 + sp:arg1 [ rdf:type sp:eq ;
4917 + sp:arg1 spin:_arg1 ;
4918 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_L100kg>
4919 + ] ;
4920 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_100kg-1> ;
4921 + sp:arg3 [ rdf:type sp:if ;
4922 + sp:arg1 [ rdf:type sp:eq ;
4923 + sp:arg1 spin:_arg1 ;
4924 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_Lkg>
4925 + ] ;
4926 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_kg-1> ;
4927 + sp:arg3 [ rdf:type sp:if ;
4928 + sp:arg1 [ rdf:type sp:eq ;
4929 + sp:arg1 spin:_arg1 ;
4930 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_Lt>
4931 + ] ;
4932 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_tonne-1> ;
4933 + sp:arg3 [ rdf:type sp:if ;
4934 + sp:arg1 [ rdf:type sp:eq ;
4935 + sp:arg1 spin:_arg1 ;
4936 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_LtonUK>
4937 + ] ;
4938 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#l_UkTon-1> ;
4939 + sp:arg3 [ rdf:type sp:if ;
4940 + sp:arg1 [ rdf:type sp:eq ;
4941 + sp:arg1 spin:_arg1 ;
4942 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_bbltonUK>
4943 + ] ;
4944 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#bbl_UkTon-1> ;
4945 + sp:arg3 [ rdf:type sp:if ;
4946 + sp:arg1 [ rdf:type sp:eq ;
4947 + sp:arg1 spin:_arg1 ;
4948 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_bbltonUS>
4949 + ] ;
4950 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#bbl_UsTon-1> ;
4951 + sp:arg3 [ rdf:type sp:if ;
4952 + sp:arg1 [ rdf:type sp:eq ;
4953 + sp:arg1 spin:_arg1 ;
4954 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_cm3g>
4955 + ] ;
4956 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#cm3_g-1> ;
4957 + sp:arg3 [ rdf:type sp:if ;
4958 + sp:arg1 [ rdf:type sp:eq ;
4959 + sp:arg1 spin:_arg1 ;
4960 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_dm3kg>
4961 + ] ;
4962 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#dm3_kg-1> ;
4963 + sp:arg3 [ rdf:type sp:if ;
4964 + sp:arg1 [ rdf:type sp:eq ;
4965 + sp:arg1 spin:_arg1 ;
4966 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_dm3t>
4967 + ] ;
4968 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#dm3_t-1> ;
4969 + sp:arg3 [ rdf:type sp:if ;
4970 + sp:arg1 [ rdf:type sp:eq ;
4971 + sp:arg1 spin:_arg1 ;
4972 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_ft3kg>
4973 + ] ;
4974 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#ft3_kg-1> ;
4975 + sp:arg3 [ rdf:type sp:if ;
4976 + sp:arg1 [ rdf:type sp:eq ;
4977 + sp:arg1 spin:_arg1 ;
4978 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_ft3lbm>
4979 + ] ;
4980 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#ft3_lbm-1> ;
4981 + sp:arg3 [ rdf:type sp:if ;
4982 + sp:arg1 [ rdf:type sp:eq ;
4983 + sp:arg1 spin:_arg1 ;
4984 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_ft3sack94>
4985 + ] ;
4986 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#ft3_sack94-1> ;
4987 + sp:arg3 [ rdf:type sp:if ;
4988 + sp:arg1 [ rdf:type sp:eq ;
4989 + sp:arg1 spin:_arg1 ;
4990 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_galUKlbm>
4991 + ] ;
4992 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#ukGallon_lbm-1> ;
4993 + sp:arg3 [ rdf:type sp:if ;
4994 + sp:arg1 [ rdf:type sp:eq ;
4995 + sp:arg1 spin:_arg1 ;
4996 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_galUSlbm>
4997 + ] ;
4998 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_lbm-1> ;
4999 + sp:arg3 [ rdf:type sp:if ;
5000 + sp:arg1 [ rdf:type sp:eq ;
5001 + sp:arg1 spin:_arg1 ;
5002 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_galUSsack94>
5003 + ] ;
5004 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_sack94-1> ;
5005 + sp:arg3 [ rdf:type sp:if ;
5006 + sp:arg1 [ rdf:type sp:eq ;
5007 + sp:arg1 spin:_arg1 ;
5008 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_galUStonUK>
5009 + ] ;
5010 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_ukStone-1> ;
5011 + sp:arg3 [ rdf:type sp:if ;
5012 + sp:arg1 [ rdf:type sp:eq ;
5013 + sp:arg1 spin:_arg1 ;
5014 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_galUStonUS>
5015 + ] ;
5016 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#usGallon_usStone-1> ;
5017 + sp:arg3 [ rdf:type sp:if ;
5018 + sp:arg1 [ rdf:type sp:eq ;
5019 + sp:arg1 spin:_arg1 ;
5020 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_m3g>
5021 + ] ;
5022 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_g-1> ;
5023 + sp:arg3 [ rdf:type sp:if ;
5024 + sp:arg1 [ rdf:type sp:eq ;
5025 + sp:arg1 spin:_arg1 ;
5026 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_m3kg>
5027 + ] ;
5028 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_kg-1> ;
5029 + sp:arg3 [ rdf:type sp:if ;
5030 + sp:arg1 [ rdf:type sp:eq ;
5031 + sp:arg1 spin:_arg1 ;
5032 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_m3t>
5033 + ] ;
5034 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_tonne-1> ;
5035 + sp:arg3 [ rdf:type sp:if ;
5036 + sp:arg1 [ rdf:type sp:eq ;
5037 + sp:arg1 spin:_arg1 ;
5038 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_m3tonUK>
5039 + ] ;
5040 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_ukTon-1> ;
5041 + sp:arg3 [ rdf:type sp:if ;
5042 + sp:arg1 [ rdf:type sp:eq ;
5043 + sp:arg1 spin:_arg1 ;
5044 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#SVU_m3tonUS>
5045 + ] ;
5046 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#m3_usTon-1> ;
5047 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5048 + ]
5049 + ]
5050 + ]
5051 + ]
5052 + ]
5053 + ]
5054 + ]
5055 + ]
5056 + ]
5057 + ]
5058 + ]
5059 + ]
5060 + ]
5061 + ]
5062 + ]
5063 + ]
5064 + ]
5065 + ]
5066 + ]
5067 + ]
5068 + ]
5069 + ] ;
5070 + sp:variable
5071 + [ sp:varName "myVar"^^xsd:string
5072 + ]
5073 + ])
5074 + ] .
5075 +
5076 +ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
5077 + rdf:type spin:Function ;
5078 + rdfs:label "select SpecificVolume scale"^^xsd:string ;
5079 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
5080 + spin:body
5081 + [ rdf:type sp:Select ;
5082 + sp:resultVariables ([ sp:varName "myVar"^^xsd:string
5083 + ]) ;
5084 + sp:where ([ rdf:type sp:Bind ;
5085 + sp:expression
5086 + [ rdf:type sp:if ;
5087 + sp:arg1 [ rdf:type sp:eq ;
5088 + sp:arg1 spin:_arg1 ;
5089 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_ppk>
5090 + ] ;
5091 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#ppk> ;
5092 + sp:arg3 [ rdf:type sp:if ;
5093 + sp:arg1 [ rdf:type sp:eq ;
5094 + sp:arg1 spin:_arg1 ;
5095 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_Euc>
5096 + ] ;
5097 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#euclid> ;
5098 + sp:arg3 [ rdf:type sp:if ;
5099 + sp:arg1 [ rdf:type sp:eq ;
5100 + sp:arg1 spin:_arg1 ;
5101 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_kgkg>
5102 + ] ;
5103 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#kg_kg-1> ;
5104 + sp:arg3 [ rdf:type sp:if ;
5105 + sp:arg1 [ rdf:type sp:eq ;
5106 + sp:arg1 spin:_arg1 ;
5107 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_ppdk>
5108 + ] ;
5109 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#ppdk> ;
5110 + sp:arg3 [ rdf:type sp:if ;
5111 + sp:arg1 [ rdf:type sp:eq ;
5112 + sp:arg1 spin:_arg1 ;
5113 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_ppm>
5114 + ] ;
5115 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#partPerMillionByMass> ;
5116 + sp:arg3 [ rdf:type sp:if ;
5117 + sp:arg1 [ rdf:type sp:eq ;
5118 + sp:arg1 spin:_arg1 ;
5119 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_mgkg>
5120 + ] ;
5121 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#mg_kg-1> ;
5122 + sp:arg3 [ rdf:type sp:if ;
5123 + sp:arg1 [ rdf:type sp:eq ;
5124 + sp:arg1 spin:_arg1 ;
5125 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_>
5126 + ] ;
5127 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
5128 + sp:arg3 [ rdf:type sp:if ;
5129 + sp:arg1 [ rdf:type sp:eq ;
5130 + sp:arg1 spin:_arg1 ;
5131 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_kgsack94>
5132 + ] ;
5133 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#kg_sack94-1> ;
5134 + sp:arg3 [ rdf:type sp:if ;
5135 + sp:arg1 [ rdf:type sp:eq ;
5136 + sp:arg1 spin:_arg1 ;
5137 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_permil>
5138 + ] ;
5139 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#perMil> ;
5140 + sp:arg3 [ rdf:type sp:if ;
5141 + sp:arg1 [ rdf:type sp:eq ;
5142 + sp:arg1 spin:_arg1 ;
5143 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MCU_gkg>
5144 + ] ;
5145 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#g_kg-1> ;
5146 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5147 + ]
5148 + ]
5149 + ]
5150 + ]
5151 + ]
5152 + ]
5153 + ]
5154 + ]
5155 + ]
5156 + ] ;
5157 + sp:variable
5158 + [ sp:varName "myVar"^^xsd:string
5159 + ]
5160 + ])
5161 + ] ;
5162 + spin:body
5163 + [ rdf:type sp:Select ;
4911 sp:resultVariables (_:b30) ; 5164 sp:resultVariables (_:b30) ;
4912 sp:where ([ rdf:type sp:Bind ; 5165 sp:where ([ rdf:type sp:Bind ;
4913 sp:expression 5166 sp:expression
...@@ -5513,6 +5766,51 @@ ep-dpr-spin-lib:selectWellTestReasonType ...@@ -5513,6 +5766,51 @@ ep-dpr-spin-lib:selectWellTestReasonType
5513 ]) 5766 ])
5514 ] . 5767 ] .
5515 5768
5769 +_:b37
5770 + sp:varName "volumeScale"^^xsd:string .
5771 +
5772 +_:b36
5773 + sp:varName "volumeFlowRateScale"^^xsd:string .
5774 +
5775 +_:b35
5776 + sp:varName "volumeFlowRateAtStdType"^^xsd:string .
5777 +
5778 +_:b34
5779 + sp:varName "volumeAtStdType"^^xsd:string .
5780 +
5781 +_:b33
5782 + sp:varName "prodActType"^^xsd:string .
5783 +
5784 +_:b32
5785 + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
5786 +
5787 +_:b31
5788 + sp:varName "temperatureScale"^^xsd:string .
5789 +
5790 +_:b30
5791 + sp:varName "specificVolumeScale"^^xsd:string .
5792 +
5793 +_:b29
5794 + sp:varName "safetyActivityType"^^xsd:string .
5795 +
5796 +_:b28
5797 + sp:varName "relationshipToMeasure"^^xsd:string .
5798 +
5799 +_:b27
5800 + sp:varName "productionFlowPurposeType"^^xsd:string .
5801 +
5802 +_:b26
5803 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
5804 +
5805 +_:b25
5806 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
5807 +
5808 +_:b24
5809 + sp:varName "productionFlowDefinitionType"^^xsd:string .
5810 +
5811 +_:b23
5812 + sp:varName "productionFacilityType"^^xsd:string .
5813 +
5516 _:b22 5814 _:b22
5517 sp:varName "productType"^^xsd:string . 5815 sp:varName "productType"^^xsd:string .
5518 5816
...@@ -5569,48 +5867,3 @@ _:b3 sp:varName "UUID"^^xsd:string . ...@@ -5569,48 +5867,3 @@ _:b3 sp:varName "UUID"^^xsd:string .
5569 _:b2 sp:varName "uri"^^xsd:string . 5867 _:b2 sp:varName "uri"^^xsd:string .
5570 5868
5571 _:b1 sp:varName "uri"^^xsd:string . 5869 _:b1 sp:varName "uri"^^xsd:string .
5572 -
5573 -_:b27
5574 - sp:varName "productionFlowPurposeType"^^xsd:string .
5575 -
5576 -_:b26
5577 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
5578 -
5579 -_:b25
5580 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
5581 -
5582 -_:b24
5583 - sp:varName "productionFlowDefinitionType"^^xsd:string .
5584 -
5585 -_:b28
5586 - sp:varName "relationshipToMeasure"^^xsd:string .
5587 -
5588 -_:b23
5589 - sp:varName "productionFacilityType"^^xsd:string .
5590 -
5591 -_:b29
5592 - sp:varName "safetyActivityType"^^xsd:string .
5593 -
5594 -_:b30
5595 - sp:varName "specificVolumeScale"^^xsd:string .
5596 -
5597 -_:b31
5598 - sp:varName "temperatureScale"^^xsd:string .
5599 -
5600 -_:b32
5601 - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
5602 -
5603 -_:b33
5604 - sp:varName "prodActType"^^xsd:string .
5605 -
5606 -_:b34
5607 - sp:varName "volumeAtStdType"^^xsd:string .
5608 -
5609 -_:b35
5610 - sp:varName "volumeFlowRateAtStdType"^^xsd:string .
5611 -
5612 -_:b36
5613 - sp:varName "volumeFlowRateScale"^^xsd:string .
5614 -
5615 -_:b37
5616 - sp:varName "volumeScale"^^xsd:string .
......