Showing
1 changed file
with
35 additions
and
5 deletions
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | 19 | ||
20 | <http://www.reportinghub.no/ep/spin/mpr-tables> | 20 | <http://www.reportinghub.no/ep/spin/mpr-tables> |
21 | rdf:type owl:Ontology ; | 21 | rdf:type owl:Ontology ; |
22 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; | 22 | + owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ; |
23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
24 | 24 | ||
25 | mpr-tables:ProductionFlows | 25 | mpr-tables:ProductionFlows |
... | @@ -37,7 +37,7 @@ mpr-tables:ProductionFlows | ... | @@ -37,7 +37,7 @@ mpr-tables:ProductionFlows |
37 | ] [ sp:varName "productFlowMaterialTypeName"^^xsd:string | 37 | ] [ sp:varName "productFlowMaterialTypeName"^^xsd:string |
38 | ] [ sp:varName "productFlowGrossOrNetTypeName"^^xsd:string | 38 | ] [ sp:varName "productFlowGrossOrNetTypeName"^^xsd:string |
39 | ] [ sp:varName "productFlowInPeriodDurationTypeName"^^xsd:string | 39 | ] [ sp:varName "productFlowInPeriodDurationTypeName"^^xsd:string |
40 | - ] [ sp:varName "massInKilograms"^^xsd:string | 40 | + ] [ sp:varName "massValueString"^^xsd:string |
41 | ] [ sp:varName "pressureInAtmospheres"^^xsd:string | 41 | ] [ sp:varName "pressureInAtmospheres"^^xsd:string |
42 | ] [ sp:varName "temperatureInCelsius"^^xsd:string | 42 | ] [ sp:varName "temperatureInCelsius"^^xsd:string |
43 | ] [ sp:varName "volumeInMetre3"^^xsd:string | 43 | ] [ sp:varName "volumeInMetre3"^^xsd:string |
... | @@ -304,12 +304,42 @@ mpr-tables:ProductionFlows | ... | @@ -304,12 +304,42 @@ mpr-tables:ProductionFlows |
304 | [ sp:varName "mass"^^xsd:string | 304 | [ sp:varName "mass"^^xsd:string |
305 | ] | 305 | ] |
306 | ] [ sp:object | 306 | ] [ sp:object |
307 | - [ sp:varName "massInKilograms"^^xsd:string | 307 | + [ sp:varName "massValue"^^xsd:string |
308 | + ] ; | ||
309 | + sp:predicate | ||
310 | + [ sp:varName "massPredicate"^^xsd:string | ||
308 | ] ; | 311 | ] ; |
309 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram> ; | ||
310 | sp:subject | 312 | sp:subject |
311 | [ sp:varName "mass"^^xsd:string | 313 | [ sp:varName "mass"^^xsd:string |
312 | ] | 314 | ] |
315 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ; | ||
316 | + sp:predicate rdf:type ; | ||
317 | + sp:subject | ||
318 | + [ sp:varName "massPredicate"^^xsd:string | ||
319 | + ] | ||
320 | + ] [ sp:object | ||
321 | + [ sp:varName "massPropertyName"^^xsd:string | ||
322 | + ] ; | ||
323 | + sp:predicate rdfs:label ; | ||
324 | + sp:subject | ||
325 | + [ sp:varName "massPredicate"^^xsd:string | ||
326 | + ] | ||
327 | + ] [ rdf:type sp:Bind ; | ||
328 | + sp:expression | ||
329 | + [ rdf:type fn:concat ; | ||
330 | + sp:arg1 [ rdf:type spif:decimalFormat ; | ||
331 | + arg:number | ||
332 | + [ sp:varName "massValue"^^xsd:string | ||
333 | + ] ; | ||
334 | + arg:pattern "#.##" | ||
335 | + ] ; | ||
336 | + sp:arg2 " " ; | ||
337 | + sp:arg3 [ sp:varName "massPropertyName"^^xsd:string | ||
338 | + ] | ||
339 | + ] ; | ||
340 | + sp:variable | ||
341 | + [ sp:varName "massValueString"^^xsd:string | ||
342 | + ] | ||
313 | ]) | 343 | ]) |
314 | ] [ sp:object | 344 | ] [ sp:object |
315 | [ sp:varName "materialThatFlowsInPeriod"^^xsd:string | 345 | [ sp:varName "materialThatFlowsInPeriod"^^xsd:string |
... | @@ -400,7 +430,7 @@ mpr-tables:ProductionFlows | ... | @@ -400,7 +430,7 @@ mpr-tables:ProductionFlows |
400 | ]) | 430 | ]) |
401 | ]) | 431 | ]) |
402 | ] ; | 432 | ] ; |
403 | - rhspin:tableHeaders ("facility"^^xsd:string "flow name"^^xsd:string "type"^^xsd:string "subtype"^^xsd:string "purpose"^^xsd:string "product"^^xsd:string "material type"^^xsd:string "gross or net"^^xsd:string "duration type"^^xsd:string "mass (kg)"^^xsd:string "pressure (atm)"^^xsd:string "temperature (C)"^^xsd:string "volume (m^3"^^xsd:string "gross calorific value (MJ/m^3)"^^xsd:string) . | 433 | + rhspin:tableHeaders ("facility"^^xsd:string "flow name"^^xsd:string "type"^^xsd:string "subtype"^^xsd:string "purpose"^^xsd:string "product"^^xsd:string "material type"^^xsd:string "gross or net"^^xsd:string "duration type"^^xsd:string "mass "^^xsd:string "pressure (atm)"^^xsd:string "temperature (C)"^^xsd:string "volume (m^3"^^xsd:string "gross calorific value (MJ/m^3)"^^xsd:string) . |
404 | 434 | ||
405 | mpr-tables:ProductionFlowsAll | 435 | mpr-tables:ProductionFlowsAll |
406 | rdf:type rhspin:TableTemplate ; | 436 | rdf:type rhspin:TableTemplate ; | ... | ... |
-
Please register or login to post a comment