Showing
2 changed files
with
742 additions
and
618 deletions
1 | -# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1 | 1 | +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1 |
2 | -# imports: http://spinrdf.org/spin | 2 | +# imports: http://spinrdf.org/spin |
3 | -# imports: http://www.epim.no/schemas/mprml/1 | 3 | +# imports: http://www.epim.no/schemas/mprml/1 |
4 | -# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | 4 | +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib |
5 | -# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib | 5 | +# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib |
6 | -# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema | 6 | +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema |
7 | - | 7 | + |
8 | -@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> . | 8 | +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> . |
9 | -@prefix arg: <http://spinrdf.org/arg#> . | 9 | +@prefix arg: <http://spinrdf.org/arg#> . |
10 | -@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . | 10 | +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . |
11 | -@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . | 11 | +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . |
12 | -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | 12 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . |
13 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 13 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
14 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 14 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
15 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 15 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
16 | -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | 16 | +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . |
17 | -@prefix sp: <http://spinrdf.org/sp#> . | 17 | +@prefix sp: <http://spinrdf.org/sp#> . |
18 | -@prefix spin: <http://spinrdf.org/spin#> . | 18 | +@prefix spin: <http://spinrdf.org/spin#> . |
19 | -@prefix spl: <http://spinrdf.org/spl#> . | 19 | +@prefix spl: <http://spinrdf.org/spl#> . |
20 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 20 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
21 | - | 21 | + |
22 | -<http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 22 | +<http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
23 | - spin:rule | 23 | + spin:rule |
24 | - [ rdf:type sp:Construct ; | 24 | + [ rdf:type sp:Construct ; |
25 | - rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ; | 25 | + rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ; |
26 | - sp:templates ([ sp:object _:b1 ; | 26 | + sp:templates ([ sp:object _:b1 ; |
27 | - sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ; | 27 | + sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ; |
28 | - sp:subject | 28 | + sp:subject |
29 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 29 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
30 | - ] | 30 | + ] |
31 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Crew> ; | 31 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Crew> ; |
32 | - sp:predicate rdf:type ; | 32 | + sp:predicate rdf:type ; |
33 | - sp:subject _:b1 | 33 | + sp:subject _:b1 |
34 | - ] [ sp:object | 34 | + ] [ sp:object |
35 | - [ sp:varName "crewType"^^xsd:string | 35 | + [ sp:varName "crewType"^^xsd:string |
36 | - ] ; | 36 | + ] ; |
37 | - sp:predicate rdf:type ; | 37 | + sp:predicate rdf:type ; |
38 | - sp:subject _:b1 | 38 | + sp:subject _:b1 |
39 | - ] [ sp:object | 39 | + ] [ sp:object |
40 | - [ sp:varName "crewCount"^^xsd:string | 40 | + [ sp:varName "crewCount"^^xsd:string |
41 | - ] ; | 41 | + ] ; |
42 | - sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ; | 42 | + sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ; |
43 | - sp:subject _:b1 | 43 | + sp:subject _:b1 |
44 | - ]) ; | 44 | + ]) ; |
45 | - sp:where ([ sp:object spin:_this ; | 45 | + sp:where ([ sp:object |
46 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 46 | + [ sp:varName "productionOperationRef"^^xsd:string |
47 | - sp:subject | 47 | + ] ; |
48 | - [ sp:varName "productionReport"^^xsd:string | 48 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
49 | - ] | 49 | + sp:subject spin:_this |
50 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 50 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; |
51 | - sp:predicate rdf:type ; | 51 | + sp:predicate rdf:type ; |
52 | - sp:subject | 52 | + sp:subject |
53 | - [ sp:varName "productionOperationReport"^^xsd:string | 53 | + [ sp:varName "productionOperationRef"^^xsd:string |
54 | - ] | 54 | + ] |
55 | - ] [ sp:object | 55 | + ] [ sp:object |
56 | - [ sp:varName "productionReport"^^xsd:string | 56 | + [ sp:varName "installationReportRef"^^xsd:string |
57 | - ] ; | 57 | + ] ; |
58 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 58 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; |
59 | - sp:subject | 59 | + sp:subject |
60 | - [ sp:varName "productionOperationReport"^^xsd:string | 60 | + [ sp:varName "productionOperationRef"^^xsd:string |
61 | - ] | 61 | + ] |
62 | - ] [ sp:object | 62 | + ] [ sp:object |
63 | - [ sp:varName "productionOperationRef"^^xsd:string | 63 | + [ sp:varName "installationReportRef"^^xsd:string |
64 | - ] ; | 64 | + ] ; |
65 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 65 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
66 | - sp:subject spin:_this | 66 | + sp:subject |
67 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; | 67 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
68 | - sp:predicate rdf:type ; | 68 | + ] |
69 | - sp:subject | 69 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
70 | - [ sp:varName "productionOperationRef"^^xsd:string | 70 | + sp:predicate rdf:type ; |
71 | - ] | 71 | + sp:subject |
72 | - ] [ sp:object | 72 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
73 | - [ sp:varName "installationReportRef"^^xsd:string | 73 | + ] |
74 | - ] ; | 74 | + ] [ sp:object |
75 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; | 75 | + [ sp:varName "crewCountRef"^^xsd:string |
76 | - sp:subject | 76 | + ] ; |
77 | - [ sp:varName "productionOperationRef"^^xsd:string | 77 | + sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ; |
78 | - ] | 78 | + sp:subject |
79 | - ] [ sp:object | 79 | + [ sp:varName "installationReportRef"^^xsd:string |
80 | - [ sp:varName "installationReportRef"^^xsd:string | 80 | + ] |
81 | - ] ; | 81 | + ] [ sp:object |
82 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 82 | + [ sp:varName "crewCount"^^xsd:string |
83 | - sp:subject | 83 | + ] ; |
84 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 84 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
85 | - ] | 85 | + sp:subject |
86 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 86 | + [ sp:varName "crewCountRef"^^xsd:string |
87 | - sp:predicate rdf:type ; | 87 | + ] |
88 | - sp:subject | 88 | + ] [ sp:object |
89 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 89 | + [ sp:varName "typeRef"^^xsd:string |
90 | - ] | 90 | + ] ; |
91 | - ] [ sp:object | 91 | + sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ; |
92 | - [ sp:varName "crewCountRef"^^xsd:string | 92 | + sp:subject |
93 | - ] ; | 93 | + [ sp:varName "crewCountRef"^^xsd:string |
94 | - sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ; | 94 | + ] |
95 | - sp:subject | 95 | + ] [ rdf:type sp:Bind ; |
96 | - [ sp:varName "installationReportRef"^^xsd:string | 96 | + sp:expression |
97 | - ] | 97 | + [ rdf:type ep-mpr-spin-lib:selectCrewType ; |
98 | - ] [ sp:object | 98 | + sp:arg1 [ sp:varName "typeRef"^^xsd:string |
99 | - [ sp:varName "crewCount"^^xsd:string | 99 | + ] |
100 | - ] ; | 100 | + ] ; |
101 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 101 | + sp:variable |
102 | - sp:subject | 102 | + [ sp:varName "crewType"^^xsd:string |
103 | - [ sp:varName "crewCountRef"^^xsd:string | 103 | + ] |
104 | - ] | 104 | + ]) |
105 | - ] [ sp:object | 105 | + ] ; |
106 | - [ sp:varName "typeRef"^^xsd:string | 106 | + spin:rule |
107 | - ] ; | 107 | + [ rdf:type sp:Construct ; |
108 | - sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ; | 108 | + rdfs:comment "STEP 40100b Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility - not the same as the ProductionOperationReportFacility"^^xsd:string ; |
109 | - sp:subject | 109 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ; |
110 | - [ sp:varName "crewCountRef"^^xsd:string | 110 | + sp:predicate rdf:type ; |
111 | - ] | 111 | + sp:subject _:b2 |
112 | - ] [ rdf:type sp:Bind ; | 112 | + ] [ sp:object |
113 | - sp:expression | 113 | + [ sp:varName "productionOperationReport"^^xsd:string |
114 | - [ rdf:type ep-mpr-spin-lib:selectCrewType ; | 114 | + ] ; |
115 | - sp:arg1 [ sp:varName "typeRef"^^xsd:string | 115 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
116 | - ] | 116 | + sp:subject _:b2 |
117 | - ] ; | 117 | + ] [ sp:object |
118 | - sp:variable | 118 | + [ sp:varName "installationReportRef"^^xsd:string |
119 | - [ sp:varName "crewType"^^xsd:string | 119 | + ] ; |
120 | - ] | 120 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
121 | - ]) | 121 | + sp:subject _:b2 |
122 | - ] ; | 122 | + ] [ sp:object _:b3 ; |
123 | - spin:rule | 123 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
124 | - [ rdf:type sp:Construct ; | 124 | + sp:subject _:b2 |
125 | - rdfs:comment "STEP 40100 Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility and number of beds"^^xsd:string ; | 125 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
126 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ; | 126 | + sp:predicate rdf:type ; |
127 | - sp:predicate rdf:type ; | 127 | + sp:subject _:b3 |
128 | - sp:subject _:b2 | 128 | + ] [ sp:object |
129 | - ] [ sp:object | 129 | + [ sp:varName "productionFacility"^^xsd:string |
130 | - [ sp:varName "productionOperationReport"^^xsd:string | 130 | + ] ; |
131 | - ] ; | 131 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
132 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 132 | + sp:subject _:b3 |
133 | - sp:subject _:b2 | 133 | + ] [ sp:object |
134 | - ] [ sp:object | 134 | + [ sp:varName "installationReportRef"^^xsd:string |
135 | - [ sp:varName "installationReportRef"^^xsd:string | 135 | + ] ; |
136 | - ] ; | 136 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
137 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 137 | + sp:subject _:b3 |
138 | - sp:subject _:b2 | 138 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; |
139 | - ] [ sp:object _:b3 ; | 139 | + sp:predicate rdf:type ; |
140 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 140 | + sp:subject _:b4 |
141 | - sp:subject _:b2 | 141 | + ] [ sp:object _:b3 ; |
142 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 142 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; |
143 | - sp:predicate rdf:type ; | 143 | + sp:subject _:b4 |
144 | - sp:subject _:b3 | 144 | + ] [ sp:object _:b5 ; |
145 | - ] [ sp:object | 145 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
146 | - [ sp:varName "productionFacility"^^xsd:string | 146 | + sp:subject _:b4 |
147 | - ] ; | 147 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; |
148 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 148 | + sp:predicate rdf:type ; |
149 | - sp:subject _:b3 | 149 | + sp:subject _:b5 |
150 | - ] [ sp:object | 150 | + ] [ sp:object _:b6 ; |
151 | - [ sp:varName "installationReportRef"^^xsd:string | 151 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
152 | - ] ; | 152 | + sp:subject _:b4 |
153 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 153 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; |
154 | - sp:subject _:b3 | 154 | + sp:predicate rdf:type ; |
155 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | 155 | + sp:subject _:b6 |
156 | - sp:predicate rdf:type ; | 156 | + ]) ; |
157 | - sp:subject _:b4 | 157 | + sp:where ([ sp:object |
158 | - ] [ sp:object _:b3 ; | 158 | + [ sp:varName "productionOperationRef"^^xsd:string |
159 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | 159 | + ] ; |
160 | - sp:subject _:b4 | 160 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
161 | - ] [ sp:object _:b5 ; | 161 | + sp:subject spin:_this |
162 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 162 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; |
163 | - sp:subject _:b4 | 163 | + sp:predicate rdf:type ; |
164 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; | 164 | + sp:subject |
165 | - sp:predicate rdf:type ; | 165 | + [ sp:varName "productionOperationRef"^^xsd:string |
166 | - sp:subject _:b5 | 166 | + ] |
167 | - ] [ sp:object _:b6 ; | 167 | + ] [ sp:object |
168 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 168 | + [ sp:varName "productionOperationRef"^^xsd:string |
169 | - sp:subject _:b4 | 169 | + ] ; |
170 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; | 170 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
171 | - sp:predicate rdf:type ; | 171 | + sp:subject |
172 | - sp:subject _:b6 | 172 | + [ sp:varName "productionOperationReport"^^xsd:string |
173 | - ] [ sp:object | 173 | + ] |
174 | - [ sp:varName "bedsAvailable"^^xsd:string | 174 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; |
175 | - ] ; | 175 | + sp:predicate rdf:type ; |
176 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ; | 176 | + sp:subject |
177 | - sp:subject _:b3 | 177 | + [ sp:varName "productionOperationReport"^^xsd:string |
178 | - ]) ; | 178 | + ] |
179 | - sp:where ([ sp:object spin:_this ; | 179 | + ] [ sp:object |
180 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 180 | + [ sp:varName "installationReportRef"^^xsd:string |
181 | - sp:subject | 181 | + ] ; |
182 | - [ sp:varName "productionReport"^^xsd:string | 182 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; |
183 | - ] | 183 | + sp:subject |
184 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 184 | + [ sp:varName "productionOperationRef"^^xsd:string |
185 | - sp:predicate rdf:type ; | 185 | + ] |
186 | - sp:subject | 186 | + ] [ sp:object |
187 | - [ sp:varName "productionOperationReport"^^xsd:string | 187 | + [ sp:varName "installationRef"^^xsd:string |
188 | - ] | 188 | + ] ; |
189 | - ] [ sp:object | 189 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; |
190 | - [ sp:varName "productionReport"^^xsd:string | 190 | + sp:subject |
191 | - ] ; | 191 | + [ sp:varName "installationReportRef"^^xsd:string |
192 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 192 | + ] |
193 | - sp:subject | 193 | + ] [ sp:object |
194 | - [ sp:varName "productionOperationReport"^^xsd:string | 194 | + [ sp:varName "installationRef"^^xsd:string |
195 | - ] | 195 | + ] ; |
196 | - ] [ sp:object | 196 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
197 | - [ sp:varName "productionOperationRef"^^xsd:string | 197 | + sp:subject |
198 | - ] ; | 198 | + [ sp:varName "productionFacility"^^xsd:string |
199 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 199 | + ] |
200 | - sp:subject spin:_this | 200 | + ] [ rdf:type sp:NotExists ; |
201 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; | 201 | + sp:elements ([ sp:object |
202 | - sp:predicate rdf:type ; | 202 | + [ sp:varName "installationRefx"^^xsd:string |
203 | - sp:subject | 203 | + ] ; |
204 | - [ sp:varName "productionOperationRef"^^xsd:string | 204 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; |
205 | - ] | 205 | + sp:subject |
206 | - ] [ sp:object | 206 | + [ sp:varName "productionOperationRef"^^xsd:string |
207 | - [ sp:varName "installationReportRef"^^xsd:string | 207 | + ] |
208 | - ] ; | 208 | + ] [ sp:object |
209 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; | 209 | + [ sp:varName "installationRefx"^^xsd:string |
210 | - sp:subject | 210 | + ] ; |
211 | - [ sp:varName "productionOperationRef"^^xsd:string | 211 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
212 | - ] | 212 | + sp:subject |
213 | - ] [ rdf:type sp:Optional ; | 213 | + [ sp:varName "productionFacility"^^xsd:string |
214 | - sp:elements ([ sp:object | 214 | + ] |
215 | - [ sp:varName "installationRef"^^xsd:string | 215 | + ]) |
216 | - ] ; | 216 | + ]) |
217 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | 217 | + ] ; |
218 | - sp:subject | 218 | + spin:rule |
219 | - [ sp:varName "installationReportRef"^^xsd:string | 219 | + [ rdf:type sp:Construct ; |
220 | - ] | 220 | + rdfs:comment "STEP 40100c Set the number of beds"^^xsd:string ; |
221 | - ] [ sp:object | 221 | + sp:templates ([ sp:object |
222 | - [ sp:varName "installationRef"^^xsd:string | 222 | + [ sp:varName "bedsAvailable"^^xsd:string |
223 | - ] ; | 223 | + ] ; |
224 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 224 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ; |
225 | - sp:subject | 225 | + sp:subject |
226 | - [ sp:varName "productionFacility"^^xsd:string | 226 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
227 | - ] | 227 | + ] |
228 | - ]) | 228 | + ]) ; |
229 | - ] [ rdf:type sp:Optional ; | 229 | + sp:where ([ sp:object |
230 | - sp:elements ([ sp:object | 230 | + [ sp:varName "productionOperationRef"^^xsd:string |
231 | - [ sp:varName "bedsAvailable"^^xsd:string | 231 | + ] ; |
232 | - ] ; | 232 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
233 | - sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ; | 233 | + sp:subject spin:_this |
234 | - sp:subject | 234 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; |
235 | - [ sp:varName "installationReportRef"^^xsd:string | 235 | + sp:predicate rdf:type ; |
236 | - ] | 236 | + sp:subject |
237 | - ]) | 237 | + [ sp:varName "productionOperationRef"^^xsd:string |
238 | - ] [ rdf:type sp:Optional ; | 238 | + ] |
239 | - sp:elements ([ sp:object | 239 | + ] [ sp:object |
240 | - [ sp:varName "workRef"^^xsd:string | 240 | + [ sp:varName "installationReportRef"^^xsd:string |
241 | - ] ; | 241 | + ] ; |
242 | - sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | 242 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; |
243 | - sp:subject | 243 | + sp:subject |
244 | - [ sp:varName "installationReportRef"^^xsd:string | 244 | + [ sp:varName "productionOperationRef"^^xsd:string |
245 | - ] | 245 | + ] |
246 | - ] [ sp:object | 246 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
247 | - [ sp:varName "realWork"^^xsd:string | 247 | + sp:predicate rdf:type ; |
248 | - ] ; | 248 | + sp:subject |
249 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 249 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
250 | - sp:subject | 250 | + ] |
251 | - [ sp:varName "workRef"^^xsd:string | 251 | + ] [ sp:object |
252 | - ] | 252 | + [ sp:varName "installationReportRef"^^xsd:string |
253 | - ] [ sp:object | 253 | + ] ; |
254 | - [ sp:varName "uomWork"^^xsd:string | 254 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
255 | - ] ; | 255 | + sp:subject |
256 | - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 256 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
257 | - sp:subject | 257 | + ] |
258 | - [ sp:varName "workRef"^^xsd:string | 258 | + ] [ sp:object |
259 | - ] | 259 | + [ sp:varName "bedsAvailable"^^xsd:string |
260 | - ]) | 260 | + ] ; |
261 | - ]) | 261 | + sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ; |
262 | - ] ; | 262 | + sp:subject |
263 | - spin:rule | 263 | + [ sp:varName "installationReportRef"^^xsd:string |
264 | - [ rdf:type sp:Construct ; | 264 | + ] |
265 | - rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ; | 265 | + ]) |
266 | - sp:templates ([ sp:object _:b7 ; | 266 | + ] ; |
267 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; | 267 | + spin:rule |
268 | - sp:subject | 268 | + [ rdf:type sp:Construct ; |
269 | - [ sp:varName "annualProductionOperationToDate"^^xsd:string | 269 | + rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ; |
270 | - ] | 270 | + sp:templates ([ sp:object _:b7 ; |
271 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | 271 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; |
272 | - sp:predicate rdf:type ; | 272 | + sp:subject |
273 | - sp:subject _:b7 | 273 | + [ sp:varName "monthlyProductionOperationToDate"^^xsd:string |
274 | - ] [ sp:object | 274 | + ] |
275 | - [ sp:varName "realWorkYearToDate"^^xsd:string | 275 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; |
276 | - ] ; | 276 | + sp:predicate rdf:type ; |
277 | - sp:predicate | 277 | + sp:subject _:b7 |
278 | - [ sp:varName "workYearToDateScale"^^xsd:string | 278 | + ] [ sp:object |
279 | - ] ; | 279 | + [ sp:varName "realWorkMonthToDate"^^xsd:string |
280 | - sp:subject _:b7 | 280 | + ] ; |
281 | - ]) ; | 281 | + sp:predicate |
282 | - sp:where ([ sp:object spin:_this ; | 282 | + [ sp:varName "workMonthToDateScale"^^xsd:string |
283 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 283 | + ] ; |
284 | - sp:subject | 284 | + sp:subject _:b7 |
285 | - [ sp:varName "productionReport"^^xsd:string | 285 | + ]) ; |
286 | - ] | 286 | + sp:where ([ sp:object spin:_this ; |
287 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 287 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
288 | - sp:predicate rdf:type ; | 288 | + sp:subject |
289 | - sp:subject | 289 | + [ sp:varName "productionReport"^^xsd:string |
290 | - [ sp:varName "productionOperationReport"^^xsd:string | 290 | + ] |
291 | - ] | 291 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; |
292 | - ] [ sp:object | 292 | + sp:predicate rdf:type ; |
293 | - [ sp:varName "productionReport"^^xsd:string | 293 | + sp:subject |
294 | - ] ; | 294 | + [ sp:varName "productionOperationReport"^^xsd:string |
295 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 295 | + ] |
296 | - sp:subject | 296 | + ] [ sp:object |
297 | - [ sp:varName "productionOperationReport"^^xsd:string | 297 | + [ sp:varName "productionReport"^^xsd:string |
298 | - ] | 298 | + ] ; |
299 | - ] [ sp:object | 299 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
300 | - [ sp:varName "productionOperationRef"^^xsd:string | 300 | + sp:subject |
301 | - ] ; | 301 | + [ sp:varName "productionOperationReport"^^xsd:string |
302 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 302 | + ] |
303 | - sp:subject spin:_this | 303 | + ] [ sp:object |
304 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; | 304 | + [ sp:varName "productionOperationRef"^^xsd:string |
305 | - sp:predicate rdf:type ; | 305 | + ] ; |
306 | - sp:subject | 306 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
307 | - [ sp:varName "productionOperationRef"^^xsd:string | 307 | + sp:subject spin:_this |
308 | - ] | 308 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; |
309 | - ] [ sp:object | 309 | + sp:predicate rdf:type ; |
310 | - [ sp:varName "installationReportRef"^^xsd:string | 310 | + sp:subject |
311 | - ] ; | 311 | + [ sp:varName "productionOperationRef"^^xsd:string |
312 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; | 312 | + ] |
313 | - sp:subject | 313 | + ] [ sp:object |
314 | - [ sp:varName "productionOperationRef"^^xsd:string | 314 | + [ sp:varName "installationReportRef"^^xsd:string |
315 | - ] | 315 | + ] ; |
316 | - ] [ sp:object | 316 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; |
317 | - [ sp:varName "installationReportRef"^^xsd:string | 317 | + sp:subject |
318 | - ] ; | 318 | + [ sp:varName "productionOperationRef"^^xsd:string |
319 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 319 | + ] |
320 | - sp:subject | 320 | + ] [ sp:object |
321 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 321 | + [ sp:varName "installationReportRef"^^xsd:string |
322 | - ] | 322 | + ] ; |
323 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 323 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
324 | - sp:predicate rdf:type ; | 324 | + sp:subject |
325 | - sp:subject | 325 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
326 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 326 | + ] |
327 | - ] | 327 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
328 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | 328 | + sp:predicate rdf:type ; |
329 | - sp:predicate rdf:type ; | 329 | + sp:subject |
330 | - sp:subject | 330 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
331 | - [ sp:varName "productionOperation"^^xsd:string | 331 | + ] |
332 | - ] | 332 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; |
333 | - ] [ sp:object | 333 | + sp:predicate rdf:type ; |
334 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 334 | + sp:subject |
335 | - ] ; | 335 | + [ sp:varName "productionOperation"^^xsd:string |
336 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | 336 | + ] |
337 | - sp:subject | 337 | + ] [ sp:object |
338 | - [ sp:varName "productionOperation"^^xsd:string | 338 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
339 | - ] | 339 | + ] ; |
340 | - ] [ sp:object | 340 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; |
341 | - [ sp:varName "annualProductionOperationToDate"^^xsd:string | 341 | + sp:subject |
342 | - ] ; | 342 | + [ sp:varName "productionOperation"^^xsd:string |
343 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 343 | + ] |
344 | - sp:subject | 344 | + ] [ sp:object |
345 | - [ sp:varName "productionOperation"^^xsd:string | 345 | + [ sp:varName "monthlyProductionOperationToDate"^^xsd:string |
346 | - ] | 346 | + ] ; |
347 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; | 347 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
348 | - sp:predicate rdf:type ; | 348 | + sp:subject |
349 | - sp:subject | 349 | + [ sp:varName "productionOperation"^^xsd:string |
350 | - [ sp:varName "annualProductionOperationToDate"^^xsd:string | 350 | + ] |
351 | - ] | 351 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; |
352 | - ] [ sp:object | 352 | + sp:predicate rdf:type ; |
353 | - [ sp:varName "workYearToDateRef"^^xsd:string | 353 | + sp:subject |
354 | - ] ; | 354 | + [ sp:varName "monthlyProductionOperationToDate"^^xsd:string |
355 | - sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ; | 355 | + ] |
356 | - sp:subject | 356 | + ] [ sp:object |
357 | - [ sp:varName "installationReportRef"^^xsd:string | 357 | + [ sp:varName "workMonthToDateRef"^^xsd:string |
358 | - ] | 358 | + ] ; |
359 | - ] [ sp:object | 359 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ; |
360 | - [ sp:varName "realWorkYearToDate"^^xsd:string | 360 | + sp:subject |
361 | - ] ; | 361 | + [ sp:varName "installationReportRef"^^xsd:string |
362 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 362 | + ] |
363 | - sp:subject | 363 | + ] [ sp:object |
364 | - [ sp:varName "workYearToDateRef"^^xsd:string | 364 | + [ sp:varName "realWorkMonthToDate"^^xsd:string |
365 | - ] | 365 | + ] ; |
366 | - ] [ sp:object | 366 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
367 | - [ sp:varName "uomWorkYearToDate"^^xsd:string | 367 | + sp:subject |
368 | - ] ; | 368 | + [ sp:varName "workMonthToDateRef"^^xsd:string |
369 | - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 369 | + ] |
370 | - sp:subject | 370 | + ] [ sp:object |
371 | - [ sp:varName "workYearToDateRef"^^xsd:string | 371 | + [ sp:varName "uomWorkMonthToDate"^^xsd:string |
372 | - ] | 372 | + ] ; |
373 | - ] [ rdf:type sp:Bind ; | 373 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
374 | - sp:expression | 374 | + sp:subject |
375 | - [ rdf:type ep-mpr-spin-lib:selectDurationScale ; | 375 | + [ sp:varName "workMonthToDateRef"^^xsd:string |
376 | - sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string | 376 | + ] |
377 | - ] | 377 | + ] [ rdf:type sp:Bind ; |
378 | - ] ; | 378 | + sp:expression |
379 | - sp:variable | 379 | + [ rdf:type ep-mpr-spin-lib:selectDurationScale ; |
380 | - [ sp:varName "workYearToDateScale"^^xsd:string | 380 | + sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string |
381 | - ] | 381 | + ] |
382 | - ]) | 382 | + ] ; |
383 | - ] ; | 383 | + sp:variable |
384 | - spin:rule | 384 | + [ sp:varName "workMonthToDateScale"^^xsd:string |
385 | - [ rdf:type sp:Construct ; | 385 | + ] |
386 | - rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ; | 386 | + ]) |
387 | - sp:templates ([ sp:object _:b8 ; | 387 | + ] ; |
388 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; | 388 | + spin:rule |
389 | - sp:subject | 389 | + [ rdf:type sp:Construct ; |
390 | - [ sp:varName "monthlyProductionOperationToDate"^^xsd:string | 390 | + rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ; |
391 | - ] | 391 | + sp:templates ([ sp:object _:b8 ; |
392 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | 392 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; |
393 | - sp:predicate rdf:type ; | 393 | + sp:subject |
394 | - sp:subject _:b8 | 394 | + [ sp:varName "annualProductionOperationToDate"^^xsd:string |
395 | - ] [ sp:object | 395 | + ] |
396 | - [ sp:varName "realWorkMonthToDate"^^xsd:string | 396 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; |
397 | - ] ; | 397 | + sp:predicate rdf:type ; |
398 | - sp:predicate | 398 | + sp:subject _:b8 |
399 | - [ sp:varName "workMonthToDateScale"^^xsd:string | 399 | + ] [ sp:object |
400 | - ] ; | 400 | + [ sp:varName "realWorkYearToDate"^^xsd:string |
401 | - sp:subject _:b8 | 401 | + ] ; |
402 | - ]) ; | 402 | + sp:predicate |
403 | - sp:where ([ sp:object spin:_this ; | 403 | + [ sp:varName "workYearToDateScale"^^xsd:string |
404 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 404 | + ] ; |
405 | - sp:subject | 405 | + sp:subject _:b8 |
406 | - [ sp:varName "productionReport"^^xsd:string | 406 | + ]) ; |
407 | - ] | 407 | + sp:where ([ sp:object spin:_this ; |
408 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 408 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
409 | - sp:predicate rdf:type ; | 409 | + sp:subject |
410 | - sp:subject | 410 | + [ sp:varName "productionReport"^^xsd:string |
411 | - [ sp:varName "productionOperationReport"^^xsd:string | 411 | + ] |
412 | - ] | 412 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; |
413 | - ] [ sp:object | 413 | + sp:predicate rdf:type ; |
414 | - [ sp:varName "productionReport"^^xsd:string | 414 | + sp:subject |
415 | - ] ; | 415 | + [ sp:varName "productionOperationReport"^^xsd:string |
416 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 416 | + ] |
417 | - sp:subject | 417 | + ] [ sp:object |
418 | - [ sp:varName "productionOperationReport"^^xsd:string | 418 | + [ sp:varName "productionReport"^^xsd:string |
419 | - ] | 419 | + ] ; |
420 | - ] [ sp:object | 420 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
421 | - [ sp:varName "productionOperationRef"^^xsd:string | 421 | + sp:subject |
422 | - ] ; | 422 | + [ sp:varName "productionOperationReport"^^xsd:string |
423 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 423 | + ] |
424 | - sp:subject spin:_this | 424 | + ] [ sp:object |
425 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; | 425 | + [ sp:varName "productionOperationRef"^^xsd:string |
426 | - sp:predicate rdf:type ; | 426 | + ] ; |
427 | - sp:subject | 427 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
428 | - [ sp:varName "productionOperationRef"^^xsd:string | 428 | + sp:subject spin:_this |
429 | - ] | 429 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; |
430 | - ] [ sp:object | 430 | + sp:predicate rdf:type ; |
431 | - [ sp:varName "installationReportRef"^^xsd:string | 431 | + sp:subject |
432 | - ] ; | 432 | + [ sp:varName "productionOperationRef"^^xsd:string |
433 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; | 433 | + ] |
434 | - sp:subject | 434 | + ] [ sp:object |
435 | - [ sp:varName "productionOperationRef"^^xsd:string | 435 | + [ sp:varName "installationReportRef"^^xsd:string |
436 | - ] | 436 | + ] ; |
437 | - ] [ sp:object | 437 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; |
438 | - [ sp:varName "installationReportRef"^^xsd:string | 438 | + sp:subject |
439 | - ] ; | 439 | + [ sp:varName "productionOperationRef"^^xsd:string |
440 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 440 | + ] |
441 | - sp:subject | 441 | + ] [ sp:object |
442 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 442 | + [ sp:varName "installationReportRef"^^xsd:string |
443 | - ] | 443 | + ] ; |
444 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 444 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
445 | - sp:predicate rdf:type ; | 445 | + sp:subject |
446 | - sp:subject | 446 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
447 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 447 | + ] |
448 | - ] | 448 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
449 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | 449 | + sp:predicate rdf:type ; |
450 | - sp:predicate rdf:type ; | 450 | + sp:subject |
451 | - sp:subject | 451 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
452 | - [ sp:varName "productionOperation"^^xsd:string | 452 | + ] |
453 | - ] | 453 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; |
454 | - ] [ sp:object | 454 | + sp:predicate rdf:type ; |
455 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 455 | + sp:subject |
456 | - ] ; | 456 | + [ sp:varName "productionOperation"^^xsd:string |
457 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | 457 | + ] |
458 | - sp:subject | 458 | + ] [ sp:object |
459 | - [ sp:varName "productionOperation"^^xsd:string | 459 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
460 | - ] | 460 | + ] ; |
461 | - ] [ sp:object | 461 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; |
462 | - [ sp:varName "monthlyProductionOperationToDate"^^xsd:string | 462 | + sp:subject |
463 | - ] ; | 463 | + [ sp:varName "productionOperation"^^xsd:string |
464 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 464 | + ] |
465 | - sp:subject | 465 | + ] [ sp:object |
466 | - [ sp:varName "productionOperation"^^xsd:string | 466 | + [ sp:varName "annualProductionOperationToDate"^^xsd:string |
467 | - ] | 467 | + ] ; |
468 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; | 468 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
469 | - sp:predicate rdf:type ; | 469 | + sp:subject |
470 | - sp:subject | 470 | + [ sp:varName "productionOperation"^^xsd:string |
471 | - [ sp:varName "monthlyProductionOperationToDate"^^xsd:string | 471 | + ] |
472 | - ] | 472 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; |
473 | - ] [ sp:object | 473 | + sp:predicate rdf:type ; |
474 | - [ sp:varName "workMonthToDateRef"^^xsd:string | 474 | + sp:subject |
475 | - ] ; | 475 | + [ sp:varName "annualProductionOperationToDate"^^xsd:string |
476 | - sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ; | 476 | + ] |
477 | - sp:subject | 477 | + ] [ sp:object |
478 | - [ sp:varName "installationReportRef"^^xsd:string | 478 | + [ sp:varName "workYearToDateRef"^^xsd:string |
479 | - ] | 479 | + ] ; |
480 | - ] [ sp:object | 480 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ; |
481 | - [ sp:varName "realWorkMonthToDate"^^xsd:string | 481 | + sp:subject |
482 | - ] ; | 482 | + [ sp:varName "installationReportRef"^^xsd:string |
483 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 483 | + ] |
484 | - sp:subject | 484 | + ] [ sp:object |
485 | - [ sp:varName "workMonthToDateRef"^^xsd:string | 485 | + [ sp:varName "realWorkYearToDate"^^xsd:string |
486 | - ] | 486 | + ] ; |
487 | - ] [ sp:object | 487 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
488 | - [ sp:varName "uomWorkMonthToDate"^^xsd:string | 488 | + sp:subject |
489 | - ] ; | 489 | + [ sp:varName "workYearToDateRef"^^xsd:string |
490 | - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 490 | + ] |
491 | - sp:subject | 491 | + ] [ sp:object |
492 | - [ sp:varName "workMonthToDateRef"^^xsd:string | 492 | + [ sp:varName "uomWorkYearToDate"^^xsd:string |
493 | - ] | 493 | + ] ; |
494 | - ] [ rdf:type sp:Bind ; | 494 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
495 | - sp:expression | 495 | + sp:subject |
496 | - [ rdf:type ep-mpr-spin-lib:selectDurationScale ; | 496 | + [ sp:varName "workYearToDateRef"^^xsd:string |
497 | - sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string | 497 | + ] |
498 | - ] | 498 | + ] [ rdf:type sp:Bind ; |
499 | - ] ; | 499 | + sp:expression |
500 | - sp:variable | 500 | + [ rdf:type ep-mpr-spin-lib:selectDurationScale ; |
501 | - [ sp:varName "workMonthToDateScale"^^xsd:string | 501 | + sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string |
502 | - ] | 502 | + ] |
503 | - ]) | 503 | + ] ; |
504 | - ] ; | 504 | + sp:variable |
505 | - spin:rule | 505 | + [ sp:varName "workYearToDateScale"^^xsd:string |
506 | - [ rdf:type sp:Construct ; | 506 | + ] |
507 | - rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ; | 507 | + ]) |
508 | - sp:templates ([ sp:object _:b9 ; | 508 | + ] ; |
509 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; | 509 | + spin:rule |
510 | - sp:subject | 510 | + [ rdf:type sp:Construct ; |
511 | - [ sp:varName "productionOperation"^^xsd:string | 511 | + rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ; |
512 | - ] | 512 | + sp:templates ([ sp:object _:b9 ; |
513 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; | 513 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ; |
514 | - sp:predicate rdf:type ; | 514 | + sp:subject |
515 | - sp:subject _:b9 | 515 | + [ sp:varName "productionOperation"^^xsd:string |
516 | - ] [ sp:object | 516 | + ] |
517 | - [ sp:varName "realWork"^^xsd:string | 517 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ; |
518 | - ] ; | 518 | + sp:predicate rdf:type ; |
519 | - sp:predicate | 519 | + sp:subject _:b9 |
520 | - [ sp:varName "workScale"^^xsd:string | 520 | + ] [ sp:object |
521 | - ] ; | 521 | + [ sp:varName "realWork"^^xsd:string |
522 | - sp:subject _:b9 | 522 | + ] ; |
523 | - ]) ; | 523 | + sp:predicate |
524 | - sp:where ([ sp:object spin:_this ; | 524 | + [ sp:varName "workScale"^^xsd:string |
525 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 525 | + ] ; |
526 | - sp:subject | 526 | + sp:subject _:b9 |
527 | - [ sp:varName "productionReport"^^xsd:string | 527 | + ]) ; |
528 | - ] | 528 | + sp:where ([ sp:object spin:_this ; |
529 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 529 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
530 | - sp:predicate rdf:type ; | 530 | + sp:subject |
531 | - sp:subject | 531 | + [ sp:varName "productionReport"^^xsd:string |
532 | - [ sp:varName "productionOperationReport"^^xsd:string | 532 | + ] |
533 | - ] | 533 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; |
534 | - ] [ sp:object | 534 | + sp:predicate rdf:type ; |
535 | - [ sp:varName "productionReport"^^xsd:string | 535 | + sp:subject |
536 | - ] ; | 536 | + [ sp:varName "productionOperationReport"^^xsd:string |
537 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 537 | + ] |
538 | - sp:subject | 538 | + ] [ sp:object |
539 | - [ sp:varName "productionOperationReport"^^xsd:string | 539 | + [ sp:varName "productionReport"^^xsd:string |
540 | - ] | 540 | + ] ; |
541 | - ] [ sp:object | 541 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
542 | - [ sp:varName "productionOperationRef"^^xsd:string | 542 | + sp:subject |
543 | - ] ; | 543 | + [ sp:varName "productionOperationReport"^^xsd:string |
544 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | 544 | + ] |
545 | - sp:subject spin:_this | 545 | + ] [ sp:object |
546 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; | 546 | + [ sp:varName "productionOperationRef"^^xsd:string |
547 | - sp:predicate rdf:type ; | 547 | + ] ; |
548 | - sp:subject | 548 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; |
549 | - [ sp:varName "productionOperationRef"^^xsd:string | 549 | + sp:subject spin:_this |
550 | - ] | 550 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; |
551 | - ] [ sp:object | 551 | + sp:predicate rdf:type ; |
552 | - [ sp:varName "installationReportRef"^^xsd:string | 552 | + sp:subject |
553 | - ] ; | 553 | + [ sp:varName "productionOperationRef"^^xsd:string |
554 | - sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; | 554 | + ] |
555 | - sp:subject | 555 | + ] [ sp:object |
556 | - [ sp:varName "productionOperationRef"^^xsd:string | 556 | + [ sp:varName "installationReportRef"^^xsd:string |
557 | - ] | 557 | + ] ; |
558 | - ] [ sp:object | 558 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; |
559 | - [ sp:varName "installationReportRef"^^xsd:string | 559 | + sp:subject |
560 | - ] ; | 560 | + [ sp:varName "productionOperationRef"^^xsd:string |
561 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 561 | + ] |
562 | - sp:subject | 562 | + ] [ sp:object |
563 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 563 | + [ sp:varName "installationReportRef"^^xsd:string |
564 | - ] | 564 | + ] ; |
565 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 565 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
566 | - sp:predicate rdf:type ; | 566 | + sp:subject |
567 | - sp:subject | 567 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
568 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 568 | + ] |
569 | - ] | 569 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
570 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | 570 | + sp:predicate rdf:type ; |
571 | - sp:predicate rdf:type ; | 571 | + sp:subject |
572 | - sp:subject | 572 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
573 | - [ sp:varName "productionOperation"^^xsd:string | 573 | + ] |
574 | - ] | 574 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; |
575 | - ] [ sp:object | 575 | + sp:predicate rdf:type ; |
576 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 576 | + sp:subject |
577 | - ] ; | 577 | + [ sp:varName "productionOperation"^^xsd:string |
578 | - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | 578 | + ] |
579 | - sp:subject | 579 | + ] [ sp:object |
580 | - [ sp:varName "productionOperation"^^xsd:string | 580 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
581 | - ] | 581 | + ] ; |
582 | - ] [ sp:object | 582 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; |
583 | - [ sp:varName "workRef"^^xsd:string | 583 | + sp:subject |
584 | - ] ; | 584 | + [ sp:varName "productionOperation"^^xsd:string |
585 | - sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; | 585 | + ] |
586 | - sp:subject | 586 | + ] [ sp:object |
587 | - [ sp:varName "installationReportRef"^^xsd:string | 587 | + [ sp:varName "workRef"^^xsd:string |
588 | - ] | 588 | + ] ; |
589 | - ] [ sp:object | 589 | + sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ; |
590 | - [ sp:varName "realWork"^^xsd:string | 590 | + sp:subject |
591 | - ] ; | 591 | + [ sp:varName "installationReportRef"^^xsd:string |
592 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 592 | + ] |
593 | - sp:subject | 593 | + ] [ sp:object |
594 | - [ sp:varName "workRef"^^xsd:string | 594 | + [ sp:varName "realWork"^^xsd:string |
595 | - ] | 595 | + ] ; |
596 | - ] [ sp:object | 596 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
597 | - [ sp:varName "uomWork"^^xsd:string | 597 | + sp:subject |
598 | - ] ; | 598 | + [ sp:varName "workRef"^^xsd:string |
599 | - sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; | 599 | + ] |
600 | - sp:subject | 600 | + ] [ sp:object |
601 | - [ sp:varName "workRef"^^xsd:string | 601 | + [ sp:varName "uomWork"^^xsd:string |
602 | - ] | 602 | + ] ; |
603 | - ] [ rdf:type sp:Bind ; | 603 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ; |
604 | - sp:expression | 604 | + sp:subject |
605 | - [ rdf:type ep-mpr-spin-lib:selectDurationScale ; | 605 | + [ sp:varName "workRef"^^xsd:string |
606 | - sp:arg1 [ sp:varName "uomWork"^^xsd:string | 606 | + ] |
607 | - ] | 607 | + ] [ rdf:type sp:Bind ; |
608 | - ] ; | 608 | + sp:expression |
609 | - sp:variable | 609 | + [ rdf:type ep-mpr-spin-lib:selectDurationScale ; |
610 | - [ sp:varName "workScale"^^xsd:string | 610 | + sp:arg1 [ sp:varName "uomWork"^^xsd:string |
611 | - ] | 611 | + ] |
612 | - ]) | 612 | + ] ; |
613 | - ] . | 613 | + sp:variable |
614 | - | 614 | + [ sp:varName "workScale"^^xsd:string |
615 | -<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> | 615 | + ] |
616 | - rdf:type owl:Ontology ; | 616 | + ]) |
617 | - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <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> ; | 617 | + ] ; |
618 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 618 | + spin:rule |
619 | + [ rdf:type sp:Construct ; | ||
620 | + rdfs:comment "STEP 40100a Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility - same as the ProductionOperationReportFacility"^^xsd:string ; | ||
621 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ; | ||
622 | + sp:predicate rdf:type ; | ||
623 | + sp:subject _:b10 | ||
624 | + ] [ sp:object | ||
625 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
626 | + ] ; | ||
627 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
628 | + sp:subject _:b10 | ||
629 | + ] [ sp:object | ||
630 | + [ sp:varName "installationReportRef"^^xsd:string | ||
631 | + ] ; | ||
632 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
633 | + sp:subject _:b10 | ||
634 | + ] [ sp:object | ||
635 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
636 | + ] ; | ||
637 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
638 | + sp:subject _:b10 | ||
639 | + ] [ sp:object | ||
640 | + [ sp:varName "installationReportRef"^^xsd:string | ||
641 | + ] ; | ||
642 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
643 | + sp:subject | ||
644 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
645 | + ] | ||
646 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ; | ||
647 | + sp:predicate rdf:type ; | ||
648 | + sp:subject _:b11 | ||
649 | + ] [ sp:object | ||
650 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
651 | + ] ; | ||
652 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; | ||
653 | + sp:subject _:b11 | ||
654 | + ] [ sp:object _:b12 ; | ||
655 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
656 | + sp:subject _:b11 | ||
657 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ; | ||
658 | + sp:predicate rdf:type ; | ||
659 | + sp:subject _:b12 | ||
660 | + ] [ sp:object _:b13 ; | ||
661 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
662 | + sp:subject _:b11 | ||
663 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ; | ||
664 | + sp:predicate rdf:type ; | ||
665 | + sp:subject _:b13 | ||
666 | + ]) ; | ||
667 | + sp:where ([ sp:object | ||
668 | + [ sp:varName "productionOperationRef"^^xsd:string | ||
669 | + ] ; | ||
670 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
671 | + sp:subject spin:_this | ||
672 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ; | ||
673 | + sp:predicate rdf:type ; | ||
674 | + sp:subject | ||
675 | + [ sp:varName "productionOperationRef"^^xsd:string | ||
676 | + ] | ||
677 | + ] [ sp:object | ||
678 | + [ sp:varName "productionOperationRef"^^xsd:string | ||
679 | + ] ; | ||
680 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
681 | + sp:subject | ||
682 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
683 | + ] | ||
684 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | ||
685 | + sp:predicate rdf:type ; | ||
686 | + sp:subject | ||
687 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
688 | + ] | ||
689 | + ] [ sp:object | ||
690 | + [ sp:varName "installationReportRef"^^xsd:string | ||
691 | + ] ; | ||
692 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ; | ||
693 | + sp:subject | ||
694 | + [ sp:varName "productionOperationRef"^^xsd:string | ||
695 | + ] | ||
696 | + ] [ sp:object | ||
697 | + [ sp:varName "installationRef"^^xsd:string | ||
698 | + ] ; | ||
699 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | ||
700 | + sp:subject | ||
701 | + [ sp:varName "installationReportRef"^^xsd:string | ||
702 | + ] | ||
703 | + ] [ sp:object | ||
704 | + [ sp:varName "installationRef"^^xsd:string | ||
705 | + ] ; | ||
706 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
707 | + sp:subject | ||
708 | + [ sp:varName "productionFacility"^^xsd:string | ||
709 | + ] | ||
710 | + ] [ sp:object | ||
711 | + [ sp:varName "installationRefx"^^xsd:string | ||
712 | + ] ; | ||
713 | + sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ; | ||
714 | + sp:subject | ||
715 | + [ sp:varName "productionOperationRef"^^xsd:string | ||
716 | + ] | ||
717 | + ] [ sp:object | ||
718 | + [ sp:varName "installationRefx"^^xsd:string | ||
719 | + ] ; | ||
720 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
721 | + sp:subject | ||
722 | + [ sp:varName "productionFacility"^^xsd:string | ||
723 | + ] | ||
724 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | ||
725 | + sp:predicate rdf:type ; | ||
726 | + sp:subject | ||
727 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
728 | + ] | ||
729 | + ] [ sp:object | ||
730 | + [ sp:varName "productionOperationRef"^^xsd:string | ||
731 | + ] ; | ||
732 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | ||
733 | + sp:subject | ||
734 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | ||
735 | + ] | ||
736 | + ]) | ||
737 | + ] . | ||
738 | + | ||
739 | +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> | ||
740 | + rdf:type owl:Ontology ; | ||
741 | + 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> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; | ||
742 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment