Showing
2 changed files
with
286 additions
and
138 deletions
... | @@ -2030,25 +2030,173 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2030,25 +2030,173 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2030 | ]) | 2030 | ]) |
2031 | ] . | 2031 | ] . |
2032 | 2032 | ||
2033 | +<http://www.epim.no/schemas/mprml/1#VolumeFlowRateQualifiedMeasure> | ||
2034 | + spin:rule | ||
2035 | + [ rdf:type sp:Construct ; | ||
2036 | + rdfs:comment "STEP 90180b Process flow rate for a flow - status not supplied"^^xsd:string ; | ||
2037 | + sp:templates ([ sp:object _:b37 ; | ||
2038 | + sp:predicate rdf:type ; | ||
2039 | + sp:subject | ||
2040 | + [ sp:varName "flow"^^xsd:string | ||
2041 | + ] | ||
2042 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ; | ||
2043 | + sp:predicate rdf:type ; | ||
2044 | + sp:subject _:b37 | ||
2045 | + ] [ sp:object | ||
2046 | + [ sp:varName "realVolumeFlowRate"^^xsd:string | ||
2047 | + ] ; | ||
2048 | + sp:predicate | ||
2049 | + [ sp:varName "volumeFlowRateScale"^^xsd:string | ||
2050 | + ] ; | ||
2051 | + sp:subject _:b37 | ||
2052 | + ]) ; | ||
2053 | + sp:where ([ sp:object spin:_this ; | ||
2054 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRateRef> ; | ||
2055 | + sp:subject | ||
2056 | + [ sp:varName "target"^^xsd:string | ||
2057 | + ] | ||
2058 | + ] [ sp:object | ||
2059 | + [ sp:varName "target"^^xsd:string | ||
2060 | + ] ; | ||
2061 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
2062 | + sp:subject | ||
2063 | + [ sp:varName "flow"^^xsd:string | ||
2064 | + ] | ||
2065 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | ||
2066 | + sp:predicate rdf:type ; | ||
2067 | + sp:subject | ||
2068 | + [ sp:varName "flow"^^xsd:string | ||
2069 | + ] | ||
2070 | + ] [ sp:object | ||
2071 | + [ sp:varName "realVolumeFlowRate"^^xsd:string | ||
2072 | + ] ; | ||
2073 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
2074 | + sp:subject spin:_this | ||
2075 | + ] [ sp:object | ||
2076 | + [ sp:varName "uomVolumeFlowRate"^^xsd:string | ||
2077 | + ] ; | ||
2078 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
2079 | + sp:subject spin:_this | ||
2080 | + ] [ rdf:type sp:Bind ; | ||
2081 | + sp:expression | ||
2082 | + [ rdf:type ep-mpr-spin-lib:selectVolumeFlowRateScale ; | ||
2083 | + sp:arg1 [ sp:varName "uomVolumeFlowRate"^^xsd:string | ||
2084 | + ] | ||
2085 | + ] ; | ||
2086 | + sp:variable | ||
2087 | + [ sp:varName "volumeFlowRateScale"^^xsd:string | ||
2088 | + ] | ||
2089 | + ] [ rdf:type sp:NotExists ; | ||
2090 | + sp:elements ([ sp:object | ||
2091 | + [ sp:varName "statusRef"^^xsd:string | ||
2092 | + ] ; | ||
2093 | + sp:predicate <http://www.epim.no/schemas/mprml/1#statusRef> ; | ||
2094 | + sp:subject spin:_this | ||
2095 | + ]) | ||
2096 | + ]) | ||
2097 | + ] ; | ||
2098 | + spin:rule | ||
2099 | + [ rdf:type sp:Construct ; | ||
2100 | + rdfs:comment "STEP 90180a Process flow rate for a flow - status supplied"^^xsd:string ; | ||
2101 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | ||
2102 | + sp:predicate rdf:type ; | ||
2103 | + sp:subject _:b38 | ||
2104 | + ] [ sp:object | ||
2105 | + [ sp:varName "flow"^^xsd:string | ||
2106 | + ] ; | ||
2107 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
2108 | + sp:subject _:b38 | ||
2109 | + ] [ sp:object | ||
2110 | + [ sp:varName "measuredQualityType"^^xsd:string | ||
2111 | + ] ; | ||
2112 | + sp:predicate rdf:type ; | ||
2113 | + sp:subject _:b38 | ||
2114 | + ] [ sp:object _:b39 ; | ||
2115 | + sp:predicate rdf:type ; | ||
2116 | + sp:subject _:b38 | ||
2117 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ; | ||
2118 | + sp:predicate rdf:type ; | ||
2119 | + sp:subject _:b39 | ||
2120 | + ] [ sp:object | ||
2121 | + [ sp:varName "realVolumeFlowRate"^^xsd:string | ||
2122 | + ] ; | ||
2123 | + sp:predicate | ||
2124 | + [ sp:varName "volumeFlowRateScale"^^xsd:string | ||
2125 | + ] ; | ||
2126 | + sp:subject _:b39 | ||
2127 | + ]) ; | ||
2128 | + sp:where ([ sp:object spin:_this ; | ||
2129 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRateRef> ; | ||
2130 | + sp:subject | ||
2131 | + [ sp:varName "target"^^xsd:string | ||
2132 | + ] | ||
2133 | + ] [ sp:object | ||
2134 | + [ sp:varName "target"^^xsd:string | ||
2135 | + ] ; | ||
2136 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
2137 | + sp:subject | ||
2138 | + [ sp:varName "flow"^^xsd:string | ||
2139 | + ] | ||
2140 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | ||
2141 | + sp:predicate rdf:type ; | ||
2142 | + sp:subject | ||
2143 | + [ sp:varName "flow"^^xsd:string | ||
2144 | + ] | ||
2145 | + ] [ sp:object | ||
2146 | + [ sp:varName "realVolumeFlowRate"^^xsd:string | ||
2147 | + ] ; | ||
2148 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
2149 | + sp:subject spin:_this | ||
2150 | + ] [ sp:object | ||
2151 | + [ sp:varName "uomVolumeFlowRate"^^xsd:string | ||
2152 | + ] ; | ||
2153 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
2154 | + sp:subject spin:_this | ||
2155 | + ] [ rdf:type sp:Bind ; | ||
2156 | + sp:expression | ||
2157 | + [ rdf:type ep-mpr-spin-lib:selectVolumeFlowRateScale ; | ||
2158 | + sp:arg1 [ sp:varName "uomVolumeFlowRate"^^xsd:string | ||
2159 | + ] | ||
2160 | + ] ; | ||
2161 | + sp:variable | ||
2162 | + [ sp:varName "volumeFlowRateScale"^^xsd:string | ||
2163 | + ] | ||
2164 | + ] [ sp:object | ||
2165 | + [ sp:varName "statusRef"^^xsd:string | ||
2166 | + ] ; | ||
2167 | + sp:predicate <http://www.epim.no/schemas/mprml/1#statusRef> ; | ||
2168 | + sp:subject spin:_this | ||
2169 | + ] [ rdf:type sp:Bind ; | ||
2170 | + sp:expression | ||
2171 | + [ rdf:type ep-mpr-spin-lib:selectMeasuredQualityType ; | ||
2172 | + sp:arg1 [ sp:varName "statusRef"^^xsd:string | ||
2173 | + ] | ||
2174 | + ] ; | ||
2175 | + sp:variable | ||
2176 | + [ sp:varName "measuredQualityType"^^xsd:string | ||
2177 | + ] | ||
2178 | + ]) | ||
2179 | + ] . | ||
2180 | + | ||
2033 | <http://www.epim.no/schemas/mprml/1#VolumeMeasure> | 2181 | <http://www.epim.no/schemas/mprml/1#VolumeMeasure> |
2034 | spin:rule | 2182 | spin:rule |
2035 | [ rdf:type sp:Construct ; | 2183 | [ rdf:type sp:Construct ; |
2036 | rdfs:comment "STEP 90071a Process volume for a quantity of material - creating volume if necessary"^^xsd:string ; | 2184 | rdfs:comment "STEP 90071a Process volume for a quantity of material - creating volume if necessary"^^xsd:string ; |
2037 | - sp:templates ([ sp:object _:b37 ; | 2185 | + sp:templates ([ sp:object _:b40 ; |
2038 | sp:predicate rdf:type ; | 2186 | sp:predicate rdf:type ; |
2039 | sp:subject | 2187 | sp:subject |
2040 | [ sp:varName "quantityOfMaterial"^^xsd:string | 2188 | [ sp:varName "quantityOfMaterial"^^xsd:string |
2041 | ] | 2189 | ] |
2042 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 2190 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
2043 | sp:predicate rdf:type ; | 2191 | sp:predicate rdf:type ; |
2044 | - sp:subject _:b37 | 2192 | + sp:subject _:b40 |
2045 | ] [ sp:object | 2193 | ] [ sp:object |
2046 | [ sp:varName "realVolume"^^xsd:string | 2194 | [ sp:varName "realVolume"^^xsd:string |
2047 | ] ; | 2195 | ] ; |
2048 | sp:predicate | 2196 | sp:predicate |
2049 | [ sp:varName "volumeScale"^^xsd:string | 2197 | [ sp:varName "volumeScale"^^xsd:string |
2050 | ] ; | 2198 | ] ; |
2051 | - sp:subject _:b37 | 2199 | + sp:subject _:b40 |
2052 | ]) ; | 2200 | ]) ; |
2053 | sp:where ([ sp:object spin:_this ; | 2201 | sp:where ([ sp:object spin:_this ; |
2054 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | 2202 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; |
... | @@ -2196,21 +2344,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2196,21 +2344,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2196 | spin:rule | 2344 | spin:rule |
2197 | [ rdf:type sp:Construct ; | 2345 | [ rdf:type sp:Construct ; |
2198 | rdfs:comment "STEP 90072b Process volume at standard temperature pressure for a quantity of material"^^xsd:string ; | 2346 | rdfs:comment "STEP 90072b Process volume at standard temperature pressure for a quantity of material"^^xsd:string ; |
2199 | - sp:templates ([ sp:object _:b38 ; | 2347 | + sp:templates ([ sp:object _:b41 ; |
2200 | sp:predicate rdf:type ; | 2348 | sp:predicate rdf:type ; |
2201 | sp:subject | 2349 | sp:subject |
2202 | [ sp:varName "stdQuantityOfMaterial"^^xsd:string | 2350 | [ sp:varName "stdQuantityOfMaterial"^^xsd:string |
2203 | ] | 2351 | ] |
2204 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 2352 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
2205 | sp:predicate rdf:type ; | 2353 | sp:predicate rdf:type ; |
2206 | - sp:subject _:b38 | 2354 | + sp:subject _:b41 |
2207 | ] [ sp:object | 2355 | ] [ sp:object |
2208 | [ sp:varName "realVolume"^^xsd:string | 2356 | [ sp:varName "realVolume"^^xsd:string |
2209 | ] ; | 2357 | ] ; |
2210 | sp:predicate | 2358 | sp:predicate |
2211 | [ sp:varName "volumeScale"^^xsd:string | 2359 | [ sp:varName "volumeScale"^^xsd:string |
2212 | ] ; | 2360 | ] ; |
2213 | - sp:subject _:b38 | 2361 | + sp:subject _:b41 |
2214 | ]) ; | 2362 | ]) ; |
2215 | sp:where ([ sp:object spin:_this ; | 2363 | sp:where ([ sp:object spin:_this ; |
2216 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeStdTempPresRef> ; | 2364 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeStdTempPresRef> ; |
... | @@ -2339,19 +2487,19 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2339,19 +2487,19 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2339 | spin:rule | 2487 | spin:rule |
2340 | [ rdf:type sp:Construct ; | 2488 | [ rdf:type sp:Construct ; |
2341 | rdfs:comment "STEP 90070b Ensure that a quantity of material is derived from the target - flow does not have quantity of material"^^xsd:string ; | 2489 | rdfs:comment "STEP 90070b Ensure that a quantity of material is derived from the target - flow does not have quantity of material"^^xsd:string ; |
2342 | - sp:templates ([ sp:object _:b39 ; | 2490 | + sp:templates ([ sp:object _:b42 ; |
2343 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | 2491 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; |
2344 | sp:subject | 2492 | sp:subject |
2345 | [ sp:varName "flow"^^xsd:string | 2493 | [ sp:varName "flow"^^xsd:string |
2346 | ] | 2494 | ] |
2347 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 2495 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
2348 | sp:predicate rdf:type ; | 2496 | sp:predicate rdf:type ; |
2349 | - sp:subject _:b39 | 2497 | + sp:subject _:b42 |
2350 | ] [ sp:object | 2498 | ] [ sp:object |
2351 | [ sp:varName "target"^^xsd:string | 2499 | [ sp:varName "target"^^xsd:string |
2352 | ] ; | 2500 | ] ; |
2353 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 2501 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
2354 | - sp:subject _:b39 | 2502 | + sp:subject _:b42 |
2355 | ]) ; | 2503 | ]) ; |
2356 | sp:where ([ rdf:type sp:Exists ; | 2504 | sp:where ([ rdf:type sp:Exists ; |
2357 | sp:elements ([ rdf:type sp:Union ; | 2505 | sp:elements ([ rdf:type sp:Union ; |
... | @@ -2409,22 +2557,22 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2409,22 +2557,22 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2409 | rdfs:comment "STEP 90072a Create a temporal part at standard temperature pressure if necessary"^^xsd:string ; | 2557 | rdfs:comment "STEP 90072a Create a temporal part at standard temperature pressure if necessary"^^xsd:string ; |
2410 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterialInAStandardState> ; | 2558 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterialInAStandardState> ; |
2411 | sp:predicate rdf:type ; | 2559 | sp:predicate rdf:type ; |
2412 | - sp:subject _:b40 | 2560 | + sp:subject _:b43 |
2413 | ] [ sp:object | 2561 | ] [ sp:object |
2414 | [ sp:varName "quantityOfMaterial"^^xsd:string | 2562 | [ sp:varName "quantityOfMaterial"^^xsd:string |
2415 | ] ; | 2563 | ] ; |
2416 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 2564 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
2417 | - sp:subject _:b40 | 2565 | + sp:subject _:b43 |
2418 | ] [ sp:object | 2566 | ] [ sp:object |
2419 | [ sp:varName "standardTemperature"^^xsd:string | 2567 | [ sp:varName "standardTemperature"^^xsd:string |
2420 | ] ; | 2568 | ] ; |
2421 | sp:predicate rdf:type ; | 2569 | sp:predicate rdf:type ; |
2422 | - sp:subject _:b40 | 2570 | + sp:subject _:b43 |
2423 | ] [ sp:object | 2571 | ] [ sp:object |
2424 | [ sp:varName "standardPressure"^^xsd:string | 2572 | [ sp:varName "standardPressure"^^xsd:string |
2425 | ] ; | 2573 | ] ; |
2426 | sp:predicate rdf:type ; | 2574 | sp:predicate rdf:type ; |
2427 | - sp:subject _:b40 | 2575 | + sp:subject _:b43 |
2428 | ]) ; | 2576 | ]) ; |
2429 | sp:where ([ sp:object spin:_this ; | 2577 | sp:where ([ sp:object spin:_this ; |
2430 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeStdTempPresRef> ; | 2578 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeStdTempPresRef> ; |
... | @@ -2504,59 +2652,29 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2504,59 +2652,29 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2504 | <http://www.epim.no/schemas/mprml/1#VolumeQualifiedMeasure> | 2652 | <http://www.epim.no/schemas/mprml/1#VolumeQualifiedMeasure> |
2505 | spin:rule | 2653 | spin:rule |
2506 | [ rdf:type sp:Construct ; | 2654 | [ rdf:type sp:Construct ; |
2507 | - rdfs:comment "STEP 90172 Process volume at standard conditions for a quantity of material - status exists - create a new state and volume and associate status with that state"^^xsd:string ; | 2655 | + rdfs:comment "STEP 90171d Process volume for a quantity of material - volume for not for a specified state - no status exists - volume exists"^^xsd:string ; |
2508 | sp:templates ([ sp:object | 2656 | sp:templates ([ sp:object |
2509 | - [ sp:varName "quantityOfMaterial"^^xsd:string | ||
2510 | - ] ; | ||
2511 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
2512 | - sp:subject _:b41 | ||
2513 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
2514 | - sp:predicate rdf:type ; | ||
2515 | - sp:subject _:b41 | ||
2516 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterialInAStandardState> ; | ||
2517 | - sp:predicate rdf:type ; | ||
2518 | - sp:subject _:b41 | ||
2519 | - ] [ sp:object | ||
2520 | - [ sp:varName "standardTemperature"^^xsd:string | ||
2521 | - ] ; | ||
2522 | - sp:predicate rdf:type ; | ||
2523 | - sp:subject _:b41 | ||
2524 | - ] [ sp:object | ||
2525 | - [ sp:varName "standardPressure"^^xsd:string | ||
2526 | - ] ; | ||
2527 | - sp:predicate rdf:type ; | ||
2528 | - sp:subject _:b41 | ||
2529 | - ] [ sp:object | ||
2530 | - [ sp:varName "measuredQualityType"^^xsd:string | ||
2531 | - ] ; | ||
2532 | - sp:predicate rdf:type ; | ||
2533 | - sp:subject _:b41 | ||
2534 | - ] [ sp:object _:b42 ; | ||
2535 | - sp:predicate rdf:type ; | ||
2536 | - sp:subject _:b41 | ||
2537 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
2538 | - sp:predicate rdf:type ; | ||
2539 | - sp:subject _:b42 | ||
2540 | - ] [ sp:object | ||
2541 | [ sp:varName "realVolume"^^xsd:string | 2657 | [ sp:varName "realVolume"^^xsd:string |
2542 | ] ; | 2658 | ] ; |
2543 | sp:predicate | 2659 | sp:predicate |
2544 | [ sp:varName "volumeScale"^^xsd:string | 2660 | [ sp:varName "volumeScale"^^xsd:string |
2545 | ] ; | 2661 | ] ; |
2546 | - sp:subject _:b42 | 2662 | + sp:subject |
2663 | + [ sp:varName "volume"^^xsd:string | ||
2664 | + ] | ||
2547 | ]) ; | 2665 | ]) ; |
2548 | sp:where ([ sp:object spin:_this ; | 2666 | sp:where ([ sp:object spin:_this ; |
2549 | - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeStdRef> ; | 2667 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; |
2550 | sp:subject | 2668 | sp:subject |
2551 | [ sp:varName "target"^^xsd:string | 2669 | [ sp:varName "target"^^xsd:string |
2552 | ] | 2670 | ] |
2553 | - ] [ rdf:type sp:Optional ; | 2671 | + ] [ rdf:type sp:NotExists ; |
2554 | sp:elements ([ sp:object | 2672 | sp:elements ([ sp:object |
2555 | - [ sp:varName "standardTempPresRef"^^xsd:string | 2673 | + [ sp:varName "target"^^xsd:string |
2556 | ] ; | 2674 | ] ; |
2557 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#standardTempPres> ; | 2675 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; |
2558 | sp:subject | 2676 | sp:subject |
2559 | - [ sp:varName "target"^^xsd:string | 2677 | + [ sp:varName "somethingRef"^^xsd:string |
2560 | ] | 2678 | ] |
2561 | ]) | 2679 | ]) |
2562 | ] [ sp:object | 2680 | ] [ sp:object |
... | @@ -2572,6 +2690,32 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2572,6 +2690,32 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2572 | [ sp:varName "quantityOfMaterial"^^xsd:string | 2690 | [ sp:varName "quantityOfMaterial"^^xsd:string |
2573 | ] | 2691 | ] |
2574 | ] [ sp:object | 2692 | ] [ sp:object |
2693 | + [ sp:varName "volume"^^xsd:string | ||
2694 | + ] ; | ||
2695 | + sp:predicate rdf:type ; | ||
2696 | + sp:subject | ||
2697 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
2698 | + ] | ||
2699 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
2700 | + sp:predicate rdf:type ; | ||
2701 | + sp:subject | ||
2702 | + [ sp:varName "volume"^^xsd:string | ||
2703 | + ] | ||
2704 | + ] [ rdf:type sp:NotExists ; | ||
2705 | + sp:elements ([ sp:object | ||
2706 | + [ sp:varName "target"^^xsd:string | ||
2707 | + ] ; | ||
2708 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
2709 | + sp:subject | ||
2710 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
2711 | + ] | ||
2712 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
2713 | + sp:predicate rdf:type ; | ||
2714 | + sp:subject | ||
2715 | + [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
2716 | + ] | ||
2717 | + ]) | ||
2718 | + ] [ sp:object | ||
2575 | [ sp:varName "realVolume"^^xsd:string | 2719 | [ sp:varName "realVolume"^^xsd:string |
2576 | ] ; | 2720 | ] ; |
2577 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 2721 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
... | @@ -2590,40 +2734,13 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2590,40 +2734,13 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2590 | sp:variable | 2734 | sp:variable |
2591 | [ sp:varName "volumeScale"^^xsd:string | 2735 | [ sp:varName "volumeScale"^^xsd:string |
2592 | ] | 2736 | ] |
2593 | - ] [ rdf:type sp:Optional ; | 2737 | + ] [ rdf:type sp:NotExists ; |
2594 | sp:elements ([ sp:object | 2738 | sp:elements ([ sp:object |
2595 | [ sp:varName "statusRef"^^xsd:string | 2739 | [ sp:varName "statusRef"^^xsd:string |
2596 | ] ; | 2740 | ] ; |
2597 | sp:predicate <http://www.epim.no/schemas/mprml/1#statusRef> ; | 2741 | sp:predicate <http://www.epim.no/schemas/mprml/1#statusRef> ; |
2598 | sp:subject spin:_this | 2742 | sp:subject spin:_this |
2599 | - ] [ rdf:type sp:Bind ; | ||
2600 | - sp:expression | ||
2601 | - [ rdf:type ep-mpr-spin-lib:selectMeasuredQualityType ; | ||
2602 | - sp:arg1 [ sp:varName "statusRef"^^xsd:string | ||
2603 | - ] | ||
2604 | - ] ; | ||
2605 | - sp:variable | ||
2606 | - [ sp:varName "measuredQualityType"^^xsd:string | ||
2607 | - ] | ||
2608 | ]) | 2743 | ]) |
2609 | - ] [ rdf:type sp:Bind ; | ||
2610 | - sp:expression | ||
2611 | - [ rdf:type ep-mpr-spin-lib:selectStandardTempPres-Temperature ; | ||
2612 | - sp:arg1 [ sp:varName "standardTempPresRef"^^xsd:string | ||
2613 | - ] | ||
2614 | - ] ; | ||
2615 | - sp:variable | ||
2616 | - [ sp:varName "standardTemperature"^^xsd:string | ||
2617 | - ] | ||
2618 | - ] [ rdf:type sp:Bind ; | ||
2619 | - sp:expression | ||
2620 | - [ rdf:type ep-mpr-spin-lib:selectStandardTempPres-Pressure ; | ||
2621 | - sp:arg1 [ sp:varName "standardTempPresRef"^^xsd:string | ||
2622 | - ] | ||
2623 | - ] ; | ||
2624 | - sp:variable | ||
2625 | - [ sp:varName "standardPressure"^^xsd:string | ||
2626 | - ] | ||
2627 | ]) | 2744 | ]) |
2628 | ] ; | 2745 | ] ; |
2629 | spin:rule | 2746 | spin:rule |
... | @@ -2633,28 +2750,28 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2633,28 +2750,28 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2633 | [ sp:varName "quantityOfMaterial"^^xsd:string | 2750 | [ sp:varName "quantityOfMaterial"^^xsd:string |
2634 | ] ; | 2751 | ] ; |
2635 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 2752 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
2636 | - sp:subject _:b43 | 2753 | + sp:subject _:b44 |
2637 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 2754 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
2638 | sp:predicate rdf:type ; | 2755 | sp:predicate rdf:type ; |
2639 | - sp:subject _:b43 | 2756 | + sp:subject _:b44 |
2640 | ] [ sp:object | 2757 | ] [ sp:object |
2641 | [ sp:varName "measuredQualityType"^^xsd:string | 2758 | [ sp:varName "measuredQualityType"^^xsd:string |
2642 | ] ; | 2759 | ] ; |
2643 | sp:predicate rdf:type ; | 2760 | sp:predicate rdf:type ; |
2644 | - sp:subject _:b43 | 2761 | + sp:subject _:b44 |
2645 | - ] [ sp:object _:b44 ; | 2762 | + ] [ sp:object _:b45 ; |
2646 | sp:predicate rdf:type ; | 2763 | sp:predicate rdf:type ; |
2647 | - sp:subject _:b43 | 2764 | + sp:subject _:b44 |
2648 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 2765 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
2649 | sp:predicate rdf:type ; | 2766 | sp:predicate rdf:type ; |
2650 | - sp:subject _:b44 | 2767 | + sp:subject _:b45 |
2651 | ] [ sp:object | 2768 | ] [ sp:object |
2652 | [ sp:varName "realVolume"^^xsd:string | 2769 | [ sp:varName "realVolume"^^xsd:string |
2653 | ] ; | 2770 | ] ; |
2654 | sp:predicate | 2771 | sp:predicate |
2655 | [ sp:varName "volumeScale"^^xsd:string | 2772 | [ sp:varName "volumeScale"^^xsd:string |
2656 | ] ; | 2773 | ] ; |
2657 | - sp:subject _:b44 | 2774 | + sp:subject _:b45 |
2658 | ]) ; | 2775 | ]) ; |
2659 | sp:where ([ sp:object spin:_this ; | 2776 | sp:where ([ sp:object spin:_this ; |
2660 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | 2777 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; |
... | @@ -2720,21 +2837,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2720,21 +2837,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2720 | spin:rule | 2837 | spin:rule |
2721 | [ rdf:type sp:Construct ; | 2838 | [ rdf:type sp:Construct ; |
2722 | rdfs:comment "STEP 90171b Process volume for a quantity of material - creating volume if necessary - volume for a specified state, so associate status with that state"^^xsd:string ; | 2839 | rdfs:comment "STEP 90171b Process volume for a quantity of material - creating volume if necessary - volume for a specified state, so associate status with that state"^^xsd:string ; |
2723 | - sp:templates ([ sp:object _:b45 ; | 2840 | + sp:templates ([ sp:object _:b46 ; |
2724 | sp:predicate rdf:type ; | 2841 | sp:predicate rdf:type ; |
2725 | sp:subject | 2842 | sp:subject |
2726 | [ sp:varName "quantityOfMaterial"^^xsd:string | 2843 | [ sp:varName "quantityOfMaterial"^^xsd:string |
2727 | ] | 2844 | ] |
2728 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 2845 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
2729 | sp:predicate rdf:type ; | 2846 | sp:predicate rdf:type ; |
2730 | - sp:subject _:b45 | 2847 | + sp:subject _:b46 |
2731 | ] [ sp:object | 2848 | ] [ sp:object |
2732 | [ sp:varName "realVolume"^^xsd:string | 2849 | [ sp:varName "realVolume"^^xsd:string |
2733 | ] ; | 2850 | ] ; |
2734 | sp:predicate | 2851 | sp:predicate |
2735 | [ sp:varName "volumeScale"^^xsd:string | 2852 | [ sp:varName "volumeScale"^^xsd:string |
2736 | ] ; | 2853 | ] ; |
2737 | - sp:subject _:b45 | 2854 | + sp:subject _:b46 |
2738 | ] [ sp:object | 2855 | ] [ sp:object |
2739 | [ sp:varName "measuredQualityType"^^xsd:string | 2856 | [ sp:varName "measuredQualityType"^^xsd:string |
2740 | ] ; | 2857 | ] ; |
... | @@ -2821,21 +2938,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -2821,21 +2938,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
2821 | spin:rule | 2938 | spin:rule |
2822 | [ rdf:type sp:Construct ; | 2939 | [ rdf:type sp:Construct ; |
2823 | rdfs:comment "STEP 90171e Process volume for a quantity of material - volume for not for a specified state - no status exists - volume does not exist"^^xsd:string ; | 2940 | rdfs:comment "STEP 90171e Process volume for a quantity of material - volume for not for a specified state - no status exists - volume does not exist"^^xsd:string ; |
2824 | - sp:templates ([ sp:object _:b46 ; | 2941 | + sp:templates ([ sp:object _:b47 ; |
2825 | sp:predicate rdf:type ; | 2942 | sp:predicate rdf:type ; |
2826 | sp:subject | 2943 | sp:subject |
2827 | [ sp:varName "quantityOfMaterial"^^xsd:string | 2944 | [ sp:varName "quantityOfMaterial"^^xsd:string |
2828 | ] | 2945 | ] |
2829 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 2946 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
2830 | sp:predicate rdf:type ; | 2947 | sp:predicate rdf:type ; |
2831 | - sp:subject _:b46 | 2948 | + sp:subject _:b47 |
2832 | ] [ sp:object | 2949 | ] [ sp:object |
2833 | [ sp:varName "realVolume"^^xsd:string | 2950 | [ sp:varName "realVolume"^^xsd:string |
2834 | ] ; | 2951 | ] ; |
2835 | sp:predicate | 2952 | sp:predicate |
2836 | [ sp:varName "volumeScale"^^xsd:string | 2953 | [ sp:varName "volumeScale"^^xsd:string |
2837 | ] ; | 2954 | ] ; |
2838 | - sp:subject _:b46 | 2955 | + sp:subject _:b47 |
2839 | ]) ; | 2956 | ]) ; |
2840 | sp:where ([ sp:object spin:_this ; | 2957 | sp:where ([ sp:object spin:_this ; |
2841 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | 2958 | sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; |
... | @@ -3001,19 +3118,19 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -3001,19 +3118,19 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
3001 | spin:rule | 3118 | spin:rule |
3002 | [ rdf:type sp:Construct ; | 3119 | [ rdf:type sp:Construct ; |
3003 | rdfs:comment "STEP 90170 Process volume for a flow - creating a quantity of material if necessary"^^xsd:string ; | 3120 | rdfs:comment "STEP 90170 Process volume for a flow - creating a quantity of material if necessary"^^xsd:string ; |
3004 | - sp:templates ([ sp:object _:b47 ; | 3121 | + sp:templates ([ sp:object _:b48 ; |
3005 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | 3122 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; |
3006 | sp:subject | 3123 | sp:subject |
3007 | [ sp:varName "flow"^^xsd:string | 3124 | [ sp:varName "flow"^^xsd:string |
3008 | ] | 3125 | ] |
3009 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 3126 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
3010 | sp:predicate rdf:type ; | 3127 | sp:predicate rdf:type ; |
3011 | - sp:subject _:b47 | 3128 | + sp:subject _:b48 |
3012 | ] [ sp:object | 3129 | ] [ sp:object |
3013 | [ sp:varName "target"^^xsd:string | 3130 | [ sp:varName "target"^^xsd:string |
3014 | ] ; | 3131 | ] ; |
3015 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 3132 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
3016 | - sp:subject _:b47 | 3133 | + sp:subject _:b48 |
3017 | ]) ; | 3134 | ]) ; |
3018 | sp:where ([ rdf:type sp:Exists ; | 3135 | sp:where ([ rdf:type sp:Exists ; |
3019 | sp:elements ([ rdf:type sp:Union ; | 3136 | sp:elements ([ rdf:type sp:Union ; |
... | @@ -3059,29 +3176,59 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -3059,29 +3176,59 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
3059 | ] ; | 3176 | ] ; |
3060 | spin:rule | 3177 | spin:rule |
3061 | [ rdf:type sp:Construct ; | 3178 | [ rdf:type sp:Construct ; |
3062 | - rdfs:comment "STEP 90171d Process volume for a quantity of material - volume for not for a specified state - no status exists - volume exists"^^xsd:string ; | 3179 | + rdfs:comment "STEP 90172 Process volume at standard conditions for a quantity of material - create a new state and volume and associate status with that state"^^xsd:string ; |
3063 | sp:templates ([ sp:object | 3180 | sp:templates ([ sp:object |
3181 | + [ sp:varName "quantityOfMaterial"^^xsd:string | ||
3182 | + ] ; | ||
3183 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
3184 | + sp:subject _:b49 | ||
3185 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
3186 | + sp:predicate rdf:type ; | ||
3187 | + sp:subject _:b49 | ||
3188 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterialInAStandardState> ; | ||
3189 | + sp:predicate rdf:type ; | ||
3190 | + sp:subject _:b49 | ||
3191 | + ] [ sp:object | ||
3192 | + [ sp:varName "standardTemperature"^^xsd:string | ||
3193 | + ] ; | ||
3194 | + sp:predicate rdf:type ; | ||
3195 | + sp:subject _:b49 | ||
3196 | + ] [ sp:object | ||
3197 | + [ sp:varName "standardPressure"^^xsd:string | ||
3198 | + ] ; | ||
3199 | + sp:predicate rdf:type ; | ||
3200 | + sp:subject _:b49 | ||
3201 | + ] [ sp:object | ||
3202 | + [ sp:varName "measuredQualityType"^^xsd:string | ||
3203 | + ] ; | ||
3204 | + sp:predicate rdf:type ; | ||
3205 | + sp:subject _:b49 | ||
3206 | + ] [ sp:object _:b50 ; | ||
3207 | + sp:predicate rdf:type ; | ||
3208 | + sp:subject _:b49 | ||
3209 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
3210 | + sp:predicate rdf:type ; | ||
3211 | + sp:subject _:b50 | ||
3212 | + ] [ sp:object | ||
3064 | [ sp:varName "realVolume"^^xsd:string | 3213 | [ sp:varName "realVolume"^^xsd:string |
3065 | ] ; | 3214 | ] ; |
3066 | sp:predicate | 3215 | sp:predicate |
3067 | [ sp:varName "volumeScale"^^xsd:string | 3216 | [ sp:varName "volumeScale"^^xsd:string |
3068 | ] ; | 3217 | ] ; |
3069 | - sp:subject | 3218 | + sp:subject _:b50 |
3070 | - [ sp:varName "volume"^^xsd:string | ||
3071 | - ] | ||
3072 | ]) ; | 3219 | ]) ; |
3073 | sp:where ([ sp:object spin:_this ; | 3220 | sp:where ([ sp:object spin:_this ; |
3074 | - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | 3221 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeStdRef> ; |
3075 | sp:subject | 3222 | sp:subject |
3076 | [ sp:varName "target"^^xsd:string | 3223 | [ sp:varName "target"^^xsd:string |
3077 | ] | 3224 | ] |
3078 | - ] [ rdf:type sp:NotExists ; | 3225 | + ] [ rdf:type sp:Optional ; |
3079 | sp:elements ([ sp:object | 3226 | sp:elements ([ sp:object |
3080 | - [ sp:varName "target"^^xsd:string | 3227 | + [ sp:varName "standardTempPresRef"^^xsd:string |
3081 | ] ; | 3228 | ] ; |
3082 | - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | 3229 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#standardTempPres> ; |
3083 | sp:subject | 3230 | sp:subject |
3084 | - [ sp:varName "somethingRef"^^xsd:string | 3231 | + [ sp:varName "target"^^xsd:string |
3085 | ] | 3232 | ] |
3086 | ]) | 3233 | ]) |
3087 | ] [ sp:object | 3234 | ] [ sp:object |
... | @@ -3097,32 +3244,6 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -3097,32 +3244,6 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
3097 | [ sp:varName "quantityOfMaterial"^^xsd:string | 3244 | [ sp:varName "quantityOfMaterial"^^xsd:string |
3098 | ] | 3245 | ] |
3099 | ] [ sp:object | 3246 | ] [ sp:object |
3100 | - [ sp:varName "volume"^^xsd:string | ||
3101 | - ] ; | ||
3102 | - sp:predicate rdf:type ; | ||
3103 | - sp:subject | ||
3104 | - [ sp:varName "quantityOfMaterial"^^xsd:string | ||
3105 | - ] | ||
3106 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
3107 | - sp:predicate rdf:type ; | ||
3108 | - sp:subject | ||
3109 | - [ sp:varName "volume"^^xsd:string | ||
3110 | - ] | ||
3111 | - ] [ rdf:type sp:NotExists ; | ||
3112 | - sp:elements ([ sp:object | ||
3113 | - [ sp:varName "target"^^xsd:string | ||
3114 | - ] ; | ||
3115 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
3116 | - sp:subject | ||
3117 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
3118 | - ] | ||
3119 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ClassOfMaterialWithMassCriterion> ; | ||
3120 | - sp:predicate rdf:type ; | ||
3121 | - sp:subject | ||
3122 | - [ sp:varName "classOfMaterialWithMassCriterion"^^xsd:string | ||
3123 | - ] | ||
3124 | - ]) | ||
3125 | - ] [ sp:object | ||
3126 | [ sp:varName "realVolume"^^xsd:string | 3247 | [ sp:varName "realVolume"^^xsd:string |
3127 | ] ; | 3248 | ] ; |
3128 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 3249 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
... | @@ -3141,13 +3262,40 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -3141,13 +3262,40 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
3141 | sp:variable | 3262 | sp:variable |
3142 | [ sp:varName "volumeScale"^^xsd:string | 3263 | [ sp:varName "volumeScale"^^xsd:string |
3143 | ] | 3264 | ] |
3144 | - ] [ rdf:type sp:NotExists ; | 3265 | + ] [ rdf:type sp:Optional ; |
3145 | sp:elements ([ sp:object | 3266 | sp:elements ([ sp:object |
3146 | [ sp:varName "statusRef"^^xsd:string | 3267 | [ sp:varName "statusRef"^^xsd:string |
3147 | ] ; | 3268 | ] ; |
3148 | sp:predicate <http://www.epim.no/schemas/mprml/1#statusRef> ; | 3269 | sp:predicate <http://www.epim.no/schemas/mprml/1#statusRef> ; |
3149 | sp:subject spin:_this | 3270 | sp:subject spin:_this |
3271 | + ] [ rdf:type sp:Bind ; | ||
3272 | + sp:expression | ||
3273 | + [ rdf:type ep-mpr-spin-lib:selectMeasuredQualityType ; | ||
3274 | + sp:arg1 [ sp:varName "statusRef"^^xsd:string | ||
3275 | + ] | ||
3276 | + ] ; | ||
3277 | + sp:variable | ||
3278 | + [ sp:varName "measuredQualityType"^^xsd:string | ||
3279 | + ] | ||
3150 | ]) | 3280 | ]) |
3281 | + ] [ rdf:type sp:Bind ; | ||
3282 | + sp:expression | ||
3283 | + [ rdf:type ep-mpr-spin-lib:selectStandardTempPres-Temperature ; | ||
3284 | + sp:arg1 [ sp:varName "standardTempPresRef"^^xsd:string | ||
3285 | + ] | ||
3286 | + ] ; | ||
3287 | + sp:variable | ||
3288 | + [ sp:varName "standardTemperature"^^xsd:string | ||
3289 | + ] | ||
3290 | + ] [ rdf:type sp:Bind ; | ||
3291 | + sp:expression | ||
3292 | + [ rdf:type ep-mpr-spin-lib:selectStandardTempPres-Pressure ; | ||
3293 | + sp:arg1 [ sp:varName "standardTempPresRef"^^xsd:string | ||
3294 | + ] | ||
3295 | + ] ; | ||
3296 | + sp:variable | ||
3297 | + [ sp:varName "standardPressure"^^xsd:string | ||
3298 | + ] | ||
3151 | ]) | 3299 | ]) |
3152 | ] . | 3300 | ] . |
3153 | 3301 | ||
... | @@ -3155,21 +3303,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -3155,21 +3303,21 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
3155 | spin:rule | 3303 | spin:rule |
3156 | [ rdf:type sp:Construct ; | 3304 | [ rdf:type sp:Construct ; |
3157 | rdfs:comment "STEP 90031 Process work for a quantity of material"^^xsd:string ; | 3305 | rdfs:comment "STEP 90031 Process work for a quantity of material"^^xsd:string ; |
3158 | - sp:templates ([ sp:object _:b48 ; | 3306 | + sp:templates ([ sp:object _:b51 ; |
3159 | sp:predicate rdf:type ; | 3307 | sp:predicate rdf:type ; |
3160 | sp:subject | 3308 | sp:subject |
3161 | [ sp:varName "quantityOfMaterial"^^xsd:string | 3309 | [ sp:varName "quantityOfMaterial"^^xsd:string |
3162 | ] | 3310 | ] |
3163 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | 3311 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; |
3164 | sp:predicate rdf:type ; | 3312 | sp:predicate rdf:type ; |
3165 | - sp:subject _:b48 | 3313 | + sp:subject _:b51 |
3166 | ] [ sp:object | 3314 | ] [ sp:object |
3167 | [ sp:varName "realWork"^^xsd:string | 3315 | [ sp:varName "realWork"^^xsd:string |
3168 | ] ; | 3316 | ] ; |
3169 | sp:predicate | 3317 | sp:predicate |
3170 | [ sp:varName "workScale"^^xsd:string | 3318 | [ sp:varName "workScale"^^xsd:string |
3171 | ] ; | 3319 | ] ; |
3172 | - sp:subject _:b48 | 3320 | + sp:subject _:b51 |
3173 | ]) ; | 3321 | ]) ; |
3174 | sp:where ([ sp:object spin:_this ; | 3322 | sp:where ([ sp:object spin:_this ; |
3175 | sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | 3323 | sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; |
... | @@ -3279,19 +3427,19 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; | ... | @@ -3279,19 +3427,19 @@ except where the quantity of material is derived from a flow"""^^xsd:string ; |
3279 | spin:rule | 3427 | spin:rule |
3280 | [ rdf:type sp:Construct ; | 3428 | [ rdf:type sp:Construct ; |
3281 | rdfs:comment "STEP 90030b Ensure that a quantity of material is derived from the target - flow does not have quantity of material"^^xsd:string ; | 3429 | rdfs:comment "STEP 90030b Ensure that a quantity of material is derived from the target - flow does not have quantity of material"^^xsd:string ; |
3282 | - sp:templates ([ sp:object _:b49 ; | 3430 | + sp:templates ([ sp:object _:b52 ; |
3283 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | 3431 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; |
3284 | sp:subject | 3432 | sp:subject |
3285 | [ sp:varName "flow"^^xsd:string | 3433 | [ sp:varName "flow"^^xsd:string |
3286 | ] | 3434 | ] |
3287 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 3435 | ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
3288 | sp:predicate rdf:type ; | 3436 | sp:predicate rdf:type ; |
3289 | - sp:subject _:b49 | 3437 | + sp:subject _:b52 |
3290 | ] [ sp:object | 3438 | ] [ sp:object |
3291 | [ sp:varName "target"^^xsd:string | 3439 | [ sp:varName "target"^^xsd:string |
3292 | ] ; | 3440 | ] ; |
3293 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 3441 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
3294 | - sp:subject _:b49 | 3442 | + sp:subject _:b52 |
3295 | ]) ; | 3443 | ]) ; |
3296 | sp:where ([ rdf:type sp:Exists ; | 3444 | sp:where ([ rdf:type sp:Exists ; |
3297 | sp:elements ([ sp:object spin:_this ; | 3445 | sp:elements ([ sp:object spin:_this ; | ... | ... |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment