Showing
7 changed files
with
211 additions
and
24 deletions
1 | -# Saved by TopBraid on Tue Dec 20 16:32:44 GMT 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity | 1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment | ||
4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization | ||
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility | ||
6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | ||
8 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | ||
9 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity | 2 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity |
3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | ||
4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | ||
10 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
11 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production-core | ||
12 | # imports: http://www.reportinghub.no/ep/schema/1.0/flow | 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/flow |
7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-core | ||
8 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment | ||
9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility | ||
10 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization | ||
11 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
13 | 12 | ||
14 | @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . | 13 | @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . |
15 | @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> . | 14 | @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> . |
... | @@ -105,14 +104,6 @@ ep-prodact:Alarm | ... | @@ -105,14 +104,6 @@ ep-prodact:Alarm |
105 | rdf:type owl:Class ; | 104 | rdf:type owl:Class ; |
106 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . | 105 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . |
107 | 106 | ||
108 | -ep-prodact:AmountOfCrudeOil | ||
109 | - rdf:type owl:Class ; | ||
110 | - rdfs:subClassOf ep-prodact:AmountOfSubstance . | ||
111 | - | ||
112 | -ep-prodact:AmountOfNaturalGas | ||
113 | - rdf:type owl:Class ; | ||
114 | - rdfs:subClassOf ep-prodact:AmountOfSubstance . | ||
115 | - | ||
116 | ep-prodact:AmountOfSubstance | 107 | ep-prodact:AmountOfSubstance |
117 | rdf:type owl:Class ; | 108 | rdf:type owl:Class ; |
118 | rdfs:subClassOf ep-core:PhysicalObject . | 109 | rdfs:subClassOf ep-core:PhysicalObject . |
... | @@ -142,6 +133,10 @@ ep-prodact:ConstructionOperation | ... | @@ -142,6 +133,10 @@ ep-prodact:ConstructionOperation |
142 | rdfs:label "construction operation"^^xsd:string ; | 133 | rdfs:label "construction operation"^^xsd:string ; |
143 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . | 134 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . |
144 | 135 | ||
136 | +ep-prodact:CrudeOil | ||
137 | + rdf:type owl:Class ; | ||
138 | + rdfs:subClassOf ep-prodact:AmountOfSubstance . | ||
139 | + | ||
145 | ep-prodact:CumulativeProductionActivitySinceProductionBegan | 140 | ep-prodact:CumulativeProductionActivitySinceProductionBegan |
146 | rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; | 141 | rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
147 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . | 142 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . |
... | @@ -311,6 +306,10 @@ ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod | ... | @@ -311,6 +306,10 @@ ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod |
311 | rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; | 306 | rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
312 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . | 307 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . |
313 | 308 | ||
309 | +ep-prodact:NaturalGas | ||
310 | + rdf:type owl:Class ; | ||
311 | + rdfs:subClassOf ep-prodact:AmountOfSubstance . | ||
312 | + | ||
314 | ep-prodact:NearMiss | 313 | ep-prodact:NearMiss |
315 | rdf:type owl:Class ; | 314 | rdf:type owl:Class ; |
316 | rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . | 315 | rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . |
... | @@ -402,7 +401,7 @@ ep-prodact:SafetyMeeting | ... | @@ -402,7 +401,7 @@ ep-prodact:SafetyMeeting |
402 | 401 | ||
403 | ep-prodact:SampleAmountOfSubstance | 402 | ep-prodact:SampleAmountOfSubstance |
404 | rdf:type owl:Class ; | 403 | rdf:type owl:Class ; |
405 | - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Fluid> . | 404 | + rdfs:subClassOf ep-prodact:AmountOfSubstance . |
406 | 405 | ||
407 | ep-prodact:SentAshore | 406 | ep-prodact:SentAshore |
408 | rdf:type owl:Class ; | 407 | rdf:type owl:Class ; |
... | @@ -420,6 +419,11 @@ ep-prodact:SpillOrLeak | ... | @@ -420,6 +419,11 @@ ep-prodact:SpillOrLeak |
420 | rdf:type owl:Class , ep-prodact:SafetyActivityType ; | 419 | rdf:type owl:Class , ep-prodact:SafetyActivityType ; |
421 | rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . | 420 | rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . |
422 | 421 | ||
422 | +ep-prodact:SubstanceType | ||
423 | + rdf:type rdfs:Class ; | ||
424 | + rdfs:label "substance type"^^xsd:string ; | ||
425 | + rdfs:subClassOf owl:Class . | ||
426 | + | ||
423 | ep-prodact:TransportationActivity | 427 | ep-prodact:TransportationActivity |
424 | rdf:type owl:Class ; | 428 | rdf:type owl:Class ; |
425 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . | 429 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . | ... | ... |
This diff could not be displayed because it is too large.
... | @@ -34,6 +34,41 @@ ep-prodwell:DryFluid | ... | @@ -34,6 +34,41 @@ ep-prodwell:DryFluid |
34 | rdfs:label "dry fluid"^^xsd:string ; | 34 | rdfs:label "dry fluid"^^xsd:string ; |
35 | rdfs:subClassOf ep-well:Fluid . | 35 | rdfs:subClassOf ep-well:Fluid . |
36 | 36 | ||
37 | +ep-prodwell:FluidComponentKindType | ||
38 | + rdf:type rdfs:Class ; | ||
39 | + rdfs:label "fluid component kind type"^^xsd:string ; | ||
40 | + rdfs:subClassOf owl:Class . | ||
41 | + | ||
42 | +ep-prodwell:FluidComponentType | ||
43 | + rdf:type rdfs:Class ; | ||
44 | + rdfs:label "fluid component type"^^xsd:string ; | ||
45 | + rdfs:subClassOf owl:Class . | ||
46 | + | ||
47 | +ep-prodwell:FluidFraction | ||
48 | + rdf:type owl:Class , ep-prodwell:FluidComponentKindType ; | ||
49 | + rdfs:label "fluid fraction"^^xsd:string ; | ||
50 | + rdfs:subClassOf ep-well:Fluid . | ||
51 | + | ||
52 | +ep-prodwell:FluidPhaseType | ||
53 | + rdf:type rdfs:Class ; | ||
54 | + rdfs:label "fluid phase type"^^xsd:string ; | ||
55 | + rdfs:subClassOf owl:Class . | ||
56 | + | ||
57 | +ep-prodwell:FluidWholeComponentPair | ||
58 | + rdf:type owl:Class ; | ||
59 | + rdfs:label "fluid whole-component pair"^^xsd:string ; | ||
60 | + rdfs:subClassOf owl:Thing . | ||
61 | + | ||
62 | +ep-prodwell:FluidWholeNonPrimaryComponentPair | ||
63 | + rdf:type owl:Class ; | ||
64 | + rdfs:label "fluid whole-non-primary component pair"^^xsd:string ; | ||
65 | + rdfs:subClassOf ep-prodwell:FluidWholeComponentPair . | ||
66 | + | ||
67 | +ep-prodwell:FluidWholePrimaryComponentPair | ||
68 | + rdf:type owl:Class ; | ||
69 | + rdfs:label "fluid whole-primary component pair"^^xsd:string ; | ||
70 | + rdfs:subClassOf ep-prodwell:FluidWholeComponentPair . | ||
71 | + | ||
37 | ep-prodwell:FreshWater | 72 | ep-prodwell:FreshWater |
38 | rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | 73 | rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; |
39 | rdfs:label "fresh water"^^xsd:string ; | 74 | rdfs:label "fresh water"^^xsd:string ; |
... | @@ -49,6 +84,11 @@ ep-prodwell:InjectionFluidType | ... | @@ -49,6 +84,11 @@ ep-prodwell:InjectionFluidType |
49 | rdfs:label "injection fluid type"^^xsd:string ; | 84 | rdfs:label "injection fluid type"^^xsd:string ; |
50 | rdfs:subClassOf owl:Class . | 85 | rdfs:subClassOf owl:Class . |
51 | 86 | ||
87 | +ep-prodwell:Liquid | ||
88 | + rdf:type owl:Class , ep-prodwell:FluidPhaseType ; | ||
89 | + rdfs:label "liquid"^^xsd:string ; | ||
90 | + rdfs:subClassOf ep-well:Fluid . | ||
91 | + | ||
52 | ep-prodwell:NaturalGasClass | 92 | ep-prodwell:NaturalGasClass |
53 | rdf:type rdfs:Class ; | 93 | rdf:type rdfs:Class ; |
54 | rdfs:label "natural gas class"^^xsd:string ; | 94 | rdfs:label "natural gas class"^^xsd:string ; |
... | @@ -74,11 +114,26 @@ ep-prodwell:OtherInjectionFluid | ... | @@ -74,11 +114,26 @@ ep-prodwell:OtherInjectionFluid |
74 | rdfs:label "other injection fluid"^^xsd:string ; | 114 | rdfs:label "other injection fluid"^^xsd:string ; |
75 | rdfs:subClassOf ep-well:Fluid . | 115 | rdfs:subClassOf ep-well:Fluid . |
76 | 116 | ||
117 | +ep-prodwell:PlusFraction | ||
118 | + rdf:type ep-prodwell:FluidComponentKindType , owl:Class ; | ||
119 | + rdfs:label "plus fraction"^^xsd:string ; | ||
120 | + rdfs:subClassOf ep-well:Fluid . | ||
121 | + | ||
122 | +ep-prodwell:PureFluid | ||
123 | + rdf:type owl:Class , ep-prodwell:FluidComponentKindType ; | ||
124 | + rdfs:label "pure fluid"^^xsd:string ; | ||
125 | + rdfs:subClassOf ep-well:Fluid . | ||
126 | + | ||
77 | ep-prodwell:Sand | 127 | ep-prodwell:Sand |
78 | rdf:type owl:Class , ep-well:FluidComponentType ; | 128 | rdf:type owl:Class , ep-well:FluidComponentType ; |
79 | rdfs:label "sand"^^xsd:string ; | 129 | rdfs:label "sand"^^xsd:string ; |
80 | rdfs:subClassOf ep-well:Fluid . | 130 | rdfs:subClassOf ep-well:Fluid . |
81 | 131 | ||
132 | +ep-prodwell:SplitFraction | ||
133 | + rdf:type ep-prodwell:FluidComponentKindType , owl:Class ; | ||
134 | + rdfs:label "split fraction"^^xsd:string ; | ||
135 | + rdfs:subClassOf ep-well:Fluid . | ||
136 | + | ||
82 | ep-prodwell:Steam | 137 | ep-prodwell:Steam |
83 | rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | 138 | rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; |
84 | rdfs:label "steam"^^xsd:string ; | 139 | rdfs:label "steam"^^xsd:string ; |
... | @@ -94,6 +149,12 @@ ep-prodwell:basicSedimentAndWater | ... | @@ -94,6 +149,12 @@ ep-prodwell:basicSedimentAndWater |
94 | rdfs:label "basic sediment and water"^^xsd:string ; | 149 | rdfs:label "basic sediment and water"^^xsd:string ; |
95 | rdfs:range ep-core:SpecificVolume . | 150 | rdfs:range ep-core:SpecificVolume . |
96 | 151 | ||
152 | +ep-prodwell:componentFluid | ||
153 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | ||
154 | + rdfs:domain ep-prodwell:FluidWholeComponentPair ; | ||
155 | + rdfs:label "component fluid"^^xsd:string ; | ||
156 | + rdfs:range ep-well:Fluid . | ||
157 | + | ||
97 | ep-prodwell:condensateYield | 158 | ep-prodwell:condensateYield |
98 | rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; | 159 | rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; |
99 | rdfs:label "condensate yield"^^xsd:string ; | 160 | rdfs:label "condensate yield"^^xsd:string ; |
... | @@ -111,6 +172,12 @@ ep-prodwell:depthOfFluidSurfaceFromTopOfWell | ... | @@ -111,6 +172,12 @@ ep-prodwell:depthOfFluidSurfaceFromTopOfWell |
111 | rdfs:label "depth of fluid surface from top of well"^^xsd:string ; | 172 | rdfs:label "depth of fluid surface from top of well"^^xsd:string ; |
112 | rdfs:range ep-core:Length . | 173 | rdfs:range ep-core:Length . |
113 | 174 | ||
175 | +ep-prodwell:moleRatio | ||
176 | + rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ; | ||
177 | + rdfs:domain ep-prodwell:FluidWholeComponentPair ; | ||
178 | + rdfs:label "mole ratio"^^xsd:string ; | ||
179 | + rdfs:range ep-core:Ratio . | ||
180 | + | ||
114 | ep-prodwell:oilWaterRatioByMass | 181 | ep-prodwell:oilWaterRatioByMass |
115 | rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | 182 | rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; |
116 | rdfs:domain ep-well:Fluid ; | 183 | rdfs:domain ep-well:Fluid ; |
... | @@ -129,11 +196,23 @@ ep-prodwell:potentialOilProduction | ... | @@ -129,11 +196,23 @@ ep-prodwell:potentialOilProduction |
129 | rdfs:label "potential gas production"^^xsd:string ; | 196 | rdfs:label "potential gas production"^^xsd:string ; |
130 | rdfs:range ep-core:VolumetricFlowRate . | 197 | rdfs:range ep-core:VolumetricFlowRate . |
131 | 198 | ||
199 | +ep-prodwell:weightRatio | ||
200 | + rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ; | ||
201 | + rdfs:domain ep-prodwell:FluidWholeComponentPair ; | ||
202 | + rdfs:label "weight ratio"^^xsd:string ; | ||
203 | + rdfs:range ep-core:Ratio . | ||
204 | + | ||
205 | +ep-prodwell:wholeFluid | ||
206 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | ||
207 | + rdfs:domain ep-prodwell:FluidWholeComponentPair ; | ||
208 | + rdfs:label "whole fluid"^^xsd:string ; | ||
209 | + rdfs:range ep-well:Fluid . | ||
210 | + | ||
132 | ep-well:Condensate | 211 | ep-well:Condensate |
133 | rdf:type ep-prodwell:InjectionFluidType . | 212 | rdf:type ep-prodwell:InjectionFluidType . |
134 | 213 | ||
135 | ep-well:Gas | 214 | ep-well:Gas |
136 | - rdf:type ep-prodwell:InjectionFluidType . | 215 | + rdf:type ep-prodwell:InjectionFluidType , ep-prodwell:FluidPhaseType . |
137 | 216 | ||
138 | ep-well:Oil | 217 | ep-well:Oil |
139 | rdf:type ep-prodwell:InjectionFluidType . | 218 | rdf:type ep-prodwell:InjectionFluidType . | ... | ... |
This diff is collapsed. Click to expand it.
1 | -# Saved by TopBraid on Tue Dec 20 18:27:09 GMT 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/mpr/spin/1.1/lib | 1 | # baseURI: http://www.reportinghub.no/ep/mpr/spin/1.1/lib |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment | 2 | +# imports: http://spinrdf.org/spin |
4 | -# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
5 | # imports: http://www.epim.no/schemas/mprml/1 | 3 | # imports: http://www.epim.no/schemas/mprml/1 |
6 | # imports: http://www.reportinghub.no/ep/schema/1.0/production | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/production |
7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production-core | ||
8 | # imports: http://www.reportinghub.no/ep/schema/1.0/production-activity | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/production-activity |
9 | -# imports: http://spinrdf.org/spin | 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-core |
7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment | ||
10 | # imports: http://www.reportinghub.no/ep/schema/1.0/production-report | 8 | # imports: http://www.reportinghub.no/ep/schema/1.0/production-report |
9 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
11 | 10 | ||
12 | @prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . | 11 | @prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . |
13 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | 12 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . |
... | @@ -828,6 +827,89 @@ ep-mpr-spin-lib:selectEnergyPerVolumeScale | ... | @@ -828,6 +827,89 @@ ep-mpr-spin-lib:selectEnergyPerVolumeScale |
828 | ]) | 827 | ]) |
829 | ] . | 828 | ] . |
830 | 829 | ||
830 | +ep-mpr-spin-lib:selectFluidComponentKindType | ||
831 | + rdf:type spin:Function ; | ||
832 | + rdfs:label "select FluidComponentKindType"^^xsd:string ; | ||
833 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
834 | + spin:body | ||
835 | + [ rdf:type sp:Select ; | ||
836 | + sp:resultVariables ([ sp:varName "fluidComponentKindType"^^xsd:string | ||
837 | + ]) ; | ||
838 | + sp:where ([ rdf:type sp:Bind ; | ||
839 | + sp:expression | ||
840 | + [ rdf:type sp:if ; | ||
841 | + sp:arg1 [ rdf:type sp:eq ; | ||
842 | + sp:arg1 spin:_arg1 ; | ||
843 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_frac> | ||
844 | + ] ; | ||
845 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#FluidFraction> ; | ||
846 | + sp:arg3 [ rdf:type sp:if ; | ||
847 | + sp:arg1 [ rdf:type sp:eq ; | ||
848 | + sp:arg1 spin:_arg1 ; | ||
849 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_pure> | ||
850 | + ] ; | ||
851 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#PureFluid> ; | ||
852 | + sp:arg3 [ rdf:type sp:if ; | ||
853 | + sp:arg1 [ rdf:type sp:eq ; | ||
854 | + sp:arg1 spin:_arg1 ; | ||
855 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_pure> | ||
856 | + ] ; | ||
857 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#PureFluid> ; | ||
858 | + sp:arg3 [ rdf:type sp:if ; | ||
859 | + sp:arg1 [ rdf:type sp:eq ; | ||
860 | + sp:arg1 spin:_arg1 ; | ||
861 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_split> | ||
862 | + ] ; | ||
863 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#SplitFraction> ; | ||
864 | + sp:arg3 [ rdf:type sp:if ; | ||
865 | + sp:arg1 [ rdf:type sp:eq ; | ||
866 | + sp:arg1 spin:_arg1 ; | ||
867 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#FCK_plus> | ||
868 | + ] ; | ||
869 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#PlusFraction> ; | ||
870 | + sp:arg3 <http://www.reportinghub.no/ep/schema/well#Fluid> | ||
871 | + ] | ||
872 | + ] | ||
873 | + ] | ||
874 | + ] | ||
875 | + ] ; | ||
876 | + sp:variable | ||
877 | + [ sp:varName "fluidComponentKindType"^^xsd:string | ||
878 | + ] | ||
879 | + ]) | ||
880 | + ] . | ||
881 | + | ||
882 | +ep-mpr-spin-lib:selectFluidPhaseType | ||
883 | + rdf:type spin:Function ; | ||
884 | + rdfs:label "select FluidPhaseType"^^xsd:string ; | ||
885 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
886 | + spin:body | ||
887 | + [ rdf:type sp:Select ; | ||
888 | + sp:resultVariables ([ sp:varName "fluidPhaseType"^^xsd:string | ||
889 | + ]) ; | ||
890 | + sp:where ([ rdf:type sp:Bind ; | ||
891 | + sp:expression | ||
892 | + [ rdf:type sp:if ; | ||
893 | + sp:arg1 [ rdf:type sp:eq ; | ||
894 | + sp:arg1 spin:_arg1 ; | ||
895 | + sp:arg2 "liquid"^^xsd:string | ||
896 | + ] ; | ||
897 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#Liquid> ; | ||
898 | + sp:arg3 [ rdf:type sp:if ; | ||
899 | + sp:arg1 [ rdf:type sp:eq ; | ||
900 | + sp:arg1 spin:_arg1 ; | ||
901 | + sp:arg2 "gas"^^xsd:string | ||
902 | + ] ; | ||
903 | + sp:arg2 <http://www.reportinghub.no/ep/schema/well#Gas> ; | ||
904 | + sp:arg3 <http://www.reportinghub.no/ep/schema/well#Fluid> | ||
905 | + ] | ||
906 | + ] ; | ||
907 | + sp:variable | ||
908 | + [ sp:varName "fluidPhaseType"^^xsd:string | ||
909 | + ] | ||
910 | + ]) | ||
911 | + ] . | ||
912 | + | ||
831 | ep-mpr-spin-lib:selectFluidSamplingType | 913 | ep-mpr-spin-lib:selectFluidSamplingType |
832 | rdf:type spin:Function ; | 914 | rdf:type spin:Function ; |
833 | rdfs:label "select ProductType"^^xsd:string ; | 915 | rdfs:label "select ProductType"^^xsd:string ; |
... | @@ -3828,6 +3910,29 @@ ep-mpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -3828,6 +3910,29 @@ ep-mpr-spin-lib:selectProductionFlowPurposeType |
3828 | ]) | 3910 | ]) |
3829 | ] . | 3911 | ] . |
3830 | 3912 | ||
3913 | +ep-mpr-spin-lib:selectRatioScale | ||
3914 | + rdf:type spin:Function ; | ||
3915 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
3916 | + spin:body | ||
3917 | + [ rdf:type sp:Select ; | ||
3918 | + sp:resultVariables ([ sp:varName "myVar"^^xsd:string | ||
3919 | + ]) ; | ||
3920 | + sp:where ([ rdf:type sp:Bind ; | ||
3921 | + sp:expression | ||
3922 | + [ rdf:type sp:if ; | ||
3923 | + sp:arg1 [ rdf:type sp:eq ; | ||
3924 | + sp:arg1 spin:_arg1 ; | ||
3925 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#PU_> | ||
3926 | + ] ; | ||
3927 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#percent> ; | ||
3928 | + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
3929 | + ] ; | ||
3930 | + sp:variable | ||
3931 | + [ sp:varName "myVar"^^xsd:string | ||
3932 | + ] | ||
3933 | + ]) | ||
3934 | + ] . | ||
3935 | + | ||
3831 | ep-mpr-spin-lib:selectRelationshipToMeasure | 3936 | ep-mpr-spin-lib:selectRelationshipToMeasure |
3832 | rdf:type spin:Function ; | 3937 | rdf:type spin:Function ; |
3833 | rdfs:label "select RelationshipToMeasure"^^xsd:string ; | 3938 | rdfs:label "select RelationshipToMeasure"^^xsd:string ; | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment