Much better (more extensible) structure to the processing of product volume properties
Showing
4 changed files
with
880 additions
and
1 deletions
... | @@ -3,6 +3,7 @@ | ... | @@ -3,6 +3,7 @@ |
3 | # imports: http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults | 3 | # imports: http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults |
4 | # imports: http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults | 4 | # imports: http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults |
5 | # imports: http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest | 5 | # imports: http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest |
6 | +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1 | ||
6 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0 | 7 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0 |
7 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 | 8 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 |
8 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 | 9 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 |
... | @@ -14,6 +15,7 @@ | ... | @@ -14,6 +15,7 @@ |
14 | @prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . | 15 | @prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . |
15 | @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . | 16 | @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . |
16 | @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . | 17 | @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . |
18 | +@prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> . | ||
17 | @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> . | 19 | @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> . |
18 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 20 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
19 | @prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> . | 21 | @prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> . |
... | @@ -30,5 +32,5 @@ | ... | @@ -30,5 +32,5 @@ |
30 | 32 | ||
31 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> | 33 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> |
32 | rdf:type owl:Ontology ; | 34 | rdf:type owl:Ontology ; |
33 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> ; | 35 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> ; |
34 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 36 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
1 | +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1 | ||
2 | +# imports: http://spinrdf.org/spin | ||
3 | +# imports: http://www.epim.no/schemas/mprml/1 | ||
4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/flow | ||
6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/material | ||
7 | + | ||
8 | +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> . | ||
9 | +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . | ||
10 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
11 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
12 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
13 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
14 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
15 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
16 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
17 | + | ||
18 | +<http://www.epim.no/schemas/mprml/1#Cs_densityValue> | ||
19 | + spin:rule | ||
20 | + [ rdf:type sp:Construct ; | ||
21 | + rdfs:comment "STEP 90020 Process densityValue for a quantityOfMaterial"^^xsd:string ; | ||
22 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
23 | + sp:predicate rdf:type ; | ||
24 | + sp:subject _:b1 | ||
25 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | ||
26 | + sp:predicate rdf:type ; | ||
27 | + sp:subject _:b1 | ||
28 | + ] [ sp:object | ||
29 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
30 | + ] ; | ||
31 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
32 | + sp:subject _:b1 | ||
33 | + ] [ sp:object spin:_this ; | ||
34 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
35 | + sp:subject _:b1 | ||
36 | + ]) ; | ||
37 | + sp:where ([ sp:object spin:_this ; | ||
38 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | ||
39 | + sp:subject | ||
40 | + [ sp:varName "target"^^xsd:string | ||
41 | + ] | ||
42 | + ] [ sp:object | ||
43 | + [ sp:varName "target"^^xsd:string | ||
44 | + ] ; | ||
45 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
46 | + sp:subject | ||
47 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
48 | + ] | ||
49 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
50 | + sp:predicate rdf:type ; | ||
51 | + sp:subject | ||
52 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
53 | + ] | ||
54 | + ] [ rdf:type sp:NotExists ; | ||
55 | + sp:elements ([ sp:object | ||
56 | + [ sp:varName "target"^^xsd:string | ||
57 | + ] ; | ||
58 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
59 | + sp:subject | ||
60 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
61 | + ] | ||
62 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
63 | + sp:predicate rdf:type ; | ||
64 | + sp:subject | ||
65 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
66 | + ] | ||
67 | + ]) | ||
68 | + ]) | ||
69 | + ] . | ||
70 | + | ||
71 | +<http://www.epim.no/schemas/mprml/1#Cs_volumeValue> | ||
72 | + spin:rule | ||
73 | + [ rdf:type sp:Construct ; | ||
74 | + rdfs:comment "STEP 90001 Process volumeValue for a quantityOfMaterial average amount of material"^^xsd:string ; | ||
75 | + sp:templates ([ sp:object | ||
76 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
77 | + ] ; | ||
78 | + sp:predicate rdfs:subClassOf ; | ||
79 | + sp:subject _:b2 | ||
80 | + ] [ sp:object _:b3 ; | ||
81 | + sp:predicate rdfs:subClassOf ; | ||
82 | + sp:subject _:b2 | ||
83 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
84 | + sp:predicate rdf:type ; | ||
85 | + sp:subject _:b3 | ||
86 | + ] [ sp:object | ||
87 | + [ sp:varName "realVolume"^^xsd:string | ||
88 | + ] ; | ||
89 | + sp:predicate | ||
90 | + [ sp:varName "volumeScale"^^xsd:string | ||
91 | + ] ; | ||
92 | + sp:subject _:b3 | ||
93 | + ] [ sp:object _:b4 ; | ||
94 | + sp:predicate rdfs:subClassOf ; | ||
95 | + sp:subject _:b2 | ||
96 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
97 | + sp:predicate rdf:type ; | ||
98 | + sp:subject _:b4 | ||
99 | + ] [ sp:object | ||
100 | + [ sp:varName "realTemp"^^xsd:string | ||
101 | + ] ; | ||
102 | + sp:predicate | ||
103 | + [ sp:varName "temperatureScale"^^xsd:string | ||
104 | + ] ; | ||
105 | + sp:subject _:b4 | ||
106 | + ] [ sp:object _:b5 ; | ||
107 | + sp:predicate rdfs:subClassOf ; | ||
108 | + sp:subject _:b2 | ||
109 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
110 | + sp:predicate rdf:type ; | ||
111 | + sp:subject _:b5 | ||
112 | + ] [ sp:object | ||
113 | + [ sp:varName "realPres"^^xsd:string | ||
114 | + ] ; | ||
115 | + sp:predicate | ||
116 | + [ sp:varName "pressureScale"^^xsd:string | ||
117 | + ] ; | ||
118 | + sp:subject _:b5 | ||
119 | + ] [ sp:object _:b6 ; | ||
120 | + sp:predicate rdfs:subClassOf ; | ||
121 | + sp:subject _:b2 | ||
122 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; | ||
123 | + sp:predicate owl:onProperty ; | ||
124 | + sp:subject _:b6 | ||
125 | + ] [ sp:object _:b7 ; | ||
126 | + sp:predicate owl:allValuesFrom ; | ||
127 | + sp:subject _:b6 | ||
128 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; | ||
129 | + sp:predicate rdf:type ; | ||
130 | + sp:subject _:b7 | ||
131 | + ] [ sp:object | ||
132 | + [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
133 | + ] ; | ||
134 | + sp:predicate | ||
135 | + [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
136 | + ] ; | ||
137 | + sp:subject _:b7 | ||
138 | + ] [ sp:object _:b8 ; | ||
139 | + sp:predicate rdfs:subClassOf ; | ||
140 | + sp:subject _:b2 | ||
141 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#energyContent> ; | ||
142 | + sp:predicate owl:onProperty ; | ||
143 | + sp:subject _:b8 | ||
144 | + ] [ sp:object _:b9 ; | ||
145 | + sp:predicate owl:allValuesFrom ; | ||
146 | + sp:subject _:b8 | ||
147 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | ||
148 | + sp:predicate rdf:type ; | ||
149 | + sp:subject _:b9 | ||
150 | + ] [ sp:object | ||
151 | + [ sp:varName "realWork"^^xsd:string | ||
152 | + ] ; | ||
153 | + sp:predicate | ||
154 | + [ sp:varName "workScale"^^xsd:string | ||
155 | + ] ; | ||
156 | + sp:subject _:b9 | ||
157 | + ]) ; | ||
158 | + sp:where ([ sp:object spin:_this ; | ||
159 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | ||
160 | + sp:subject | ||
161 | + [ sp:varName "target"^^xsd:string | ||
162 | + ] | ||
163 | + ] [ sp:object | ||
164 | + [ sp:varName "target"^^xsd:string | ||
165 | + ] ; | ||
166 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
167 | + sp:subject | ||
168 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
169 | + ] | ||
170 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
171 | + sp:predicate rdf:type ; | ||
172 | + sp:subject | ||
173 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
174 | + ] | ||
175 | + ] [ sp:object | ||
176 | + [ sp:varName "volumeRef"^^xsd:string | ||
177 | + ] ; | ||
178 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | ||
179 | + sp:subject spin:_this | ||
180 | + ] [ sp:object | ||
181 | + [ sp:varName "realVolume"^^xsd:string | ||
182 | + ] ; | ||
183 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
184 | + sp:subject | ||
185 | + [ sp:varName "volumeRef"^^xsd:string | ||
186 | + ] | ||
187 | + ] [ sp:object | ||
188 | + [ sp:varName "uomVolume"^^xsd:string | ||
189 | + ] ; | ||
190 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
191 | + sp:subject | ||
192 | + [ sp:varName "volumeRef"^^xsd:string | ||
193 | + ] | ||
194 | + ] [ rdf:type sp:Optional ; | ||
195 | + sp:elements ([ sp:object | ||
196 | + [ sp:varName "tempRef"^^xsd:string | ||
197 | + ] ; | ||
198 | + sp:predicate <http://www.epim.no/schemas/mprml/1#tempRef> ; | ||
199 | + sp:subject spin:_this | ||
200 | + ] [ sp:object | ||
201 | + [ sp:varName "realTemp"^^xsd:string | ||
202 | + ] ; | ||
203 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
204 | + sp:subject | ||
205 | + [ sp:varName "tempRef"^^xsd:string | ||
206 | + ] | ||
207 | + ] [ sp:object | ||
208 | + [ sp:varName "uomTemp"^^xsd:string | ||
209 | + ] ; | ||
210 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
211 | + sp:subject | ||
212 | + [ sp:varName "tempRef"^^xsd:string | ||
213 | + ] | ||
214 | + ]) | ||
215 | + ] [ rdf:type sp:Optional ; | ||
216 | + sp:elements ([ sp:object | ||
217 | + [ sp:varName "presRef"^^xsd:string | ||
218 | + ] ; | ||
219 | + sp:predicate <http://www.epim.no/schemas/mprml/1#presRef> ; | ||
220 | + sp:subject spin:_this | ||
221 | + ] [ sp:object | ||
222 | + [ sp:varName "realPres"^^xsd:string | ||
223 | + ] ; | ||
224 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
225 | + sp:subject | ||
226 | + [ sp:varName "presRef"^^xsd:string | ||
227 | + ] | ||
228 | + ] [ sp:object | ||
229 | + [ sp:varName "uomPres"^^xsd:string | ||
230 | + ] ; | ||
231 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
232 | + sp:subject | ||
233 | + [ sp:varName "presRef"^^xsd:string | ||
234 | + ] | ||
235 | + ]) | ||
236 | + ] [ rdf:type sp:Optional ; | ||
237 | + sp:elements ([ sp:object | ||
238 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
239 | + ] ; | ||
240 | + sp:predicate <http://www.epim.no/schemas/mprml/1#grossCalorificValueRef> ; | ||
241 | + sp:subject spin:_this | ||
242 | + ] [ sp:object | ||
243 | + [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
244 | + ] ; | ||
245 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
246 | + sp:subject | ||
247 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
248 | + ] | ||
249 | + ] [ sp:object | ||
250 | + [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
251 | + ] ; | ||
252 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
253 | + sp:subject | ||
254 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
255 | + ] | ||
256 | + ]) | ||
257 | + ] [ rdf:type sp:Optional ; | ||
258 | + sp:elements ([ sp:object | ||
259 | + [ sp:varName "workRef"^^xsd:string | ||
260 | + ] ; | ||
261 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | ||
262 | + sp:subject spin:_this | ||
263 | + ] [ sp:object | ||
264 | + [ sp:varName "realWork"^^xsd:string | ||
265 | + ] ; | ||
266 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
267 | + sp:subject | ||
268 | + [ sp:varName "workRef"^^xsd:string | ||
269 | + ] | ||
270 | + ] [ sp:object | ||
271 | + [ sp:varName "uomWork"^^xsd:string | ||
272 | + ] ; | ||
273 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
274 | + sp:subject | ||
275 | + [ sp:varName "workRef"^^xsd:string | ||
276 | + ] | ||
277 | + ]) | ||
278 | + ] [ rdf:type sp:Bind ; | ||
279 | + sp:expression | ||
280 | + [ rdf:type ep-mpr-spin-lib:selectVolumeScale ; | ||
281 | + sp:arg1 [ sp:varName "uomVolume"^^xsd:string | ||
282 | + ] | ||
283 | + ] ; | ||
284 | + sp:variable | ||
285 | + [ sp:varName "volumeScale"^^xsd:string | ||
286 | + ] | ||
287 | + ] [ rdf:type sp:Bind ; | ||
288 | + sp:expression | ||
289 | + [ rdf:type ep-mpr-spin-lib:selectTemperatureScale ; | ||
290 | + sp:arg1 [ sp:varName "uomTemp"^^xsd:string | ||
291 | + ] | ||
292 | + ] ; | ||
293 | + sp:variable | ||
294 | + [ sp:varName "temperatureScale"^^xsd:string | ||
295 | + ] | ||
296 | + ] [ rdf:type sp:Bind ; | ||
297 | + sp:expression | ||
298 | + [ rdf:type ep-mpr-spin-lib:selectPressureScale ; | ||
299 | + sp:arg1 [ sp:varName "uomPres"^^xsd:string | ||
300 | + ] | ||
301 | + ] ; | ||
302 | + sp:variable | ||
303 | + [ sp:varName "pressureScale"^^xsd:string | ||
304 | + ] | ||
305 | + ] [ rdf:type sp:Bind ; | ||
306 | + sp:expression | ||
307 | + [ rdf:type ep-mpr-spin-lib:selectEnergyPerVolumeScale ; | ||
308 | + sp:arg1 [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
309 | + ] | ||
310 | + ] ; | ||
311 | + sp:variable | ||
312 | + [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
313 | + ] | ||
314 | + ] [ rdf:type sp:Bind ; | ||
315 | + sp:expression | ||
316 | + [ rdf:type ep-mpr-spin-lib:selectWorkScale ; | ||
317 | + sp:arg1 [ sp:varName "uomWork"^^xsd:string | ||
318 | + ] | ||
319 | + ] ; | ||
320 | + sp:variable | ||
321 | + [ sp:varName "workScale"^^xsd:string | ||
322 | + ] | ||
323 | + ]) | ||
324 | + ] ; | ||
325 | + spin:rule | ||
326 | + [ rdf:type sp:Construct ; | ||
327 | + rdfs:comment "STEP 90000 Process volumeValue for a quantityOfMaterial"^^xsd:string ; | ||
328 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
329 | + sp:predicate rdf:type ; | ||
330 | + sp:subject _:b10 | ||
331 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | ||
332 | + sp:predicate rdf:type ; | ||
333 | + sp:subject _:b10 | ||
334 | + ] [ sp:object | ||
335 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
336 | + ] ; | ||
337 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
338 | + sp:subject _:b10 | ||
339 | + ] [ sp:object _:b11 ; | ||
340 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#grossCalorificValue> ; | ||
341 | + sp:subject _:b10 | ||
342 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#EnergyPerVolume> ; | ||
343 | + sp:predicate rdf:type ; | ||
344 | + sp:subject _:b11 | ||
345 | + ] [ sp:object | ||
346 | + [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
347 | + ] ; | ||
348 | + sp:predicate | ||
349 | + [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
350 | + ] ; | ||
351 | + sp:subject _:b11 | ||
352 | + ] [ sp:object spin:_this ; | ||
353 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
354 | + sp:subject _:b10 | ||
355 | + ]) ; | ||
356 | + sp:where ([ sp:object spin:_this ; | ||
357 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | ||
358 | + sp:subject | ||
359 | + [ sp:varName "target"^^xsd:string | ||
360 | + ] | ||
361 | + ] [ sp:object | ||
362 | + [ sp:varName "target"^^xsd:string | ||
363 | + ] ; | ||
364 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
365 | + sp:subject | ||
366 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
367 | + ] | ||
368 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
369 | + sp:predicate rdf:type ; | ||
370 | + sp:subject | ||
371 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
372 | + ] | ||
373 | + ] [ rdf:type sp:NotExists ; | ||
374 | + sp:elements ([ sp:object | ||
375 | + [ sp:varName "target"^^xsd:string | ||
376 | + ] ; | ||
377 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
378 | + sp:subject | ||
379 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
380 | + ] | ||
381 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
382 | + sp:predicate rdf:type ; | ||
383 | + sp:subject | ||
384 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
385 | + ] | ||
386 | + ]) | ||
387 | + ] [ rdf:type sp:Optional ; | ||
388 | + sp:elements ([ sp:object | ||
389 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
390 | + ] ; | ||
391 | + sp:predicate <http://www.epim.no/schemas/mprml/1#grossCalorificValueRef> ; | ||
392 | + sp:subject spin:_this | ||
393 | + ] [ sp:object | ||
394 | + [ sp:varName "realGrossCalorificValue"^^xsd:string | ||
395 | + ] ; | ||
396 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
397 | + sp:subject | ||
398 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
399 | + ] | ||
400 | + ] [ sp:object | ||
401 | + [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
402 | + ] ; | ||
403 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
404 | + sp:subject | ||
405 | + [ sp:varName "grossCalorificValueRef"^^xsd:string | ||
406 | + ] | ||
407 | + ]) | ||
408 | + ] [ rdf:type sp:Bind ; | ||
409 | + sp:expression | ||
410 | + [ rdf:type ep-mpr-spin-lib:selectEnergyPerVolumeScale ; | ||
411 | + sp:arg1 [ sp:varName "uomGrossCalorificValue"^^xsd:string | ||
412 | + ] | ||
413 | + ] ; | ||
414 | + sp:variable | ||
415 | + [ sp:varName "grossCalorificValueScale"^^xsd:string | ||
416 | + ] | ||
417 | + ]) | ||
418 | + ] . | ||
419 | + | ||
420 | +<http://www.epim.no/schemas/mprml/1#DensityMeasure> | ||
421 | + spin:rule | ||
422 | + [ rdf:type sp:Construct ; | ||
423 | + rdfs:comment "STEP 90060 Process density for a quantity of material"^^xsd:string ; | ||
424 | + sp:templates ([ sp:object _:b12 ; | ||
425 | + sp:predicate rdf:type ; | ||
426 | + sp:subject | ||
427 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
428 | + ] | ||
429 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | ||
430 | + sp:predicate rdf:type ; | ||
431 | + sp:subject _:b12 | ||
432 | + ] [ sp:object | ||
433 | + [ sp:varName "realDensity"^^xsd:string | ||
434 | + ] ; | ||
435 | + sp:predicate | ||
436 | + [ sp:varName "densityScale"^^xsd:string | ||
437 | + ] ; | ||
438 | + sp:subject _:b12 | ||
439 | + ]) ; | ||
440 | + sp:where ([ sp:object spin:_this ; | ||
441 | + sp:predicate <http://www.epim.no/schemas/mprml/1#densityRef> ; | ||
442 | + sp:subject | ||
443 | + [ sp:varName "target"^^xsd:string | ||
444 | + ] | ||
445 | + ] [ sp:object | ||
446 | + [ sp:varName "target"^^xsd:string | ||
447 | + ] ; | ||
448 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
449 | + sp:subject | ||
450 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
451 | + ] | ||
452 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
453 | + sp:predicate rdf:type ; | ||
454 | + sp:subject | ||
455 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
456 | + ] | ||
457 | + ] [ rdf:type sp:NotExists ; | ||
458 | + sp:elements ([ sp:object | ||
459 | + [ sp:varName "target"^^xsd:string | ||
460 | + ] ; | ||
461 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
462 | + sp:subject | ||
463 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
464 | + ] | ||
465 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
466 | + sp:predicate rdf:type ; | ||
467 | + sp:subject | ||
468 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
469 | + ] | ||
470 | + ]) | ||
471 | + ] [ sp:object | ||
472 | + [ sp:varName "realDensity"^^xsd:string | ||
473 | + ] ; | ||
474 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
475 | + sp:subject spin:_this | ||
476 | + ] [ sp:object | ||
477 | + [ sp:varName "uomDensity"^^xsd:string | ||
478 | + ] ; | ||
479 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
480 | + sp:subject spin:_this | ||
481 | + ] [ rdf:type sp:Bind ; | ||
482 | + sp:expression | ||
483 | + [ rdf:type ep-mpr-spin-lib:selectDensityScale ; | ||
484 | + sp:arg1 [ sp:varName "uomDensity"^^xsd:string | ||
485 | + ] | ||
486 | + ] ; | ||
487 | + sp:variable | ||
488 | + [ sp:varName "densityScale"^^xsd:string | ||
489 | + ] | ||
490 | + ]) | ||
491 | + ] . | ||
492 | + | ||
493 | +<http://www.epim.no/schemas/mprml/1#MassMeasure> | ||
494 | + spin:rule | ||
495 | + [ rdf:type sp:Construct ; | ||
496 | + rdfs:comment "STEP 90010 Process mass for a quantity of material"^^xsd:string ; | ||
497 | + sp:templates ([ sp:object _:b13 ; | ||
498 | + sp:predicate rdf:type ; | ||
499 | + sp:subject | ||
500 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
501 | + ] | ||
502 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; | ||
503 | + sp:predicate rdf:type ; | ||
504 | + sp:subject _:b13 | ||
505 | + ] [ sp:object | ||
506 | + [ sp:varName "realMass"^^xsd:string | ||
507 | + ] ; | ||
508 | + sp:predicate | ||
509 | + [ sp:varName "massScale"^^xsd:string | ||
510 | + ] ; | ||
511 | + sp:subject _:b13 | ||
512 | + ]) ; | ||
513 | + sp:where ([ sp:object spin:_this ; | ||
514 | + sp:predicate <http://www.epim.no/schemas/mprml/1#massRef> ; | ||
515 | + sp:subject | ||
516 | + [ sp:varName "target"^^xsd:string | ||
517 | + ] | ||
518 | + ] [ sp:object | ||
519 | + [ sp:varName "target"^^xsd:string | ||
520 | + ] ; | ||
521 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
522 | + sp:subject | ||
523 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
524 | + ] | ||
525 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
526 | + sp:predicate rdf:type ; | ||
527 | + sp:subject | ||
528 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
529 | + ] | ||
530 | + ] [ rdf:type sp:NotExists ; | ||
531 | + sp:elements ([ sp:object | ||
532 | + [ sp:varName "target"^^xsd:string | ||
533 | + ] ; | ||
534 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
535 | + sp:subject | ||
536 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
537 | + ] | ||
538 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
539 | + sp:predicate rdf:type ; | ||
540 | + sp:subject | ||
541 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
542 | + ] | ||
543 | + ]) | ||
544 | + ] [ sp:object | ||
545 | + [ sp:varName "realMass"^^xsd:string | ||
546 | + ] ; | ||
547 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
548 | + sp:subject spin:_this | ||
549 | + ] [ sp:object | ||
550 | + [ sp:varName "uomMass"^^xsd:string | ||
551 | + ] ; | ||
552 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
553 | + sp:subject spin:_this | ||
554 | + ] [ rdf:type sp:Bind ; | ||
555 | + sp:expression | ||
556 | + [ rdf:type ep-mpr-spin-lib:selectMassScale ; | ||
557 | + sp:arg1 [ sp:varName "uomMass"^^xsd:string | ||
558 | + ] | ||
559 | + ] ; | ||
560 | + sp:variable | ||
561 | + [ sp:varName "massScale"^^xsd:string | ||
562 | + ] | ||
563 | + ]) | ||
564 | + ] . | ||
565 | + | ||
566 | +<http://www.epim.no/schemas/mprml/1#PressureMeasure> | ||
567 | + spin:rule | ||
568 | + [ rdf:type sp:Construct ; | ||
569 | + rdfs:comment "STEP 90040 Process pressure for a quantity of material"^^xsd:string ; | ||
570 | + sp:templates ([ sp:object _:b14 ; | ||
571 | + sp:predicate rdf:type ; | ||
572 | + sp:subject | ||
573 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
574 | + ] | ||
575 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
576 | + sp:predicate rdf:type ; | ||
577 | + sp:subject _:b14 | ||
578 | + ] [ sp:object | ||
579 | + [ sp:varName "realPressure"^^xsd:string | ||
580 | + ] ; | ||
581 | + sp:predicate | ||
582 | + [ sp:varName "pressureScale"^^xsd:string | ||
583 | + ] ; | ||
584 | + sp:subject _:b14 | ||
585 | + ]) ; | ||
586 | + sp:where ([ sp:object spin:_this ; | ||
587 | + sp:predicate <http://www.epim.no/schemas/mprml/1#presRef> ; | ||
588 | + sp:subject | ||
589 | + [ sp:varName "target"^^xsd:string | ||
590 | + ] | ||
591 | + ] [ sp:object | ||
592 | + [ sp:varName "target"^^xsd:string | ||
593 | + ] ; | ||
594 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
595 | + sp:subject | ||
596 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
597 | + ] | ||
598 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
599 | + sp:predicate rdf:type ; | ||
600 | + sp:subject | ||
601 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
602 | + ] | ||
603 | + ] [ rdf:type sp:NotExists ; | ||
604 | + sp:elements ([ sp:object | ||
605 | + [ sp:varName "target"^^xsd:string | ||
606 | + ] ; | ||
607 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
608 | + sp:subject | ||
609 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
610 | + ] | ||
611 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
612 | + sp:predicate rdf:type ; | ||
613 | + sp:subject | ||
614 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
615 | + ] | ||
616 | + ]) | ||
617 | + ] [ sp:object | ||
618 | + [ sp:varName "realPressure"^^xsd:string | ||
619 | + ] ; | ||
620 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
621 | + sp:subject spin:_this | ||
622 | + ] [ sp:object | ||
623 | + [ sp:varName "uomPressure"^^xsd:string | ||
624 | + ] ; | ||
625 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
626 | + sp:subject spin:_this | ||
627 | + ] [ rdf:type sp:Bind ; | ||
628 | + sp:expression | ||
629 | + [ rdf:type ep-mpr-spin-lib:selectPressureScale ; | ||
630 | + sp:arg1 [ sp:varName "uomPressure"^^xsd:string | ||
631 | + ] | ||
632 | + ] ; | ||
633 | + sp:variable | ||
634 | + [ sp:varName "pressureScale"^^xsd:string | ||
635 | + ] | ||
636 | + ]) | ||
637 | + ] . | ||
638 | + | ||
639 | +<http://www.epim.no/schemas/mprml/1#ThermodynamicTemperatureMeasure> | ||
640 | + spin:rule | ||
641 | + [ rdf:type sp:Construct ; | ||
642 | + rdfs:comment "STEP 90050 Process temperature for a quantity of material"^^xsd:string ; | ||
643 | + sp:templates ([ sp:object _:b15 ; | ||
644 | + sp:predicate rdf:type ; | ||
645 | + sp:subject | ||
646 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
647 | + ] | ||
648 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
649 | + sp:predicate rdf:type ; | ||
650 | + sp:subject _:b15 | ||
651 | + ] [ sp:object | ||
652 | + [ sp:varName "realTemperature"^^xsd:string | ||
653 | + ] ; | ||
654 | + sp:predicate | ||
655 | + [ sp:varName "temperatureScale"^^xsd:string | ||
656 | + ] ; | ||
657 | + sp:subject _:b15 | ||
658 | + ]) ; | ||
659 | + sp:where ([ sp:object spin:_this ; | ||
660 | + sp:predicate <http://www.epim.no/schemas/mprml/1#tempRef> ; | ||
661 | + sp:subject | ||
662 | + [ sp:varName "target"^^xsd:string | ||
663 | + ] | ||
664 | + ] [ sp:object | ||
665 | + [ sp:varName "target"^^xsd:string | ||
666 | + ] ; | ||
667 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
668 | + sp:subject | ||
669 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
670 | + ] | ||
671 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
672 | + sp:predicate rdf:type ; | ||
673 | + sp:subject | ||
674 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
675 | + ] | ||
676 | + ] [ rdf:type sp:NotExists ; | ||
677 | + sp:elements ([ sp:object | ||
678 | + [ sp:varName "target"^^xsd:string | ||
679 | + ] ; | ||
680 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
681 | + sp:subject | ||
682 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
683 | + ] | ||
684 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
685 | + sp:predicate rdf:type ; | ||
686 | + sp:subject | ||
687 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
688 | + ] | ||
689 | + ]) | ||
690 | + ] [ sp:object | ||
691 | + [ sp:varName "realTemperature"^^xsd:string | ||
692 | + ] ; | ||
693 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
694 | + sp:subject spin:_this | ||
695 | + ] [ sp:object | ||
696 | + [ sp:varName "uomTemperature"^^xsd:string | ||
697 | + ] ; | ||
698 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
699 | + sp:subject spin:_this | ||
700 | + ] [ rdf:type sp:Bind ; | ||
701 | + sp:expression | ||
702 | + [ rdf:type ep-mpr-spin-lib:selectTemperatureScale ; | ||
703 | + sp:arg1 [ sp:varName "uomTemperature"^^xsd:string | ||
704 | + ] | ||
705 | + ] ; | ||
706 | + sp:variable | ||
707 | + [ sp:varName "temperatureScale"^^xsd:string | ||
708 | + ] | ||
709 | + ]) | ||
710 | + ] . | ||
711 | + | ||
712 | +<http://www.epim.no/schemas/mprml/1#VolumeMeasure> | ||
713 | + spin:rule | ||
714 | + [ rdf:type sp:Construct ; | ||
715 | + rdfs:comment "STEP 90070 Process volume for a quantity of material"^^xsd:string ; | ||
716 | + sp:templates ([ sp:object _:b16 ; | ||
717 | + sp:predicate rdf:type ; | ||
718 | + sp:subject | ||
719 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
720 | + ] | ||
721 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
722 | + sp:predicate rdf:type ; | ||
723 | + sp:subject _:b16 | ||
724 | + ] [ sp:object | ||
725 | + [ sp:varName "realVolume"^^xsd:string | ||
726 | + ] ; | ||
727 | + sp:predicate | ||
728 | + [ sp:varName "volumeScale"^^xsd:string | ||
729 | + ] ; | ||
730 | + sp:subject _:b16 | ||
731 | + ]) ; | ||
732 | + sp:where ([ sp:object spin:_this ; | ||
733 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | ||
734 | + sp:subject | ||
735 | + [ sp:varName "target"^^xsd:string | ||
736 | + ] | ||
737 | + ] [ sp:object | ||
738 | + [ sp:varName "target"^^xsd:string | ||
739 | + ] ; | ||
740 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
741 | + sp:subject | ||
742 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
743 | + ] | ||
744 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
745 | + sp:predicate rdf:type ; | ||
746 | + sp:subject | ||
747 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
748 | + ] | ||
749 | + ] [ rdf:type sp:NotExists ; | ||
750 | + sp:elements ([ sp:object | ||
751 | + [ sp:varName "target"^^xsd:string | ||
752 | + ] ; | ||
753 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
754 | + sp:subject | ||
755 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
756 | + ] | ||
757 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
758 | + sp:predicate rdf:type ; | ||
759 | + sp:subject | ||
760 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
761 | + ] | ||
762 | + ]) | ||
763 | + ] [ sp:object | ||
764 | + [ sp:varName "realVolume"^^xsd:string | ||
765 | + ] ; | ||
766 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
767 | + sp:subject spin:_this | ||
768 | + ] [ sp:object | ||
769 | + [ sp:varName "uomVolume"^^xsd:string | ||
770 | + ] ; | ||
771 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
772 | + sp:subject spin:_this | ||
773 | + ] [ rdf:type sp:Bind ; | ||
774 | + sp:expression | ||
775 | + [ rdf:type ep-mpr-spin-lib:selectVolumeScale ; | ||
776 | + sp:arg1 [ sp:varName "uomVolume"^^xsd:string | ||
777 | + ] | ||
778 | + ] ; | ||
779 | + sp:variable | ||
780 | + [ sp:varName "volumeScale"^^xsd:string | ||
781 | + ] | ||
782 | + ]) | ||
783 | + ] . | ||
784 | + | ||
785 | +<http://www.epim.no/schemas/mprml/1#WorkMeasure> | ||
786 | + spin:rule | ||
787 | + [ rdf:type sp:Construct ; | ||
788 | + rdfs:comment "STEP 90030 Process work for a quantity of material"^^xsd:string ; | ||
789 | + sp:templates ([ sp:object _:b17 ; | ||
790 | + sp:predicate rdf:type ; | ||
791 | + sp:subject | ||
792 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
793 | + ] | ||
794 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | ||
795 | + sp:predicate rdf:type ; | ||
796 | + sp:subject _:b17 | ||
797 | + ] [ sp:object | ||
798 | + [ sp:varName "realWork"^^xsd:string | ||
799 | + ] ; | ||
800 | + sp:predicate | ||
801 | + [ sp:varName "workScale"^^xsd:string | ||
802 | + ] ; | ||
803 | + sp:subject _:b17 | ||
804 | + ]) ; | ||
805 | + sp:where ([ sp:object spin:_this ; | ||
806 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | ||
807 | + sp:subject | ||
808 | + [ sp:varName "target"^^xsd:string | ||
809 | + ] | ||
810 | + ] [ sp:object | ||
811 | + [ sp:varName "target"^^xsd:string | ||
812 | + ] ; | ||
813 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
814 | + sp:subject | ||
815 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
816 | + ] | ||
817 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
818 | + sp:predicate rdf:type ; | ||
819 | + sp:subject | ||
820 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
821 | + ] | ||
822 | + ] [ rdf:type sp:NotExists ; | ||
823 | + sp:elements ([ sp:object | ||
824 | + [ sp:varName "target"^^xsd:string | ||
825 | + ] ; | ||
826 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
827 | + sp:subject | ||
828 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
829 | + ] | ||
830 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
831 | + sp:predicate rdf:type ; | ||
832 | + sp:subject | ||
833 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
834 | + ] | ||
835 | + ]) | ||
836 | + ] [ sp:object | ||
837 | + [ sp:varName "realWork"^^xsd:string | ||
838 | + ] ; | ||
839 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
840 | + sp:subject spin:_this | ||
841 | + ] [ sp:object | ||
842 | + [ sp:varName "uomWork"^^xsd:string | ||
843 | + ] ; | ||
844 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
845 | + sp:subject spin:_this | ||
846 | + ] [ rdf:type sp:Bind ; | ||
847 | + sp:expression | ||
848 | + [ rdf:type ep-mpr-spin-lib:selectWorkScale ; | ||
849 | + sp:arg1 [ sp:varName "uomWork"^^xsd:string | ||
850 | + ] | ||
851 | + ] ; | ||
852 | + sp:variable | ||
853 | + [ sp:varName "workScale"^^xsd:string | ||
854 | + ] | ||
855 | + ]) | ||
856 | + ] . | ||
857 | + | ||
858 | +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> | ||
859 | + rdf:type owl:Ontology ; | ||
860 | + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/flow> ; | ||
861 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1.ttl.tbc
0 → 100644
1 | +# baseURI: null | ||
2 | + | ||
3 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
4 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
5 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
6 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
7 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
8 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
9 | +@prefix visual: <http://topbraid.org/visual#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +[] rdf:type inference:Configuration ; | ||
13 | + composite:child | ||
14 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
15 | + composite:index "0"^^xsd:int | ||
16 | + ] . |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment