Reworked fluid sample concentration and cargo ownership share
Showing
3 changed files
with
720 additions
and
461 deletions
This diff could not be displayed because it is too large.
... | @@ -25,244 +25,36 @@ | ... | @@ -25,244 +25,36 @@ |
25 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 25 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
26 | spin:rule | 26 | spin:rule |
27 | [ rdf:type sp:Construct ; | 27 | [ rdf:type sp:Construct ; |
28 | - rdfs:comment "STEP 40003a Set the date for the sample of fluid - from acquisition date if possible"^^xsd:string ; | 28 | + rdfs:comment """STEP 40011a Specify the fluid component - primary component. |
29 | - sp:templates ([ sp:object | ||
30 | - [ sp:varName "acquisitionDate"^^xsd:string | ||
31 | - ] ; | ||
32 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; | ||
33 | - sp:subject | ||
34 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
35 | - ] | ||
36 | - ]) ; | ||
37 | - sp:where ([ sp:object | ||
38 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
39 | - ] ; | ||
40 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
41 | - sp:subject spin:_this | ||
42 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
43 | - sp:predicate rdf:type ; | ||
44 | - sp:subject | ||
45 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
46 | - ] | ||
47 | - ] [ sp:object | ||
48 | - [ sp:varName "acquisitionDate"^^xsd:string | ||
49 | - ] ; | ||
50 | - sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; | ||
51 | - sp:subject | ||
52 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
53 | - ] | ||
54 | - ]) | ||
55 | - ] ; | ||
56 | - spin:rule | ||
57 | - [ rdf:type sp:Construct ; | ||
58 | - rdfs:comment "STEP 40004 Set the valid from and valid to for the report."^^xsd:string ; | ||
59 | - sp:templates ([ sp:object | ||
60 | - [ sp:varName "validFrom"^^xsd:string | ||
61 | - ] ; | ||
62 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#validFrom> ; | ||
63 | - sp:subject | ||
64 | - [ sp:varName "fluidSampleReport"^^xsd:string | ||
65 | - ] | ||
66 | - ] [ sp:object | ||
67 | - [ sp:varName "validTo"^^xsd:string | ||
68 | - ] ; | ||
69 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#validTo> ; | ||
70 | - sp:subject | ||
71 | - [ sp:varName "fluidSampleReport"^^xsd:string | ||
72 | - ] | ||
73 | - ]) ; | ||
74 | - sp:where ([ sp:object | ||
75 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
76 | - ] ; | ||
77 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
78 | - sp:subject spin:_this | ||
79 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
80 | - sp:predicate rdf:type ; | ||
81 | - sp:subject | ||
82 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
83 | - ] | ||
84 | - ] [ sp:object | ||
85 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
86 | - ] ; | ||
87 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
88 | - sp:subject | ||
89 | - [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | ||
90 | - ] | ||
91 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ; | ||
92 | - sp:predicate rdf:type ; | ||
93 | - sp:subject | ||
94 | - [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | ||
95 | - ] | ||
96 | - ] [ sp:object | ||
97 | - [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | ||
98 | - ] ; | ||
99 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
100 | - sp:subject | ||
101 | - [ sp:varName "fluidSampleReport"^^xsd:string | ||
102 | - ] | ||
103 | - ] [ sp:object | ||
104 | - [ sp:varName "customDataRef"^^xsd:string | ||
105 | - ] ; | ||
106 | - sp:predicate <http://www.epim.no/schemas/mprml/1#customDataRef> ; | ||
107 | - sp:subject | ||
108 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
109 | - ] | ||
110 | - ] [ sp:object | ||
111 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
112 | - ] ; | ||
113 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
114 | - sp:subject | ||
115 | - [ sp:varName "customDataRef"^^xsd:string | ||
116 | - ] | ||
117 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#extensionNameValue> ; | ||
118 | - sp:predicate rdf:type ; | ||
119 | - sp:subject | ||
120 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
121 | - ] | ||
122 | - ] [ rdf:type sp:Optional ; | ||
123 | - sp:elements ([ sp:object | ||
124 | - [ sp:varName "validFromRef"^^xsd:string | ||
125 | - ] ; | ||
126 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
127 | - sp:subject | ||
128 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
129 | - ] | ||
130 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#nameClass> ; | ||
131 | - sp:predicate rdf:type ; | ||
132 | - sp:subject | ||
133 | - [ sp:varName "validFromRef"^^xsd:string | ||
134 | - ] | ||
135 | - ] [ sp:object | ||
136 | - [ sp:varName "validFromText"^^xsd:string | ||
137 | - ] ; | ||
138 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
139 | - sp:subject | ||
140 | - [ sp:varName "validFromRef"^^xsd:string | ||
141 | - ] | ||
142 | - ] [ sp:object "ValidFrom" ; | ||
143 | - sp:predicate <http://topbraid.org/sxml#text> ; | ||
144 | - sp:subject | ||
145 | - [ sp:varName "validFromText"^^xsd:string | ||
146 | - ] | ||
147 | - ] [ sp:object | ||
148 | - [ sp:varName "valueFromRef"^^xsd:string | ||
149 | - ] ; | ||
150 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
151 | - sp:subject | ||
152 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
153 | - ] | ||
154 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#valueClass> ; | ||
155 | - sp:predicate rdf:type ; | ||
156 | - sp:subject | ||
157 | - [ sp:varName "valueFromRef"^^xsd:string | ||
158 | - ] | ||
159 | - ] [ sp:object | ||
160 | - [ sp:varName "valueFromText"^^xsd:string | ||
161 | - ] ; | ||
162 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
163 | - sp:subject | ||
164 | - [ sp:varName "valueFromRef"^^xsd:string | ||
165 | - ] | ||
166 | - ] [ sp:object | ||
167 | - [ sp:varName "validFrom"^^xsd:string | ||
168 | - ] ; | ||
169 | - sp:predicate <http://topbraid.org/sxml#text> ; | ||
170 | - sp:subject | ||
171 | - [ sp:varName "valueFromText"^^xsd:string | ||
172 | - ] | ||
173 | - ]) | ||
174 | - ] [ rdf:type sp:Optional ; | ||
175 | - sp:elements ([ sp:object | ||
176 | - [ sp:varName "validToRef"^^xsd:string | ||
177 | - ] ; | ||
178 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
179 | - sp:subject | ||
180 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
181 | - ] | ||
182 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#nameClass> ; | ||
183 | - sp:predicate rdf:type ; | ||
184 | - sp:subject | ||
185 | - [ sp:varName "validToRef"^^xsd:string | ||
186 | - ] | ||
187 | - ] [ sp:object | ||
188 | - [ sp:varName "validToText"^^xsd:string | ||
189 | - ] ; | ||
190 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
191 | - sp:subject | ||
192 | - [ sp:varName "validToRef"^^xsd:string | ||
193 | - ] | ||
194 | - ] [ sp:object "ValidTo" ; | ||
195 | - sp:predicate <http://topbraid.org/sxml#text> ; | ||
196 | - sp:subject | ||
197 | - [ sp:varName "validToText"^^xsd:string | ||
198 | - ] | ||
199 | - ] [ sp:object | ||
200 | - [ sp:varName "valueToRef"^^xsd:string | ||
201 | - ] ; | ||
202 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
203 | - sp:subject | ||
204 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
205 | - ] | ||
206 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#valueClass> ; | ||
207 | - sp:predicate rdf:type ; | ||
208 | - sp:subject | ||
209 | - [ sp:varName "valueToRef"^^xsd:string | ||
210 | - ] | ||
211 | - ] [ sp:object | ||
212 | - [ sp:varName "valueToText"^^xsd:string | ||
213 | - ] ; | ||
214 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
215 | - sp:subject | ||
216 | - [ sp:varName "valueToRef"^^xsd:string | ||
217 | - ] | ||
218 | - ] [ sp:object | ||
219 | - [ sp:varName "validTo"^^xsd:string | ||
220 | - ] ; | ||
221 | - sp:predicate <http://topbraid.org/sxml#text> ; | ||
222 | - sp:subject | ||
223 | - [ sp:varName "valueToText"^^xsd:string | ||
224 | - ] | ||
225 | - ]) | ||
226 | - ]) | ||
227 | - ] ; | ||
228 | - spin:rule | ||
229 | - [ rdf:type sp:Construct ; | ||
230 | - rdfs:comment """STEP 40011b Specify the fluid component - non-primary component - label found | ||
231 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; | 29 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; |
232 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 30 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
233 | sp:predicate rdf:type ; | 31 | sp:predicate rdf:type ; |
234 | sp:subject _:b1 | 32 | sp:subject _:b1 |
235 | ] [ sp:object _:b1 ; | 33 | ] [ sp:object _:b1 ; |
236 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; | 34 | + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ; |
237 | sp:subject | 35 | sp:subject |
238 | [ sp:varName "sampledFluid"^^xsd:string | 36 | [ sp:varName "sampledFluid"^^xsd:string |
239 | ] | 37 | ] |
240 | ] [ sp:object | 38 | ] [ sp:object |
241 | - [ sp:varName "fluidComponentKindType"^^xsd:string | 39 | + [ sp:varName "fluidPhaseType"^^xsd:string |
242 | ] ; | 40 | ] ; |
243 | sp:predicate rdf:type ; | 41 | sp:predicate rdf:type ; |
244 | sp:subject _:b1 | 42 | sp:subject _:b1 |
245 | ] [ sp:object | 43 | ] [ sp:object |
246 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 44 | + [ sp:varName "fluidComponentKindType"^^xsd:string |
247 | ] ; | 45 | ] ; |
248 | sp:predicate rdf:type ; | 46 | sp:predicate rdf:type ; |
249 | sp:subject _:b1 | 47 | sp:subject _:b1 |
250 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; | ||
251 | - sp:predicate rdf:type ; | ||
252 | - sp:subject _:b2 | ||
253 | - ] [ sp:object _:b1 ; | ||
254 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ; | ||
255 | - sp:subject _:b2 | ||
256 | ] [ sp:object | 48 | ] [ sp:object |
257 | - [ sp:varName "sampledFluid"^^xsd:string | 49 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string |
258 | ] ; | 50 | ] ; |
259 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ; | 51 | + sp:predicate rdf:type ; |
260 | - sp:subject _:b2 | 52 | + sp:subject _:b1 |
261 | ] [ sp:object | 53 | ] [ sp:object |
262 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 54 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
263 | ] ; | 55 | ] ; |
264 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 56 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
265 | - sp:subject _:b2 | 57 | + sp:subject _:b1 |
266 | ]) ; | 58 | ]) ; |
267 | sp:where ([ sp:object | 59 | sp:where ([ sp:object |
268 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 60 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
... | @@ -288,7 +80,7 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -288,7 +80,7 @@ The componentName element is used differently in the examples for the primary an |
288 | sp:subject | 80 | sp:subject |
289 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 81 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
290 | ] | 82 | ] |
291 | - ] [ sp:object "false"^^xsd:boolean ; | 83 | + ] [ sp:object "true"^^xsd:boolean ; |
292 | sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; | 84 | sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; |
293 | sp:subject | 85 | sp:subject |
294 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 86 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
... | @@ -300,18 +92,22 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -300,18 +92,22 @@ The componentName element is used differently in the examples for the primary an |
300 | sp:subject | 92 | sp:subject |
301 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 93 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
302 | ] | 94 | ] |
303 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | 95 | + ] [ rdf:type sp:Optional ; |
304 | - sp:predicate rdf:type ; | 96 | + sp:elements ([ sp:object |
97 | + [ sp:varName "componentBaseKindRef"^^xsd:string | ||
98 | + ] ; | ||
99 | + sp:predicate <http://www.epim.no/schemas/mprml/1#componentBaseKindRef> ; | ||
305 | sp:subject | 100 | sp:subject |
306 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 101 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
307 | ] | 102 | ] |
308 | ] [ sp:object | 103 | ] [ sp:object |
309 | - [ sp:varName "name"^^xsd:string | 104 | + [ sp:varName "componentBaseKindRef"^^xsd:string |
310 | ] ; | 105 | ] ; |
311 | - sp:predicate rdfs:label ; | 106 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#materialClassMapsToMPREnumeration> ; |
312 | sp:subject | 107 | sp:subject |
313 | [ sp:varName "fluidSubstanceKindType"^^xsd:string | 108 | [ sp:varName "fluidSubstanceKindType"^^xsd:string |
314 | ] | 109 | ] |
110 | + ]) | ||
315 | ] [ rdf:type sp:Optional ; | 111 | ] [ rdf:type sp:Optional ; |
316 | sp:elements ([ sp:object | 112 | sp:elements ([ sp:object |
317 | [ sp:varName "componentKindRef"^^xsd:string | 113 | [ sp:varName "componentKindRef"^^xsd:string |
... | @@ -323,6 +119,15 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -323,6 +119,15 @@ The componentName element is used differently in the examples for the primary an |
323 | ]) | 119 | ]) |
324 | ] [ rdf:type sp:Bind ; | 120 | ] [ rdf:type sp:Bind ; |
325 | sp:expression | 121 | sp:expression |
122 | + [ rdf:type ep-mpr-spin-lib:selectFluidPhaseType ; | ||
123 | + sp:arg1 [ sp:varName "name"^^xsd:string | ||
124 | + ] | ||
125 | + ] ; | ||
126 | + sp:variable | ||
127 | + [ sp:varName "fluidPhaseType"^^xsd:string | ||
128 | + ] | ||
129 | + ] [ rdf:type sp:Bind ; | ||
130 | + sp:expression | ||
326 | [ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ; | 131 | [ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ; |
327 | sp:arg1 [ sp:varName "componentKindRef"^^xsd:string | 132 | sp:arg1 [ sp:varName "componentKindRef"^^xsd:string |
328 | ] | 133 | ] |
... | @@ -335,19 +140,19 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -335,19 +140,19 @@ The componentName element is used differently in the examples for the primary an |
335 | spin:rule | 140 | spin:rule |
336 | [ rdf:type sp:Construct ; | 141 | [ rdf:type sp:Construct ; |
337 | rdfs:comment "STEP 40002 Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume."^^xsd:string ; | 142 | rdfs:comment "STEP 40002 Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume."^^xsd:string ; |
338 | - sp:templates ([ sp:object _:b3 ; | 143 | + sp:templates ([ sp:object _:b2 ; |
339 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; | 144 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; |
340 | sp:subject | 145 | sp:subject |
341 | [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | 146 | [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string |
342 | ] | 147 | ] |
343 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 148 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
344 | sp:predicate rdf:type ; | 149 | sp:predicate rdf:type ; |
345 | - sp:subject _:b3 | 150 | + sp:subject _:b2 |
346 | ] [ sp:object | 151 | ] [ sp:object |
347 | [ sp:varName "facility"^^xsd:string | 152 | [ sp:varName "facility"^^xsd:string |
348 | ] ; | 153 | ] ; |
349 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 154 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
350 | - sp:subject _:b3 | 155 | + sp:subject _:b2 |
351 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 156 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
352 | sp:predicate rdf:type ; | 157 | sp:predicate rdf:type ; |
353 | sp:subject | 158 | sp:subject |
... | @@ -397,33 +202,33 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -397,33 +202,33 @@ The componentName element is used differently in the examples for the primary an |
397 | rdfs:comment "STEP 40001 Create the FluidSampleReport and FluidSampling activity ."^^xsd:string ; | 202 | rdfs:comment "STEP 40001 Create the FluidSampleReport and FluidSampling activity ."^^xsd:string ; |
398 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#FluidSampleReport> ; | 203 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#FluidSampleReport> ; |
399 | sp:predicate rdf:type ; | 204 | sp:predicate rdf:type ; |
400 | - sp:subject _:b4 | 205 | + sp:subject _:b3 |
401 | ] [ sp:object | 206 | ] [ sp:object |
402 | [ sp:varName "productionReport"^^xsd:string | 207 | [ sp:varName "productionReport"^^xsd:string |
403 | ] ; | 208 | ] ; |
404 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 209 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
405 | - sp:subject _:b4 | 210 | + sp:subject _:b3 |
406 | - ] [ sp:object _:b5 ; | 211 | + ] [ sp:object _:b4 ; |
407 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 212 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
408 | - sp:subject _:b4 | 213 | + sp:subject _:b3 |
409 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ; | 214 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ; |
410 | sp:predicate rdf:type ; | 215 | sp:predicate rdf:type ; |
411 | - sp:subject _:b5 | 216 | + sp:subject _:b4 |
412 | ] [ sp:object | 217 | ] [ sp:object |
413 | [ sp:varName "fluidSamplingType"^^xsd:string | 218 | [ sp:varName "fluidSamplingType"^^xsd:string |
414 | ] ; | 219 | ] ; |
415 | sp:predicate rdf:type ; | 220 | sp:predicate rdf:type ; |
416 | - sp:subject _:b5 | 221 | + sp:subject _:b4 |
417 | ] [ sp:object | 222 | ] [ sp:object |
418 | [ sp:varName "acquisitionDate"^^xsd:string | 223 | [ sp:varName "acquisitionDate"^^xsd:string |
419 | ] ; | 224 | ] ; |
420 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; | 225 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; |
421 | - sp:subject _:b5 | 226 | + sp:subject _:b4 |
422 | ] [ sp:object | 227 | ] [ sp:object |
423 | [ sp:varName "fluidSampleRef"^^xsd:string | 228 | [ sp:varName "fluidSampleRef"^^xsd:string |
424 | ] ; | 229 | ] ; |
425 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 230 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
426 | - sp:subject _:b5 | 231 | + sp:subject _:b4 |
427 | ]) ; | 232 | ]) ; |
428 | sp:where ([ sp:object spin:_this ; | 233 | sp:where ([ sp:object spin:_this ; |
429 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 234 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
... | @@ -476,7 +281,7 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -476,7 +281,7 @@ The componentName element is used differently in the examples for the primary an |
476 | ] ; | 281 | ] ; |
477 | spin:rule | 282 | spin:rule |
478 | [ rdf:type sp:Construct ; | 283 | [ rdf:type sp:Construct ; |
479 | - rdfs:comment "STEP 40003d Set the facility for the sample of fluid - from reporting facility if not"^^xsd:string ; | 284 | + rdfs:comment "STEP 40003c Set the facility for the sample of fluid - from sampling facility if possible"^^xsd:string ; |
480 | sp:templates ([ sp:object | 285 | sp:templates ([ sp:object |
481 | [ sp:varName "normalizedFacilityName"^^xsd:string | 286 | [ sp:varName "normalizedFacilityName"^^xsd:string |
482 | ] ; | 287 | ] ; |
... | @@ -490,91 +295,57 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -490,91 +295,57 @@ The componentName element is used differently in the examples for the primary an |
490 | ] ; | 295 | ] ; |
491 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 296 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
492 | sp:subject spin:_this | 297 | sp:subject spin:_this |
493 | - ] [ sp:object | ||
494 | - [ sp:varName "normalizedFacilityName"^^xsd:string | ||
495 | - ] ; | ||
496 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | ||
497 | - sp:subject spin:_this | ||
498 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | 298 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; |
499 | sp:predicate rdf:type ; | 299 | sp:predicate rdf:type ; |
500 | sp:subject | 300 | sp:subject |
501 | [ sp:varName "fluidSampleRef"^^xsd:string | 301 | [ sp:varName "fluidSampleRef"^^xsd:string |
502 | ] | 302 | ] |
503 | - ] [ rdf:type sp:NotExists ; | 303 | + ] [ sp:object |
504 | - sp:elements ([ sp:object | ||
505 | [ sp:varName "facilityRef"^^xsd:string | 304 | [ sp:varName "facilityRef"^^xsd:string |
506 | ] ; | 305 | ] ; |
507 | sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | 306 | sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; |
508 | sp:subject | 307 | sp:subject |
509 | [ sp:varName "fluidSampleRef"^^xsd:string | 308 | [ sp:varName "fluidSampleRef"^^xsd:string |
510 | ] | 309 | ] |
511 | - ]) | 310 | + ] [ rdf:type sp:Bind ; |
512 | - ]) | 311 | + sp:expression |
513 | - ] ; | 312 | + [ rdf:type spl:object ; |
514 | - spin:rule | 313 | + sp:arg1 [ sp:varName "facilityRef"^^xsd:string |
515 | - [ rdf:type sp:Construct ; | ||
516 | - rdfs:comment "STEP 40003b Set the date for the sample of fluid - from report date if not"^^xsd:string ; | ||
517 | - sp:templates ([ sp:object | ||
518 | - [ sp:varName "intervalIdentifier"^^xsd:string | ||
519 | - ] ; | ||
520 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; | ||
521 | - sp:subject | ||
522 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
523 | - ] | ||
524 | - ]) ; | ||
525 | - sp:where ([ sp:object | ||
526 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
527 | - ] ; | ||
528 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
529 | - sp:subject spin:_this | ||
530 | - ] [ sp:object | ||
531 | - [ sp:varName "intervalIdentifier"^^xsd:string | ||
532 | ] ; | 314 | ] ; |
533 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; | 315 | + sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> |
534 | - sp:subject spin:_this | ||
535 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
536 | - sp:predicate rdf:type ; | ||
537 | - sp:subject | ||
538 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
539 | - ] | ||
540 | - ] [ rdf:type sp:NotExists ; | ||
541 | - sp:elements ([ sp:object | ||
542 | - [ sp:varName "acquisitionDate"^^xsd:string | ||
543 | ] ; | 316 | ] ; |
544 | - sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; | 317 | + sp:variable |
545 | - sp:subject | 318 | + [ sp:varName "normalizedFacilityName"^^xsd:string |
546 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
547 | ] | 319 | ] |
548 | ]) | 320 | ]) |
549 | - ]) | ||
550 | ] ; | 321 | ] ; |
551 | spin:rule | 322 | spin:rule |
552 | [ rdf:type sp:Construct ; | 323 | [ rdf:type sp:Construct ; |
553 | - rdfs:comment """STEP 40011a Specify the fluid component - primary component. | 324 | + rdfs:comment """STEP 40011b Specify the fluid component - non-primary component - label found |
554 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; | 325 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; |
555 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 326 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
556 | sp:predicate rdf:type ; | 327 | sp:predicate rdf:type ; |
557 | - sp:subject _:b6 | 328 | + sp:subject _:b5 |
558 | - ] [ sp:object _:b6 ; | 329 | + ] [ sp:object _:b5 ; |
559 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ; | 330 | + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; |
560 | sp:subject | 331 | sp:subject |
561 | [ sp:varName "sampledFluid"^^xsd:string | 332 | [ sp:varName "sampledFluid"^^xsd:string |
562 | ] | 333 | ] |
563 | ] [ sp:object | 334 | ] [ sp:object |
564 | - [ sp:varName "fluidPhaseType"^^xsd:string | ||
565 | - ] ; | ||
566 | - sp:predicate rdf:type ; | ||
567 | - sp:subject _:b6 | ||
568 | - ] [ sp:object | ||
569 | [ sp:varName "fluidComponentKindType"^^xsd:string | 335 | [ sp:varName "fluidComponentKindType"^^xsd:string |
570 | ] ; | 336 | ] ; |
571 | sp:predicate rdf:type ; | 337 | sp:predicate rdf:type ; |
572 | - sp:subject _:b6 | 338 | + sp:subject _:b5 |
573 | ] [ sp:object | 339 | ] [ sp:object |
574 | [ sp:varName "fluidSubstanceKindType"^^xsd:string | 340 | [ sp:varName "fluidSubstanceKindType"^^xsd:string |
575 | ] ; | 341 | ] ; |
576 | sp:predicate rdf:type ; | 342 | sp:predicate rdf:type ; |
577 | - sp:subject _:b6 | 343 | + sp:subject _:b5 |
344 | + ] [ sp:object | ||
345 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
346 | + ] ; | ||
347 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
348 | + sp:subject _:b5 | ||
578 | ]) ; | 349 | ]) ; |
579 | sp:where ([ sp:object | 350 | sp:where ([ sp:object |
580 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 351 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
... | @@ -600,7 +371,7 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -600,7 +371,7 @@ The componentName element is used differently in the examples for the primary an |
600 | sp:subject | 371 | sp:subject |
601 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 372 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
602 | ] | 373 | ] |
603 | - ] [ sp:object "true"^^xsd:boolean ; | 374 | + ] [ sp:object "false"^^xsd:boolean ; |
604 | sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; | 375 | sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; |
605 | sp:subject | 376 | sp:subject |
606 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 377 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
... | @@ -612,22 +383,18 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -612,22 +383,18 @@ The componentName element is used differently in the examples for the primary an |
612 | sp:subject | 383 | sp:subject |
613 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 384 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
614 | ] | 385 | ] |
615 | - ] [ rdf:type sp:Optional ; | 386 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; |
616 | - sp:elements ([ sp:object | 387 | + sp:predicate rdf:type ; |
617 | - [ sp:varName "componentBaseKindRef"^^xsd:string | ||
618 | - ] ; | ||
619 | - sp:predicate <http://www.epim.no/schemas/mprml/1#componentBaseKindRef> ; | ||
620 | sp:subject | 388 | sp:subject |
621 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 389 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string |
622 | ] | 390 | ] |
623 | ] [ sp:object | 391 | ] [ sp:object |
624 | - [ sp:varName "componentBaseKindRef"^^xsd:string | 392 | + [ sp:varName "name"^^xsd:string |
625 | ] ; | 393 | ] ; |
626 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#materialClassMapsToMPREnumeration> ; | 394 | + sp:predicate rdfs:label ; |
627 | sp:subject | 395 | sp:subject |
628 | [ sp:varName "fluidSubstanceKindType"^^xsd:string | 396 | [ sp:varName "fluidSubstanceKindType"^^xsd:string |
629 | ] | 397 | ] |
630 | - ]) | ||
631 | ] [ rdf:type sp:Optional ; | 398 | ] [ rdf:type sp:Optional ; |
632 | sp:elements ([ sp:object | 399 | sp:elements ([ sp:object |
633 | [ sp:varName "componentKindRef"^^xsd:string | 400 | [ sp:varName "componentKindRef"^^xsd:string |
... | @@ -639,15 +406,6 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -639,15 +406,6 @@ The componentName element is used differently in the examples for the primary an |
639 | ]) | 406 | ]) |
640 | ] [ rdf:type sp:Bind ; | 407 | ] [ rdf:type sp:Bind ; |
641 | sp:expression | 408 | sp:expression |
642 | - [ rdf:type ep-mpr-spin-lib:selectFluidPhaseType ; | ||
643 | - sp:arg1 [ sp:varName "name"^^xsd:string | ||
644 | - ] | ||
645 | - ] ; | ||
646 | - sp:variable | ||
647 | - [ sp:varName "fluidPhaseType"^^xsd:string | ||
648 | - ] | ||
649 | - ] [ rdf:type sp:Bind ; | ||
650 | - sp:expression | ||
651 | [ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ; | 409 | [ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ; |
652 | sp:arg1 [ sp:varName "componentKindRef"^^xsd:string | 410 | sp:arg1 [ sp:varName "componentKindRef"^^xsd:string |
653 | ] | 411 | ] |
... | @@ -659,6 +417,83 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -659,6 +417,83 @@ The componentName element is used differently in the examples for the primary an |
659 | ] ; | 417 | ] ; |
660 | spin:rule | 418 | spin:rule |
661 | [ rdf:type sp:Construct ; | 419 | [ rdf:type sp:Construct ; |
420 | + rdfs:comment "STEP 40010 Specify the fluid analysis result."^^xsd:string ; | ||
421 | + sp:templates ([ sp:object | ||
422 | + [ sp:varName "nameFluidAnalysis"^^xsd:string | ||
423 | + ] ; | ||
424 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
425 | + sp:subject | ||
426 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
427 | + ] | ||
428 | + ] [ sp:object | ||
429 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
430 | + ] ; | ||
431 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
432 | + sp:subject | ||
433 | + [ sp:varName "sampledFluid"^^xsd:string | ||
434 | + ] | ||
435 | + ]) ; | ||
436 | + sp:where ([ sp:object | ||
437 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
438 | + ] ; | ||
439 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
440 | + sp:subject spin:_this | ||
441 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
442 | + sp:predicate rdf:type ; | ||
443 | + sp:subject | ||
444 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
445 | + ] | ||
446 | + ] [ sp:object | ||
447 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
448 | + ] ; | ||
449 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
450 | + sp:subject | ||
451 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
452 | + ] | ||
453 | + ] [ sp:object | ||
454 | + [ sp:varName "sampledFluid"^^xsd:string | ||
455 | + ] ; | ||
456 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; | ||
457 | + sp:subject | ||
458 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
459 | + ] | ||
460 | + ] [ sp:object | ||
461 | + [ sp:varName "name"^^xsd:string | ||
462 | + ] ; | ||
463 | + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | ||
464 | + sp:subject | ||
465 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
466 | + ] | ||
467 | + ] [ sp:object | ||
468 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
469 | + ] ; | ||
470 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
471 | + sp:subject spin:_this | ||
472 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ; | ||
473 | + sp:predicate rdf:type ; | ||
474 | + sp:subject | ||
475 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
476 | + ] | ||
477 | + ] [ sp:object | ||
478 | + [ sp:varName "name"^^xsd:string | ||
479 | + ] ; | ||
480 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ; | ||
481 | + sp:subject | ||
482 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
483 | + ] | ||
484 | + ] [ rdf:type sp:Optional ; | ||
485 | + sp:elements ([ sp:object | ||
486 | + [ sp:varName "nameFluidAnalysis"^^xsd:string | ||
487 | + ] ; | ||
488 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ; | ||
489 | + sp:subject | ||
490 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
491 | + ] | ||
492 | + ]) | ||
493 | + ]) | ||
494 | + ] ; | ||
495 | + spin:rule | ||
496 | + [ rdf:type sp:Construct ; | ||
662 | rdfs:comment """STEP 40003e Create the Sample of fluid. | 497 | rdfs:comment """STEP 40003e Create the Sample of fluid. |
663 | It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ; | 498 | It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ; |
664 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 499 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
... | @@ -741,54 +576,45 @@ It is matched to its results via the sample name, which is assumed to be unique | ... | @@ -741,54 +576,45 @@ It is matched to its results via the sample name, which is assumed to be unique |
741 | ] ; | 576 | ] ; |
742 | spin:rule | 577 | spin:rule |
743 | [ rdf:type sp:Construct ; | 578 | [ rdf:type sp:Construct ; |
744 | - rdfs:comment "STEP 40010 Specify the fluid analysis result."^^xsd:string ; | 579 | + rdfs:comment """STEP 40011c Specify the fluid component - non-primary component - label not found, so new substance type created |
745 | - sp:templates ([ sp:object | 580 | +The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; |
746 | - [ sp:varName "nameFluidAnalysis"^^xsd:string | 581 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
747 | - ] ; | ||
748 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
749 | - sp:subject | ||
750 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
751 | - ] | ||
752 | - ] [ sp:object | ||
753 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
754 | - ] ; | ||
755 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
756 | - sp:subject | ||
757 | - [ sp:varName "sampledFluid"^^xsd:string | ||
758 | - ] | ||
759 | - ]) ; | ||
760 | - sp:where ([ sp:object | ||
761 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
762 | - ] ; | ||
763 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
764 | - sp:subject spin:_this | ||
765 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
766 | sp:predicate rdf:type ; | 582 | sp:predicate rdf:type ; |
583 | + sp:subject _:b6 | ||
584 | + ] [ sp:object _:b6 ; | ||
585 | + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; | ||
767 | sp:subject | 586 | sp:subject |
768 | - [ sp:varName "fluidSampleRef"^^xsd:string | 587 | + [ sp:varName "sampledFluid"^^xsd:string |
769 | ] | 588 | ] |
770 | ] [ sp:object | 589 | ] [ sp:object |
771 | - [ sp:varName "fluidSampleRef"^^xsd:string | 590 | + [ sp:varName "fluidComponentKindType"^^xsd:string |
772 | ] ; | 591 | ] ; |
773 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 592 | + sp:predicate rdf:type ; |
774 | - sp:subject | 593 | + sp:subject _:b6 |
775 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
776 | - ] | ||
777 | ] [ sp:object | 594 | ] [ sp:object |
778 | - [ sp:varName "sampledFluid"^^xsd:string | 595 | + [ sp:varName "substanceType"^^xsd:string |
779 | ] ; | 596 | ] ; |
780 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; | 597 | + sp:predicate rdf:type ; |
598 | + sp:subject _:b6 | ||
599 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | ||
600 | + sp:predicate rdf:type ; | ||
781 | sp:subject | 601 | sp:subject |
782 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | 602 | + [ sp:varName "substanceType"^^xsd:string |
783 | ] | 603 | ] |
784 | ] [ sp:object | 604 | ] [ sp:object |
785 | [ sp:varName "name"^^xsd:string | 605 | [ sp:varName "name"^^xsd:string |
786 | ] ; | 606 | ] ; |
787 | - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 607 | + sp:predicate rdfs:label ; |
788 | sp:subject | 608 | sp:subject |
789 | - [ sp:varName "fluidSampleRef"^^xsd:string | 609 | + [ sp:varName "substanceType"^^xsd:string |
790 | ] | 610 | ] |
791 | ] [ sp:object | 611 | ] [ sp:object |
612 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
613 | + ] ; | ||
614 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
615 | + sp:subject _:b6 | ||
616 | + ]) ; | ||
617 | + sp:where ([ sp:object | ||
792 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 618 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
793 | ] ; | 619 | ] ; |
794 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 620 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
... | @@ -799,30 +625,81 @@ It is matched to its results via the sample name, which is assumed to be unique | ... | @@ -799,30 +625,81 @@ It is matched to its results via the sample name, which is assumed to be unique |
799 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 625 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
800 | ] | 626 | ] |
801 | ] [ sp:object | 627 | ] [ sp:object |
802 | - [ sp:varName "name"^^xsd:string | 628 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
803 | ] ; | 629 | ] ; |
804 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ; | 630 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
805 | sp:subject | 631 | sp:subject |
806 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 632 | + [ sp:varName "sampledFluid"^^xsd:string |
807 | ] | 633 | ] |
808 | - ] [ rdf:type sp:Optional ; | 634 | + ] [ sp:object |
809 | - sp:elements ([ sp:object | 635 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
810 | - [ sp:varName "nameFluidAnalysis"^^xsd:string | ||
811 | ] ; | 636 | ] ; |
812 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ; | 637 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; |
813 | sp:subject | 638 | sp:subject |
814 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 639 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
815 | ] | 640 | ] |
641 | + ] [ sp:object "false"^^xsd:boolean ; | ||
642 | + sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; | ||
643 | + sp:subject | ||
644 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
645 | + ] | ||
646 | + ] [ sp:object | ||
647 | + [ sp:varName "name"^^xsd:string | ||
648 | + ] ; | ||
649 | + sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ; | ||
650 | + sp:subject | ||
651 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
652 | + ] | ||
653 | + ] [ rdf:type sp:NotExists ; | ||
654 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | ||
655 | + sp:predicate rdf:type ; | ||
656 | + sp:subject | ||
657 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string | ||
658 | + ] | ||
659 | + ] [ sp:object | ||
660 | + [ sp:varName "name"^^xsd:string | ||
661 | + ] ; | ||
662 | + sp:predicate rdfs:label ; | ||
663 | + sp:subject | ||
664 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string | ||
665 | + ] | ||
666 | + ]) | ||
667 | + ] [ rdf:type sp:Optional ; | ||
668 | + sp:elements ([ sp:object | ||
669 | + [ sp:varName "componentKindRef"^^xsd:string | ||
670 | + ] ; | ||
671 | + sp:predicate <http://www.epim.no/schemas/mprml/1#componentKindRef> ; | ||
672 | + sp:subject | ||
673 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
674 | + ] | ||
675 | + ]) | ||
676 | + ] [ rdf:type sp:Bind ; | ||
677 | + sp:expression | ||
678 | + [ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ; | ||
679 | + sp:arg1 [ sp:varName "componentKindRef"^^xsd:string | ||
680 | + ] | ||
681 | + ] ; | ||
682 | + sp:variable | ||
683 | + [ sp:varName "fluidComponentKindType"^^xsd:string | ||
684 | + ] | ||
685 | + ] [ rdf:type sp:Bind ; | ||
686 | + sp:expression | ||
687 | + [ rdf:type ep-mpr-spin-lib:buildSubstanceTypeURI ; | ||
688 | + sp:arg1 [ sp:varName "name"^^xsd:string | ||
689 | + ] | ||
690 | + ] ; | ||
691 | + sp:variable | ||
692 | + [ sp:varName "substanceType"^^xsd:string | ||
693 | + ] | ||
816 | ]) | 694 | ]) |
817 | - ]) | ||
818 | ] ; | 695 | ] ; |
819 | spin:rule | 696 | spin:rule |
820 | [ rdf:type sp:Construct ; | 697 | [ rdf:type sp:Construct ; |
821 | - rdfs:comment "STEP 40003c Set the facility for the sample of fluid - from sampling facility if possible"^^xsd:string ; | 698 | + rdfs:comment "STEP 40003b Set the date for the sample of fluid - from report date if not"^^xsd:string ; |
822 | sp:templates ([ sp:object | 699 | sp:templates ([ sp:object |
823 | - [ sp:varName "normalizedFacilityName"^^xsd:string | 700 | + [ sp:varName "intervalIdentifier"^^xsd:string |
824 | ] ; | 701 | ] ; |
825 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | 702 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; |
826 | sp:subject | 703 | sp:subject |
827 | [ sp:varName "fluidSampleRef"^^xsd:string | 704 | [ sp:varName "fluidSampleRef"^^xsd:string |
828 | ] | 705 | ] |
... | @@ -832,170 +709,334 @@ It is matched to its results via the sample name, which is assumed to be unique | ... | @@ -832,170 +709,334 @@ It is matched to its results via the sample name, which is assumed to be unique |
832 | ] ; | 709 | ] ; |
833 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 710 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
834 | sp:subject spin:_this | 711 | sp:subject spin:_this |
712 | + ] [ sp:object | ||
713 | + [ sp:varName "intervalIdentifier"^^xsd:string | ||
714 | + ] ; | ||
715 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; | ||
716 | + sp:subject spin:_this | ||
835 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | 717 | ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; |
836 | sp:predicate rdf:type ; | 718 | sp:predicate rdf:type ; |
837 | sp:subject | 719 | sp:subject |
838 | [ sp:varName "fluidSampleRef"^^xsd:string | 720 | [ sp:varName "fluidSampleRef"^^xsd:string |
839 | ] | 721 | ] |
840 | - ] [ sp:object | 722 | + ] [ rdf:type sp:NotExists ; |
841 | - [ sp:varName "facilityRef"^^xsd:string | 723 | + sp:elements ([ sp:object |
724 | + [ sp:varName "acquisitionDate"^^xsd:string | ||
842 | ] ; | 725 | ] ; |
843 | - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | 726 | + sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; |
844 | sp:subject | 727 | sp:subject |
845 | [ sp:varName "fluidSampleRef"^^xsd:string | 728 | [ sp:varName "fluidSampleRef"^^xsd:string |
846 | ] | 729 | ] |
847 | - ] [ rdf:type sp:Bind ; | 730 | + ]) |
848 | - sp:expression | ||
849 | - [ rdf:type spl:object ; | ||
850 | - sp:arg1 [ sp:varName "facilityRef"^^xsd:string | ||
851 | - ] ; | ||
852 | - sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> | ||
853 | - ] ; | ||
854 | - sp:variable | ||
855 | - [ sp:varName "normalizedFacilityName"^^xsd:string | ||
856 | - ] | ||
857 | ]) | 731 | ]) |
858 | ] ; | 732 | ] ; |
859 | spin:rule | 733 | spin:rule |
860 | [ rdf:type sp:Construct ; | 734 | [ rdf:type sp:Construct ; |
861 | - rdfs:comment """STEP 40011c Specify the fluid component - non-primary component - label not found, so new substance type created | 735 | + rdfs:comment "STEP 40004 Set the valid from and valid to for the report."^^xsd:string ; |
862 | -The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; | 736 | + sp:templates ([ sp:object |
863 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 737 | + [ sp:varName "validFrom"^^xsd:string |
738 | + ] ; | ||
739 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#validFrom> ; | ||
740 | + sp:subject | ||
741 | + [ sp:varName "fluidSampleReport"^^xsd:string | ||
742 | + ] | ||
743 | + ] [ sp:object | ||
744 | + [ sp:varName "validTo"^^xsd:string | ||
745 | + ] ; | ||
746 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#validTo> ; | ||
747 | + sp:subject | ||
748 | + [ sp:varName "fluidSampleReport"^^xsd:string | ||
749 | + ] | ||
750 | + ]) ; | ||
751 | + sp:where ([ sp:object | ||
752 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
753 | + ] ; | ||
754 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
755 | + sp:subject spin:_this | ||
756 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
864 | sp:predicate rdf:type ; | 757 | sp:predicate rdf:type ; |
865 | - sp:subject _:b7 | ||
866 | - ] [ sp:object _:b7 ; | ||
867 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; | ||
868 | sp:subject | 758 | sp:subject |
869 | - [ sp:varName "sampledFluid"^^xsd:string | 759 | + [ sp:varName "fluidSampleRef"^^xsd:string |
870 | ] | 760 | ] |
871 | ] [ sp:object | 761 | ] [ sp:object |
872 | - [ sp:varName "fluidComponentKindType"^^xsd:string | 762 | + [ sp:varName "fluidSampleRef"^^xsd:string |
873 | ] ; | 763 | ] ; |
764 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
765 | + sp:subject | ||
766 | + [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | ||
767 | + ] | ||
768 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ; | ||
874 | sp:predicate rdf:type ; | 769 | sp:predicate rdf:type ; |
875 | - sp:subject _:b7 | 770 | + sp:subject |
771 | + [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | ||
772 | + ] | ||
876 | ] [ sp:object | 773 | ] [ sp:object |
877 | - [ sp:varName "substanceType"^^xsd:string | 774 | + [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string |
775 | + ] ; | ||
776 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
777 | + sp:subject | ||
778 | + [ sp:varName "fluidSampleReport"^^xsd:string | ||
779 | + ] | ||
780 | + ] [ sp:object | ||
781 | + [ sp:varName "customDataRef"^^xsd:string | ||
782 | + ] ; | ||
783 | + sp:predicate <http://www.epim.no/schemas/mprml/1#customDataRef> ; | ||
784 | + sp:subject | ||
785 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
786 | + ] | ||
787 | + ] [ sp:object | ||
788 | + [ sp:varName "extensionNameValueRef"^^xsd:string | ||
878 | ] ; | 789 | ] ; |
790 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
791 | + sp:subject | ||
792 | + [ sp:varName "customDataRef"^^xsd:string | ||
793 | + ] | ||
794 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#extensionNameValue> ; | ||
879 | sp:predicate rdf:type ; | 795 | sp:predicate rdf:type ; |
880 | - sp:subject _:b7 | 796 | + sp:subject |
881 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | 797 | + [ sp:varName "extensionNameValueRef"^^xsd:string |
798 | + ] | ||
799 | + ] [ rdf:type sp:Optional ; | ||
800 | + sp:elements ([ sp:object | ||
801 | + [ sp:varName "validFromRef"^^xsd:string | ||
802 | + ] ; | ||
803 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
804 | + sp:subject | ||
805 | + [ sp:varName "extensionNameValueRef"^^xsd:string | ||
806 | + ] | ||
807 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#nameClass> ; | ||
882 | sp:predicate rdf:type ; | 808 | sp:predicate rdf:type ; |
883 | sp:subject | 809 | sp:subject |
884 | - [ sp:varName "substanceType"^^xsd:string | 810 | + [ sp:varName "validFromRef"^^xsd:string |
885 | ] | 811 | ] |
886 | ] [ sp:object | 812 | ] [ sp:object |
887 | - [ sp:varName "name"^^xsd:string | 813 | + [ sp:varName "validFromText"^^xsd:string |
888 | ] ; | 814 | ] ; |
889 | - sp:predicate rdfs:label ; | 815 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
890 | sp:subject | 816 | sp:subject |
891 | - [ sp:varName "substanceType"^^xsd:string | 817 | + [ sp:varName "validFromRef"^^xsd:string |
892 | ] | 818 | ] |
893 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; | 819 | + ] [ sp:object "ValidFrom" ; |
820 | + sp:predicate <http://topbraid.org/sxml#text> ; | ||
821 | + sp:subject | ||
822 | + [ sp:varName "validFromText"^^xsd:string | ||
823 | + ] | ||
824 | + ] [ sp:object | ||
825 | + [ sp:varName "valueFromRef"^^xsd:string | ||
826 | + ] ; | ||
827 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
828 | + sp:subject | ||
829 | + [ sp:varName "extensionNameValueRef"^^xsd:string | ||
830 | + ] | ||
831 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#valueClass> ; | ||
894 | sp:predicate rdf:type ; | 832 | sp:predicate rdf:type ; |
895 | - sp:subject _:b8 | 833 | + sp:subject |
896 | - ] [ sp:object _:b7 ; | 834 | + [ sp:varName "valueFromRef"^^xsd:string |
897 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ; | 835 | + ] |
898 | - sp:subject _:b8 | ||
899 | ] [ sp:object | 836 | ] [ sp:object |
900 | - [ sp:varName "sampledFluid"^^xsd:string | 837 | + [ sp:varName "valueFromText"^^xsd:string |
901 | ] ; | 838 | ] ; |
902 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ; | 839 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
903 | - sp:subject _:b8 | 840 | + sp:subject |
841 | + [ sp:varName "valueFromRef"^^xsd:string | ||
842 | + ] | ||
904 | ] [ sp:object | 843 | ] [ sp:object |
905 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 844 | + [ sp:varName "validFrom"^^xsd:string |
906 | ] ; | 845 | ] ; |
907 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 846 | + sp:predicate <http://topbraid.org/sxml#text> ; |
908 | - sp:subject _:b8 | 847 | + sp:subject |
848 | + [ sp:varName "valueFromText"^^xsd:string | ||
849 | + ] | ||
850 | + ]) | ||
851 | + ] [ rdf:type sp:Optional ; | ||
852 | + sp:elements ([ sp:object | ||
853 | + [ sp:varName "validToRef"^^xsd:string | ||
854 | + ] ; | ||
855 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
856 | + sp:subject | ||
857 | + [ sp:varName "extensionNameValueRef"^^xsd:string | ||
858 | + ] | ||
859 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#nameClass> ; | ||
860 | + sp:predicate rdf:type ; | ||
861 | + sp:subject | ||
862 | + [ sp:varName "validToRef"^^xsd:string | ||
863 | + ] | ||
864 | + ] [ sp:object | ||
865 | + [ sp:varName "validToText"^^xsd:string | ||
866 | + ] ; | ||
867 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
868 | + sp:subject | ||
869 | + [ sp:varName "validToRef"^^xsd:string | ||
870 | + ] | ||
871 | + ] [ sp:object "ValidTo" ; | ||
872 | + sp:predicate <http://topbraid.org/sxml#text> ; | ||
873 | + sp:subject | ||
874 | + [ sp:varName "validToText"^^xsd:string | ||
875 | + ] | ||
876 | + ] [ sp:object | ||
877 | + [ sp:varName "valueToRef"^^xsd:string | ||
878 | + ] ; | ||
879 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
880 | + sp:subject | ||
881 | + [ sp:varName "extensionNameValueRef"^^xsd:string | ||
882 | + ] | ||
883 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#valueClass> ; | ||
884 | + sp:predicate rdf:type ; | ||
885 | + sp:subject | ||
886 | + [ sp:varName "valueToRef"^^xsd:string | ||
887 | + ] | ||
888 | + ] [ sp:object | ||
889 | + [ sp:varName "valueToText"^^xsd:string | ||
890 | + ] ; | ||
891 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
892 | + sp:subject | ||
893 | + [ sp:varName "valueToRef"^^xsd:string | ||
894 | + ] | ||
895 | + ] [ sp:object | ||
896 | + [ sp:varName "validTo"^^xsd:string | ||
897 | + ] ; | ||
898 | + sp:predicate <http://topbraid.org/sxml#text> ; | ||
899 | + sp:subject | ||
900 | + [ sp:varName "valueToText"^^xsd:string | ||
901 | + ] | ||
902 | + ]) | ||
903 | + ]) | ||
904 | + ] ; | ||
905 | + spin:rule | ||
906 | + [ rdf:type sp:Construct ; | ||
907 | + rdfs:comment "STEP 40003a Set the date for the sample of fluid - from acquisition date if possible"^^xsd:string ; | ||
908 | + sp:templates ([ sp:object | ||
909 | + [ sp:varName "acquisitionDate"^^xsd:string | ||
910 | + ] ; | ||
911 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; | ||
912 | + sp:subject | ||
913 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
914 | + ] | ||
915 | + ]) ; | ||
916 | + sp:where ([ sp:object | ||
917 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
918 | + ] ; | ||
919 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
920 | + sp:subject spin:_this | ||
921 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
922 | + sp:predicate rdf:type ; | ||
923 | + sp:subject | ||
924 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
925 | + ] | ||
926 | + ] [ sp:object | ||
927 | + [ sp:varName "acquisitionDate"^^xsd:string | ||
928 | + ] ; | ||
929 | + sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; | ||
930 | + sp:subject | ||
931 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
932 | + ] | ||
933 | + ]) | ||
934 | + ] ; | ||
935 | + spin:rule | ||
936 | + [ rdf:type sp:Construct ; | ||
937 | + rdfs:comment "STEP 40003d Set the facility for the sample of fluid - from reporting facility if not"^^xsd:string ; | ||
938 | + sp:templates ([ sp:object | ||
939 | + [ sp:varName "normalizedFacilityName"^^xsd:string | ||
940 | + ] ; | ||
941 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | ||
942 | + sp:subject | ||
943 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
944 | + ] | ||
909 | ]) ; | 945 | ]) ; |
910 | sp:where ([ sp:object | 946 | sp:where ([ sp:object |
911 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 947 | + [ sp:varName "fluidSampleRef"^^xsd:string |
912 | ] ; | 948 | ] ; |
913 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 949 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
914 | sp:subject spin:_this | 950 | sp:subject spin:_this |
915 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ; | 951 | + ] [ sp:object |
952 | + [ sp:varName "normalizedFacilityName"^^xsd:string | ||
953 | + ] ; | ||
954 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | ||
955 | + sp:subject spin:_this | ||
956 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
916 | sp:predicate rdf:type ; | 957 | sp:predicate rdf:type ; |
917 | sp:subject | 958 | sp:subject |
918 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 959 | + [ sp:varName "fluidSampleRef"^^xsd:string |
919 | ] | 960 | ] |
920 | - ] [ sp:object | 961 | + ] [ rdf:type sp:NotExists ; |
921 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 962 | + sp:elements ([ sp:object |
963 | + [ sp:varName "facilityRef"^^xsd:string | ||
922 | ] ; | 964 | ] ; |
923 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 965 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; |
924 | sp:subject | 966 | sp:subject |
925 | - [ sp:varName "sampledFluid"^^xsd:string | 967 | + [ sp:varName "fluidSampleRef"^^xsd:string |
926 | ] | 968 | ] |
927 | - ] [ sp:object | 969 | + ]) |
970 | + ]) | ||
971 | + ] . | ||
972 | + | ||
973 | +<http://www.epim.no/schemas/mprml/1#MassConcentrationMeasurePercent> | ||
974 | + spin:rule | ||
975 | + [ rdf:type sp:Construct ; | ||
976 | + rdfs:comment "STEP 40091b Set the mass of component if necessary"^^xsd:string ; | ||
977 | + sp:templates ([ sp:object _:b7 ; | ||
978 | + sp:predicate rdf:type ; | ||
979 | + sp:subject | ||
980 | + [ sp:varName "component"^^xsd:string | ||
981 | + ] | ||
982 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | ||
983 | + sp:predicate rdf:type ; | ||
984 | + sp:subject _:b7 | ||
985 | + ]) ; | ||
986 | + sp:where ([ sp:object | ||
928 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 987 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
929 | ] ; | 988 | ] ; |
930 | sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; | 989 | sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; |
931 | sp:subject | 990 | sp:subject |
932 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 991 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string |
933 | ] | 992 | ] |
934 | - ] [ sp:object "false"^^xsd:boolean ; | 993 | + ] [ sp:object spin:_this ; |
935 | - sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; | 994 | + sp:predicate <http://www.epim.no/schemas/mprml/1#weightPercentRef> ; |
936 | sp:subject | 995 | sp:subject |
937 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 996 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
938 | ] | 997 | ] |
939 | ] [ sp:object | 998 | ] [ sp:object |
940 | - [ sp:varName "name"^^xsd:string | 999 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
941 | ] ; | 1000 | ] ; |
942 | - sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ; | 1001 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
943 | sp:subject | 1002 | sp:subject |
944 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 1003 | + [ sp:varName "component"^^xsd:string |
945 | ] | 1004 | ] |
946 | ] [ rdf:type sp:NotExists ; | 1005 | ] [ rdf:type sp:NotExists ; |
947 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | 1006 | + sp:elements ([ sp:object |
1007 | + [ sp:varName "massOfComponent"^^xsd:string | ||
1008 | + ] ; | ||
948 | sp:predicate rdf:type ; | 1009 | sp:predicate rdf:type ; |
949 | sp:subject | 1010 | sp:subject |
950 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 1011 | + [ sp:varName "component"^^xsd:string |
951 | ] | 1012 | ] |
952 | - ] [ sp:object | 1013 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; |
953 | - [ sp:varName "name"^^xsd:string | 1014 | + sp:predicate rdf:type ; |
954 | - ] ; | ||
955 | - sp:predicate rdfs:label ; | ||
956 | sp:subject | 1015 | sp:subject |
957 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 1016 | + [ sp:varName "massOfComponent"^^xsd:string |
958 | ] | 1017 | ] |
959 | ]) | 1018 | ]) |
960 | - ] [ rdf:type sp:Optional ; | ||
961 | - sp:elements ([ sp:object | ||
962 | - [ sp:varName "componentKindRef"^^xsd:string | ||
963 | - ] ; | ||
964 | - sp:predicate <http://www.epim.no/schemas/mprml/1#componentKindRef> ; | ||
965 | - sp:subject | ||
966 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
967 | - ] | ||
968 | ]) | 1019 | ]) |
969 | - ] [ rdf:type sp:Bind ; | ||
970 | - sp:expression | ||
971 | - [ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ; | ||
972 | - sp:arg1 [ sp:varName "componentKindRef"^^xsd:string | ||
973 | - ] | ||
974 | - ] ; | ||
975 | - sp:variable | ||
976 | - [ sp:varName "fluidComponentKindType"^^xsd:string | ||
977 | - ] | ||
978 | - ] [ rdf:type sp:Bind ; | ||
979 | - sp:expression | ||
980 | - [ rdf:type ep-mpr-spin-lib:buildSubstanceTypeURI ; | ||
981 | - sp:arg1 [ sp:varName "name"^^xsd:string | ||
982 | - ] | ||
983 | ] ; | 1020 | ] ; |
984 | - sp:variable | ||
985 | - [ sp:varName "substanceType"^^xsd:string | ||
986 | - ] | ||
987 | - ]) | ||
988 | - ] . | ||
989 | - | ||
990 | -<http://www.epim.no/schemas/mprml/1#MassConcentrationMeasurePercent> | ||
991 | spin:rule | 1021 | spin:rule |
992 | [ rdf:type sp:Construct ; | 1022 | [ rdf:type sp:Construct ; |
993 | - rdfs:comment "STEP 40091 Set the mass ratio for the pair."^^xsd:string ; | 1023 | + rdfs:comment "STEP 40091c Set the mass ratio for the pair."^^xsd:string ; |
994 | - sp:templates ([ sp:object _:b9 ; | 1024 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MassPair> ; |
995 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#massRatio> ; | 1025 | + sp:predicate rdf:type ; |
996 | - sp:subject | 1026 | + sp:subject _:b8 |
997 | - [ sp:varName "materialPartWholePair"^^xsd:string | 1027 | + ] [ sp:object |
998 | - ] | 1028 | + [ sp:varName "massOfComponent"^^xsd:string |
1029 | + ] ; | ||
1030 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#firstOfPair> ; | ||
1031 | + sp:subject _:b8 | ||
1032 | + ] [ sp:object | ||
1033 | + [ sp:varName "massOfWhole"^^xsd:string | ||
1034 | + ] ; | ||
1035 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#secondOfPair> ; | ||
1036 | + sp:subject _:b8 | ||
1037 | + ] [ sp:object _:b9 ; | ||
1038 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#divide> ; | ||
1039 | + sp:subject _:b8 | ||
999 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ; | 1040 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ; |
1000 | sp:predicate rdf:type ; | 1041 | sp:predicate rdf:type ; |
1001 | sp:subject _:b9 | 1042 | sp:subject _:b9 |
... | @@ -1007,22 +1048,55 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -1007,22 +1048,55 @@ The componentName element is used differently in the examples for the primary an |
1007 | ] ; | 1048 | ] ; |
1008 | sp:subject _:b9 | 1049 | sp:subject _:b9 |
1009 | ]) ; | 1050 | ]) ; |
1010 | - sp:where ([ sp:object spin:_this ; | 1051 | + sp:where ([ sp:object |
1052 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1053 | + ] ; | ||
1054 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; | ||
1055 | + sp:subject | ||
1056 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1057 | + ] | ||
1058 | + ] [ sp:object spin:_this ; | ||
1011 | sp:predicate <http://www.epim.no/schemas/mprml/1#weightPercentRef> ; | 1059 | sp:predicate <http://www.epim.no/schemas/mprml/1#weightPercentRef> ; |
1012 | sp:subject | 1060 | sp:subject |
1013 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 1061 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
1014 | ] | 1062 | ] |
1015 | ] [ sp:object | 1063 | ] [ sp:object |
1064 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1065 | + ] ; | ||
1066 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
1067 | + sp:subject | ||
1068 | + [ sp:varName "whole"^^xsd:string | ||
1069 | + ] | ||
1070 | + ] [ sp:object | ||
1071 | + [ sp:varName "massOfWhole"^^xsd:string | ||
1072 | + ] ; | ||
1073 | + sp:predicate rdf:type ; | ||
1074 | + sp:subject | ||
1075 | + [ sp:varName "whole"^^xsd:string | ||
1076 | + ] | ||
1077 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | ||
1078 | + sp:predicate rdf:type ; | ||
1079 | + sp:subject | ||
1080 | + [ sp:varName "massOfWhole"^^xsd:string | ||
1081 | + ] | ||
1082 | + ] [ sp:object | ||
1016 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 1083 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
1017 | ] ; | 1084 | ] ; |
1018 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1085 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1019 | sp:subject | 1086 | sp:subject |
1020 | - [ sp:varName "materialPartWholePair"^^xsd:string | 1087 | + [ sp:varName "component"^^xsd:string |
1088 | + ] | ||
1089 | + ] [ sp:object | ||
1090 | + [ sp:varName "massOfComponent"^^xsd:string | ||
1091 | + ] ; | ||
1092 | + sp:predicate rdf:type ; | ||
1093 | + sp:subject | ||
1094 | + [ sp:varName "component"^^xsd:string | ||
1021 | ] | 1095 | ] |
1022 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; | 1096 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; |
1023 | sp:predicate rdf:type ; | 1097 | sp:predicate rdf:type ; |
1024 | sp:subject | 1098 | sp:subject |
1025 | - [ sp:varName "materialPartWholePair"^^xsd:string | 1099 | + [ sp:varName "massOfComponent"^^xsd:string |
1026 | ] | 1100 | ] |
1027 | ] [ sp:object | 1101 | ] [ sp:object |
1028 | [ sp:varName "realWeightPercent"^^xsd:string | 1102 | [ sp:varName "realWeightPercent"^^xsd:string |
... | @@ -1044,44 +1118,229 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -1044,44 +1118,229 @@ The componentName element is used differently in the examples for the primary an |
1044 | [ sp:varName "weightPercentScale"^^xsd:string | 1118 | [ sp:varName "weightPercentScale"^^xsd:string |
1045 | ] | 1119 | ] |
1046 | ]) | 1120 | ]) |
1121 | + ] ; | ||
1122 | + spin:rule | ||
1123 | + [ rdf:type sp:Construct ; | ||
1124 | + rdfs:comment "STEP 40091a Set the mass of whole if necessary"^^xsd:string ; | ||
1125 | + sp:templates ([ sp:object _:b10 ; | ||
1126 | + sp:predicate rdf:type ; | ||
1127 | + sp:subject | ||
1128 | + [ sp:varName "whole"^^xsd:string | ||
1129 | + ] | ||
1130 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | ||
1131 | + sp:predicate rdf:type ; | ||
1132 | + sp:subject _:b10 | ||
1133 | + ]) ; | ||
1134 | + sp:where ([ sp:object | ||
1135 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1136 | + ] ; | ||
1137 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; | ||
1138 | + sp:subject | ||
1139 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1140 | + ] | ||
1141 | + ] [ sp:object spin:_this ; | ||
1142 | + sp:predicate <http://www.epim.no/schemas/mprml/1#weightPercentRef> ; | ||
1143 | + sp:subject | ||
1144 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1145 | + ] | ||
1146 | + ] [ sp:object | ||
1147 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1148 | + ] ; | ||
1149 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
1150 | + sp:subject | ||
1151 | + [ sp:varName "whole"^^xsd:string | ||
1152 | + ] | ||
1153 | + ] [ rdf:type sp:NotExists ; | ||
1154 | + sp:elements ([ sp:object | ||
1155 | + [ sp:varName "massOfWhole"^^xsd:string | ||
1156 | + ] ; | ||
1157 | + sp:predicate rdf:type ; | ||
1158 | + sp:subject | ||
1159 | + [ sp:varName "whole"^^xsd:string | ||
1160 | + ] | ||
1161 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | ||
1162 | + sp:predicate rdf:type ; | ||
1163 | + sp:subject | ||
1164 | + [ sp:varName "massOfWhole"^^xsd:string | ||
1165 | + ] | ||
1166 | + ]) | ||
1167 | + ]) | ||
1047 | ] . | 1168 | ] . |
1048 | 1169 | ||
1049 | <http://www.epim.no/schemas/mprml/1#MolarFractionMeasurePercent> | 1170 | <http://www.epim.no/schemas/mprml/1#MolarFractionMeasurePercent> |
1050 | spin:rule | 1171 | spin:rule |
1051 | [ rdf:type sp:Construct ; | 1172 | [ rdf:type sp:Construct ; |
1052 | - rdfs:comment "STEP 40092 Set the molar ratio for the pair."^^xsd:string ; | 1173 | + rdfs:comment "STEP 40092b Set the mole of the component if necessary"^^xsd:string ; |
1053 | - sp:templates ([ sp:object _:b10 ; | 1174 | + sp:templates ([ sp:object _:b11 ; |
1054 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#moleRatio> ; | 1175 | + sp:predicate rdf:type ; |
1176 | + sp:subject | ||
1177 | + [ sp:varName "component"^^xsd:string | ||
1178 | + ] | ||
1179 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ; | ||
1180 | + sp:predicate rdf:type ; | ||
1181 | + sp:subject _:b11 | ||
1182 | + ]) ; | ||
1183 | + sp:where ([ sp:object | ||
1184 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1185 | + ] ; | ||
1186 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; | ||
1187 | + sp:subject | ||
1188 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1189 | + ] | ||
1190 | + ] [ sp:object spin:_this ; | ||
1191 | + sp:predicate <http://www.epim.no/schemas/mprml/1#molePercentRef> ; | ||
1192 | + sp:subject | ||
1193 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1194 | + ] | ||
1195 | + ] [ sp:object | ||
1196 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1197 | + ] ; | ||
1198 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
1199 | + sp:subject | ||
1200 | + [ sp:varName "component"^^xsd:string | ||
1201 | + ] | ||
1202 | + ] [ rdf:type sp:NotExists ; | ||
1203 | + sp:elements ([ sp:object | ||
1204 | + [ sp:varName "moleOfComponent"^^xsd:string | ||
1205 | + ] ; | ||
1206 | + sp:predicate rdf:type ; | ||
1207 | + sp:subject | ||
1208 | + [ sp:varName "component"^^xsd:string | ||
1209 | + ] | ||
1210 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ; | ||
1211 | + sp:predicate rdf:type ; | ||
1212 | + sp:subject | ||
1213 | + [ sp:varName "moleOfComponent"^^xsd:string | ||
1214 | + ] | ||
1215 | + ]) | ||
1216 | + ]) | ||
1217 | + ] ; | ||
1218 | + spin:rule | ||
1219 | + [ rdf:type sp:Construct ; | ||
1220 | + rdfs:comment "STEP 40092a Set the mole of the sample if necessary"^^xsd:string ; | ||
1221 | + sp:templates ([ sp:object _:b12 ; | ||
1222 | + sp:predicate rdf:type ; | ||
1223 | + sp:subject | ||
1224 | + [ sp:varName "whole"^^xsd:string | ||
1225 | + ] | ||
1226 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ; | ||
1227 | + sp:predicate rdf:type ; | ||
1228 | + sp:subject _:b12 | ||
1229 | + ]) ; | ||
1230 | + sp:where ([ sp:object | ||
1231 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1232 | + ] ; | ||
1233 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; | ||
1234 | + sp:subject | ||
1235 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1236 | + ] | ||
1237 | + ] [ sp:object spin:_this ; | ||
1238 | + sp:predicate <http://www.epim.no/schemas/mprml/1#molePercentRef> ; | ||
1239 | + sp:subject | ||
1240 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1241 | + ] | ||
1242 | + ] [ sp:object | ||
1243 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1244 | + ] ; | ||
1245 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
1246 | + sp:subject | ||
1247 | + [ sp:varName "whole"^^xsd:string | ||
1248 | + ] | ||
1249 | + ] [ rdf:type sp:NotExists ; | ||
1250 | + sp:elements ([ sp:object | ||
1251 | + [ sp:varName "moleOfWhole"^^xsd:string | ||
1252 | + ] ; | ||
1253 | + sp:predicate rdf:type ; | ||
1055 | sp:subject | 1254 | sp:subject |
1056 | - [ sp:varName "materialPartWholePair"^^xsd:string | 1255 | + [ sp:varName "whole"^^xsd:string |
1057 | ] | 1256 | ] |
1257 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ; | ||
1258 | + sp:predicate rdf:type ; | ||
1259 | + sp:subject | ||
1260 | + [ sp:varName "moleOfWhole"^^xsd:string | ||
1261 | + ] | ||
1262 | + ]) | ||
1263 | + ]) | ||
1264 | + ] ; | ||
1265 | + spin:rule | ||
1266 | + [ rdf:type sp:Construct ; | ||
1267 | + rdfs:comment "STEP 40092c Set the mole ratio for the pair."^^xsd:string ; | ||
1268 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MolePair> ; | ||
1269 | + sp:predicate rdf:type ; | ||
1270 | + sp:subject _:b13 | ||
1271 | + ] [ sp:object | ||
1272 | + [ sp:varName "moleOfComponent"^^xsd:string | ||
1273 | + ] ; | ||
1274 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#firstOfPair> ; | ||
1275 | + sp:subject _:b13 | ||
1276 | + ] [ sp:object | ||
1277 | + [ sp:varName "moleOfWhole"^^xsd:string | ||
1278 | + ] ; | ||
1279 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#secondOfPair> ; | ||
1280 | + sp:subject _:b13 | ||
1281 | + ] [ sp:object _:b14 ; | ||
1282 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#divide> ; | ||
1283 | + sp:subject _:b13 | ||
1058 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ; | 1284 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ; |
1059 | sp:predicate rdf:type ; | 1285 | sp:predicate rdf:type ; |
1060 | - sp:subject _:b10 | 1286 | + sp:subject _:b14 |
1061 | ] [ sp:object | 1287 | ] [ sp:object |
1062 | [ sp:varName "realMolePercent"^^xsd:string | 1288 | [ sp:varName "realMolePercent"^^xsd:string |
1063 | ] ; | 1289 | ] ; |
1064 | sp:predicate | 1290 | sp:predicate |
1065 | [ sp:varName "molePercentScale"^^xsd:string | 1291 | [ sp:varName "molePercentScale"^^xsd:string |
1066 | ] ; | 1292 | ] ; |
1067 | - sp:subject _:b10 | 1293 | + sp:subject _:b14 |
1068 | ]) ; | 1294 | ]) ; |
1069 | - sp:where ([ sp:object spin:_this ; | 1295 | + sp:where ([ sp:object |
1296 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
1297 | + ] ; | ||
1298 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; | ||
1299 | + sp:subject | ||
1300 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1301 | + ] | ||
1302 | + ] [ sp:object spin:_this ; | ||
1070 | sp:predicate <http://www.epim.no/schemas/mprml/1#molePercentRef> ; | 1303 | sp:predicate <http://www.epim.no/schemas/mprml/1#molePercentRef> ; |
1071 | sp:subject | 1304 | sp:subject |
1072 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 1305 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
1073 | ] | 1306 | ] |
1074 | ] [ sp:object | 1307 | ] [ sp:object |
1308 | + [ sp:varName "fluidAnalysisResultsRef"^^xsd:string | ||
1309 | + ] ; | ||
1310 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
1311 | + sp:subject | ||
1312 | + [ sp:varName "whole"^^xsd:string | ||
1313 | + ] | ||
1314 | + ] [ sp:object | ||
1315 | + [ sp:varName "moleOfWhole"^^xsd:string | ||
1316 | + ] ; | ||
1317 | + sp:predicate rdf:type ; | ||
1318 | + sp:subject | ||
1319 | + [ sp:varName "whole"^^xsd:string | ||
1320 | + ] | ||
1321 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ; | ||
1322 | + sp:predicate rdf:type ; | ||
1323 | + sp:subject | ||
1324 | + [ sp:varName "moleOfWhole"^^xsd:string | ||
1325 | + ] | ||
1326 | + ] [ sp:object | ||
1075 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 1327 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
1076 | ] ; | 1328 | ] ; |
1077 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 1329 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
1078 | sp:subject | 1330 | sp:subject |
1079 | - [ sp:varName "materialPartWholePair"^^xsd:string | 1331 | + [ sp:varName "component"^^xsd:string |
1332 | + ] | ||
1333 | + ] [ sp:object | ||
1334 | + [ sp:varName "moleOfComponent"^^xsd:string | ||
1335 | + ] ; | ||
1336 | + sp:predicate rdf:type ; | ||
1337 | + sp:subject | ||
1338 | + [ sp:varName "component"^^xsd:string | ||
1080 | ] | 1339 | ] |
1081 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; | 1340 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ; |
1082 | sp:predicate rdf:type ; | 1341 | sp:predicate rdf:type ; |
1083 | sp:subject | 1342 | sp:subject |
1084 | - [ sp:varName "materialPartWholePair"^^xsd:string | 1343 | + [ sp:varName "moleOfComponent"^^xsd:string |
1085 | ] | 1344 | ] |
1086 | ] [ sp:object | 1345 | ] [ sp:object |
1087 | [ sp:varName "realMolePercent"^^xsd:string | 1346 | [ sp:varName "realMolePercent"^^xsd:string |
... | @@ -1107,5 +1366,5 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -1107,5 +1366,5 @@ The componentName element is used differently in the examples for the primary an |
1107 | 1366 | ||
1108 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> | 1367 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> |
1109 | rdf:type owl:Ontology ; | 1368 | rdf:type owl:Ontology ; |
1110 | - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <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> , <http://www.reportinghub.no/ep/schema/1.0/material-class-maps-to-mpr-enumeration> ; | 1369 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/material-class-maps-to-mpr-enumeration> , <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> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; |
1111 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1370 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment