Improvement to the production test results transform and change to the fluid sample URI
Showing
5 changed files
with
459 additions
and
454 deletions
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
22 | 22 | ||
23 | <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> | 23 | <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> |
24 | rdf:type owl:Ontology ; | 24 | rdf:type owl:Ontology ; |
25 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> ; | 25 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://spinrdf.org/spin> ; |
26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
27 | 27 | ||
28 | ep-mpr-spin-lib:Function | 28 | ep-mpr-spin-lib:Function |
... | @@ -135,7 +135,7 @@ ep-mpr-spin-lib:buildSampledFluidURI | ... | @@ -135,7 +135,7 @@ ep-mpr-spin-lib:buildSampledFluidURI |
135 | spin:body | 135 | spin:body |
136 | [ rdf:type sp:Select ; | 136 | [ rdf:type sp:Select ; |
137 | rdfs:comment """arg1 is the name of the installation | 137 | rdfs:comment """arg1 is the name of the installation |
138 | -arg2 is the nominal time | 138 | +arg2 is the report interval identifier |
139 | arg3 is the name of the sample"""^^xsd:string ; | 139 | arg3 is the name of the sample"""^^xsd:string ; |
140 | sp:resultVariables ([ sp:varName "uri"^^xsd:string | 140 | sp:resultVariables ([ sp:varName "uri"^^xsd:string |
141 | ]) ; | 141 | ]) ; | ... | ... |
This diff could not be displayed because it is too large.
... | @@ -25,24 +25,13 @@ | ... | @@ -25,24 +25,13 @@ |
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 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 ; | 28 | + rdfs:comment "STEP 40003a Set the date for the sample of fluid - from acquisition date if possible"^^xsd:string ; |
29 | - sp:templates ([ sp:object _:b1 ; | 29 | + sp:templates ([ sp:object |
30 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; | 30 | + [ sp:varName "acquisitionDate"^^xsd:string |
31 | - sp:subject | ||
32 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
33 | - ] | ||
34 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
35 | - sp:predicate rdf:type ; | ||
36 | - sp:subject _:b1 | ||
37 | - ] [ sp:object | ||
38 | - [ sp:varName "facility"^^xsd:string | ||
39 | ] ; | 31 | ] ; |
40 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 32 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; |
41 | - sp:subject _:b1 | ||
42 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
43 | - sp:predicate rdf:type ; | ||
44 | sp:subject | 33 | sp:subject |
45 | - [ sp:varName "facility"^^xsd:string | 34 | + [ sp:varName "fluidSampleRef"^^xsd:string |
46 | ] | 35 | ] |
47 | ]) ; | 36 | ]) ; |
48 | sp:where ([ sp:object | 37 | sp:where ([ sp:object |
... | @@ -56,49 +45,30 @@ | ... | @@ -56,49 +45,30 @@ |
56 | [ sp:varName "fluidSampleRef"^^xsd:string | 45 | [ sp:varName "fluidSampleRef"^^xsd:string |
57 | ] | 46 | ] |
58 | ] [ sp:object | 47 | ] [ sp:object |
59 | - [ sp:varName "fluidSampleRef"^^xsd:string | 48 | + [ sp:varName "acquisitionDate"^^xsd:string |
60 | - ] ; | ||
61 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
62 | - sp:subject | ||
63 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
64 | - ] | ||
65 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ; | ||
66 | - sp:predicate rdf:type ; | ||
67 | - sp:subject | ||
68 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
69 | - ] | ||
70 | - ] [ sp:object | ||
71 | - [ sp:varName "facilityRef"^^xsd:string | ||
72 | ] ; | 49 | ] ; |
73 | - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | 50 | + sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; |
74 | sp:subject | 51 | sp:subject |
75 | [ sp:varName "fluidSampleRef"^^xsd:string | 52 | [ sp:varName "fluidSampleRef"^^xsd:string |
76 | ] | 53 | ] |
77 | - ] [ sp:object | ||
78 | - [ sp:varName "facilityRef"^^xsd:string | ||
79 | - ] ; | ||
80 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
81 | - sp:subject | ||
82 | - [ sp:varName "facility"^^xsd:string | ||
83 | - ] | ||
84 | ]) | 54 | ]) |
85 | ] ; | 55 | ] ; |
86 | spin:rule | 56 | spin:rule |
87 | [ rdf:type sp:Construct ; | 57 | [ rdf:type sp:Construct ; |
88 | - rdfs:comment "STEP 40010 Specify the fluid analysis result."^^xsd:string ; | 58 | + rdfs:comment "STEP 40004 Set the valid from and valid to for the report."^^xsd:string ; |
89 | sp:templates ([ sp:object | 59 | sp:templates ([ sp:object |
90 | - [ sp:varName "nameFluidAnalysis"^^xsd:string | 60 | + [ sp:varName "validFrom"^^xsd:string |
91 | ] ; | 61 | ] ; |
92 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 62 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#validFrom> ; |
93 | sp:subject | 63 | sp:subject |
94 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | 64 | + [ sp:varName "fluidSampleReport"^^xsd:string |
95 | ] | 65 | ] |
96 | ] [ sp:object | 66 | ] [ sp:object |
97 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 67 | + [ sp:varName "validTo"^^xsd:string |
98 | ] ; | 68 | ] ; |
99 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 69 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#validTo> ; |
100 | sp:subject | 70 | sp:subject |
101 | - [ sp:varName "sampledFluid"^^xsd:string | 71 | + [ sp:varName "fluidSampleReport"^^xsd:string |
102 | ] | 72 | ] |
103 | ]) ; | 73 | ]) ; |
104 | sp:where ([ sp:object | 74 | sp:where ([ sp:object |
... | @@ -116,95 +86,153 @@ | ... | @@ -116,95 +86,153 @@ |
116 | ] ; | 86 | ] ; |
117 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 87 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
118 | sp:subject | 88 | sp:subject |
119 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | 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 | ||
120 | ] | 95 | ] |
121 | ] [ sp:object | 96 | ] [ sp:object |
122 | - [ sp:varName "sampledFluid"^^xsd:string | 97 | + [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string |
123 | ] ; | 98 | ] ; |
124 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; | 99 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
125 | sp:subject | 100 | sp:subject |
126 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | 101 | + [ sp:varName "fluidSampleReport"^^xsd:string |
127 | ] | 102 | ] |
128 | ] [ sp:object | 103 | ] [ sp:object |
129 | - [ sp:varName "name"^^xsd:string | 104 | + [ sp:varName "customDataRef"^^xsd:string |
130 | ] ; | 105 | ] ; |
131 | - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 106 | + sp:predicate <http://www.epim.no/schemas/mprml/1#customDataRef> ; |
132 | sp:subject | 107 | sp:subject |
133 | [ sp:varName "fluidSampleRef"^^xsd:string | 108 | [ sp:varName "fluidSampleRef"^^xsd:string |
134 | ] | 109 | ] |
135 | ] [ sp:object | 110 | ] [ sp:object |
136 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 111 | + [ sp:varName "extensionNameValueRef"^^xsd:string |
137 | ] ; | 112 | ] ; |
138 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 113 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
139 | - sp:subject spin:_this | ||
140 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ; | ||
141 | - sp:predicate rdf:type ; | ||
142 | sp:subject | 114 | sp:subject |
143 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 115 | + [ sp:varName "customDataRef"^^xsd:string |
144 | ] | 116 | ] |
145 | - ] [ sp:object | 117 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#extensionNameValue> ; |
146 | - [ sp:varName "name"^^xsd:string | 118 | + sp:predicate rdf:type ; |
147 | - ] ; | ||
148 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ; | ||
149 | sp:subject | 119 | sp:subject |
150 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 120 | + [ sp:varName "extensionNameValueRef"^^xsd:string |
151 | ] | 121 | ] |
152 | ] [ rdf:type sp:Optional ; | 122 | ] [ rdf:type sp:Optional ; |
153 | sp:elements ([ sp:object | 123 | sp:elements ([ sp:object |
154 | - [ sp:varName "nameFluidAnalysis"^^xsd:string | 124 | + [ sp:varName "validFromRef"^^xsd:string |
155 | ] ; | 125 | ] ; |
156 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ; | 126 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
157 | sp:subject | 127 | sp:subject |
158 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 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 | ||
159 | ] | 172 | ] |
160 | ]) | 173 | ]) |
161 | - ]) | 174 | + ] [ rdf:type sp:Optional ; |
162 | - ] ; | ||
163 | - spin:rule | ||
164 | - [ rdf:type sp:Construct ; | ||
165 | - rdfs:comment "STEP 40003b Set the date for the sample of fluid - from report date if not"^^xsd:string ; | ||
166 | - sp:templates ([ sp:object | ||
167 | - [ sp:varName "intervalIdentifier"^^xsd:string | ||
168 | - ] ; | ||
169 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; | ||
170 | - sp:subject | ||
171 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
172 | - ] | ||
173 | - ]) ; | ||
174 | - sp:where ([ sp:object | ||
175 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
176 | - ] ; | ||
177 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
178 | - sp:subject spin:_this | ||
179 | - ] [ sp:object | ||
180 | - [ sp:varName "intervalIdentifier"^^xsd:string | ||
181 | - ] ; | ||
182 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; | ||
183 | - sp:subject spin:_this | ||
184 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
185 | - sp:predicate rdf:type ; | ||
186 | - sp:subject | ||
187 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
188 | - ] | ||
189 | - ] [ rdf:type sp:NotExists ; | ||
190 | sp:elements ([ sp:object | 175 | sp:elements ([ sp:object |
191 | - [ sp:varName "acquisitionDate"^^xsd:string | 176 | + [ sp:varName "validToRef"^^xsd:string |
192 | ] ; | 177 | ] ; |
193 | - sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; | 178 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
194 | sp:subject | 179 | sp:subject |
195 | - [ sp:varName "fluidSampleRef"^^xsd:string | 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 | ||
196 | ] | 224 | ] |
197 | ]) | 225 | ]) |
198 | ]) | 226 | ]) |
199 | ] ; | 227 | ] ; |
200 | spin:rule | 228 | spin:rule |
201 | [ rdf:type sp:Construct ; | 229 | [ rdf:type sp:Construct ; |
202 | - rdfs:comment """STEP 40011c Specify the fluid component - non-primary component - label not found, so new substance type created | 230 | + rdfs:comment """STEP 40011b Specify the fluid component - non-primary component - label found |
203 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; | 231 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; |
204 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 232 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
205 | sp:predicate rdf:type ; | 233 | sp:predicate rdf:type ; |
206 | - sp:subject _:b2 | 234 | + sp:subject _:b1 |
207 | - ] [ sp:object _:b2 ; | 235 | + ] [ sp:object _:b1 ; |
208 | sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; | 236 | sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; |
209 | sp:subject | 237 | sp:subject |
210 | [ sp:varName "sampledFluid"^^xsd:string | 238 | [ sp:varName "sampledFluid"^^xsd:string |
... | @@ -213,40 +241,28 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -213,40 +241,28 @@ The componentName element is used differently in the examples for the primary an |
213 | [ sp:varName "fluidComponentKindType"^^xsd:string | 241 | [ sp:varName "fluidComponentKindType"^^xsd:string |
214 | ] ; | 242 | ] ; |
215 | sp:predicate rdf:type ; | 243 | sp:predicate rdf:type ; |
216 | - sp:subject _:b2 | 244 | + sp:subject _:b1 |
217 | ] [ sp:object | 245 | ] [ sp:object |
218 | - [ sp:varName "substanceType"^^xsd:string | 246 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string |
219 | ] ; | 247 | ] ; |
220 | sp:predicate rdf:type ; | 248 | sp:predicate rdf:type ; |
221 | - sp:subject _:b2 | 249 | + sp:subject _:b1 |
222 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | ||
223 | - sp:predicate rdf:type ; | ||
224 | - sp:subject | ||
225 | - [ sp:varName "substanceType"^^xsd:string | ||
226 | - ] | ||
227 | - ] [ sp:object | ||
228 | - [ sp:varName "name"^^xsd:string | ||
229 | - ] ; | ||
230 | - sp:predicate rdfs:label ; | ||
231 | - sp:subject | ||
232 | - [ sp:varName "substanceType"^^xsd:string | ||
233 | - ] | ||
234 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; | 250 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; |
235 | sp:predicate rdf:type ; | 251 | sp:predicate rdf:type ; |
236 | - sp:subject _:b3 | 252 | + sp:subject _:b2 |
237 | - ] [ sp:object _:b2 ; | 253 | + ] [ sp:object _:b1 ; |
238 | sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ; | 254 | sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ; |
239 | - sp:subject _:b3 | 255 | + sp:subject _:b2 |
240 | ] [ sp:object | 256 | ] [ sp:object |
241 | [ sp:varName "sampledFluid"^^xsd:string | 257 | [ sp:varName "sampledFluid"^^xsd:string |
242 | ] ; | 258 | ] ; |
243 | sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ; | 259 | sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ; |
244 | - sp:subject _:b3 | 260 | + sp:subject _:b2 |
245 | ] [ sp:object | 261 | ] [ sp:object |
246 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 262 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
247 | ] ; | 263 | ] ; |
248 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 264 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
249 | - sp:subject _:b3 | 265 | + sp:subject _:b2 |
250 | ]) ; | 266 | ]) ; |
251 | sp:where ([ sp:object | 267 | sp:where ([ sp:object |
252 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 268 | [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
... | @@ -284,20 +300,18 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -284,20 +300,18 @@ The componentName element is used differently in the examples for the primary an |
284 | sp:subject | 300 | sp:subject |
285 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 301 | [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
286 | ] | 302 | ] |
287 | - ] [ rdf:type sp:NotExists ; | 303 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; |
288 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | 304 | + sp:predicate rdf:type ; |
289 | - sp:predicate rdf:type ; | 305 | + sp:subject |
290 | - sp:subject | 306 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string |
291 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 307 | + ] |
292 | - ] | 308 | + ] [ sp:object |
293 | - ] [ sp:object | 309 | + [ sp:varName "name"^^xsd:string |
294 | - [ sp:varName "name"^^xsd:string | 310 | + ] ; |
295 | - ] ; | 311 | + sp:predicate rdfs:label ; |
296 | - sp:predicate rdfs:label ; | 312 | + sp:subject |
297 | - sp:subject | 313 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string |
298 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 314 | + ] |
299 | - ] | ||
300 | - ]) | ||
301 | ] [ rdf:type sp:Optional ; | 315 | ] [ rdf:type sp:Optional ; |
302 | sp:elements ([ sp:object | 316 | sp:elements ([ sp:object |
303 | [ sp:varName "componentKindRef"^^xsd:string | 317 | [ sp:varName "componentKindRef"^^xsd:string |
... | @@ -316,14 +330,65 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -316,14 +330,65 @@ The componentName element is used differently in the examples for the primary an |
316 | sp:variable | 330 | sp:variable |
317 | [ sp:varName "fluidComponentKindType"^^xsd:string | 331 | [ sp:varName "fluidComponentKindType"^^xsd:string |
318 | ] | 332 | ] |
319 | - ] [ rdf:type sp:Bind ; | 333 | + ]) |
320 | - sp:expression | 334 | + ] ; |
321 | - [ rdf:type ep-mpr-spin-lib:buildSubstanceTypeURI ; | 335 | + spin:rule |
322 | - sp:arg1 [ sp:varName "name"^^xsd:string | 336 | + [ rdf:type sp:Construct ; |
323 | - ] | 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 ; |
338 | + sp:templates ([ sp:object _:b3 ; | ||
339 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ; | ||
340 | + sp:subject | ||
341 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
342 | + ] | ||
343 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
344 | + sp:predicate rdf:type ; | ||
345 | + sp:subject _:b3 | ||
346 | + ] [ sp:object | ||
347 | + [ sp:varName "facility"^^xsd:string | ||
324 | ] ; | 348 | ] ; |
325 | - sp:variable | 349 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
326 | - [ sp:varName "substanceType"^^xsd:string | 350 | + sp:subject _:b3 |
351 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
352 | + sp:predicate rdf:type ; | ||
353 | + sp:subject | ||
354 | + [ sp:varName "facility"^^xsd:string | ||
355 | + ] | ||
356 | + ]) ; | ||
357 | + sp:where ([ sp:object | ||
358 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
359 | + ] ; | ||
360 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
361 | + sp:subject spin:_this | ||
362 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
363 | + sp:predicate rdf:type ; | ||
364 | + sp:subject | ||
365 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
366 | + ] | ||
367 | + ] [ sp:object | ||
368 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
369 | + ] ; | ||
370 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
371 | + sp:subject | ||
372 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
373 | + ] | ||
374 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ; | ||
375 | + sp:predicate rdf:type ; | ||
376 | + sp:subject | ||
377 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
378 | + ] | ||
379 | + ] [ sp:object | ||
380 | + [ sp:varName "facilityRef"^^xsd:string | ||
381 | + ] ; | ||
382 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
383 | + sp:subject | ||
384 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
385 | + ] | ||
386 | + ] [ sp:object | ||
387 | + [ sp:varName "facilityRef"^^xsd:string | ||
388 | + ] ; | ||
389 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
390 | + sp:subject | ||
391 | + [ sp:varName "facility"^^xsd:string | ||
327 | ] | 392 | ] |
328 | ]) | 393 | ]) |
329 | ] ; | 394 | ] ; |
... | @@ -411,6 +476,80 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -411,6 +476,80 @@ The componentName element is used differently in the examples for the primary an |
411 | ] ; | 476 | ] ; |
412 | spin:rule | 477 | spin:rule |
413 | [ rdf:type sp:Construct ; | 478 | [ rdf:type sp:Construct ; |
479 | + rdfs:comment "STEP 40003d Set the facility for the sample of fluid - from reporting facility if not"^^xsd:string ; | ||
480 | + sp:templates ([ sp:object | ||
481 | + [ sp:varName "normalizedFacilityName"^^xsd:string | ||
482 | + ] ; | ||
483 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | ||
484 | + sp:subject | ||
485 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
486 | + ] | ||
487 | + ]) ; | ||
488 | + sp:where ([ sp:object | ||
489 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
490 | + ] ; | ||
491 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
492 | + 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> ; | ||
499 | + sp:predicate rdf:type ; | ||
500 | + sp:subject | ||
501 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
502 | + ] | ||
503 | + ] [ rdf:type sp:NotExists ; | ||
504 | + sp:elements ([ sp:object | ||
505 | + [ sp:varName "facilityRef"^^xsd:string | ||
506 | + ] ; | ||
507 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
508 | + sp:subject | ||
509 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
510 | + ] | ||
511 | + ]) | ||
512 | + ]) | ||
513 | + ] ; | ||
514 | + spin:rule | ||
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 | + ] ; | ||
533 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; | ||
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 | + ] ; | ||
544 | + sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; | ||
545 | + sp:subject | ||
546 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
547 | + ] | ||
548 | + ]) | ||
549 | + ]) | ||
550 | + ] ; | ||
551 | + spin:rule | ||
552 | + [ rdf:type sp:Construct ; | ||
414 | rdfs:comment """STEP 40011a Specify the fluid component - primary component. | 553 | rdfs:comment """STEP 40011a Specify the fluid component - primary component. |
415 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; | 554 | The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; |
416 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 555 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
... | @@ -520,13 +659,26 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -520,13 +659,26 @@ The componentName element is used differently in the examples for the primary an |
520 | ] ; | 659 | ] ; |
521 | spin:rule | 660 | spin:rule |
522 | [ rdf:type sp:Construct ; | 661 | [ rdf:type sp:Construct ; |
523 | - rdfs:comment "STEP 40003c Set the facility for the sample of fluid - from sampling facility if possible"^^xsd:string ; | 662 | + rdfs:comment """STEP 40003e Create the Sample of fluid. |
524 | - sp:templates ([ sp:object | 663 | +It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ; |
525 | - [ sp:varName "normalizedFacilityName"^^xsd:string | 664 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
665 | + sp:predicate rdf:type ; | ||
666 | + sp:subject | ||
667 | + [ sp:varName "sampledFluid"^^xsd:string | ||
668 | + ] | ||
669 | + ] [ sp:object | ||
670 | + [ sp:varName "name"^^xsd:string | ||
526 | ] ; | 671 | ] ; |
527 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | 672 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
528 | sp:subject | 673 | sp:subject |
529 | - [ sp:varName "fluidSampleRef"^^xsd:string | 674 | + [ sp:varName "sampledFluid"^^xsd:string |
675 | + ] | ||
676 | + ] [ sp:object | ||
677 | + [ sp:varName "sampledFluid"^^xsd:string | ||
678 | + ] ; | ||
679 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; | ||
680 | + sp:subject | ||
681 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
530 | ] | 682 | ] |
531 | ]) ; | 683 | ]) ; |
532 | sp:where ([ sp:object | 684 | sp:where ([ sp:object |
... | @@ -540,153 +692,139 @@ The componentName element is used differently in the examples for the primary an | ... | @@ -540,153 +692,139 @@ The componentName element is used differently in the examples for the primary an |
540 | [ sp:varName "fluidSampleRef"^^xsd:string | 692 | [ sp:varName "fluidSampleRef"^^xsd:string |
541 | ] | 693 | ] |
542 | ] [ sp:object | 694 | ] [ sp:object |
543 | - [ sp:varName "facilityRef"^^xsd:string | 695 | + [ sp:varName "intervalIdentifier"^^xsd:string |
544 | ] ; | 696 | ] ; |
545 | - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | 697 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier> ; |
698 | + sp:subject spin:_this | ||
699 | + ] [ sp:object | ||
700 | + [ sp:varName "time"^^xsd:string | ||
701 | + ] ; | ||
702 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; | ||
703 | + sp:subject | ||
704 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
705 | + ] | ||
706 | + ] [ sp:object | ||
707 | + [ sp:varName "normalizedFacilityName"^^xsd:string | ||
708 | + ] ; | ||
709 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | ||
710 | + sp:subject | ||
711 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
712 | + ] | ||
713 | + ] [ sp:object | ||
714 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
715 | + ] ; | ||
716 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
717 | + sp:subject | ||
718 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
719 | + ] | ||
720 | + ] [ sp:object | ||
721 | + [ sp:varName "name"^^xsd:string | ||
722 | + ] ; | ||
723 | + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | ||
546 | sp:subject | 724 | sp:subject |
547 | [ sp:varName "fluidSampleRef"^^xsd:string | 725 | [ sp:varName "fluidSampleRef"^^xsd:string |
548 | ] | 726 | ] |
549 | ] [ rdf:type sp:Bind ; | 727 | ] [ rdf:type sp:Bind ; |
550 | sp:expression | 728 | sp:expression |
551 | - [ rdf:type spl:object ; | 729 | + [ rdf:type ep-mpr-spin-lib:buildSampledFluidURI ; |
552 | - sp:arg1 [ sp:varName "facilityRef"^^xsd:string | 730 | + sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string |
553 | ] ; | 731 | ] ; |
554 | - sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> | 732 | + sp:arg2 [ sp:varName "intervalIdentifier"^^xsd:string |
733 | + ] ; | ||
734 | + sp:arg3 [ sp:varName "name"^^xsd:string | ||
735 | + ] | ||
555 | ] ; | 736 | ] ; |
556 | sp:variable | 737 | sp:variable |
557 | - [ sp:varName "normalizedFacilityName"^^xsd:string | 738 | + [ sp:varName "sampledFluid"^^xsd:string |
558 | ] | 739 | ] |
559 | ]) | 740 | ]) |
560 | ] ; | 741 | ] ; |
561 | spin:rule | 742 | spin:rule |
562 | [ rdf:type sp:Construct ; | 743 | [ rdf:type sp:Construct ; |
563 | - rdfs:comment """STEP 40011b Specify the fluid component - non-primary component - label found | 744 | + rdfs:comment "STEP 40010 Specify the fluid analysis result."^^xsd:string ; |
564 | -The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; | 745 | + sp:templates ([ sp:object |
565 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 746 | + [ sp:varName "nameFluidAnalysis"^^xsd:string |
566 | - sp:predicate rdf:type ; | 747 | + ] ; |
567 | - sp:subject _:b7 | 748 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
568 | - ] [ sp:object _:b7 ; | ||
569 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; | ||
570 | sp:subject | 749 | sp:subject |
571 | - [ sp:varName "sampledFluid"^^xsd:string | 750 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string |
572 | ] | 751 | ] |
573 | ] [ sp:object | 752 | ] [ sp:object |
574 | - [ sp:varName "fluidComponentKindType"^^xsd:string | 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 | ||
575 | ] ; | 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> ; | ||
576 | sp:predicate rdf:type ; | 766 | sp:predicate rdf:type ; |
577 | - sp:subject _:b7 | 767 | + sp:subject |
768 | + [ sp:varName "fluidSampleRef"^^xsd:string | ||
769 | + ] | ||
578 | ] [ sp:object | 770 | ] [ sp:object |
579 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 771 | + [ sp:varName "fluidSampleRef"^^xsd:string |
580 | - ] ; | ||
581 | - sp:predicate rdf:type ; | ||
582 | - sp:subject _:b7 | ||
583 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; | ||
584 | - sp:predicate rdf:type ; | ||
585 | - sp:subject _:b8 | ||
586 | - ] [ sp:object _:b7 ; | ||
587 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ; | ||
588 | - sp:subject _:b8 | ||
589 | - ] [ sp:object | ||
590 | - [ sp:varName "sampledFluid"^^xsd:string | ||
591 | - ] ; | ||
592 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ; | ||
593 | - sp:subject _:b8 | ||
594 | - ] [ sp:object | ||
595 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
596 | ] ; | 772 | ] ; |
597 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 773 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
598 | - sp:subject _:b8 | ||
599 | - ]) ; | ||
600 | - sp:where ([ sp:object | ||
601 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
602 | - ] ; | ||
603 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
604 | - sp:subject spin:_this | ||
605 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ; | ||
606 | - sp:predicate rdf:type ; | ||
607 | sp:subject | 774 | sp:subject |
608 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | 775 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string |
609 | ] | 776 | ] |
610 | ] [ sp:object | 777 | ] [ sp:object |
611 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
612 | - ] ; | ||
613 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
614 | - sp:subject | ||
615 | [ sp:varName "sampledFluid"^^xsd:string | 778 | [ sp:varName "sampledFluid"^^xsd:string |
616 | - ] | ||
617 | - ] [ sp:object | ||
618 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | ||
619 | ] ; | 779 | ] ; |
620 | - sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; | 780 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; |
621 | - sp:subject | ||
622 | - [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
623 | - ] | ||
624 | - ] [ sp:object "false"^^xsd:boolean ; | ||
625 | - sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; | ||
626 | sp:subject | 781 | sp:subject |
627 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 782 | + [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string |
628 | ] | 783 | ] |
629 | ] [ sp:object | 784 | ] [ sp:object |
630 | [ sp:varName "name"^^xsd:string | 785 | [ sp:varName "name"^^xsd:string |
631 | ] ; | 786 | ] ; |
632 | - sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ; | 787 | + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; |
633 | sp:subject | 788 | sp:subject |
634 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 789 | + [ sp:varName "fluidSampleRef"^^xsd:string |
635 | ] | 790 | ] |
636 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; | 791 | + ] [ sp:object |
792 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string | ||
793 | + ] ; | ||
794 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
795 | + sp:subject spin:_this | ||
796 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ; | ||
637 | sp:predicate rdf:type ; | 797 | sp:predicate rdf:type ; |
638 | sp:subject | 798 | sp:subject |
639 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 799 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
640 | ] | 800 | ] |
641 | ] [ sp:object | 801 | ] [ sp:object |
642 | [ sp:varName "name"^^xsd:string | 802 | [ sp:varName "name"^^xsd:string |
643 | ] ; | 803 | ] ; |
644 | - sp:predicate rdfs:label ; | 804 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ; |
645 | sp:subject | 805 | sp:subject |
646 | - [ sp:varName "fluidSubstanceKindType"^^xsd:string | 806 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
647 | ] | 807 | ] |
648 | ] [ rdf:type sp:Optional ; | 808 | ] [ rdf:type sp:Optional ; |
649 | sp:elements ([ sp:object | 809 | sp:elements ([ sp:object |
650 | - [ sp:varName "componentKindRef"^^xsd:string | 810 | + [ sp:varName "nameFluidAnalysis"^^xsd:string |
651 | ] ; | 811 | ] ; |
652 | - sp:predicate <http://www.epim.no/schemas/mprml/1#componentKindRef> ; | 812 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ; |
653 | sp:subject | 813 | sp:subject |
654 | - [ sp:varName "fluidSampleCompositionRef"^^xsd:string | 814 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
655 | ] | 815 | ] |
656 | ]) | 816 | ]) |
657 | - ] [ rdf:type sp:Bind ; | ||
658 | - sp:expression | ||
659 | - [ rdf:type ep-mpr-spin-lib:selectFluidComponentKindType ; | ||
660 | - sp:arg1 [ sp:varName "componentKindRef"^^xsd:string | ||
661 | - ] | ||
662 | - ] ; | ||
663 | - sp:variable | ||
664 | - [ sp:varName "fluidComponentKindType"^^xsd:string | ||
665 | - ] | ||
666 | ]) | 817 | ]) |
667 | ] ; | 818 | ] ; |
668 | spin:rule | 819 | spin:rule |
669 | [ rdf:type sp:Construct ; | 820 | [ rdf:type sp:Construct ; |
670 | - rdfs:comment """STEP 40003e Create the Sample of fluid. | 821 | + rdfs:comment "STEP 40003c Set the facility for the sample of fluid - from sampling facility if possible"^^xsd:string ; |
671 | -It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ; | 822 | + sp:templates ([ sp:object |
672 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | 823 | + [ sp:varName "normalizedFacilityName"^^xsd:string |
673 | - sp:predicate rdf:type ; | ||
674 | - sp:subject | ||
675 | - [ sp:varName "sampledFluid"^^xsd:string | ||
676 | - ] | ||
677 | - ] [ sp:object | ||
678 | - [ sp:varName "name"^^xsd:string | ||
679 | - ] ; | ||
680 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
681 | - sp:subject | ||
682 | - [ sp:varName "sampledFluid"^^xsd:string | ||
683 | - ] | ||
684 | - ] [ sp:object | ||
685 | - [ sp:varName "sampledFluid"^^xsd:string | ||
686 | ] ; | 824 | ] ; |
687 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ; | 825 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; |
688 | sp:subject | 826 | sp:subject |
689 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | 827 | + [ sp:varName "fluidSampleRef"^^xsd:string |
690 | ] | 828 | ] |
691 | ]) ; | 829 | ]) ; |
692 | sp:where ([ sp:object | 830 | sp:where ([ sp:object |
... | @@ -700,285 +838,152 @@ It is matched to its results via the sample name, which is assumed to be unique | ... | @@ -700,285 +838,152 @@ It is matched to its results via the sample name, which is assumed to be unique |
700 | [ sp:varName "fluidSampleRef"^^xsd:string | 838 | [ sp:varName "fluidSampleRef"^^xsd:string |
701 | ] | 839 | ] |
702 | ] [ sp:object | 840 | ] [ sp:object |
703 | - [ sp:varName "time"^^xsd:string | 841 | + [ sp:varName "facilityRef"^^xsd:string |
704 | - ] ; | ||
705 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; | ||
706 | - sp:subject | ||
707 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
708 | - ] | ||
709 | - ] [ sp:object | ||
710 | - [ sp:varName "normalizedFacilityName"^^xsd:string | ||
711 | - ] ; | ||
712 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | ||
713 | - sp:subject | ||
714 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
715 | - ] | ||
716 | - ] [ sp:object | ||
717 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
718 | - ] ; | ||
719 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
720 | - sp:subject | ||
721 | - [ sp:varName "fluidSamplingAndAnalysis"^^xsd:string | ||
722 | - ] | ||
723 | - ] [ sp:object | ||
724 | - [ sp:varName "name"^^xsd:string | ||
725 | ] ; | 842 | ] ; |
726 | - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 843 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; |
727 | sp:subject | 844 | sp:subject |
728 | [ sp:varName "fluidSampleRef"^^xsd:string | 845 | [ sp:varName "fluidSampleRef"^^xsd:string |
729 | ] | 846 | ] |
730 | ] [ rdf:type sp:Bind ; | 847 | ] [ rdf:type sp:Bind ; |
731 | sp:expression | 848 | sp:expression |
732 | - [ rdf:type ep-mpr-spin-lib:buildSampledFluidURI ; | 849 | + [ rdf:type spl:object ; |
733 | - sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string | 850 | + sp:arg1 [ sp:varName "facilityRef"^^xsd:string |
734 | - ] ; | ||
735 | - sp:arg2 [ sp:varName "time"^^xsd:string | ||
736 | ] ; | 851 | ] ; |
737 | - sp:arg3 [ sp:varName "name"^^xsd:string | 852 | + sp:arg2 <http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText> |
738 | - ] | ||
739 | ] ; | 853 | ] ; |
740 | sp:variable | 854 | sp:variable |
741 | - [ sp:varName "sampledFluid"^^xsd:string | 855 | + [ sp:varName "normalizedFacilityName"^^xsd:string |
742 | ] | 856 | ] |
743 | ]) | 857 | ]) |
744 | ] ; | 858 | ] ; |
745 | spin:rule | 859 | spin:rule |
746 | [ rdf:type sp:Construct ; | 860 | [ rdf:type sp:Construct ; |
747 | - rdfs:comment "STEP 40003a Set the date for the sample of fluid - from acquisition date if possible"^^xsd:string ; | 861 | + rdfs:comment """STEP 40011c Specify the fluid component - non-primary component - label not found, so new substance type created |
748 | - sp:templates ([ sp:object | 862 | +The componentName element is used differently in the examples for the primary and non-primary components."""^^xsd:string ; |
749 | - [ sp:varName "acquisitionDate"^^xsd:string | 863 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; |
750 | - ] ; | ||
751 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant> ; | ||
752 | - sp:subject | ||
753 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
754 | - ] | ||
755 | - ]) ; | ||
756 | - sp:where ([ sp:object | ||
757 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
758 | - ] ; | ||
759 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
760 | - sp:subject spin:_this | ||
761 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | ||
762 | sp:predicate rdf:type ; | 864 | sp:predicate rdf:type ; |
865 | + sp:subject _:b7 | ||
866 | + ] [ sp:object _:b7 ; | ||
867 | + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent> ; | ||
763 | sp:subject | 868 | sp:subject |
764 | - [ sp:varName "fluidSampleRef"^^xsd:string | 869 | + [ sp:varName "sampledFluid"^^xsd:string |
765 | ] | 870 | ] |
766 | ] [ sp:object | 871 | ] [ sp:object |
767 | - [ sp:varName "acquisitionDate"^^xsd:string | 872 | + [ sp:varName "fluidComponentKindType"^^xsd:string |
768 | - ] ; | ||
769 | - sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ; | ||
770 | - sp:subject | ||
771 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
772 | - ] | ||
773 | - ]) | ||
774 | - ] ; | ||
775 | - spin:rule | ||
776 | - [ rdf:type sp:Construct ; | ||
777 | - rdfs:comment "STEP 40003d Set the facility for the sample of fluid - from reporting facility if not"^^xsd:string ; | ||
778 | - sp:templates ([ sp:object | ||
779 | - [ sp:varName "normalizedFacilityName"^^xsd:string | ||
780 | - ] ; | ||
781 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | ||
782 | - sp:subject | ||
783 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
784 | - ] | ||
785 | - ]) ; | ||
786 | - sp:where ([ sp:object | ||
787 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
788 | ] ; | 873 | ] ; |
789 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 874 | + sp:predicate rdf:type ; |
790 | - sp:subject spin:_this | 875 | + sp:subject _:b7 |
791 | ] [ sp:object | 876 | ] [ sp:object |
792 | - [ sp:varName "normalizedFacilityName"^^xsd:string | 877 | + [ sp:varName "substanceType"^^xsd:string |
793 | ] ; | 878 | ] ; |
794 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier> ; | 879 | + sp:predicate rdf:type ; |
795 | - sp:subject spin:_this | 880 | + sp:subject _:b7 |
796 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | 881 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; |
797 | sp:predicate rdf:type ; | 882 | sp:predicate rdf:type ; |
798 | sp:subject | 883 | sp:subject |
799 | - [ sp:varName "fluidSampleRef"^^xsd:string | 884 | + [ sp:varName "substanceType"^^xsd:string |
800 | ] | 885 | ] |
801 | - ] [ rdf:type sp:NotExists ; | 886 | + ] [ sp:object |
802 | - sp:elements ([ sp:object | 887 | + [ sp:varName "name"^^xsd:string |
803 | - [ sp:varName "facilityRef"^^xsd:string | ||
804 | - ] ; | ||
805 | - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
806 | - sp:subject | ||
807 | - [ sp:varName "fluidSampleRef"^^xsd:string | ||
808 | - ] | ||
809 | - ]) | ||
810 | - ]) | ||
811 | - ] ; | ||
812 | - spin:rule | ||
813 | - [ rdf:type sp:Construct ; | ||
814 | - rdfs:comment "STEP 40004 Set the valid from and valid to for the report."^^xsd:string ; | ||
815 | - sp:templates ([ sp:object | ||
816 | - [ sp:varName "validFrom"^^xsd:string | ||
817 | ] ; | 888 | ] ; |
818 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#validFrom> ; | 889 | + sp:predicate rdfs:label ; |
819 | sp:subject | 890 | sp:subject |
820 | - [ sp:varName "fluidSampleReport"^^xsd:string | 891 | + [ sp:varName "substanceType"^^xsd:string |
821 | ] | 892 | ] |
893 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ; | ||
894 | + sp:predicate rdf:type ; | ||
895 | + sp:subject _:b8 | ||
896 | + ] [ sp:object _:b7 ; | ||
897 | + sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ; | ||
898 | + sp:subject _:b8 | ||
822 | ] [ sp:object | 899 | ] [ sp:object |
823 | - [ sp:varName "validTo"^^xsd:string | 900 | + [ sp:varName "sampledFluid"^^xsd:string |
824 | ] ; | 901 | ] ; |
825 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#validTo> ; | 902 | + sp:predicate <http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair> ; |
826 | - sp:subject | 903 | + sp:subject _:b8 |
827 | - [ sp:varName "fluidSampleReport"^^xsd:string | 904 | + ] [ sp:object |
828 | - ] | 905 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
906 | + ] ; | ||
907 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
908 | + sp:subject _:b8 | ||
829 | ]) ; | 909 | ]) ; |
830 | sp:where ([ sp:object | 910 | sp:where ([ sp:object |
831 | - [ sp:varName "fluidSampleRef"^^xsd:string | 911 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
832 | ] ; | 912 | ] ; |
833 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 913 | sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
834 | sp:subject spin:_this | 914 | sp:subject spin:_this |
835 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ; | 915 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ; |
836 | sp:predicate rdf:type ; | 916 | sp:predicate rdf:type ; |
837 | sp:subject | 917 | sp:subject |
838 | - [ sp:varName "fluidSampleRef"^^xsd:string | 918 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
839 | ] | 919 | ] |
840 | ] [ sp:object | 920 | ] [ sp:object |
841 | - [ sp:varName "fluidSampleRef"^^xsd:string | 921 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
842 | ] ; | 922 | ] ; |
843 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 923 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
844 | sp:subject | 924 | sp:subject |
845 | - [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | 925 | + [ sp:varName "sampledFluid"^^xsd:string |
846 | - ] | ||
847 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ; | ||
848 | - sp:predicate rdf:type ; | ||
849 | - sp:subject | ||
850 | - [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | ||
851 | ] | 926 | ] |
852 | ] [ sp:object | 927 | ] [ sp:object |
853 | - [ sp:varName "fluidSamplingAndAnalysisActivity"^^xsd:string | 928 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
854 | ] ; | 929 | ] ; |
855 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 930 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ; |
856 | sp:subject | 931 | sp:subject |
857 | - [ sp:varName "fluidSampleReport"^^xsd:string | 932 | + [ sp:varName "fluidAnalysisResultRef"^^xsd:string |
858 | ] | 933 | ] |
859 | - ] [ sp:object | 934 | + ] [ sp:object "false"^^xsd:boolean ; |
860 | - [ sp:varName "customDataRef"^^xsd:string | 935 | + sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ; |
861 | - ] ; | ||
862 | - sp:predicate <http://www.epim.no/schemas/mprml/1#customDataRef> ; | ||
863 | sp:subject | 936 | sp:subject |
864 | - [ sp:varName "fluidSampleRef"^^xsd:string | 937 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
865 | ] | 938 | ] |
866 | ] [ sp:object | 939 | ] [ sp:object |
867 | - [ sp:varName "extensionNameValueRef"^^xsd:string | 940 | + [ sp:varName "name"^^xsd:string |
868 | ] ; | 941 | ] ; |
869 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 942 | + sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ; |
870 | - sp:subject | ||
871 | - [ sp:varName "customDataRef"^^xsd:string | ||
872 | - ] | ||
873 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#extensionNameValue> ; | ||
874 | - sp:predicate rdf:type ; | ||
875 | sp:subject | 943 | sp:subject |
876 | - [ sp:varName "extensionNameValueRef"^^xsd:string | 944 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
877 | ] | 945 | ] |
878 | - ] [ rdf:type sp:Optional ; | 946 | + ] [ rdf:type sp:NotExists ; |
879 | - sp:elements ([ sp:object | 947 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/material#SubstanceType> ; |
880 | - [ sp:varName "validFromRef"^^xsd:string | ||
881 | - ] ; | ||
882 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
883 | - sp:subject | ||
884 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
885 | - ] | ||
886 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#nameClass> ; | ||
887 | - sp:predicate rdf:type ; | ||
888 | - sp:subject | ||
889 | - [ sp:varName "validFromRef"^^xsd:string | ||
890 | - ] | ||
891 | - ] [ sp:object | ||
892 | - [ sp:varName "validFromText"^^xsd:string | ||
893 | - ] ; | ||
894 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
895 | - sp:subject | ||
896 | - [ sp:varName "validFromRef"^^xsd:string | ||
897 | - ] | ||
898 | - ] [ sp:object "ValidFrom" ; | ||
899 | - sp:predicate <http://topbraid.org/sxml#text> ; | ||
900 | - sp:subject | ||
901 | - [ sp:varName "validFromText"^^xsd:string | ||
902 | - ] | ||
903 | - ] [ sp:object | ||
904 | - [ sp:varName "valueFromRef"^^xsd:string | ||
905 | - ] ; | ||
906 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
907 | - sp:subject | ||
908 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
909 | - ] | ||
910 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#valueClass> ; | ||
911 | sp:predicate rdf:type ; | 948 | sp:predicate rdf:type ; |
912 | sp:subject | 949 | sp:subject |
913 | - [ sp:varName "valueFromRef"^^xsd:string | 950 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string |
914 | - ] | ||
915 | - ] [ sp:object | ||
916 | - [ sp:varName "valueFromText"^^xsd:string | ||
917 | - ] ; | ||
918 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
919 | - sp:subject | ||
920 | - [ sp:varName "valueFromRef"^^xsd:string | ||
921 | ] | 951 | ] |
922 | ] [ sp:object | 952 | ] [ sp:object |
923 | - [ sp:varName "validFrom"^^xsd:string | 953 | + [ sp:varName "name"^^xsd:string |
924 | ] ; | 954 | ] ; |
925 | - sp:predicate <http://topbraid.org/sxml#text> ; | 955 | + sp:predicate rdfs:label ; |
926 | sp:subject | 956 | sp:subject |
927 | - [ sp:varName "valueFromText"^^xsd:string | 957 | + [ sp:varName "fluidSubstanceKindType"^^xsd:string |
928 | ] | 958 | ] |
929 | ]) | 959 | ]) |
930 | ] [ rdf:type sp:Optional ; | 960 | ] [ rdf:type sp:Optional ; |
931 | sp:elements ([ sp:object | 961 | sp:elements ([ sp:object |
932 | - [ sp:varName "validToRef"^^xsd:string | 962 | + [ sp:varName "componentKindRef"^^xsd:string |
933 | - ] ; | ||
934 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
935 | - sp:subject | ||
936 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
937 | - ] | ||
938 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#nameClass> ; | ||
939 | - sp:predicate rdf:type ; | ||
940 | - sp:subject | ||
941 | - [ sp:varName "validToRef"^^xsd:string | ||
942 | - ] | ||
943 | - ] [ sp:object | ||
944 | - [ sp:varName "validToText"^^xsd:string | ||
945 | - ] ; | ||
946 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
947 | - sp:subject | ||
948 | - [ sp:varName "validToRef"^^xsd:string | ||
949 | - ] | ||
950 | - ] [ sp:object "ValidTo" ; | ||
951 | - sp:predicate <http://topbraid.org/sxml#text> ; | ||
952 | - sp:subject | ||
953 | - [ sp:varName "validToText"^^xsd:string | ||
954 | - ] | ||
955 | - ] [ sp:object | ||
956 | - [ sp:varName "valueToRef"^^xsd:string | ||
957 | - ] ; | ||
958 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
959 | - sp:subject | ||
960 | - [ sp:varName "extensionNameValueRef"^^xsd:string | ||
961 | - ] | ||
962 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#valueClass> ; | ||
963 | - sp:predicate rdf:type ; | ||
964 | - sp:subject | ||
965 | - [ sp:varName "valueToRef"^^xsd:string | ||
966 | - ] | ||
967 | - ] [ sp:object | ||
968 | - [ sp:varName "valueToText"^^xsd:string | ||
969 | - ] ; | ||
970 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
971 | - sp:subject | ||
972 | - [ sp:varName "valueToRef"^^xsd:string | ||
973 | - ] | ||
974 | - ] [ sp:object | ||
975 | - [ sp:varName "validTo"^^xsd:string | ||
976 | ] ; | 963 | ] ; |
977 | - sp:predicate <http://topbraid.org/sxml#text> ; | 964 | + sp:predicate <http://www.epim.no/schemas/mprml/1#componentKindRef> ; |
978 | sp:subject | 965 | sp:subject |
979 | - [ sp:varName "valueToText"^^xsd:string | 966 | + [ sp:varName "fluidSampleCompositionRef"^^xsd:string |
980 | ] | 967 | ] |
981 | ]) | 968 | ]) |
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 | + ] ; | ||
984 | + sp:variable | ||
985 | + [ sp:varName "substanceType"^^xsd:string | ||
986 | + ] | ||
982 | ]) | 987 | ]) |
983 | ] . | 988 | ] . |
984 | 989 | ||
... | @@ -1102,5 +1107,5 @@ It is matched to its results via the sample name, which is assumed to be unique | ... | @@ -1102,5 +1107,5 @@ It is matched to its results via the sample name, which is assumed to be unique |
1102 | 1107 | ||
1103 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> | 1108 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> |
1104 | rdf:type owl:Ontology ; | 1109 | rdf:type owl:Ontology ; |
1105 | - 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> ; | 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> ; |
1106 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1111 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment