Showing
4 changed files
with
401 additions
and
336 deletions
| ... | @@ -7,9 +7,12 @@ | ... | @@ -7,9 +7,12 @@ |
| 7 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1 | 7 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1 |
| 8 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0 | 8 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0 |
| 9 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1 | 9 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1 |
| 10 | +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1 | ||
| 10 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1 | 11 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1 |
| 11 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 | 12 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 |
| 12 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 | 13 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 |
| 14 | +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1 | ||
| 15 | +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1 | ||
| 13 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0 | 16 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0 |
| 14 | 17 | ||
| 15 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . | 18 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . |
| ... | @@ -17,9 +20,12 @@ | ... | @@ -17,9 +20,12 @@ |
| 17 | @prefix TRANSFORM_mpr-facilityIdentifierStructure-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> . | 20 | @prefix TRANSFORM_mpr-facilityIdentifierStructure-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> . |
| 18 | @prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> . | 21 | @prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> . |
| 19 | @prefix TRANSFORM_mpr-geographicContext-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> . | 22 | @prefix TRANSFORM_mpr-geographicContext-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> . |
| 23 | +@prefix TRANSFORM_mpr-installationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> . | ||
| 20 | @prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> . | 24 | @prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> . |
| 21 | @prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . | 25 | @prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . |
| 22 | @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . | 26 | @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . |
| 27 | +@prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> . | ||
| 28 | +@prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> . | ||
| 23 | @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . | 29 | @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . |
| 24 | @prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> . | 30 | @prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> . |
| 25 | @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> . | 31 | @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> . |
| ... | @@ -38,5 +44,5 @@ | ... | @@ -38,5 +44,5 @@ |
| 38 | 44 | ||
| 39 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> | 45 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> |
| 40 | rdf:type owl:Ontology ; | 46 | rdf:type owl:Ontology ; |
| 41 | - owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <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-organization-v1.1.1> , <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> ; | 47 | + owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <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-organization-v1.1.1> , <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> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> ; |
| 42 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 48 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| ... | @@ -21,20 +21,20 @@ | ... | @@ -21,20 +21,20 @@ |
| 21 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 21 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
| 22 | spin:rule | 22 | spin:rule |
| 23 | [ rdf:type sp:Construct ; | 23 | [ rdf:type sp:Construct ; |
| 24 | - rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ; | 24 | + rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ; |
| 25 | sp:templates ([ sp:object _:b1 ; | 25 | sp:templates ([ sp:object _:b1 ; |
| 26 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; | 26 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; |
| 27 | sp:subject | 27 | sp:subject |
| 28 | - [ sp:varName "annualProductionOperationToDate"^^xsd:string | 28 | + [ sp:varName "productionOperation"^^xsd:string |
| 29 | ] | 29 | ] |
| 30 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | 30 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; |
| 31 | sp:predicate rdf:type ; | 31 | sp:predicate rdf:type ; |
| 32 | sp:subject _:b1 | 32 | sp:subject _:b1 |
| 33 | ] [ sp:object | 33 | ] [ sp:object |
| 34 | - [ sp:varName "realWorkYearToDate"^^xsd:string | 34 | + [ sp:varName "realWork"^^xsd:string |
| 35 | ] ; | 35 | ] ; |
| 36 | sp:predicate | 36 | sp:predicate |
| 37 | - [ sp:varName "workYearToDateScale"^^xsd:string | 37 | + [ sp:varName "workScale"^^xsd:string |
| 38 | ] ; | 38 | ] ; |
| 39 | sp:subject _:b1 | 39 | sp:subject _:b1 |
| 40 | ]) ; | 40 | ]) ; |
| ... | @@ -79,6 +79,11 @@ | ... | @@ -79,6 +79,11 @@ |
| 79 | sp:subject | 79 | sp:subject |
| 80 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 80 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 81 | ] | 81 | ] |
| 82 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
| 83 | + sp:predicate rdf:type ; | ||
| 84 | + sp:subject | ||
| 85 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
| 86 | + ] | ||
| 82 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | 87 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; |
| 83 | sp:predicate rdf:type ; | 88 | sp:predicate rdf:type ; |
| 84 | sp:subject | 89 | sp:subject |
| ... | @@ -92,104 +97,55 @@ | ... | @@ -92,104 +97,55 @@ |
| 92 | [ sp:varName "productionOperation"^^xsd:string | 97 | [ sp:varName "productionOperation"^^xsd:string |
| 93 | ] | 98 | ] |
| 94 | ] [ sp:object | 99 | ] [ sp:object |
| 95 | - [ sp:varName "annualProductionOperationToDate"^^xsd:string | 100 | + [ sp:varName "workRef"^^xsd:string |
| 96 | - ] ; | ||
| 97 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 98 | - sp:subject | ||
| 99 | - [ sp:varName "productionOperation"^^xsd:string | ||
| 100 | - ] | ||
| 101 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; | ||
| 102 | - sp:predicate rdf:type ; | ||
| 103 | - sp:subject | ||
| 104 | - [ sp:varName "annualProductionOperationToDate"^^xsd:string | ||
| 105 | - ] | ||
| 106 | - ] [ sp:object | ||
| 107 | - [ sp:varName "workYearToDateRef"^^xsd:string | ||
| 108 | ] ; | 101 | ] ; |
| 109 | - sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ; | 102 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; |
| 110 | sp:subject | 103 | sp:subject |
| 111 | [ sp:varName "installationReportRef"^^xsd:string | 104 | [ sp:varName "installationReportRef"^^xsd:string |
| 112 | ] | 105 | ] |
| 113 | ] [ sp:object | 106 | ] [ sp:object |
| 114 | - [ sp:varName "realWorkYearToDate"^^xsd:string | 107 | + [ sp:varName "realWork"^^xsd:string |
| 115 | ] ; | 108 | ] ; |
| 116 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 109 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 117 | sp:subject | 110 | sp:subject |
| 118 | - [ sp:varName "workYearToDateRef"^^xsd:string | 111 | + [ sp:varName "workRef"^^xsd:string |
| 119 | ] | 112 | ] |
| 120 | ] [ sp:object | 113 | ] [ sp:object |
| 121 | - [ sp:varName "uomWorkYearToDate"^^xsd:string | 114 | + [ sp:varName "uomWork"^^xsd:string |
| 122 | ] ; | 115 | ] ; |
| 123 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 116 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
| 124 | sp:subject | 117 | sp:subject |
| 125 | - [ sp:varName "workYearToDateRef"^^xsd:string | 118 | + [ sp:varName "workRef"^^xsd:string |
| 126 | ] | 119 | ] |
| 127 | ] [ rdf:type sp:Bind ; | 120 | ] [ rdf:type sp:Bind ; |
| 128 | sp:expression | 121 | sp:expression |
| 129 | [ rdf:type ep-mpr-spin-lib:selectDurationScale ; | 122 | [ rdf:type ep-mpr-spin-lib:selectDurationScale ; |
| 130 | - sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string | 123 | + sp:arg1 [ sp:varName "uomWork"^^xsd:string |
| 131 | ] | 124 | ] |
| 132 | ] ; | 125 | ] ; |
| 133 | sp:variable | 126 | sp:variable |
| 134 | - [ sp:varName "workYearToDateScale"^^xsd:string | 127 | + [ sp:varName "workScale"^^xsd:string |
| 135 | ] | 128 | ] |
| 136 | ]) | 129 | ]) |
| 137 | ] ; | 130 | ] ; |
| 138 | spin:rule | 131 | spin:rule |
| 139 | [ rdf:type sp:Construct ; | 132 | [ rdf:type sp:Construct ; |
| 140 | - rdfs:comment "STEP 40100 Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility and number of beds"^^xsd:string ; | 133 | + rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ; |
| 141 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationInstallationReport> ; | 134 | + sp:templates ([ sp:object _:b2 ; |
| 135 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; | ||
| 136 | + sp:subject | ||
| 137 | + [ sp:varName "monthlyProductionOperationToDate"^^xsd:string | ||
| 138 | + ] | ||
| 139 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | ||
| 142 | sp:predicate rdf:type ; | 140 | sp:predicate rdf:type ; |
| 143 | sp:subject _:b2 | 141 | sp:subject _:b2 |
| 144 | ] [ sp:object | 142 | ] [ sp:object |
| 145 | - [ sp:varName "productionOperationReport"^^xsd:string | 143 | + [ sp:varName "realWorkMonthToDate"^^xsd:string |
| 146 | ] ; | 144 | ] ; |
| 147 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 145 | + sp:predicate |
| 148 | - sp:subject _:b2 | 146 | + [ sp:varName "workMonthToDateScale"^^xsd:string |
| 149 | - ] [ sp:object | ||
| 150 | - [ sp:varName "installationReportRef"^^xsd:string | ||
| 151 | ] ; | 147 | ] ; |
| 152 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 153 | sp:subject _:b2 | 148 | sp:subject _:b2 |
| 154 | - ] [ sp:object _:b3 ; | ||
| 155 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 156 | - sp:subject _:b2 | ||
| 157 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
| 158 | - sp:predicate rdf:type ; | ||
| 159 | - sp:subject _:b3 | ||
| 160 | - ] [ sp:object | ||
| 161 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 162 | - ] ; | ||
| 163 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 164 | - sp:subject _:b3 | ||
| 165 | - ] [ sp:object | ||
| 166 | - [ sp:varName "installationReportRef"^^xsd:string | ||
| 167 | - ] ; | ||
| 168 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 169 | - sp:subject _:b3 | ||
| 170 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | ||
| 171 | - sp:predicate rdf:type ; | ||
| 172 | - sp:subject _:b4 | ||
| 173 | - ] [ sp:object _:b3 ; | ||
| 174 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | ||
| 175 | - sp:subject _:b4 | ||
| 176 | - ] [ sp:object _:b5 ; | ||
| 177 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 178 | - sp:subject _:b4 | ||
| 179 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; | ||
| 180 | - sp:predicate rdf:type ; | ||
| 181 | - sp:subject _:b5 | ||
| 182 | - ] [ sp:object _:b6 ; | ||
| 183 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 184 | - sp:subject _:b4 | ||
| 185 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; | ||
| 186 | - sp:predicate rdf:type ; | ||
| 187 | - sp:subject _:b6 | ||
| 188 | - ] [ sp:object | ||
| 189 | - [ sp:varName "bedsAvailable"^^xsd:string | ||
| 190 | - ] ; | ||
| 191 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ; | ||
| 192 | - sp:subject _:b3 | ||
| 193 | ]) ; | 149 | ]) ; |
| 194 | sp:where ([ sp:object spin:_this ; | 150 | sp:where ([ sp:object spin:_this ; |
| 195 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 151 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| ... | @@ -225,77 +181,92 @@ | ... | @@ -225,77 +181,92 @@ |
| 225 | sp:subject | 181 | sp:subject |
| 226 | [ sp:varName "productionOperationRef"^^xsd:string | 182 | [ sp:varName "productionOperationRef"^^xsd:string |
| 227 | ] | 183 | ] |
| 228 | - ] [ rdf:type sp:Optional ; | 184 | + ] [ sp:object |
| 229 | - sp:elements ([ sp:object | 185 | + [ sp:varName "installationReportRef"^^xsd:string |
| 230 | - [ sp:varName "installationRef"^^xsd:string | ||
| 231 | ] ; | 186 | ] ; |
| 232 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | 187 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 233 | sp:subject | 188 | sp:subject |
| 234 | - [ sp:varName "installationReportRef"^^xsd:string | 189 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 190 | + ] | ||
| 191 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
| 192 | + sp:predicate rdf:type ; | ||
| 193 | + sp:subject | ||
| 194 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
| 195 | + ] | ||
| 196 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | ||
| 197 | + sp:predicate rdf:type ; | ||
| 198 | + sp:subject | ||
| 199 | + [ sp:varName "productionOperation"^^xsd:string | ||
| 235 | ] | 200 | ] |
| 236 | ] [ sp:object | 201 | ] [ sp:object |
| 237 | - [ sp:varName "installationRef"^^xsd:string | 202 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 238 | ] ; | 203 | ] ; |
| 239 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 204 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; |
| 240 | sp:subject | 205 | sp:subject |
| 241 | - [ sp:varName "productionFacility"^^xsd:string | 206 | + [ sp:varName "productionOperation"^^xsd:string |
| 242 | ] | 207 | ] |
| 243 | - ]) | 208 | + ] [ sp:object |
| 244 | - ] [ rdf:type sp:Optional ; | 209 | + [ sp:varName "monthlyProductionOperationToDate"^^xsd:string |
| 245 | - sp:elements ([ sp:object | ||
| 246 | - [ sp:varName "bedsAvailable"^^xsd:string | ||
| 247 | ] ; | 210 | ] ; |
| 248 | - sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ; | 211 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 249 | sp:subject | 212 | sp:subject |
| 250 | - [ sp:varName "installationReportRef"^^xsd:string | 213 | + [ sp:varName "productionOperation"^^xsd:string |
| 251 | ] | 214 | ] |
| 252 | - ]) | 215 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; |
| 253 | - ] [ rdf:type sp:Optional ; | 216 | + sp:predicate rdf:type ; |
| 254 | - sp:elements ([ sp:object | 217 | + sp:subject |
| 255 | - [ sp:varName "workRef"^^xsd:string | 218 | + [ sp:varName "monthlyProductionOperationToDate"^^xsd:string |
| 219 | + ] | ||
| 220 | + ] [ sp:object | ||
| 221 | + [ sp:varName "workMonthToDateRef"^^xsd:string | ||
| 256 | ] ; | 222 | ] ; |
| 257 | - sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | 223 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ; |
| 258 | sp:subject | 224 | sp:subject |
| 259 | [ sp:varName "installationReportRef"^^xsd:string | 225 | [ sp:varName "installationReportRef"^^xsd:string |
| 260 | ] | 226 | ] |
| 261 | ] [ sp:object | 227 | ] [ sp:object |
| 262 | - [ sp:varName "realWork"^^xsd:string | 228 | + [ sp:varName "realWorkMonthToDate"^^xsd:string |
| 263 | ] ; | 229 | ] ; |
| 264 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 230 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 265 | sp:subject | 231 | sp:subject |
| 266 | - [ sp:varName "workRef"^^xsd:string | 232 | + [ sp:varName "workMonthToDateRef"^^xsd:string |
| 267 | ] | 233 | ] |
| 268 | ] [ sp:object | 234 | ] [ sp:object |
| 269 | - [ sp:varName "uomWork"^^xsd:string | 235 | + [ sp:varName "uomWorkMonthToDate"^^xsd:string |
| 270 | ] ; | 236 | ] ; |
| 271 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 237 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
| 272 | sp:subject | 238 | sp:subject |
| 273 | - [ sp:varName "workRef"^^xsd:string | 239 | + [ sp:varName "workMonthToDateRef"^^xsd:string |
| 240 | + ] | ||
| 241 | + ] [ rdf:type sp:Bind ; | ||
| 242 | + sp:expression | ||
| 243 | + [ rdf:type ep-mpr-spin-lib:selectDurationScale ; | ||
| 244 | + sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string | ||
| 245 | + ] | ||
| 246 | + ] ; | ||
| 247 | + sp:variable | ||
| 248 | + [ sp:varName "workMonthToDateScale"^^xsd:string | ||
| 274 | ] | 249 | ] |
| 275 | - ]) | ||
| 276 | ]) | 250 | ]) |
| 277 | ] ; | 251 | ] ; |
| 278 | spin:rule | 252 | spin:rule |
| 279 | [ rdf:type sp:Construct ; | 253 | [ rdf:type sp:Construct ; |
| 280 | - rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ; | 254 | + rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ; |
| 281 | - sp:templates ([ sp:object _:b7 ; | 255 | + sp:templates ([ sp:object _:b3 ; |
| 282 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#hasCrew> ; | 256 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; |
| 283 | sp:subject | 257 | sp:subject |
| 284 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 258 | + [ sp:varName "annualProductionOperationToDate"^^xsd:string |
| 285 | ] | 259 | ] |
| 286 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Crew> ; | 260 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; |
| 287 | sp:predicate rdf:type ; | 261 | sp:predicate rdf:type ; |
| 288 | - sp:subject _:b7 | 262 | + sp:subject _:b3 |
| 289 | ] [ sp:object | 263 | ] [ sp:object |
| 290 | - [ sp:varName "crewType"^^xsd:string | 264 | + [ sp:varName "realWorkYearToDate"^^xsd:string |
| 291 | ] ; | 265 | ] ; |
| 292 | - sp:predicate rdf:type ; | 266 | + sp:predicate |
| 293 | - sp:subject _:b7 | 267 | + [ sp:varName "workYearToDateScale"^^xsd:string |
| 294 | - ] [ sp:object | ||
| 295 | - [ sp:varName "crewCount"^^xsd:string | ||
| 296 | ] ; | 268 | ] ; |
| 297 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#numberInCrew> ; | 269 | + sp:subject _:b3 |
| 298 | - sp:subject _:b7 | ||
| 299 | ]) ; | 270 | ]) ; |
| 300 | sp:where ([ sp:object spin:_this ; | 271 | sp:where ([ sp:object spin:_this ; |
| 301 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 272 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| ... | @@ -338,56 +309,122 @@ | ... | @@ -338,56 +309,122 @@ |
| 338 | sp:subject | 309 | sp:subject |
| 339 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 310 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 340 | ] | 311 | ] |
| 312 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
| 313 | + sp:predicate rdf:type ; | ||
| 314 | + sp:subject | ||
| 315 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
| 316 | + ] | ||
| 317 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | ||
| 318 | + sp:predicate rdf:type ; | ||
| 319 | + sp:subject | ||
| 320 | + [ sp:varName "productionOperation"^^xsd:string | ||
| 321 | + ] | ||
| 341 | ] [ sp:object | 322 | ] [ sp:object |
| 342 | - [ sp:varName "crewCountRef"^^xsd:string | 323 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 343 | ] ; | 324 | ] ; |
| 344 | - sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ; | 325 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; |
| 326 | + sp:subject | ||
| 327 | + [ sp:varName "productionOperation"^^xsd:string | ||
| 328 | + ] | ||
| 329 | + ] [ sp:object | ||
| 330 | + [ sp:varName "annualProductionOperationToDate"^^xsd:string | ||
| 331 | + ] ; | ||
| 332 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 333 | + sp:subject | ||
| 334 | + [ sp:varName "productionOperation"^^xsd:string | ||
| 335 | + ] | ||
| 336 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; | ||
| 337 | + sp:predicate rdf:type ; | ||
| 338 | + sp:subject | ||
| 339 | + [ sp:varName "annualProductionOperationToDate"^^xsd:string | ||
| 340 | + ] | ||
| 341 | + ] [ sp:object | ||
| 342 | + [ sp:varName "workYearToDateRef"^^xsd:string | ||
| 343 | + ] ; | ||
| 344 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ; | ||
| 345 | sp:subject | 345 | sp:subject |
| 346 | [ sp:varName "installationReportRef"^^xsd:string | 346 | [ sp:varName "installationReportRef"^^xsd:string |
| 347 | ] | 347 | ] |
| 348 | ] [ sp:object | 348 | ] [ sp:object |
| 349 | - [ sp:varName "crewCount"^^xsd:string | 349 | + [ sp:varName "realWorkYearToDate"^^xsd:string |
| 350 | ] ; | 350 | ] ; |
| 351 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 351 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 352 | sp:subject | 352 | sp:subject |
| 353 | - [ sp:varName "crewCountRef"^^xsd:string | 353 | + [ sp:varName "workYearToDateRef"^^xsd:string |
| 354 | ] | 354 | ] |
| 355 | ] [ sp:object | 355 | ] [ sp:object |
| 356 | - [ sp:varName "typeRef"^^xsd:string | 356 | + [ sp:varName "uomWorkYearToDate"^^xsd:string |
| 357 | ] ; | 357 | ] ; |
| 358 | - sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ; | 358 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
| 359 | sp:subject | 359 | sp:subject |
| 360 | - [ sp:varName "crewCountRef"^^xsd:string | 360 | + [ sp:varName "workYearToDateRef"^^xsd:string |
| 361 | ] | 361 | ] |
| 362 | ] [ rdf:type sp:Bind ; | 362 | ] [ rdf:type sp:Bind ; |
| 363 | sp:expression | 363 | sp:expression |
| 364 | - [ rdf:type ep-mpr-spin-lib:selectCrewType ; | 364 | + [ rdf:type ep-mpr-spin-lib:selectDurationScale ; |
| 365 | - sp:arg1 [ sp:varName "typeRef"^^xsd:string | 365 | + sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string |
| 366 | ] | 366 | ] |
| 367 | ] ; | 367 | ] ; |
| 368 | sp:variable | 368 | sp:variable |
| 369 | - [ sp:varName "crewType"^^xsd:string | 369 | + [ sp:varName "workYearToDateScale"^^xsd:string |
| 370 | ] | 370 | ] |
| 371 | ]) | 371 | ]) |
| 372 | ] ; | 372 | ] ; |
| 373 | spin:rule | 373 | spin:rule |
| 374 | [ rdf:type sp:Construct ; | 374 | [ rdf:type sp:Construct ; |
| 375 | - rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ; | 375 | + rdfs:comment "STEP 40100 Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility and number of beds"^^xsd:string ; |
| 376 | - sp:templates ([ sp:object _:b8 ; | 376 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionOperationInstallationReport> ; |
| 377 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; | ||
| 378 | - sp:subject | ||
| 379 | - [ sp:varName "productionOperation"^^xsd:string | ||
| 380 | - ] | ||
| 381 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | ||
| 382 | sp:predicate rdf:type ; | 377 | sp:predicate rdf:type ; |
| 383 | - sp:subject _:b8 | 378 | + sp:subject _:b4 |
| 384 | ] [ sp:object | 379 | ] [ sp:object |
| 385 | - [ sp:varName "realWork"^^xsd:string | 380 | + [ sp:varName "productionOperationReport"^^xsd:string |
| 386 | ] ; | 381 | ] ; |
| 387 | - sp:predicate | 382 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
| 388 | - [ sp:varName "workScale"^^xsd:string | 383 | + sp:subject _:b4 |
| 384 | + ] [ sp:object | ||
| 385 | + [ sp:varName "installationReportRef"^^xsd:string | ||
| 386 | + ] ; | ||
| 387 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 388 | + sp:subject _:b4 | ||
| 389 | + ] [ sp:object _:b5 ; | ||
| 390 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 391 | + sp:subject _:b4 | ||
| 392 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
| 393 | + sp:predicate rdf:type ; | ||
| 394 | + sp:subject _:b5 | ||
| 395 | + ] [ sp:object | ||
| 396 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 389 | ] ; | 397 | ] ; |
| 398 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 399 | + sp:subject _:b5 | ||
| 400 | + ] [ sp:object | ||
| 401 | + [ sp:varName "installationReportRef"^^xsd:string | ||
| 402 | + ] ; | ||
| 403 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 404 | + sp:subject _:b5 | ||
| 405 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | ||
| 406 | + sp:predicate rdf:type ; | ||
| 407 | + sp:subject _:b6 | ||
| 408 | + ] [ sp:object _:b5 ; | ||
| 409 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | ||
| 410 | + sp:subject _:b6 | ||
| 411 | + ] [ sp:object _:b7 ; | ||
| 412 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 413 | + sp:subject _:b6 | ||
| 414 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; | ||
| 415 | + sp:predicate rdf:type ; | ||
| 416 | + sp:subject _:b7 | ||
| 417 | + ] [ sp:object _:b8 ; | ||
| 418 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 419 | + sp:subject _:b6 | ||
| 420 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; | ||
| 421 | + sp:predicate rdf:type ; | ||
| 390 | sp:subject _:b8 | 422 | sp:subject _:b8 |
| 423 | + ] [ sp:object | ||
| 424 | + [ sp:varName "bedsAvailable"^^xsd:string | ||
| 425 | + ] ; | ||
| 426 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ; | ||
| 427 | + sp:subject _:b5 | ||
| 391 | ]) ; | 428 | ]) ; |
| 392 | sp:where ([ sp:object spin:_this ; | 429 | sp:where ([ sp:object spin:_this ; |
| 393 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 430 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| ... | @@ -423,26 +460,33 @@ | ... | @@ -423,26 +460,33 @@ |
| 423 | sp:subject | 460 | sp:subject |
| 424 | [ sp:varName "productionOperationRef"^^xsd:string | 461 | [ sp:varName "productionOperationRef"^^xsd:string |
| 425 | ] | 462 | ] |
| 426 | - ] [ sp:object | 463 | + ] [ rdf:type sp:Optional ; |
| 427 | - [ sp:varName "installationReportRef"^^xsd:string | 464 | + sp:elements ([ sp:object |
| 465 | + [ sp:varName "installationRef"^^xsd:string | ||
| 428 | ] ; | 466 | ] ; |
| 429 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 467 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; |
| 430 | sp:subject | 468 | sp:subject |
| 431 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 469 | + [ sp:varName "installationReportRef"^^xsd:string |
| 432 | ] | 470 | ] |
| 433 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | 471 | + ] [ sp:object |
| 434 | - sp:predicate rdf:type ; | 472 | + [ sp:varName "installationRef"^^xsd:string |
| 473 | + ] ; | ||
| 474 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 435 | sp:subject | 475 | sp:subject |
| 436 | - [ sp:varName "productionOperation"^^xsd:string | 476 | + [ sp:varName "productionFacility"^^xsd:string |
| 437 | ] | 477 | ] |
| 438 | - ] [ sp:object | 478 | + ]) |
| 439 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 479 | + ] [ rdf:type sp:Optional ; |
| 480 | + sp:elements ([ sp:object | ||
| 481 | + [ sp:varName "bedsAvailable"^^xsd:string | ||
| 440 | ] ; | 482 | ] ; |
| 441 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | 483 | + sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ; |
| 442 | sp:subject | 484 | sp:subject |
| 443 | - [ sp:varName "productionOperation"^^xsd:string | 485 | + [ sp:varName "installationReportRef"^^xsd:string |
| 444 | ] | 486 | ] |
| 445 | - ] [ sp:object | 487 | + ]) |
| 488 | + ] [ rdf:type sp:Optional ; | ||
| 489 | + sp:elements ([ sp:object | ||
| 446 | [ sp:varName "workRef"^^xsd:string | 490 | [ sp:varName "workRef"^^xsd:string |
| 447 | ] ; | 491 | ] ; |
| 448 | sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | 492 | sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; |
| ... | @@ -463,34 +507,29 @@ | ... | @@ -463,34 +507,29 @@ |
| 463 | sp:subject | 507 | sp:subject |
| 464 | [ sp:varName "workRef"^^xsd:string | 508 | [ sp:varName "workRef"^^xsd:string |
| 465 | ] | 509 | ] |
| 466 | - ] [ rdf:type sp:Bind ; | 510 | + ]) |
| 467 | - sp:expression | ||
| 468 | - [ rdf:type ep-mpr-spin-lib:selectDurationScale ; | ||
| 469 | - sp:arg1 [ sp:varName "uomWork"^^xsd:string | ||
| 470 | - ] | ||
| 471 | - ] ; | ||
| 472 | - sp:variable | ||
| 473 | - [ sp:varName "workScale"^^xsd:string | ||
| 474 | - ] | ||
| 475 | ]) | 511 | ]) |
| 476 | ] ; | 512 | ] ; |
| 477 | spin:rule | 513 | spin:rule |
| 478 | [ rdf:type sp:Construct ; | 514 | [ rdf:type sp:Construct ; |
| 479 | - rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ; | 515 | + rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ; |
| 480 | sp:templates ([ sp:object _:b9 ; | 516 | sp:templates ([ sp:object _:b9 ; |
| 481 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; | 517 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#hasCrew> ; |
| 482 | sp:subject | 518 | sp:subject |
| 483 | - [ sp:varName "monthlyProductionOperationToDate"^^xsd:string | 519 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 484 | ] | 520 | ] |
| 485 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | 521 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-organization#Crew> ; |
| 486 | sp:predicate rdf:type ; | 522 | sp:predicate rdf:type ; |
| 487 | sp:subject _:b9 | 523 | sp:subject _:b9 |
| 488 | ] [ sp:object | 524 | ] [ sp:object |
| 489 | - [ sp:varName "realWorkMonthToDate"^^xsd:string | 525 | + [ sp:varName "crewType"^^xsd:string |
| 490 | ] ; | 526 | ] ; |
| 491 | - sp:predicate | 527 | + sp:predicate rdf:type ; |
| 492 | - [ sp:varName "workMonthToDateScale"^^xsd:string | 528 | + sp:subject _:b9 |
| 529 | + ] [ sp:object | ||
| 530 | + [ sp:varName "crewCount"^^xsd:string | ||
| 493 | ] ; | 531 | ] ; |
| 532 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-organization#numberInCrew> ; | ||
| 494 | sp:subject _:b9 | 533 | sp:subject _:b9 |
| 495 | ]) ; | 534 | ]) ; |
| 496 | sp:where ([ sp:object spin:_this ; | 535 | sp:where ([ sp:object spin:_this ; |
| ... | @@ -534,64 +573,45 @@ | ... | @@ -534,64 +573,45 @@ |
| 534 | sp:subject | 573 | sp:subject |
| 535 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 574 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 536 | ] | 575 | ] |
| 537 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | 576 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
| 538 | sp:predicate rdf:type ; | 577 | sp:predicate rdf:type ; |
| 539 | sp:subject | 578 | sp:subject |
| 540 | - [ sp:varName "productionOperation"^^xsd:string | ||
| 541 | - ] | ||
| 542 | - ] [ sp:object | ||
| 543 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 579 | [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 544 | - ] ; | ||
| 545 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | ||
| 546 | - sp:subject | ||
| 547 | - [ sp:varName "productionOperation"^^xsd:string | ||
| 548 | - ] | ||
| 549 | - ] [ sp:object | ||
| 550 | - [ sp:varName "monthlyProductionOperationToDate"^^xsd:string | ||
| 551 | - ] ; | ||
| 552 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 553 | - sp:subject | ||
| 554 | - [ sp:varName "productionOperation"^^xsd:string | ||
| 555 | - ] | ||
| 556 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; | ||
| 557 | - sp:predicate rdf:type ; | ||
| 558 | - sp:subject | ||
| 559 | - [ sp:varName "monthlyProductionOperationToDate"^^xsd:string | ||
| 560 | ] | 580 | ] |
| 561 | ] [ sp:object | 581 | ] [ sp:object |
| 562 | - [ sp:varName "workMonthToDateRef"^^xsd:string | 582 | + [ sp:varName "crewCountRef"^^xsd:string |
| 563 | ] ; | 583 | ] ; |
| 564 | - sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ; | 584 | + sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ; |
| 565 | sp:subject | 585 | sp:subject |
| 566 | [ sp:varName "installationReportRef"^^xsd:string | 586 | [ sp:varName "installationReportRef"^^xsd:string |
| 567 | ] | 587 | ] |
| 568 | ] [ sp:object | 588 | ] [ sp:object |
| 569 | - [ sp:varName "realWorkMonthToDate"^^xsd:string | 589 | + [ sp:varName "crewCount"^^xsd:string |
| 570 | ] ; | 590 | ] ; |
| 571 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 591 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 572 | sp:subject | 592 | sp:subject |
| 573 | - [ sp:varName "workMonthToDateRef"^^xsd:string | 593 | + [ sp:varName "crewCountRef"^^xsd:string |
| 574 | ] | 594 | ] |
| 575 | ] [ sp:object | 595 | ] [ sp:object |
| 576 | - [ sp:varName "uomWorkMonthToDate"^^xsd:string | 596 | + [ sp:varName "typeRef"^^xsd:string |
| 577 | ] ; | 597 | ] ; |
| 578 | - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 598 | + sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ; |
| 579 | sp:subject | 599 | sp:subject |
| 580 | - [ sp:varName "workMonthToDateRef"^^xsd:string | 600 | + [ sp:varName "crewCountRef"^^xsd:string |
| 581 | ] | 601 | ] |
| 582 | ] [ rdf:type sp:Bind ; | 602 | ] [ rdf:type sp:Bind ; |
| 583 | sp:expression | 603 | sp:expression |
| 584 | - [ rdf:type ep-mpr-spin-lib:selectDurationScale ; | 604 | + [ rdf:type ep-mpr-spin-lib:selectCrewType ; |
| 585 | - sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string | 605 | + sp:arg1 [ sp:varName "typeRef"^^xsd:string |
| 586 | ] | 606 | ] |
| 587 | ] ; | 607 | ] ; |
| 588 | sp:variable | 608 | sp:variable |
| 589 | - [ sp:varName "workMonthToDateScale"^^xsd:string | 609 | + [ sp:varName "crewType"^^xsd:string |
| 590 | ] | 610 | ] |
| 591 | ]) | 611 | ]) |
| 592 | ] . | 612 | ] . |
| 593 | 613 | ||
| 594 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> | 614 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> |
| 595 | rdf:type owl:Ontology ; | 615 | rdf:type owl:Ontology ; |
| 596 | - owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; | 616 | + owl:imports <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/mpr/spin/1.1/lib> ; |
| 597 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 617 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| ... | @@ -21,8 +21,8 @@ | ... | @@ -21,8 +21,8 @@ |
| 21 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 21 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
| 22 | spin:rule | 22 | spin:rule |
| 23 | [ rdf:type sp:Construct ; | 23 | [ rdf:type sp:Construct ; |
| 24 | - rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ; | 24 | + rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ; |
| 25 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ; | 25 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ; |
| 26 | sp:predicate rdf:type ; | 26 | sp:predicate rdf:type ; |
| 27 | sp:subject _:b1 | 27 | sp:subject _:b1 |
| 28 | ] [ sp:object | 28 | ] [ sp:object |
| ... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
| 31 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 31 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
| 32 | sp:subject _:b1 | 32 | sp:subject _:b1 |
| 33 | ] [ sp:object | 33 | ] [ sp:object |
| 34 | - [ sp:varName "lostProductionRef"^^xsd:string | 34 | + [ sp:varName "lostInjectionRef"^^xsd:string |
| 35 | ] ; | 35 | ] ; |
| 36 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 36 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 37 | sp:subject _:b1 | 37 | sp:subject _:b1 |
| ... | @@ -99,9 +99,9 @@ | ... | @@ -99,9 +99,9 @@ |
| 99 | [ sp:varName "installationReportRef"^^xsd:string | 99 | [ sp:varName "installationReportRef"^^xsd:string |
| 100 | ] | 100 | ] |
| 101 | ] [ sp:object | 101 | ] [ sp:object |
| 102 | - [ sp:varName "lostProductionRef"^^xsd:string | 102 | + [ sp:varName "lostInjectionRef"^^xsd:string |
| 103 | ] ; | 103 | ] ; |
| 104 | - sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ; | 104 | + sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ; |
| 105 | sp:subject | 105 | sp:subject |
| 106 | [ sp:varName "productionActivityRef"^^xsd:string | 106 | [ sp:varName "productionActivityRef"^^xsd:string |
| 107 | ] | 107 | ] |
| ... | @@ -190,8 +190,8 @@ | ... | @@ -190,8 +190,8 @@ |
| 190 | ] ; | 190 | ] ; |
| 191 | spin:rule | 191 | spin:rule |
| 192 | [ rdf:type sp:Construct ; | 192 | [ rdf:type sp:Construct ; |
| 193 | - rdfs:comment "STEP 40202 Create the ProductionOperationInjection activity"^^xsd:string ; | 193 | + rdfs:comment "STEP 40201 Create the ProductionOperationProduction activity"^^xsd:string ; |
| 194 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationInjection> ; | 194 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationProduction> ; |
| 195 | sp:predicate rdf:type ; | 195 | sp:predicate rdf:type ; |
| 196 | sp:subject _:b3 | 196 | sp:subject _:b3 |
| 197 | ] [ sp:object | 197 | ] [ sp:object |
| ... | @@ -268,9 +268,9 @@ | ... | @@ -268,9 +268,9 @@ |
| 268 | [ sp:varName "installationReportRef"^^xsd:string | 268 | [ sp:varName "installationReportRef"^^xsd:string |
| 269 | ] | 269 | ] |
| 270 | ] [ sp:object | 270 | ] [ sp:object |
| 271 | - [ sp:varName "lostInjectionRef"^^xsd:string | 271 | + [ sp:varName "lostProductionRef"^^xsd:string |
| 272 | ] ; | 272 | ] ; |
| 273 | - sp:predicate <http://www.epim.no/schemas/mprml/1#lostInjectionRef> ; | 273 | + sp:predicate <http://www.epim.no/schemas/mprml/1#lostProductionRef> ; |
| 274 | sp:subject | 274 | sp:subject |
| 275 | [ sp:varName "productionActivityRef"^^xsd:string | 275 | [ sp:varName "productionActivityRef"^^xsd:string |
| 276 | ] | 276 | ] |
| ... | @@ -280,66 +280,76 @@ | ... | @@ -280,66 +280,76 @@ |
| 280 | <http://www.epim.no/schemas/mprml/1#Cs_productionOperationLostProduction> | 280 | <http://www.epim.no/schemas/mprml/1#Cs_productionOperationLostProduction> |
| 281 | spin:rule | 281 | spin:rule |
| 282 | [ rdf:type sp:Construct ; | 282 | [ rdf:type sp:Construct ; |
| 283 | - rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ; | 283 | + rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ; |
| 284 | - sp:templates ([ sp:object _:b4 ; | 284 | + sp:templates ([ sp:object |
| 285 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; | 285 | + [ sp:varName "reasonForLossOfProcessingType"^^xsd:string |
| 286 | - sp:subject | 286 | + ] ; |
| 287 | - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | ||
| 288 | - ] | ||
| 289 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ; | ||
| 290 | sp:predicate rdf:type ; | 287 | sp:predicate rdf:type ; |
| 291 | sp:subject _:b4 | 288 | sp:subject _:b4 |
| 289 | + ] [ sp:object | ||
| 290 | + [ sp:varName "productionOperationProcessing"^^xsd:string | ||
| 291 | + ] ; | ||
| 292 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 293 | + sp:subject _:b4 | ||
| 292 | ] [ sp:object _:b5 ; | 294 | ] [ sp:object _:b5 ; |
| 293 | - sp:predicate rdf:type ; | 295 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; |
| 294 | sp:subject _:b4 | 296 | sp:subject _:b4 |
| 295 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 297 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; |
| 298 | + sp:predicate rdf:type ; | ||
| 299 | + sp:subject _:b5 | ||
| 300 | + ] [ sp:object _:b6 ; | ||
| 296 | sp:predicate rdf:type ; | 301 | sp:predicate rdf:type ; |
| 297 | sp:subject _:b5 | 302 | sp:subject _:b5 |
| 303 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
| 304 | + sp:predicate rdf:type ; | ||
| 305 | + sp:subject _:b6 | ||
| 298 | ] [ sp:object | 306 | ] [ sp:object |
| 299 | [ sp:varName "realVolume"^^xsd:string | 307 | [ sp:varName "realVolume"^^xsd:string |
| 300 | ] ; | 308 | ] ; |
| 301 | sp:predicate | 309 | sp:predicate |
| 302 | [ sp:varName "volumeScale"^^xsd:string | 310 | [ sp:varName "volumeScale"^^xsd:string |
| 303 | ] ; | 311 | ] ; |
| 304 | - sp:subject _:b5 | 312 | + sp:subject _:b6 |
| 305 | ]) ; | 313 | ]) ; |
| 306 | - sp:where ([ sp:object | 314 | + sp:where ([ sp:object spin:_this ; |
| 307 | - [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 308 | - ] ; | ||
| 309 | - sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ; | ||
| 310 | - sp:subject spin:_this | ||
| 311 | - ] [ sp:object | ||
| 312 | - [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 313 | - ] ; | ||
| 314 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 315 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 315 | sp:subject | 316 | sp:subject |
| 316 | - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | 317 | + [ sp:varName "productionOperationProcessing"^^xsd:string |
| 317 | - ] | ||
| 318 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; | ||
| 319 | - sp:predicate rdf:type ; | ||
| 320 | - sp:subject | ||
| 321 | - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | ||
| 322 | ] | 318 | ] |
| 323 | ] [ sp:object | 319 | ] [ sp:object |
| 324 | - [ sp:varName "gasStdTempPresRef"^^xsd:string | 320 | + [ sp:varName "volumeAndReasonRef"^^xsd:string |
| 325 | ] ; | 321 | ] ; |
| 326 | - sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ; | 322 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ; |
| 327 | - sp:subject | 323 | + sp:subject spin:_this |
| 328 | - [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 329 | - ] | ||
| 330 | ] [ sp:object | 324 | ] [ sp:object |
| 331 | [ sp:varName "realVolume"^^xsd:string | 325 | [ sp:varName "realVolume"^^xsd:string |
| 332 | ] ; | 326 | ] ; |
| 333 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 327 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 334 | sp:subject | 328 | sp:subject |
| 335 | - [ sp:varName "gasStdTempPresRef"^^xsd:string | 329 | + [ sp:varName "volumeAndReasonRef"^^xsd:string |
| 336 | ] | 330 | ] |
| 337 | ] [ sp:object | 331 | ] [ sp:object |
| 338 | [ sp:varName "uomVolume"^^xsd:string | 332 | [ sp:varName "uomVolume"^^xsd:string |
| 339 | ] ; | 333 | ] ; |
| 340 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 334 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
| 341 | sp:subject | 335 | sp:subject |
| 342 | - [ sp:varName "gasStdTempPresRef"^^xsd:string | 336 | + [ sp:varName "volumeAndReasonRef"^^xsd:string |
| 337 | + ] | ||
| 338 | + ] [ sp:object | ||
| 339 | + [ sp:varName "reasonLostRef"^^xsd:string | ||
| 340 | + ] ; | ||
| 341 | + sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ; | ||
| 342 | + sp:subject | ||
| 343 | + [ sp:varName "volumeAndReasonRef"^^xsd:string | ||
| 344 | + ] | ||
| 345 | + ] [ rdf:type sp:Bind ; | ||
| 346 | + sp:expression | ||
| 347 | + [ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ; | ||
| 348 | + sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string | ||
| 349 | + ] | ||
| 350 | + ] ; | ||
| 351 | + sp:variable | ||
| 352 | + [ sp:varName "reasonForLossOfProcessingType"^^xsd:string | ||
| 343 | ] | 353 | ] |
| 344 | ] [ rdf:type sp:Bind ; | 354 | ] [ rdf:type sp:Bind ; |
| 345 | sp:expression | 355 | sp:expression |
| ... | @@ -354,76 +364,31 @@ | ... | @@ -354,76 +364,31 @@ |
| 354 | ] ; | 364 | ] ; |
| 355 | spin:rule | 365 | spin:rule |
| 356 | [ rdf:type sp:Construct ; | 366 | [ rdf:type sp:Construct ; |
| 357 | - rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ; | 367 | + rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ; |
| 358 | - sp:templates ([ sp:object _:b6 ; | 368 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; |
| 359 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; | ||
| 360 | - sp:subject | ||
| 361 | - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | ||
| 362 | - ] | ||
| 363 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ; | ||
| 364 | - sp:predicate rdf:type ; | ||
| 365 | - sp:subject _:b6 | ||
| 366 | - ] [ sp:object _:b7 ; | ||
| 367 | - sp:predicate rdf:type ; | ||
| 368 | - sp:subject _:b6 | ||
| 369 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
| 370 | sp:predicate rdf:type ; | 369 | sp:predicate rdf:type ; |
| 371 | sp:subject _:b7 | 370 | sp:subject _:b7 |
| 372 | ] [ sp:object | 371 | ] [ sp:object |
| 373 | - [ sp:varName "realVolume"^^xsd:string | 372 | + [ sp:varName "productionOperationProcessing"^^xsd:string |
| 374 | - ] ; | ||
| 375 | - sp:predicate | ||
| 376 | - [ sp:varName "volumeScale"^^xsd:string | ||
| 377 | ] ; | 373 | ] ; |
| 374 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 378 | sp:subject _:b7 | 375 | sp:subject _:b7 |
| 379 | - ]) ; | ||
| 380 | - sp:where ([ sp:object | ||
| 381 | - [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 382 | - ] ; | ||
| 383 | - sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ; | ||
| 384 | - sp:subject spin:_this | ||
| 385 | ] [ sp:object | 376 | ] [ sp:object |
| 386 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string | 377 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string |
| 387 | ] ; | 378 | ] ; |
| 388 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 379 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 380 | + sp:subject _:b7 | ||
| 381 | + ]) ; | ||
| 382 | + sp:where ([ sp:object spin:_this ; | ||
| 383 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 389 | sp:subject | 384 | sp:subject |
| 390 | - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | 385 | + [ sp:varName "productionOperationProcessing"^^xsd:string |
| 391 | - ] | ||
| 392 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; | ||
| 393 | - sp:predicate rdf:type ; | ||
| 394 | - sp:subject | ||
| 395 | - [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | ||
| 396 | ] | 386 | ] |
| 397 | ] [ sp:object | 387 | ] [ sp:object |
| 398 | - [ sp:varName "oilStdTempPresRef"^^xsd:string | ||
| 399 | - ] ; | ||
| 400 | - sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ; | ||
| 401 | - sp:subject | ||
| 402 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string | 388 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string |
| 403 | - ] | ||
| 404 | - ] [ sp:object | ||
| 405 | - [ sp:varName "realVolume"^^xsd:string | ||
| 406 | - ] ; | ||
| 407 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 408 | - sp:subject | ||
| 409 | - [ sp:varName "oilStdTempPresRef"^^xsd:string | ||
| 410 | - ] | ||
| 411 | - ] [ sp:object | ||
| 412 | - [ sp:varName "uomVolume"^^xsd:string | ||
| 413 | - ] ; | ||
| 414 | - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
| 415 | - sp:subject | ||
| 416 | - [ sp:varName "oilStdTempPresRef"^^xsd:string | ||
| 417 | - ] | ||
| 418 | - ] [ rdf:type sp:Bind ; | ||
| 419 | - sp:expression | ||
| 420 | - [ rdf:type ep-mpr-spin-lib:selectVolumeScale ; | ||
| 421 | - sp:arg1 [ sp:varName "uomVolume"^^xsd:string | ||
| 422 | - ] | ||
| 423 | ] ; | 389 | ] ; |
| 424 | - sp:variable | 390 | + sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ; |
| 425 | - [ sp:varName "volumeScale"^^xsd:string | 391 | + sp:subject spin:_this |
| 426 | - ] | ||
| 427 | ]) | 392 | ]) |
| 428 | ] ; | 393 | ] ; |
| 429 | spin:rule | 394 | spin:rule |
| ... | @@ -478,50 +443,87 @@ | ... | @@ -478,50 +443,87 @@ |
| 478 | ] ; | 443 | ] ; |
| 479 | spin:rule | 444 | spin:rule |
| 480 | [ rdf:type sp:Construct ; | 445 | [ rdf:type sp:Construct ; |
| 481 | - rdfs:comment "STEP 40292 Create the ProductionOperationProcessing - loss contributing third party processing"^^xsd:string ; | 446 | + rdfs:comment "STEP 40294 Create the ProductionOperationProcessing - loss contributing third party processing - add oil volume"^^xsd:string ; |
| 482 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; | 447 | + sp:templates ([ sp:object _:b9 ; |
| 448 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; | ||
| 449 | + sp:subject | ||
| 450 | + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | ||
| 451 | + ] | ||
| 452 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ; | ||
| 483 | sp:predicate rdf:type ; | 453 | sp:predicate rdf:type ; |
| 484 | sp:subject _:b9 | 454 | sp:subject _:b9 |
| 455 | + ] [ sp:object _:b10 ; | ||
| 456 | + sp:predicate rdf:type ; | ||
| 457 | + sp:subject _:b9 | ||
| 458 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
| 459 | + sp:predicate rdf:type ; | ||
| 460 | + sp:subject _:b10 | ||
| 485 | ] [ sp:object | 461 | ] [ sp:object |
| 486 | - [ sp:varName "productionOperationProcessing"^^xsd:string | 462 | + [ sp:varName "realVolume"^^xsd:string |
| 487 | ] ; | 463 | ] ; |
| 488 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 464 | + sp:predicate |
| 489 | - sp:subject _:b9 | 465 | + [ sp:varName "volumeScale"^^xsd:string |
| 466 | + ] ; | ||
| 467 | + sp:subject _:b10 | ||
| 468 | + ]) ; | ||
| 469 | + sp:where ([ sp:object | ||
| 470 | + [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 471 | + ] ; | ||
| 472 | + sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ; | ||
| 473 | + sp:subject spin:_this | ||
| 490 | ] [ sp:object | 474 | ] [ sp:object |
| 491 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string | 475 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string |
| 492 | ] ; | 476 | ] ; |
| 493 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 477 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 494 | - sp:subject _:b9 | ||
| 495 | - ]) ; | ||
| 496 | - sp:where ([ sp:object spin:_this ; | ||
| 497 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 498 | sp:subject | 478 | sp:subject |
| 499 | - [ sp:varName "productionOperationProcessing"^^xsd:string | 479 | + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string |
| 480 | + ] | ||
| 481 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; | ||
| 482 | + sp:predicate rdf:type ; | ||
| 483 | + sp:subject | ||
| 484 | + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | ||
| 500 | ] | 485 | ] |
| 501 | ] [ sp:object | 486 | ] [ sp:object |
| 487 | + [ sp:varName "oilStdTempPresRef"^^xsd:string | ||
| 488 | + ] ; | ||
| 489 | + sp:predicate <http://www.epim.no/schemas/mprml/1#oilStdTempPresRef> ; | ||
| 490 | + sp:subject | ||
| 502 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string | 491 | [ sp:varName "thirdPartyProcessingRef"^^xsd:string |
| 492 | + ] | ||
| 493 | + ] [ sp:object | ||
| 494 | + [ sp:varName "realVolume"^^xsd:string | ||
| 503 | ] ; | 495 | ] ; |
| 504 | - sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ; | 496 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 505 | - sp:subject spin:_this | 497 | + sp:subject |
| 498 | + [ sp:varName "oilStdTempPresRef"^^xsd:string | ||
| 499 | + ] | ||
| 500 | + ] [ sp:object | ||
| 501 | + [ sp:varName "uomVolume"^^xsd:string | ||
| 502 | + ] ; | ||
| 503 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | ||
| 504 | + sp:subject | ||
| 505 | + [ sp:varName "oilStdTempPresRef"^^xsd:string | ||
| 506 | + ] | ||
| 507 | + ] [ rdf:type sp:Bind ; | ||
| 508 | + sp:expression | ||
| 509 | + [ rdf:type ep-mpr-spin-lib:selectVolumeScale ; | ||
| 510 | + sp:arg1 [ sp:varName "uomVolume"^^xsd:string | ||
| 511 | + ] | ||
| 512 | + ] ; | ||
| 513 | + sp:variable | ||
| 514 | + [ sp:varName "volumeScale"^^xsd:string | ||
| 515 | + ] | ||
| 506 | ]) | 516 | ]) |
| 507 | ] ; | 517 | ] ; |
| 508 | spin:rule | 518 | spin:rule |
| 509 | [ rdf:type sp:Construct ; | 519 | [ rdf:type sp:Construct ; |
| 510 | - rdfs:comment "STEP 40291 Create the ProductionOperationProcessing - loss contributing activities"^^xsd:string ; | 520 | + rdfs:comment "STEP 40295 Create the ProductionOperationProcessing - loss contributing third party processing - add gas volume"^^xsd:string ; |
| 511 | - sp:templates ([ sp:object | 521 | + sp:templates ([ sp:object _:b11 ; |
| 512 | - [ sp:varName "reasonForLossOfProcessingType"^^xsd:string | ||
| 513 | - ] ; | ||
| 514 | - sp:predicate rdf:type ; | ||
| 515 | - sp:subject _:b10 | ||
| 516 | - ] [ sp:object | ||
| 517 | - [ sp:varName "productionOperationProcessing"^^xsd:string | ||
| 518 | - ] ; | ||
| 519 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 520 | - sp:subject _:b10 | ||
| 521 | - ] [ sp:object _:b11 ; | ||
| 522 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; | 522 | sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#processingLost> ; |
| 523 | - sp:subject _:b10 | 523 | + sp:subject |
| 524 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | 524 | + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string |
| 525 | + ] | ||
| 526 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ; | ||
| 525 | sp:predicate rdf:type ; | 527 | sp:predicate rdf:type ; |
| 526 | sp:subject _:b11 | 528 | sp:subject _:b11 |
| 527 | ] [ sp:object _:b12 ; | 529 | ] [ sp:object _:b12 ; |
| ... | @@ -538,45 +540,43 @@ | ... | @@ -538,45 +540,43 @@ |
| 538 | ] ; | 540 | ] ; |
| 539 | sp:subject _:b12 | 541 | sp:subject _:b12 |
| 540 | ]) ; | 542 | ]) ; |
| 541 | - sp:where ([ sp:object spin:_this ; | 543 | + sp:where ([ sp:object |
| 544 | + [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 545 | + ] ; | ||
| 546 | + sp:predicate <http://www.epim.no/schemas/mprml/1#thirdPartyProcessingRef> ; | ||
| 547 | + sp:subject spin:_this | ||
| 548 | + ] [ sp:object | ||
| 549 | + [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 550 | + ] ; | ||
| 542 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 551 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 543 | sp:subject | 552 | sp:subject |
| 544 | - [ sp:varName "productionOperationProcessing"^^xsd:string | 553 | + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string |
| 554 | + ] | ||
| 555 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ThirdPartyProcessingLoss> ; | ||
| 556 | + sp:predicate rdf:type ; | ||
| 557 | + sp:subject | ||
| 558 | + [ sp:varName "thirdPartyProcessingLoss"^^xsd:string | ||
| 545 | ] | 559 | ] |
| 546 | ] [ sp:object | 560 | ] [ sp:object |
| 547 | - [ sp:varName "volumeAndReasonRef"^^xsd:string | 561 | + [ sp:varName "gasStdTempPresRef"^^xsd:string |
| 548 | ] ; | 562 | ] ; |
| 549 | - sp:predicate <http://www.epim.no/schemas/mprml/1#volumeAndReasonRef> ; | 563 | + sp:predicate <http://www.epim.no/schemas/mprml/1#gasStdTempPresRef> ; |
| 550 | - sp:subject spin:_this | 564 | + sp:subject |
| 565 | + [ sp:varName "thirdPartyProcessingRef"^^xsd:string | ||
| 566 | + ] | ||
| 551 | ] [ sp:object | 567 | ] [ sp:object |
| 552 | [ sp:varName "realVolume"^^xsd:string | 568 | [ sp:varName "realVolume"^^xsd:string |
| 553 | ] ; | 569 | ] ; |
| 554 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 570 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 555 | sp:subject | 571 | sp:subject |
| 556 | - [ sp:varName "volumeAndReasonRef"^^xsd:string | 572 | + [ sp:varName "gasStdTempPresRef"^^xsd:string |
| 557 | ] | 573 | ] |
| 558 | ] [ sp:object | 574 | ] [ sp:object |
| 559 | [ sp:varName "uomVolume"^^xsd:string | 575 | [ sp:varName "uomVolume"^^xsd:string |
| 560 | ] ; | 576 | ] ; |
| 561 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 577 | sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
| 562 | sp:subject | 578 | sp:subject |
| 563 | - [ sp:varName "volumeAndReasonRef"^^xsd:string | 579 | + [ sp:varName "gasStdTempPresRef"^^xsd:string |
| 564 | - ] | ||
| 565 | - ] [ sp:object | ||
| 566 | - [ sp:varName "reasonLostRef"^^xsd:string | ||
| 567 | - ] ; | ||
| 568 | - sp:predicate <http://www.epim.no/schemas/mprml/1#reasonLostRef> ; | ||
| 569 | - sp:subject | ||
| 570 | - [ sp:varName "volumeAndReasonRef"^^xsd:string | ||
| 571 | - ] | ||
| 572 | - ] [ rdf:type sp:Bind ; | ||
| 573 | - sp:expression | ||
| 574 | - [ rdf:type ep-mpr-spin-lib:selectReasonForLossOfProcessingType ; | ||
| 575 | - sp:arg1 [ sp:varName "reasonLostRef"^^xsd:string | ||
| 576 | - ] | ||
| 577 | - ] ; | ||
| 578 | - sp:variable | ||
| 579 | - [ sp:varName "reasonForLossOfProcessingType"^^xsd:string | ||
| 580 | ] | 580 | ] |
| 581 | ] [ rdf:type sp:Bind ; | 581 | ] [ rdf:type sp:Bind ; |
| 582 | sp:expression | 582 | sp:expression |
| ... | @@ -592,5 +592,5 @@ | ... | @@ -592,5 +592,5 @@ |
| 592 | 592 | ||
| 593 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> | 593 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> |
| 594 | rdf:type owl:Ontology ; | 594 | rdf:type owl:Ontology ; |
| 595 | - owl:imports <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/mpr/spin/1.1/lib> ; | 595 | + owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; |
| 596 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 596 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| ... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
| 12 | </context> | 12 | </context> |
| 13 | <object xsi:type="obj_productionOperation"> | 13 | <object xsi:type="obj_productionOperation"> |
| 14 | <name>TRYM production operation</name> | 14 | <name>TRYM production operation</name> |
| 15 | - <installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation> | 15 | + <installation kind="well" namingSystem="NPD" uidRef="18081500">10/1-A-9</installation> |
| 16 | <contextFacility kind="field" namingSystem="NPD" uidRef="18081500">TRYM</contextFacility> | 16 | <contextFacility kind="field" namingSystem="NPD" uidRef="18081500">TRYM</contextFacility> |
| 17 | <kind>ReportKind</kind> | 17 | <kind>ReportKind</kind> |
| 18 | <periodKind>day</periodKind> | 18 | <periodKind>day</periodKind> |
| ... | @@ -26,5 +26,44 @@ | ... | @@ -26,5 +26,44 @@ |
| 26 | <geographicContext> | 26 | <geographicContext> |
| 27 | <comment>somewhere</comment> | 27 | <comment>somewhere</comment> |
| 28 | </geographicContext> | 28 | </geographicContext> |
| 29 | + <installationReport> | ||
| 30 | + <installation kind="processing facility" namingSystem="NPD" uidRef="18081500">STATFJORD A</installation> | ||
| 31 | + <bedsAvailable>100</bedsAvailable> | ||
| 32 | + <crewCount type="catering crew">10</crewCount> | ||
| 33 | + <crewCount type="contractor crew">20</crewCount> | ||
| 34 | + <work uom="h">100</work> | ||
| 35 | + <workMonthToDate uom="h">200</workMonthToDate> | ||
| 36 | + <workYearToDate uom="h">300</workYearToDate> | ||
| 37 | + <productionActivity> | ||
| 38 | + <lostProduction> | ||
| 39 | + <volumeAndReason uom="m3" reasonLost="preventive maint topside">1000</volumeAndReason> | ||
| 40 | + <volumeAndReason uom="m3" reasonLost="well planned operations">1100</volumeAndReason> | ||
| 41 | + <thirdPartyProcessing> | ||
| 42 | + <installation kind="processing facility" namingSystem="NPD" uidRef="18081500">SLEIPNER KONDENSATRØR</installation> | ||
| 43 | + <oilStdTempPres uom="m3">1200</oilStdTempPres> | ||
| 44 | + <gasStdTempPres uom="m3">1300</gasStdTempPres> | ||
| 45 | + </thirdPartyProcessing> | ||
| 46 | + <thirdPartyProcessing> | ||
| 47 | + <installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation> | ||
| 48 | + <oilStdTempPres uom="m3">1400</oilStdTempPres> | ||
| 49 | + <gasStdTempPres uom="m3">1500</gasStdTempPres> | ||
| 50 | + </thirdPartyProcessing> | ||
| 51 | + </lostProduction> | ||
| 52 | + <lostInjection> | ||
| 53 | + <volumeAndReason uom="m3" reasonLost="preventive maint topside">2000</volumeAndReason> | ||
| 54 | + <volumeAndReason uom="m3" reasonLost="well planned operations">2100</volumeAndReason> | ||
| 55 | + <thirdPartyProcessing> | ||
| 56 | + <installation kind="processing facility" namingSystem="NPD" uidRef="18081500">SLEIPNER KONDENSATRØR</installation> | ||
| 57 | + <oilStdTempPres uom="m3">2200</oilStdTempPres> | ||
| 58 | + <gasStdTempPres uom="m3">2300</gasStdTempPres> | ||
| 59 | + </thirdPartyProcessing> | ||
| 60 | + <thirdPartyProcessing> | ||
| 61 | + <installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation> | ||
| 62 | + <oilStdTempPres uom="m3">2400</oilStdTempPres> | ||
| 63 | + <gasStdTempPres uom="m3">2500</gasStdTempPres> | ||
| 64 | + </thirdPartyProcessing> | ||
| 65 | + </lostInjection> | ||
| 66 | + </productionActivity> | ||
| 67 | + </installationReport> | ||
| 29 | </object> | 68 | </object> |
| 30 | </objects> | 69 | </objects> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment