David Price

Merge branch 'master' into ddrpref-fix

...@@ -452,7 +452,22 @@ ep-material:hasComponent ...@@ -452,7 +452,22 @@ ep-material:hasComponent
452 rdfs:comment "A component is all part material of the class."^^xsd:string ; 452 rdfs:comment "A component is all part material of the class."^^xsd:string ;
453 rdfs:domain ep-material:Material ; 453 rdfs:domain ep-material:Material ;
454 rdfs:label "hasComponent"^^xsd:string ; 454 rdfs:label "hasComponent"^^xsd:string ;
455 - rdfs:range ep-material:Material . 455 + rdfs:range ep-material:Material ;
456 + rdfs:subPropertyOf ep-core:hasPart .
457 +
458 +ep-material:hasNonPrimaryComponent
459 + rdf:type owl:ObjectProperty ;
460 + rdfs:domain ep-material:Material ;
461 + rdfs:label "has non-primary component"^^xsd:string ;
462 + rdfs:range ep-material:Material ;
463 + rdfs:subPropertyOf ep-material:hasComponent .
464 +
465 +ep-material:hasPrimaryComponent
466 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
467 + rdfs:domain ep-material:Material ;
468 + rdfs:label "has primary component"^^xsd:string ;
469 + rdfs:range ep-material:Material ;
470 + rdfs:subPropertyOf ep-material:hasComponent .
456 471
457 ep-material:massRatio 472 ep-material:massRatio
458 rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 473 rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
...@@ -460,6 +475,12 @@ ep-material:massRatio ...@@ -460,6 +475,12 @@ ep-material:massRatio
460 rdfs:label "mass ratio"^^xsd:string ; 475 rdfs:label "mass ratio"^^xsd:string ;
461 rdfs:range ep-core:Ratio . 476 rdfs:range ep-core:Ratio .
462 477
478 +ep-material:moleRatio
479 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
480 + rdfs:domain ep-material:MaterialPair ;
481 + rdfs:label "mole ratio"^^xsd:string ;
482 + rdfs:range ep-core:Ratio .
483 +
463 ep-material:partMaterialOfPair 484 ep-material:partMaterialOfPair
464 rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 485 rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
465 rdfs:domain ep-material:MaterialPartWholePair ; 486 rdfs:domain ep-material:MaterialPartWholePair ;
......
...@@ -14,41 +14,41 @@ ...@@ -14,41 +14,41 @@
14 14
15 <http://www.reportinghub.no/ep/schema/1.0/production-well> 15 <http://www.reportinghub.no/ep/schema/1.0/production-well>
16 rdf:type owl:Ontology ; 16 rdf:type owl:Ontology ;
17 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/material> ; 17 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/flow> ;
18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
19 19
20 ep-material:GasAndWater 20 ep-material:GasAndWater
21 - rdf:type ep-well:FluidComponentType , ep-prodwell:InjectionFluidType . 21 + rdf:type ep-prodwell:InjectionFluidType , ep-well:FluidComponentType .
22 22
23 ep-material:Liquid 23 ep-material:Liquid
24 rdf:type ep-prodwell:FluidPhaseType . 24 rdf:type ep-prodwell:FluidPhaseType .
25 25
26 ep-material:OilAndGas 26 ep-material:OilAndGas
27 - rdf:type ep-well:FluidComponentType , ep-prodwell:InjectionFluidType . 27 + rdf:type ep-prodwell:InjectionFluidType , ep-well:FluidComponentType .
28 28
29 ep-material:OilAndWater 29 ep-material:OilAndWater
30 - rdf:type ep-well:FluidComponentType , ep-prodwell:InjectionFluidType . 30 + rdf:type ep-prodwell:InjectionFluidType , ep-well:FluidComponentType .
31 31
32 ep-material:Sand 32 ep-material:Sand
33 rdf:type ep-well:FluidComponentType . 33 rdf:type ep-well:FluidComponentType .
34 34
35 ep-prodwell:Air-gas 35 ep-prodwell:Air-gas
36 - rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; 36 + rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
37 rdfs:label "air gas"^^xsd:string ; 37 rdfs:label "air gas"^^xsd:string ;
38 rdfs:subClassOf ep-prodwell:NonHcGas . 38 rdfs:subClassOf ep-prodwell:NonHcGas .
39 39
40 ep-prodwell:Brine 40 ep-prodwell:Brine
41 - rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ; 41 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
42 rdfs:label "brine"^^xsd:string ; 42 rdfs:label "brine"^^xsd:string ;
43 rdfs:subClassOf ep-material:Water . 43 rdfs:subClassOf ep-material:Water .
44 44
45 ep-prodwell:CO2-gas 45 ep-prodwell:CO2-gas
46 - rdf:type owl:Class , ep-prodwell:InjectionFluidType ; 46 + rdf:type ep-prodwell:InjectionFluidType , owl:Class ;
47 rdfs:label "CO2 gas"^^xsd:string ; 47 rdfs:label "CO2 gas"^^xsd:string ;
48 rdfs:subClassOf ep-prodwell:NonHcGas . 48 rdfs:subClassOf ep-prodwell:NonHcGas .
49 49
50 ep-prodwell:DryFluid 50 ep-prodwell:DryFluid
51 - rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ; 51 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
52 rdfs:label "dry fluid"^^xsd:string ; 52 rdfs:label "dry fluid"^^xsd:string ;
53 rdfs:subClassOf ep-material:Fluid . 53 rdfs:subClassOf ep-material:Fluid .
54 54
...@@ -62,38 +62,18 @@ ep-prodwell:FluidComponentType ...@@ -62,38 +62,18 @@ ep-prodwell:FluidComponentType
62 rdfs:label "fluid component type"^^xsd:string ; 62 rdfs:label "fluid component type"^^xsd:string ;
63 rdfs:subClassOf owl:Class . 63 rdfs:subClassOf owl:Class .
64 64
65 -ep-prodwell:FluidComponentWholePair
66 - rdf:type owl:Class ;
67 - rdfs:label "fluid component/whole pair"^^xsd:string ;
68 - rdfs:subClassOf ep-prodwell:FluidPair .
69 -
70 ep-prodwell:FluidFraction 65 ep-prodwell:FluidFraction
71 - rdf:type ep-prodwell:FluidComponentKindType , owl:Class ; 66 + rdf:type owl:Class , ep-prodwell:FluidComponentKindType ;
72 rdfs:label "fluid fraction"^^xsd:string ; 67 rdfs:label "fluid fraction"^^xsd:string ;
73 rdfs:subClassOf ep-material:Fluid . 68 rdfs:subClassOf ep-material:Fluid .
74 69
75 -ep-prodwell:FluidNonPrimaryComponentWholePair
76 - rdf:type owl:Class ;
77 - rdfs:label "fluid non-primary component/whole pair"^^xsd:string ;
78 - rdfs:subClassOf ep-prodwell:FluidComponentWholePair .
79 -
80 -ep-prodwell:FluidPair
81 - rdf:type owl:Class ;
82 - rdfs:label "fluid pair"^^xsd:string ;
83 - rdfs:subClassOf owl:Thing .
84 -
85 ep-prodwell:FluidPhaseType 70 ep-prodwell:FluidPhaseType
86 rdf:type rdfs:Class ; 71 rdf:type rdfs:Class ;
87 rdfs:label "fluid phase type"^^xsd:string ; 72 rdfs:label "fluid phase type"^^xsd:string ;
88 rdfs:subClassOf owl:Class . 73 rdfs:subClassOf owl:Class .
89 74
90 -ep-prodwell:FluidPrimaryComponentWholePair
91 - rdf:type owl:Class ;
92 - rdfs:label "fluid primary component/whole pair"^^xsd:string ;
93 - rdfs:subClassOf ep-prodwell:FluidComponentWholePair .
94 -
95 ep-prodwell:FreshWater 75 ep-prodwell:FreshWater
96 - rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ; 76 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
97 rdfs:label "fresh water"^^xsd:string ; 77 rdfs:label "fresh water"^^xsd:string ;
98 rdfs:subClassOf ep-material:Water . 78 rdfs:subClassOf ep-material:Water .
99 79
...@@ -103,7 +83,7 @@ ep-prodwell:InjectionFluidType ...@@ -103,7 +83,7 @@ ep-prodwell:InjectionFluidType
103 rdfs:subClassOf owl:Class . 83 rdfs:subClassOf owl:Class .
104 84
105 ep-prodwell:Liquid 85 ep-prodwell:Liquid
106 - rdf:type ep-prodwell:FluidPhaseType , owl:Class ; 86 + rdf:type owl:Class , ep-prodwell:FluidPhaseType ;
107 rdfs:label "liquid"^^xsd:string ; 87 rdfs:label "liquid"^^xsd:string ;
108 rdfs:subClassOf ep-material:Fluid . 88 rdfs:subClassOf ep-material:Fluid .
109 89
...@@ -113,32 +93,32 @@ ep-prodwell:NaturalGasClass ...@@ -113,32 +93,32 @@ ep-prodwell:NaturalGasClass
113 rdfs:subClassOf owl:Class . 93 rdfs:subClassOf owl:Class .
114 94
115 ep-prodwell:NonHcGas 95 ep-prodwell:NonHcGas
116 - rdf:type owl:Class , ep-prodwell:InjectionFluidType ; 96 + rdf:type ep-prodwell:InjectionFluidType , owl:Class ;
117 rdfs:label "non-HC gas"^^xsd:string ; 97 rdfs:label "non-HC gas"^^xsd:string ;
118 rdfs:subClassOf ep-material:Gas . 98 rdfs:subClassOf ep-material:Gas .
119 99
120 ep-prodwell:OtherInjectionFluid 100 ep-prodwell:OtherInjectionFluid
121 - rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ; 101 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
122 rdfs:label "other injection fluid"^^xsd:string ; 102 rdfs:label "other injection fluid"^^xsd:string ;
123 rdfs:subClassOf ep-material:Fluid . 103 rdfs:subClassOf ep-material:Fluid .
124 104
125 ep-prodwell:PlusFraction 105 ep-prodwell:PlusFraction
126 - rdf:type owl:Class , ep-prodwell:FluidComponentKindType ; 106 + rdf:type ep-prodwell:FluidComponentKindType , owl:Class ;
127 rdfs:label "plus fraction"^^xsd:string ; 107 rdfs:label "plus fraction"^^xsd:string ;
128 rdfs:subClassOf ep-material:Fluid . 108 rdfs:subClassOf ep-material:Fluid .
129 109
130 ep-prodwell:PureFluid 110 ep-prodwell:PureFluid
131 - rdf:type ep-prodwell:FluidComponentKindType , owl:Class ; 111 + rdf:type owl:Class , ep-prodwell:FluidComponentKindType ;
132 rdfs:label "pure fluid"^^xsd:string ; 112 rdfs:label "pure fluid"^^xsd:string ;
133 rdfs:subClassOf ep-material:Fluid . 113 rdfs:subClassOf ep-material:Fluid .
134 114
135 ep-prodwell:SplitFraction 115 ep-prodwell:SplitFraction
136 - rdf:type owl:Class , ep-prodwell:FluidComponentKindType ; 116 + rdf:type ep-prodwell:FluidComponentKindType , owl:Class ;
137 rdfs:label "split fraction"^^xsd:string ; 117 rdfs:label "split fraction"^^xsd:string ;
138 rdfs:subClassOf ep-material:Fluid . 118 rdfs:subClassOf ep-material:Fluid .
139 119
140 ep-prodwell:Steam 120 ep-prodwell:Steam
141 - rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ; 121 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
142 rdfs:label "steam"^^xsd:string ; 122 rdfs:label "steam"^^xsd:string ;
143 rdfs:subClassOf ep-prodwell:NonHcGas . 123 rdfs:subClassOf ep-prodwell:NonHcGas .
144 124
...@@ -148,100 +128,56 @@ ep-prodwell:TemporalPartOfASpatialPartOfAWellBore ...@@ -148,100 +128,56 @@ ep-prodwell:TemporalPartOfASpatialPartOfAWellBore
148 rdfs:subClassOf ep-well:TemporalPartOfAWellBore . 128 rdfs:subClassOf ep-well:TemporalPartOfAWellBore .
149 129
150 ep-prodwell:UnknownFluid 130 ep-prodwell:UnknownFluid
151 - rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ; 131 + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
152 rdfs:label "unknown fluid"^^xsd:string ; 132 rdfs:label "unknown fluid"^^xsd:string ;
153 rdfs:subClassOf ep-material:Fluid . 133 rdfs:subClassOf ep-material:Fluid .
154 134
155 ep-prodwell:completeLiquidPartOf 135 ep-prodwell:completeLiquidPartOf
156 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 136 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
157 rdfs:domain ep-material:QuantityOfMaterial ; 137 rdfs:domain ep-material:QuantityOfMaterial ;
158 rdfs:label "complete liquid part of"^^xsd:string ; 138 rdfs:label "complete liquid part of"^^xsd:string ;
159 rdfs:range ep-prodwell:Liquid . 139 rdfs:range ep-prodwell:Liquid .
160 140
161 -ep-prodwell:componentFluid
162 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
163 - rdfs:domain ep-prodwell:FluidComponentWholePair ;
164 - rdfs:label "component fluid"^^xsd:string ;
165 - rdfs:range ep-material:Fluid ;
166 - rdfs:subPropertyOf ep-prodwell:firstFluidInPair .
167 -
168 ep-prodwell:condensateYield 141 ep-prodwell:condensateYield
169 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 142 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
170 rdfs:label "condensate yield"^^xsd:string ; 143 rdfs:label "condensate yield"^^xsd:string ;
171 rdfs:range ep-core:SpecificVolume . 144 rdfs:range ep-core:SpecificVolume .
172 145
173 ep-prodwell:depthOfBaseUsableWaterFromSurface 146 ep-prodwell:depthOfBaseUsableWaterFromSurface
174 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 147 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
175 rdfs:domain ep-material:Fluid ; 148 rdfs:domain ep-material:Fluid ;
176 rdfs:label "depth of base of usable water from surface"^^xsd:string ; 149 rdfs:label "depth of base of usable water from surface"^^xsd:string ;
177 rdfs:range ep-core:Length . 150 rdfs:range ep-core:Length .
178 151
179 ep-prodwell:depthOfFluidSurfaceFromTopOfWell 152 ep-prodwell:depthOfFluidSurfaceFromTopOfWell
180 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 153 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
181 rdfs:domain ep-material:Fluid ; 154 rdfs:domain ep-material:Fluid ;
182 rdfs:label "depth of fluid surface from top of well"^^xsd:string ; 155 rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
183 rdfs:range ep-core:Length . 156 rdfs:range ep-core:Length .
184 157
185 -ep-prodwell:firstFluidInPair
186 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
187 - rdfs:domain ep-prodwell:FluidPair ;
188 - rdfs:label "first fluid in pair"^^xsd:string ;
189 - rdfs:range ep-material:Fluid .
190 -
191 -ep-prodwell:massRatio
192 - rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
193 - rdfs:domain ep-prodwell:FluidPair ;
194 - rdfs:label "mass ratio"^^xsd:string ;
195 - rdfs:range ep-core:Ratio .
196 -
197 -ep-prodwell:moleRatio
198 - rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
199 - rdfs:domain ep-prodwell:FluidPair ;
200 - rdfs:label "mole ratio"^^xsd:string ;
201 - rdfs:range ep-core:Ratio .
202 -
203 ep-prodwell:oilWaterRatioByMass 158 ep-prodwell:oilWaterRatioByMass
204 - rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; 159 + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
205 rdfs:domain ep-material:Fluid ; 160 rdfs:domain ep-material:Fluid ;
206 rdfs:label "oil/water ratio by mass"^^xsd:string ; 161 rdfs:label "oil/water ratio by mass"^^xsd:string ;
207 rdfs:range ep-core:Ratio . 162 rdfs:range ep-core:Ratio .
208 163
209 ep-prodwell:pOverZ 164 ep-prodwell:pOverZ
210 - rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; 165 + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
211 rdfs:domain ep-material:Fluid ; 166 rdfs:domain ep-material:Fluid ;
212 rdfs:label "pressure over gas compressibility factor"^^xsd:string ; 167 rdfs:label "pressure over gas compressibility factor"^^xsd:string ;
213 rdfs:range ep-core:Pressure . 168 rdfs:range ep-core:Pressure .
214 169
215 ep-prodwell:potentialGasProduction 170 ep-prodwell:potentialGasProduction
216 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 171 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
217 rdfs:domain ep-well:WellBore ; 172 rdfs:domain ep-well:WellBore ;
218 rdfs:label "potential gas production"^^xsd:string ; 173 rdfs:label "potential gas production"^^xsd:string ;
219 rdfs:range ep-core:VolumetricFlowRate . 174 rdfs:range ep-core:VolumetricFlowRate .
220 175
221 ep-prodwell:potentialOilProduction 176 ep-prodwell:potentialOilProduction
222 - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; 177 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
223 rdfs:domain ep-well:WellBore ; 178 rdfs:domain ep-well:WellBore ;
224 rdfs:label "potential gas production"^^xsd:string ; 179 rdfs:label "potential gas production"^^xsd:string ;
225 rdfs:range ep-core:VolumetricFlowRate . 180 rdfs:range ep-core:VolumetricFlowRate .
226 181
227 -ep-prodwell:secondFluidInPair
228 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
229 - rdfs:domain ep-prodwell:FluidPair ;
230 - rdfs:label "second fluid in pair"^^xsd:string ;
231 - rdfs:range ep-material:Fluid .
232 -
233 -ep-prodwell:volumeRatio
234 - rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
235 - rdfs:domain ep-prodwell:FluidPair ;
236 - rdfs:label "volume ratio"^^xsd:string ;
237 - rdfs:range ep-core:Ratio .
238 -
239 -ep-prodwell:wholeFluid
240 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
241 - rdfs:domain ep-prodwell:FluidComponentWholePair ;
242 - rdfs:label "whole fluid"^^xsd:string ;
243 - rdfs:range ep-material:Fluid ;
244 - rdfs:subPropertyOf ep-prodwell:secondFluidInPair .
245 -
246 ep-well:SpatialPartOfAWellBore 182 ep-well:SpatialPartOfAWellBore
247 rdfs:subClassOf ep-prodwell:TemporalPartOfASpatialPartOfAWellBore . 183 rdfs:subClassOf ep-prodwell:TemporalPartOfASpatialPartOfAWellBore .
......
...@@ -28,6 +28,11 @@ The componentName element is used differently in the examples for the primary an ...@@ -28,6 +28,11 @@ The componentName element is used differently in the examples for the primary an
28 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; 28 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
29 sp:predicate rdf:type ; 29 sp:predicate rdf:type ;
30 sp:subject _:b1 30 sp:subject _:b1
31 + ] [ sp:object _:b1 ;
32 + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ;
33 + sp:subject
34 + [ sp:varName "sampledFluid"^^xsd:string
35 + ]
31 ] [ sp:object 36 ] [ sp:object
32 [ sp:varName "fluidPhaseType"^^xsd:string 37 [ sp:varName "fluidPhaseType"^^xsd:string
33 ] ; 38 ] ;
...@@ -43,17 +48,6 @@ The componentName element is used differently in the examples for the primary an ...@@ -43,17 +48,6 @@ The componentName element is used differently in the examples for the primary an
43 ] ; 48 ] ;
44 sp:predicate rdf:type ; 49 sp:predicate rdf:type ;
45 sp:subject _:b1 50 sp:subject _:b1
46 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#FluidPrimaryComponentWholePair> ;
47 - sp:predicate rdf:type ;
48 - sp:subject _:b2
49 - ] [ sp:object _:b1 ;
50 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#componentFluid> ;
51 - sp:subject _:b2
52 - ] [ sp:object
53 - [ sp:varName "sampledFluid"^^xsd:string
54 - ] ;
55 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#wholeFluid> ;
56 - sp:subject _:b2
57 ]) ; 51 ]) ;
58 sp:where ([ sp:object 52 sp:where ([ sp:object
59 [ sp:varName "fluidAnalysisResultRef"^^xsd:string 53 [ sp:varName "fluidAnalysisResultRef"^^xsd:string
...@@ -138,191 +132,235 @@ The componentName element is used differently in the examples for the primary an ...@@ -138,191 +132,235 @@ The componentName element is used differently in the examples for the primary an
138 ] ; 132 ] ;
139 spin:rule 133 spin:rule
140 [ rdf:type sp:Construct ; 134 [ rdf:type sp:Construct ;
141 - rdfs:comment """STEP 40002c Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume. 135 + rdfs:comment """STEP 40002d Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
142 kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ; 136 kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
143 - sp:templates ([ sp:object _:b3 ; 137 + sp:templates ([ sp:object _:b2 ;
144 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; 138 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
145 - sp:subject _:b4
146 - ] [ sp:object _:b5 ;
147 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
148 sp:subject _:b3 139 sp:subject _:b3
140 + ] [ sp:object _:b4 ;
141 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
142 + sp:subject _:b2
149 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ; 143 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
150 sp:predicate rdf:type ; 144 sp:predicate rdf:type ;
151 - sp:subject _:b5 145 + sp:subject _:b4
152 - ] [ sp:object _:b6 ; 146 + ] [ sp:object _:b5 ;
153 sp:predicate rdfs:label ; 147 sp:predicate rdfs:label ;
154 - sp:subject _:b5 148 + sp:subject _:b4
155 - ] [ sp:object _:b7 ;
156 - sp:predicate rdf:type ;
157 - sp:subject _:b5
158 ] [ sp:object _:b6 ; 149 ] [ sp:object _:b6 ;
150 + sp:predicate rdf:type ;
151 + sp:subject _:b4
152 + ] [ sp:object _:b5 ;
159 sp:predicate rdfs:label ; 153 sp:predicate rdfs:label ;
160 - sp:subject _:b8 154 + sp:subject _:b7
161 ]) ; 155 ]) ;
162 - sp:where ([ sp:object _:b9 ; 156 + sp:where ([ sp:object _:b8 ;
163 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 157 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
164 sp:subject spin:_this 158 sp:subject spin:_this
165 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; 159 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
166 sp:predicate rdf:type ; 160 sp:predicate rdf:type ;
167 - sp:subject _:b9 161 + sp:subject _:b8
168 - ] [ sp:object _:b9 ;
169 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
170 - sp:subject _:b4
171 ] [ sp:object _:b8 ; 162 ] [ sp:object _:b8 ;
163 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
164 + sp:subject _:b3
165 + ] [ sp:object _:b7 ;
172 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; 166 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
173 - sp:subject _:b9
174 - ] [ sp:object _:b10 ;
175 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
176 sp:subject _:b8 167 sp:subject _:b8
177 - ] [ sp:object _:b11 ; 168 + ] [ sp:object _:b9 ;
169 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
170 + sp:subject _:b7
171 + ] [ sp:object _:b10 ;
178 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 172 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
179 - sp:subject _:b10 173 + sp:subject _:b9
180 - ] [ sp:object _:b12 ; 174 + ] [ sp:object _:b11 ;
181 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 175 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
182 - sp:subject _:b10 176 + sp:subject _:b9
183 ] [ rdf:type sp:NotExists ; 177 ] [ rdf:type sp:NotExists ;
184 sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ; 178 sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
185 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 179 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
186 - sp:subject _:b10 180 + sp:subject _:b9
187 ]) 181 ])
188 - ] [ sp:object _:b13 ; 182 + ] [ sp:object _:b12 ;
189 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ; 183 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
190 - sp:subject _:b9 184 + sp:subject _:b8
185 + ] [ sp:object _:b13 ;
186 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
187 + sp:subject _:b12
191 ] [ sp:object _:b14 ; 188 ] [ sp:object _:b14 ;
189 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
190 + sp:subject _:b8
191 + ] [ sp:object _:b15 ;
192 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 192 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
193 - sp:subject _:b13 193 + sp:subject _:b14
194 - ] [ rdf:type sp:NotExists ;
195 - sp:elements ([ sp:object
196 - [ sp:varName "facilityParent2Ref"^^xsd:string
197 - ] ;
198 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
199 - sp:subject _:b9
200 - ])
201 ] [ rdf:type sp:Bind ; 194 ] [ rdf:type sp:Bind ;
202 sp:expression 195 sp:expression
203 [ rdf:type ep-spin-lib:normalizeString ; 196 [ rdf:type ep-spin-lib:normalizeString ;
204 - sp:arg1 _:b11 197 + sp:arg1 _:b10
205 ] ; 198 ] ;
206 - sp:variable _:b15 199 + sp:variable _:b16
207 ] [ rdf:type sp:Bind ; 200 ] [ rdf:type sp:Bind ;
208 sp:expression 201 sp:expression
209 [ rdf:type ep-spin-lib:normalizeString ; 202 [ rdf:type ep-spin-lib:normalizeString ;
210 - sp:arg1 _:b14 203 + sp:arg1 _:b13
211 ] ; 204 ] ;
212 - sp:variable _:b16 205 + sp:variable _:b17
206 + ] [ rdf:type sp:Bind ;
207 + sp:expression
208 + [ rdf:type ep-spin-lib:normalizeString ;
209 + sp:arg1 _:b15
210 + ] ;
211 + sp:variable
212 + [ sp:varName "normalizedFacilityParent2Name"^^xsd:string
213 + ]
213 ] [ rdf:type sp:Bind ; 214 ] [ rdf:type sp:Bind ;
214 sp:expression 215 sp:expression
215 [ rdf:type fn:concat ; 216 [ rdf:type fn:concat ;
216 - sp:arg1 _:b16 ; 217 + sp:arg1 _:b17 ;
217 sp:arg2 "$" ; 218 sp:arg2 "$" ;
218 - sp:arg3 _:b15 219 + sp:arg3 _:b17 ;
220 + sp:arg4 "$" ;
221 + sp:arg5 _:b16
219 ] ; 222 ] ;
220 - sp:variable _:b6 223 + sp:variable _:b5
221 ] [ rdf:type sp:Bind ; 224 ] [ rdf:type sp:Bind ;
222 sp:expression 225 sp:expression
223 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; 226 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
224 - sp:arg1 _:b6 227 + sp:arg1 _:b5
225 ] ; 228 ] ;
226 - sp:variable _:b5 229 + sp:variable _:b4
227 ] [ rdf:type sp:Bind ; 230 ] [ rdf:type sp:Bind ;
228 sp:expression 231 sp:expression
229 [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; 232 [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
230 - sp:arg1 _:b12 233 + sp:arg1 _:b11
231 ] ; 234 ] ;
232 - sp:variable _:b7 235 + sp:variable _:b6
233 ]) 236 ])
234 ] ; 237 ] ;
235 spin:rule 238 spin:rule
236 [ rdf:type sp:Construct ; 239 [ rdf:type sp:Construct ;
237 - rdfs:comment """STEP 40002a Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume. 240 + rdfs:comment """STEP 40002b Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
238 -kind is \"well\" and facilityAlias is supplied"""^^xsd:string ; 241 +kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
239 - sp:templates ([ sp:object _:b17 ; 242 + sp:templates ([ sp:object _:b18 ;
240 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; 243 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
241 - sp:subject _:b18 244 + sp:subject _:b19
242 - ] [ sp:object _:b19 ;
243 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
244 - sp:subject _:b17
245 ] [ sp:object _:b20 ; 245 ] [ sp:object _:b20 ;
246 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
247 + sp:subject _:b18
248 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
249 + sp:predicate rdf:type ;
250 + sp:subject _:b20
251 + ] [ sp:object _:b21 ;
252 + sp:predicate rdfs:label ;
253 + sp:subject _:b20
254 + ] [ sp:object _:b22 ;
255 + sp:predicate rdf:type ;
256 + sp:subject _:b20
257 + ] [ sp:object _:b21 ;
246 sp:predicate rdfs:label ; 258 sp:predicate rdfs:label ;
247 - sp:subject _:b21 259 + sp:subject _:b23
248 ]) ; 260 ]) ;
249 - sp:where ([ sp:object _:b22 ; 261 + sp:where ([ sp:object _:b24 ;
250 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 262 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
251 sp:subject spin:_this 263 sp:subject spin:_this
252 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; 264 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
253 sp:predicate rdf:type ; 265 sp:predicate rdf:type ;
254 - sp:subject _:b22 266 + sp:subject _:b24
255 - ] [ sp:object _:b22 ; 267 + ] [ sp:object _:b24 ;
256 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 268 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
257 - sp:subject _:b18 269 + sp:subject _:b19
258 - ] [ sp:object _:b21 ;
259 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
260 - sp:subject _:b22
261 ] [ sp:object _:b23 ; 270 ] [ sp:object _:b23 ;
271 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
272 + sp:subject _:b24
273 + ] [ sp:object _:b25 ;
262 sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; 274 sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
263 - sp:subject _:b21
264 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
265 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
266 sp:subject _:b23 275 sp:subject _:b23
267 - ] [ sp:object _:b24 ; 276 + ] [ sp:object _:b26 ;
268 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityAliasRef> ;
269 - sp:subject _:b22
270 - ] [ sp:object _:b25 ;
271 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 277 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
272 - sp:subject _:b24 278 + sp:subject _:b25
279 + ] [ sp:object _:b27 ;
280 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
281 + sp:subject _:b25
282 + ] [ rdf:type sp:NotExists ;
283 + sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
284 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
285 + sp:subject _:b25
286 + ])
287 + ] [ rdf:type sp:NotExists ;
288 + sp:elements ([ sp:object
289 + [ sp:varName "facilityParent1Ref"^^xsd:string
290 + ] ;
291 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
292 + sp:subject _:b24
293 + ])
273 ] [ rdf:type sp:Bind ; 294 ] [ rdf:type sp:Bind ;
274 sp:expression 295 sp:expression
275 [ rdf:type ep-spin-lib:normalizeString ; 296 [ rdf:type ep-spin-lib:normalizeString ;
276 - sp:arg1 _:b25 297 + sp:arg1 _:b26
298 + ] ;
299 + sp:variable _:b21
300 + ] [ rdf:type sp:Bind ;
301 + sp:expression
302 + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
303 + sp:arg1 _:b21
277 ] ; 304 ] ;
278 sp:variable _:b20 305 sp:variable _:b20
279 ] [ rdf:type sp:Bind ; 306 ] [ rdf:type sp:Bind ;
280 sp:expression 307 sp:expression
281 - [ rdf:type rhspin:wellByName ; 308 + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
282 - arg:wellName _:b25 309 + sp:arg1 _:b27
283 ] ; 310 ] ;
284 - sp:variable _:b19 311 + sp:variable _:b22
285 ]) 312 ])
286 ] ; 313 ] ;
287 spin:rule 314 spin:rule
288 [ rdf:type sp:Construct ; 315 [ rdf:type sp:Construct ;
289 - rdfs:comment "STEP 40004 Specify the fluid analysis result."^^xsd:string ; 316 + rdfs:comment "STEP 40001 Create the FluidSampleReport, FluidSampling activity and FluidSample object ."^^xsd:string ;
290 - sp:templates ([ sp:object _:b26 ; 317 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#FluidSampleReport> ;
291 - sp:predicate rdfs:label ;
292 - sp:subject _:b27
293 - ] [ sp:object _:b28 ;
294 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
295 - sp:subject _:b29
296 - ]) ;
297 - sp:where ([ sp:object _:b30 ;
298 - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
299 - sp:subject spin:_this
300 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
301 sp:predicate rdf:type ; 318 sp:predicate rdf:type ;
302 - sp:subject _:b30 319 + sp:subject _:b28
303 - ] [ sp:object _:b30 ;
304 - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
305 - sp:subject _:b27
306 ] [ sp:object _:b29 ; 320 ] [ sp:object _:b29 ;
307 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; 321 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
308 - sp:subject _:b27 322 + sp:subject _:b28
323 + ] [ sp:object _:b30 ;
324 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
325 + sp:subject _:b28
326 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
327 + sp:predicate rdf:type ;
328 + sp:subject _:b30
309 ] [ sp:object _:b31 ; 329 ] [ sp:object _:b31 ;
310 - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; 330 + sp:predicate rdf:type ;
331 + sp:subject _:b30
332 + ] [ sp:object _:b32 ;
333 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
311 sp:subject _:b30 334 sp:subject _:b30
312 - ] [ sp:object _:b28 ; 335 + ] [ sp:object _:b33 ;
336 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
337 + sp:subject _:b30
338 + ]) ;
339 + sp:where ([ sp:object spin:_this ;
340 + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
341 + sp:subject _:b29
342 + ] [ sp:object _:b33 ;
313 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 343 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
314 sp:subject spin:_this 344 sp:subject spin:_this
315 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ; 345 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
316 sp:predicate rdf:type ; 346 sp:predicate rdf:type ;
317 - sp:subject _:b28 347 + sp:subject _:b33
318 - ] [ sp:object _:b31 ;
319 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ;
320 - sp:subject _:b28
321 ] [ rdf:type sp:Optional ; 348 ] [ rdf:type sp:Optional ;
322 - sp:elements ([ sp:object _:b26 ; 349 + sp:elements ([ sp:object _:b32 ;
323 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ; 350 + sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ;
324 - sp:subject _:b28 351 + sp:subject _:b33
352 + ])
353 + ] [ rdf:type sp:Optional ;
354 + sp:elements ([ sp:object _:b34 ;
355 + sp:predicate <http://www.epim.no/schemas/mprml/1#sampleTypeRef> ;
356 + sp:subject _:b33
325 ]) 357 ])
358 + ] [ rdf:type sp:Bind ;
359 + sp:expression
360 + [ rdf:type ep-mpr-spin-lib:selectFluidSamplingType ;
361 + sp:arg1 _:b34
362 + ] ;
363 + sp:variable _:b31
326 ]) 364 ])
327 ] ; 365 ] ;
328 spin:rule 366 spin:rule
...@@ -331,322 +369,276 @@ kind is \"well\" and facilityAlias is supplied"""^^xsd:string ; ...@@ -331,322 +369,276 @@ kind is \"well\" and facilityAlias is supplied"""^^xsd:string ;
331 The sample is anonymous. It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ; 369 The sample is anonymous. It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ;
332 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; 370 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
333 sp:predicate rdf:type ; 371 sp:predicate rdf:type ;
334 - sp:subject _:b32 372 + sp:subject _:b35
335 - ] [ sp:object _:b33 ; 373 + ] [ sp:object _:b36 ;
336 sp:predicate rdfs:label ; 374 sp:predicate rdfs:label ;
337 - sp:subject _:b32 375 + sp:subject _:b35
338 - ] [ sp:object _:b32 ; 376 + ] [ sp:object _:b35 ;
339 sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; 377 sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
340 - sp:subject _:b34 378 + sp:subject _:b37
341 ]) ; 379 ]) ;
342 - sp:where ([ sp:object _:b35 ; 380 + sp:where ([ sp:object _:b38 ;
343 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 381 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
344 sp:subject spin:_this 382 sp:subject spin:_this
345 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; 383 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
346 sp:predicate rdf:type ; 384 sp:predicate rdf:type ;
347 - sp:subject _:b35 385 + sp:subject _:b38
348 - ] [ sp:object _:b35 ; 386 + ] [ sp:object _:b38 ;
349 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 387 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
350 - sp:subject _:b34 388 + sp:subject _:b37
351 - ] [ sp:object _:b33 ; 389 + ] [ sp:object _:b36 ;
352 sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; 390 sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
353 - sp:subject _:b35 391 + sp:subject _:b38
354 ]) 392 ])
355 ] ; 393 ] ;
356 spin:rule 394 spin:rule
357 [ rdf:type sp:Construct ; 395 [ rdf:type sp:Construct ;
358 - rdfs:comment "STEP 40001 Create the FluidSampleReport, FluidSampling activity and FluidSample object ."^^xsd:string ; 396 + rdfs:comment "STEP 40004 Specify the fluid analysis result."^^xsd:string ;
359 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#FluidSampleReport> ; 397 + sp:templates ([ sp:object _:b39 ;
360 - sp:predicate rdf:type ; 398 + sp:predicate rdfs:label ;
361 - sp:subject _:b36 399 + sp:subject _:b40
362 - ] [ sp:object _:b37 ;
363 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
364 - sp:subject _:b36
365 - ] [ sp:object _:b38 ;
366 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
367 - sp:subject _:b36
368 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
369 - sp:predicate rdf:type ;
370 - sp:subject _:b38
371 - ] [ sp:object _:b39 ;
372 - sp:predicate rdf:type ;
373 - sp:subject _:b38
374 - ] [ sp:object _:b40 ;
375 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
376 - sp:subject _:b38
377 ] [ sp:object _:b41 ; 400 ] [ sp:object _:b41 ;
378 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 401 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
379 - sp:subject _:b38 402 + sp:subject _:b42
380 ]) ; 403 ]) ;
381 - sp:where ([ sp:object spin:_this ; 404 + sp:where ([ sp:object _:b43 ;
405 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
406 + sp:subject spin:_this
407 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
408 + sp:predicate rdf:type ;
409 + sp:subject _:b43
410 + ] [ sp:object _:b43 ;
382 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 411 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
383 - sp:subject _:b37 412 + sp:subject _:b40
413 + ] [ sp:object _:b42 ;
414 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
415 + sp:subject _:b40
416 + ] [ sp:object _:b44 ;
417 + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
418 + sp:subject _:b43
384 ] [ sp:object _:b41 ; 419 ] [ sp:object _:b41 ;
385 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 420 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
386 sp:subject spin:_this 421 sp:subject spin:_this
387 - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; 422 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ;
388 sp:predicate rdf:type ; 423 sp:predicate rdf:type ;
389 sp:subject _:b41 424 sp:subject _:b41
425 + ] [ sp:object _:b44 ;
426 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ;
427 + sp:subject _:b41
390 ] [ rdf:type sp:Optional ; 428 ] [ rdf:type sp:Optional ;
391 - sp:elements ([ sp:object _:b40 ; 429 + sp:elements ([ sp:object _:b39 ;
392 - sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; 430 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ;
393 - sp:subject _:b41
394 - ])
395 - ] [ rdf:type sp:Optional ;
396 - sp:elements ([ sp:object _:b42 ;
397 - sp:predicate <http://www.epim.no/schemas/mprml/1#sampleTypeRef> ;
398 sp:subject _:b41 431 sp:subject _:b41
399 ]) 432 ])
400 - ] [ rdf:type sp:Bind ;
401 - sp:expression
402 - [ rdf:type ep-mpr-spin-lib:selectFluidSamplingType ;
403 - sp:arg1 _:b42
404 - ] ;
405 - sp:variable _:b39
406 ]) 433 ])
407 ] ; 434 ] ;
408 spin:rule 435 spin:rule
409 [ rdf:type sp:Construct ; 436 [ rdf:type sp:Construct ;
410 - rdfs:comment """STEP 40002b Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume. 437 + rdfs:comment """STEP 40002a Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
411 -kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ; 438 +kind is \"well\" and facilityAlias is supplied"""^^xsd:string ;
412 - sp:templates ([ sp:object _:b43 ; 439 + sp:templates ([ sp:object _:b45 ;
413 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; 440 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
414 - sp:subject _:b44 441 + sp:subject _:b46
415 - ] [ sp:object _:b45 ;
416 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
417 - sp:subject _:b43
418 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
419 - sp:predicate rdf:type ;
420 - sp:subject _:b45
421 - ] [ sp:object _:b46 ;
422 - sp:predicate rdfs:label ;
423 - sp:subject _:b45
424 ] [ sp:object _:b47 ; 442 ] [ sp:object _:b47 ;
425 - sp:predicate rdf:type ; 443 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
426 sp:subject _:b45 444 sp:subject _:b45
427 - ] [ sp:object _:b46 ; 445 + ] [ sp:object _:b48 ;
428 sp:predicate rdfs:label ; 446 sp:predicate rdfs:label ;
429 - sp:subject _:b48 447 + sp:subject _:b49
430 ]) ; 448 ]) ;
431 - sp:where ([ sp:object _:b49 ; 449 + sp:where ([ sp:object _:b50 ;
432 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 450 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
433 sp:subject spin:_this 451 sp:subject spin:_this
434 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; 452 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
435 sp:predicate rdf:type ; 453 sp:predicate rdf:type ;
436 - sp:subject _:b49 454 + sp:subject _:b50
437 - ] [ sp:object _:b49 ; 455 + ] [ sp:object _:b50 ;
438 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 456 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
439 - sp:subject _:b44 457 + sp:subject _:b46
440 - ] [ sp:object _:b48 ; 458 + ] [ sp:object _:b49 ;
441 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; 459 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
442 - sp:subject _:b49
443 - ] [ sp:object _:b50 ;
444 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
445 - sp:subject _:b48
446 - ] [ sp:object _:b51 ;
447 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
448 sp:subject _:b50 460 sp:subject _:b50
449 - ] [ sp:object _:b52 ; 461 + ] [ sp:object _:b51 ;
462 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
463 + sp:subject _:b49
464 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
450 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 465 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
466 + sp:subject _:b51
467 + ] [ sp:object _:b52 ;
468 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityAliasRef> ;
451 sp:subject _:b50 469 sp:subject _:b50
452 - ] [ rdf:type sp:NotExists ; 470 + ] [ sp:object _:b53 ;
453 - sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ; 471 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
454 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 472 + sp:subject _:b52
455 - sp:subject _:b50
456 - ])
457 - ] [ rdf:type sp:NotExists ;
458 - sp:elements ([ sp:object
459 - [ sp:varName "facilityParent1Ref"^^xsd:string
460 - ] ;
461 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
462 - sp:subject _:b49
463 - ])
464 ] [ rdf:type sp:Bind ; 473 ] [ rdf:type sp:Bind ;
465 sp:expression 474 sp:expression
466 [ rdf:type ep-spin-lib:normalizeString ; 475 [ rdf:type ep-spin-lib:normalizeString ;
467 - sp:arg1 _:b51 476 + sp:arg1 _:b53
468 ] ; 477 ] ;
469 - sp:variable _:b46 478 + sp:variable _:b48
470 ] [ rdf:type sp:Bind ; 479 ] [ rdf:type sp:Bind ;
471 sp:expression 480 sp:expression
472 - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; 481 + [ rdf:type rhspin:wellByName ;
473 - sp:arg1 _:b46 482 + arg:wellName _:b53
474 - ] ;
475 - sp:variable _:b45
476 - ] [ rdf:type sp:Bind ;
477 - sp:expression
478 - [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
479 - sp:arg1 _:b52
480 ] ; 483 ] ;
481 sp:variable _:b47 484 sp:variable _:b47
482 ]) 485 ])
483 ] ; 486 ] ;
484 spin:rule 487 spin:rule
485 [ rdf:type sp:Construct ; 488 [ rdf:type sp:Construct ;
486 - rdfs:comment """STEP 40002d Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume. 489 + rdfs:comment """STEP 40002c Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
487 kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ; 490 kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
488 - sp:templates ([ sp:object _:b53 ; 491 + sp:templates ([ sp:object _:b54 ;
489 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; 492 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
490 - sp:subject _:b54 493 + sp:subject _:b55
491 - ] [ sp:object _:b55 ; 494 + ] [ sp:object _:b56 ;
492 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 495 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
493 - sp:subject _:b53 496 + sp:subject _:b54
494 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ; 497 ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
495 sp:predicate rdf:type ; 498 sp:predicate rdf:type ;
496 - sp:subject _:b55 499 + sp:subject _:b56
497 - ] [ sp:object _:b56 ;
498 - sp:predicate rdfs:label ;
499 - sp:subject _:b55
500 ] [ sp:object _:b57 ; 500 ] [ sp:object _:b57 ;
501 + sp:predicate rdfs:label ;
502 + sp:subject _:b56
503 + ] [ sp:object _:b58 ;
501 sp:predicate rdf:type ; 504 sp:predicate rdf:type ;
502 - sp:subject _:b55 505 + sp:subject _:b56
503 - ] [ sp:object _:b56 ; 506 + ] [ sp:object _:b57 ;
504 sp:predicate rdfs:label ; 507 sp:predicate rdfs:label ;
505 - sp:subject _:b58 508 + sp:subject _:b59
506 ]) ; 509 ]) ;
507 - sp:where ([ sp:object _:b59 ; 510 + sp:where ([ sp:object _:b60 ;
508 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; 511 sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
509 sp:subject spin:_this 512 sp:subject spin:_this
510 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; 513 ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
511 sp:predicate rdf:type ; 514 sp:predicate rdf:type ;
512 - sp:subject _:b59 515 + sp:subject _:b60
513 - ] [ sp:object _:b59 ; 516 + ] [ sp:object _:b60 ;
514 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; 517 sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
515 - sp:subject _:b54 518 + sp:subject _:b55
516 - ] [ sp:object _:b58 ; 519 + ] [ sp:object _:b59 ;
517 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; 520 sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
518 - sp:subject _:b59
519 - ] [ sp:object _:b60 ;
520 - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
521 - sp:subject _:b58
522 - ] [ sp:object _:b61 ;
523 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
524 sp:subject _:b60 521 sp:subject _:b60
522 + ] [ sp:object _:b61 ;
523 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
524 + sp:subject _:b59
525 ] [ sp:object _:b62 ; 525 ] [ sp:object _:b62 ;
526 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
527 + sp:subject _:b61
528 + ] [ sp:object _:b63 ;
526 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 529 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
527 - sp:subject _:b60 530 + sp:subject _:b61
528 ] [ rdf:type sp:NotExists ; 531 ] [ rdf:type sp:NotExists ;
529 sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ; 532 sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
530 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 533 sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
531 - sp:subject _:b60 534 + sp:subject _:b61
532 ]) 535 ])
533 - ] [ sp:object _:b63 ;
534 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
535 - sp:subject _:b59
536 ] [ sp:object _:b64 ; 536 ] [ sp:object _:b64 ;
537 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 537 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
538 - sp:subject _:b63 538 + sp:subject _:b60
539 ] [ sp:object _:b65 ; 539 ] [ sp:object _:b65 ;
540 - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
541 - sp:subject _:b59
542 - ] [ sp:object _:b66 ;
543 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 540 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
544 - sp:subject _:b65 541 + sp:subject _:b64
545 - ] [ rdf:type sp:Bind ; 542 + ] [ rdf:type sp:NotExists ;
546 - sp:expression 543 + sp:elements ([ sp:object
547 - [ rdf:type ep-spin-lib:normalizeString ; 544 + [ sp:varName "facilityParent2Ref"^^xsd:string
548 - sp:arg1 _:b61 545 + ] ;
549 - ] ; 546 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
550 - sp:variable _:b67 547 + sp:subject _:b60
548 + ])
551 ] [ rdf:type sp:Bind ; 549 ] [ rdf:type sp:Bind ;
552 sp:expression 550 sp:expression
553 [ rdf:type ep-spin-lib:normalizeString ; 551 [ rdf:type ep-spin-lib:normalizeString ;
554 - sp:arg1 _:b64 552 + sp:arg1 _:b62
555 ] ; 553 ] ;
556 - sp:variable _:b68 554 + sp:variable _:b66
557 ] [ rdf:type sp:Bind ; 555 ] [ rdf:type sp:Bind ;
558 sp:expression 556 sp:expression
559 [ rdf:type ep-spin-lib:normalizeString ; 557 [ rdf:type ep-spin-lib:normalizeString ;
560 - sp:arg1 _:b66 558 + sp:arg1 _:b65
561 ] ; 559 ] ;
562 - sp:variable 560 + sp:variable _:b67
563 - [ sp:varName "normalizedFacilityParent2Name"^^xsd:string
564 - ]
565 ] [ rdf:type sp:Bind ; 561 ] [ rdf:type sp:Bind ;
566 sp:expression 562 sp:expression
567 [ rdf:type fn:concat ; 563 [ rdf:type fn:concat ;
568 - sp:arg1 _:b68 ; 564 + sp:arg1 _:b67 ;
569 sp:arg2 "$" ; 565 sp:arg2 "$" ;
570 - sp:arg3 _:b68 ; 566 + sp:arg3 _:b66
571 - sp:arg4 "$" ;
572 - sp:arg5 _:b67
573 ] ; 567 ] ;
574 - sp:variable _:b56 568 + sp:variable _:b57
575 ] [ rdf:type sp:Bind ; 569 ] [ rdf:type sp:Bind ;
576 sp:expression 570 sp:expression
577 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; 571 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
578 - sp:arg1 _:b56 572 + sp:arg1 _:b57
579 ] ; 573 ] ;
580 - sp:variable _:b55 574 + sp:variable _:b56
581 ] [ rdf:type sp:Bind ; 575 ] [ rdf:type sp:Bind ;
582 sp:expression 576 sp:expression
583 [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; 577 [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
584 - sp:arg1 _:b62 578 + sp:arg1 _:b63
585 ] ; 579 ] ;
586 - sp:variable _:b57 580 + sp:variable _:b58
587 ]) 581 ])
588 ] ; 582 ] ;
589 spin:rule 583 spin:rule
590 [ rdf:type sp:Construct ; 584 [ rdf:type sp:Construct ;
591 rdfs:comment """STEP 40005b Specify the fluid component - non-primary component. 585 rdfs:comment """STEP 40005b Specify the fluid component - non-primary component.
592 The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; 586 The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ;
593 - sp:templates ([ sp:object _:b69 ; 587 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
594 - sp:predicate 588 + sp:predicate rdf:type ;
595 - [ sp:varName "fluidComponentType"^^xsd:string 589 + sp:subject _:b68
596 - ] ; 590 + ] [ sp:object _:b68 ;
591 + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ;
597 sp:subject 592 sp:subject
598 [ sp:varName "sampledFluid"^^xsd:string 593 [ sp:varName "sampledFluid"^^xsd:string
599 ] 594 ]
600 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
601 - sp:predicate rdf:type ;
602 - sp:subject _:b69
603 ] [ sp:object 595 ] [ sp:object
604 [ sp:varName "fluidComponentKindType"^^xsd:string 596 [ sp:varName "fluidComponentKindType"^^xsd:string
605 ] ; 597 ] ;
606 sp:predicate rdf:type ; 598 sp:predicate rdf:type ;
607 - sp:subject _:b69 599 + sp:subject _:b68
608 ] [ sp:object 600 ] [ sp:object
609 [ sp:varName "fluidSubstanceKindType"^^xsd:string 601 [ sp:varName "fluidSubstanceKindType"^^xsd:string
610 ] ; 602 ] ;
611 sp:predicate rdf:type ; 603 sp:predicate rdf:type ;
612 - sp:subject _:b69 604 + sp:subject _:b68
613 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#FluidNonPrimaryComponentWholePair> ; 605 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ;
614 sp:predicate rdf:type ; 606 sp:predicate rdf:type ;
615 - sp:subject _:b70 607 + sp:subject _:b69
616 - ] [ sp:object _:b69 ; 608 + ] [ sp:object _:b68 ;
617 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#componentFluid> ; 609 + sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ;
618 - sp:subject _:b70 610 + sp:subject _:b69
619 ] [ sp:object 611 ] [ sp:object
620 [ sp:varName "sampledFluid"^^xsd:string 612 [ sp:varName "sampledFluid"^^xsd:string
621 ] ; 613 ] ;
622 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#wholeFluid> ; 614 + sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ;
623 - sp:subject _:b70 615 + sp:subject _:b69
624 - ] [ sp:object _:b71 ; 616 + ] [ sp:object _:b70 ;
625 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#massRatio> ; 617 + sp:predicate <http://www.reportinghub.no/ep/schema/material#massRatio> ;
626 - sp:subject _:b70 618 + sp:subject _:b69
627 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ; 619 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
628 sp:predicate rdf:type ; 620 sp:predicate rdf:type ;
629 - sp:subject _:b71 621 + sp:subject _:b70
630 ] [ sp:object 622 ] [ sp:object
631 [ sp:varName "realWeightPercent"^^xsd:string 623 [ sp:varName "realWeightPercent"^^xsd:string
632 ] ; 624 ] ;
633 sp:predicate 625 sp:predicate
634 [ sp:varName "weightPercentScale"^^xsd:string 626 [ sp:varName "weightPercentScale"^^xsd:string
635 ] ; 627 ] ;
636 - sp:subject _:b71
637 - ] [ sp:object _:b72 ;
638 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#moleRatio> ;
639 sp:subject _:b70 628 sp:subject _:b70
629 + ] [ sp:object _:b71 ;
630 + sp:predicate <http://www.reportinghub.no/ep/schema/material#moleRatio> ;
631 + sp:subject _:b69
640 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ; 632 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
641 sp:predicate rdf:type ; 633 sp:predicate rdf:type ;
642 - sp:subject _:b72 634 + sp:subject _:b71
643 ] [ sp:object 635 ] [ sp:object
644 [ sp:varName "realMolePercent"^^xsd:string 636 [ sp:varName "realMolePercent"^^xsd:string
645 ] ; 637 ] ;
646 sp:predicate 638 sp:predicate
647 [ sp:varName "molePercentScale"^^xsd:string 639 [ sp:varName "molePercentScale"^^xsd:string
648 ] ; 640 ] ;
649 - sp:subject _:b72 641 + sp:subject _:b71
650 ]) ; 642 ]) ;
651 sp:where ([ sp:object 643 sp:where ([ sp:object
652 [ sp:varName "fluidAnalysisResultRef"^^xsd:string 644 [ sp:varName "fluidAnalysisResultRef"^^xsd:string
...@@ -783,176 +775,175 @@ The componentName element is used differently in the examples for the primary an ...@@ -783,176 +775,175 @@ The componentName element is used differently in the examples for the primary an
783 775
784 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> 776 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0>
785 rdf:type owl:Ontology ; 777 rdf:type owl:Ontology ;
786 - owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> ; 778 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
787 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 779 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
788 780
789 -_:b16 781 +_:b55
790 - sp:varName "normalizedFacilityParent1Name"^^xsd:string . 782 + sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
791 783
792 -_:b15 784 +_:b56
793 - sp:varName "normalizedFacilityChildName"^^xsd:string . 785 + sp:varName "facility"^^xsd:string .
794 786
795 -_:b14 787 +_:b57
796 - sp:varName "facilityParent1Name"^^xsd:string . 788 + sp:varName "normalizedFacilityName"^^xsd:string .
797 789
798 -_:b13 790 +_:b58
799 - sp:varName "facilityParent1Ref"^^xsd:string . 791 + sp:varName "facilityType"^^xsd:string .
800 792
801 -_:b12 793 +_:b59
802 - sp:varName "facilityKind"^^xsd:string . 794 + sp:varName "facilityRef"^^xsd:string .
803 795
804 -_:b11 796 +_:b60
805 - sp:varName "facilityChildName"^^xsd:string . 797 + sp:varName "fluidSampleRef"^^xsd:string .
806 798
807 -_:b10 799 +_:b61
808 sp:varName "facilityNameRef"^^xsd:string . 800 sp:varName "facilityNameRef"^^xsd:string .
809 801
810 -_:b9 sp:varName "fluidSampleRef"^^xsd:string . 802 +_:b62
811 - 803 + sp:varName "facilityChildName"^^xsd:string .
812 -_:b8 sp:varName "facilityRef"^^xsd:string .
813 804
814 -_:b7 sp:varName "facilityType"^^xsd:string . 805 +_:b63
806 + sp:varName "facilityKind"^^xsd:string .
815 807
816 -_:b6 sp:varName "normalizedFacilityName"^^xsd:string . 808 +_:b64
809 + sp:varName "facilityParent1Ref"^^xsd:string .
817 810
818 -_:b5 sp:varName "facility"^^xsd:string . 811 +_:b65
812 + sp:varName "facilityParent1Name"^^xsd:string .
819 813
820 -_:b4 sp:varName "fluidSamplingAndAnalysis"^^xsd:string . 814 +_:b66
815 + sp:varName "normalizedFacilityChildName"^^xsd:string .
821 816
822 -_:b25 817 +_:b67
823 - sp:varName "facilityAlias"^^xsd:string . 818 + sp:varName "normalizedFacilityParent1Name"^^xsd:string .
824 819
825 -_:b24 820 +_:b46
826 - sp:varName "facilityAliasRef"^^xsd:string . 821 + sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
827 822
828 -_:b23 823 +_:b47
829 - sp:varName "facilityNameRef"^^xsd:string . 824 + sp:varName "facility"^^xsd:string .
830 825
831 -_:b22 826 +_:b48
832 - sp:varName "fluidSampleRef"^^xsd:string . 827 + sp:varName "normalizedFacilityAlias"^^xsd:string .
833 828
834 -_:b21 829 +_:b49
835 sp:varName "facilityRef"^^xsd:string . 830 sp:varName "facilityRef"^^xsd:string .
836 831
837 -_:b20 832 +_:b50
838 - sp:varName "normalizedFacilityAlias"^^xsd:string . 833 + sp:varName "fluidSampleRef"^^xsd:string .
839 834
840 -_:b19 835 +_:b51
841 - sp:varName "facility"^^xsd:string . 836 + sp:varName "facilityNameRef"^^xsd:string .
842 837
843 -_:b18 838 +_:b52
844 - sp:varName "fluidSamplingAndAnalysis"^^xsd:string . 839 + sp:varName "facilityAliasRef"^^xsd:string .
845 840
846 -_:b31 841 +_:b53
847 - sp:varName "name"^^xsd:string . 842 + sp:varName "facilityAlias"^^xsd:string .
848 843
849 -_:b30 844 +_:b39
850 - sp:varName "fluidSampleRef"^^xsd:string . 845 + sp:varName "nameFluidAnalysis"^^xsd:string .
851 846
852 -_:b29 847 +_:b40
853 - sp:varName "sampledFluid"^^xsd:string . 848 + sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
854 849
855 -_:b28 850 +_:b41
856 sp:varName "fluidAnalysisResultRef"^^xsd:string . 851 sp:varName "fluidAnalysisResultRef"^^xsd:string .
857 852
858 -_:b27 853 +_:b42
859 - sp:varName "fluidSamplingAndAnalysis"^^xsd:string . 854 + sp:varName "sampledFluid"^^xsd:string .
860 -
861 -_:b26
862 - sp:varName "nameFluidAnalysis"^^xsd:string .
863 855
864 -_:b35 856 +_:b43
865 sp:varName "fluidSampleRef"^^xsd:string . 857 sp:varName "fluidSampleRef"^^xsd:string .
866 858
867 -_:b34 859 +_:b44
868 - sp:varName "fluidSamplingAndAnalysis"^^xsd:string . 860 + sp:varName "name"^^xsd:string .
869 861
870 -_:b33 862 +_:b36
871 sp:varName "name"^^xsd:string . 863 sp:varName "name"^^xsd:string .
872 864
873 -_:b42 865 +_:b37
874 - sp:varName "sampleTypeRef"^^xsd:string . 866 + sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
875 867
876 -_:b41 868 +_:b38
877 sp:varName "fluidSampleRef"^^xsd:string . 869 sp:varName "fluidSampleRef"^^xsd:string .
878 870
879 -_:b40 871 +_:b29
880 - sp:varName "acquisitionDate"^^xsd:string . 872 + sp:varName "productionReport"^^xsd:string .
881 873
882 -_:b39 874 +_:b31
883 sp:varName "fluidSamplingType"^^xsd:string . 875 sp:varName "fluidSamplingType"^^xsd:string .
884 876
885 -_:b37 877 +_:b32
886 - sp:varName "productionReport"^^xsd:string . 878 + sp:varName "acquisitionDate"^^xsd:string .
887 879
888 -_:b52 880 +_:b33
889 - sp:varName "facilityKind"^^xsd:string . 881 + sp:varName "fluidSampleRef"^^xsd:string .
890 882
891 -_:b51 883 +_:b34
892 - sp:varName "facilityName"^^xsd:string . 884 + sp:varName "sampleTypeRef"^^xsd:string .
893 885
894 -_:b50 886 +_:b19
895 - sp:varName "facilityNameRef"^^xsd:string . 887 + sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
896 888
897 -_:b49 889 +_:b20
898 - sp:varName "fluidSampleRef"^^xsd:string . 890 + sp:varName "facility"^^xsd:string .
899 891
900 -_:b48 892 +_:b21
901 - sp:varName "facilityRef"^^xsd:string . 893 + sp:varName "normalizedFacilityName"^^xsd:string .
902 894
903 -_:b47 895 +_:b22
904 sp:varName "facilityType"^^xsd:string . 896 sp:varName "facilityType"^^xsd:string .
905 897
906 -_:b46 898 +_:b23
907 - sp:varName "normalizedFacilityName"^^xsd:string . 899 + sp:varName "facilityRef"^^xsd:string .
908 900
909 -_:b45 901 +_:b24
910 - sp:varName "facility"^^xsd:string . 902 + sp:varName "fluidSampleRef"^^xsd:string .
911 903
912 -_:b44 904 +_:b25
913 - sp:varName "fluidSamplingAndAnalysis"^^xsd:string . 905 + sp:varName "facilityNameRef"^^xsd:string .
914 906
915 -_:b68 907 +_:b26
916 - sp:varName "normalizedFacilityParent1Name"^^xsd:string . 908 + sp:varName "facilityName"^^xsd:string .
917 909
918 -_:b67 910 +_:b27
919 - sp:varName "normalizedFacilityChildName"^^xsd:string . 911 + sp:varName "facilityKind"^^xsd:string .
920 912
921 -_:b66 913 +_:b3 sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
922 - sp:varName "facilityParent2Name"^^xsd:string .
923 914
924 -_:b65 915 +_:b4 sp:varName "facility"^^xsd:string .
925 - sp:varName "facilityParent2Ref"^^xsd:string .
926 916
927 -_:b64 917 +_:b5 sp:varName "normalizedFacilityName"^^xsd:string .
928 - sp:varName "facilityParent1Name"^^xsd:string .
929 918
930 -_:b63 919 +_:b6 sp:varName "facilityType"^^xsd:string .
931 - sp:varName "facilityParent1Ref"^^xsd:string .
932 920
933 -_:b62 921 +_:b7 sp:varName "facilityRef"^^xsd:string .
934 - sp:varName "facilityKind"^^xsd:string .
935 922
936 -_:b61 923 +_:b8 sp:varName "fluidSampleRef"^^xsd:string .
924 +
925 +_:b9 sp:varName "facilityNameRef"^^xsd:string .
926 +
927 +_:b10
937 sp:varName "facilityChildName"^^xsd:string . 928 sp:varName "facilityChildName"^^xsd:string .
938 929
939 -_:b60 930 +_:b11
940 - sp:varName "facilityNameRef"^^xsd:string . 931 + sp:varName "facilityKind"^^xsd:string .
941 932
942 -_:b59 933 +_:b12
943 - sp:varName "fluidSampleRef"^^xsd:string . 934 + sp:varName "facilityParent1Ref"^^xsd:string .
944 935
945 -_:b58 936 +_:b13
946 - sp:varName "facilityRef"^^xsd:string . 937 + sp:varName "facilityParent1Name"^^xsd:string .
947 938
948 -_:b57 939 +_:b14
949 - sp:varName "facilityType"^^xsd:string . 940 + sp:varName "facilityParent2Ref"^^xsd:string .
950 941
951 -_:b56 942 +_:b15
952 - sp:varName "normalizedFacilityName"^^xsd:string . 943 + sp:varName "facilityParent2Name"^^xsd:string .
953 944
954 -_:b55 945 +_:b16
955 - sp:varName "facility"^^xsd:string . 946 + sp:varName "normalizedFacilityChildName"^^xsd:string .
956 947
957 -_:b54 948 +_:b17
958 - sp:varName "fluidSamplingAndAnalysis"^^xsd:string . 949 + sp:varName "normalizedFacilityParent1Name"^^xsd:string .
......
...@@ -144,6 +144,19 @@ ...@@ -144,6 +144,19 @@
144 <balanceDetail> 144 <balanceDetail>
145 <owner>Bayerngas Norge AS</owner> 145 <owner>Bayerngas Norge AS</owner>
146 <share uom="%">100.0</share> 146 <share uom="%">100.0</share>
147 + <volumeValue>
148 + <volume uom="m3">743</volume>
149 + <grossCalorificValue uom="MJ/m3">41</grossCalorificValue>
150 + <temp uom="degC">15</temp>
151 + <pres uom="atm">1</pres>
152 + <work uom="MJ">4001</work>
153 + </volumeValue>
154 + <mass uom="kg">820</mass>
155 + <densityValue>
156 + <density uom="kg/m3">744</density>
157 + <temp uom="degC">15.0</temp>
158 + <pres uom="atm">1</pres>
159 + </densityValue>
147 </balanceDetail> 160 </balanceDetail>
148 </balanceSet> 161 </balanceSet>
149 <alert> 162 <alert>
......