David Leal

Merge branch 'wellCompletion'

1 -# Saved by TopBraid on Fri Oct 14 13:39:53 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 15:14:22 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
3 # imports: http://www.reportinghub.no/ep/schema/1.0/production-facility 3 # imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
4 # imports: http://www.reportinghub.no/ep/schema/1.0/well 4 # imports: http://www.reportinghub.no/ep/schema/1.0/well
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
6 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 5 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 6 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
8 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 7 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
9 # imports: http://www.reportinghub.no/ep/schema/1.0/flow 9 # imports: http://www.reportinghub.no/ep/schema/1.0/flow
10 10
11 @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . 11 @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 17
18 <http://www.reportinghub.no/ep/schema/1.0/production-activity> 18 <http://www.reportinghub.no/ep/schema/1.0/production-activity>
19 rdf:type owl:Ontology ; 19 rdf:type owl:Ontology ;
20 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/flow> ; 20 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> ;
21 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 21 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
22 22
23 <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> 23 <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
...@@ -26,10 +26,15 @@ ...@@ -26,10 +26,15 @@
26 <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> 26 <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity>
27 rdf:type ep-prodact:ProductionOperationClassByDuration . 27 rdf:type ep-prodact:ProductionOperationClassByDuration .
28 28
29 +<http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate>
30 + rdf:type owl:Class ;
31 + rdfs:label "production activity to date"^^xsd:string ;
32 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
33 +
29 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> 34 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
30 rdf:type owl:Class ; 35 rdf:type owl:Class ;
31 rdfs:label "production well test"^^xsd:string ; 36 rdfs:label "production well test"^^xsd:string ;
32 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 37 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
33 38
34 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity> 39 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
35 rdf:type ep-prodact:ProductionOperationClassByDuration . 40 rdf:type ep-prodact:ProductionOperationClassByDuration .
...@@ -41,7 +46,7 @@ ...@@ -41,7 +46,7 @@
41 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> . 46 rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
42 47
43 ep-core:Mass 48 ep-core:Mass
44 - rdf:type ep-core:PropertySpace , rdfs:Class ; 49 + rdf:type rdfs:Class , ep-core:PropertySpace ;
45 rdfs:label "mass"^^xsd:string ; 50 rdfs:label "mass"^^xsd:string ;
46 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial . 51 rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
47 52
...@@ -82,7 +87,7 @@ ep-core:Mass ...@@ -82,7 +87,7 @@ ep-core:Mass
82 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 87 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
83 88
84 ep-prodact:AdministerFirstAid 89 ep-prodact:AdministerFirstAid
85 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 90 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
86 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 91 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
87 92
88 ep-prodact:AirTrafficOperation 93 ep-prodact:AirTrafficOperation
...@@ -94,20 +99,20 @@ ep-prodact:Alarm ...@@ -94,20 +99,20 @@ ep-prodact:Alarm
94 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 99 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
95 100
96 ep-prodact:AnnualProductionActivity 101 ep-prodact:AnnualProductionActivity
97 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 102 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
98 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 103 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
99 104
100 ep-prodact:AnnualProductionActivityToEndOfReportingPeriod 105 ep-prodact:AnnualProductionActivityToEndOfReportingPeriod
101 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 106 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
102 rdfs:subClassOf ep-prodact:AnnualProductionActivity . 107 rdfs:subClassOf ep-prodact:AnnualProductionActivity .
103 108
104 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod 109 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
105 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 110 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
106 - rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod . 111 + rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionOperationsActivity .
107 112
108 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod 113 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
109 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 114 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
110 - rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod . 115 + rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionVolumeActivity .
111 116
112 ep-prodact:CargoShipOperation 117 ep-prodact:CargoShipOperation
113 rdf:type owl:Class ; 118 rdf:type owl:Class ;
...@@ -118,23 +123,23 @@ ep-prodact:ConstructionOperation ...@@ -118,23 +123,23 @@ ep-prodact:ConstructionOperation
118 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 123 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
119 124
120 ep-prodact:CumulativeProductionActivitySinceProductionBegan 125 ep-prodact:CumulativeProductionActivitySinceProductionBegan
121 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 126 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
122 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 127 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
123 128
124 ep-prodact:DailyProductionOperationsActivity 129 ep-prodact:DailyProductionOperationsActivity
125 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 130 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
126 - rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> . 131 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity .
127 132
128 ep-prodact:DailyProductionVolumeActivity 133 ep-prodact:DailyProductionVolumeActivity
129 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 134 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
130 - rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> . 135 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
131 136
132 ep-prodact:Deviation 137 ep-prodact:Deviation
133 rdf:type owl:Class ; 138 rdf:type owl:Class ;
134 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 139 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
135 140
136 ep-prodact:DrillOrExcercise 141 ep-prodact:DrillOrExcercise
137 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 142 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
138 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 143 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
139 144
140 ep-prodact:Fire 145 ep-prodact:Fire
...@@ -170,11 +175,11 @@ ep-prodact:Incident ...@@ -170,11 +175,11 @@ ep-prodact:Incident
170 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 175 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
171 176
172 ep-prodact:Injury 177 ep-prodact:Injury
173 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 178 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
174 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 179 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
175 180
176 ep-prodact:IssueWorkPermit 181 ep-prodact:IssueWorkPermit
177 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 182 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
178 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 183 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
179 184
180 ep-prodact:JobObservation 185 ep-prodact:JobObservation
...@@ -202,11 +207,11 @@ ep-prodact:MarineOperation ...@@ -202,11 +207,11 @@ ep-prodact:MarineOperation
202 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 207 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
203 208
204 ep-prodact:MedicalTreatmentInjury 209 ep-prodact:MedicalTreatmentInjury
205 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 210 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
206 rdfs:subClassOf ep-prodact:Injury . 211 rdfs:subClassOf ep-prodact:Injury .
207 212
208 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod 213 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
209 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 214 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
210 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . 215 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
211 216
212 ep-prodact:NearMiss 217 ep-prodact:NearMiss
...@@ -226,7 +231,7 @@ ep-prodact:PowerStationFailure ...@@ -226,7 +231,7 @@ ep-prodact:PowerStationFailure
226 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . 231 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
227 232
228 ep-prodact:ProductionActivityLastingLessThanAYear 233 ep-prodact:ProductionActivityLastingLessThanAYear
229 - rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ; 234 + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
230 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 235 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
231 236
232 ep-prodact:ProductionOperationClassByDuration 237 ep-prodact:ProductionOperationClassByDuration
...@@ -246,7 +251,7 @@ ep-prodact:ReleasedToWater ...@@ -246,7 +251,7 @@ ep-prodact:ReleasedToWater
246 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 251 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
247 252
248 ep-prodact:ReportHazard 253 ep-prodact:ReportHazard
249 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 254 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
250 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 255 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
251 256
252 ep-prodact:RestrictedWork 257 ep-prodact:RestrictedWork
...@@ -254,7 +259,7 @@ ep-prodact:RestrictedWork ...@@ -254,7 +259,7 @@ ep-prodact:RestrictedWork
254 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 259 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
255 260
256 ep-prodact:RestrictedWorkInjury 261 ep-prodact:RestrictedWorkInjury
257 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 262 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
258 rdfs:subClassOf ep-prodact:Injury . 263 rdfs:subClassOf ep-prodact:Injury .
259 264
260 ep-prodact:SafetyActivityType 265 ep-prodact:SafetyActivityType
...@@ -262,7 +267,7 @@ ep-prodact:SafetyActivityType ...@@ -262,7 +267,7 @@ ep-prodact:SafetyActivityType
262 rdfs:subClassOf owl:Class . 267 rdfs:subClassOf owl:Class .
263 268
264 ep-prodact:SafetyMeeting 269 ep-prodact:SafetyMeeting
265 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 270 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
266 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 271 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
267 272
268 ep-prodact:SampleAmountOfSubstance 273 ep-prodact:SampleAmountOfSubstance
...@@ -282,7 +287,7 @@ ep-prodact:SickOnBoard ...@@ -282,7 +287,7 @@ ep-prodact:SickOnBoard
282 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 287 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
283 288
284 ep-prodact:SpillOrLeak 289 ep-prodact:SpillOrLeak
285 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 290 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
286 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 291 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
287 292
288 ep-prodact:WaterCleaningOperation 293 ep-prodact:WaterCleaningOperation
...@@ -291,14 +296,14 @@ ep-prodact:WaterCleaningOperation ...@@ -291,14 +296,14 @@ ep-prodact:WaterCleaningOperation
291 296
292 ep-prodact:WaterSample 297 ep-prodact:WaterSample
293 rdf:type owl:Class ; 298 rdf:type owl:Class ;
294 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance . 299 + rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> .
295 300
296 ep-prodact:WorkingUnderPermit 301 ep-prodact:WorkingUnderPermit
297 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 302 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
298 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 303 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
299 304
300 ep-prodact:WorkingUnderPermitWithSJA 305 ep-prodact:WorkingUnderPermitWithSJA
301 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 306 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
302 rdfs:subClassOf ep-prodact:WorkingUnderPermit . 307 rdfs:subClassOf ep-prodact:WorkingUnderPermit .
303 308
304 ep-prodact:ammoniumDensity 309 ep-prodact:ammoniumDensity
......
1 -# Saved by TopBraid on Fri Oct 14 13:39:20 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 15:27:40 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
3 # imports: http://www.reportinghub.no/ep/schema/1.0/geography 3 # imports: http://www.reportinghub.no/ep/schema/1.0/geography
4 # imports: http://www.reportinghub.no/ep/schema/1.0/well 4 # imports: http://www.reportinghub.no/ep/schema/1.0/well
...@@ -215,13 +215,37 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -215,13 +215,37 @@ ep-dpr-spin-lib:buildProductFlowURI
215 ]) 215 ])
216 ] . 216 ] .
217 217
218 +ep-dpr-spin-lib:buildProductionActivityToDateURI
219 + rdf:type spin:Function ;
220 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
221 + spin:body
222 + [ rdf:type sp:Select ;
223 + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
224 +arg2 is end date"""^^xsd:string ;
225 + sp:resultVariables (_:b9) ;
226 + sp:where ([ rdf:type sp:Bind ;
227 + sp:expression
228 + [ rdf:type ep-spin-lib:buildURI ;
229 + sp:arg1 "https://www.reportinghub.no/ep/data/productionActivityToDate/" ;
230 + sp:arg2 [ rdf:type fn:concat ;
231 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
232 + sp:arg1 spin:_arg1
233 + ] ;
234 + sp:arg2 "$" ;
235 + sp:arg3 spin:_arg2
236 + ]
237 + ] ;
238 + sp:variable _:b9
239 + ])
240 + ] .
241 +
218 ep-dpr-spin-lib:buildProductionFacilityURI 242 ep-dpr-spin-lib:buildProductionFacilityURI
219 rdf:type spin:Function ; 243 rdf:type spin:Function ;
220 rdfs:label "build ProductionFacility URI"^^xsd:string ; 244 rdfs:label "build ProductionFacility URI"^^xsd:string ;
221 rdfs:subClassOf ep-dpr-spin-lib:Function ; 245 rdfs:subClassOf ep-dpr-spin-lib:Function ;
222 spin:body 246 spin:body
223 [ rdf:type sp:Select ; 247 [ rdf:type sp:Select ;
224 - sp:resultVariables (_:b9) ; 248 + sp:resultVariables (_:b10) ;
225 sp:where ([ rdf:type sp:Bind ; 249 sp:where ([ rdf:type sp:Bind ;
226 sp:expression 250 sp:expression
227 [ rdf:type ep-spin-lib:buildURI ; 251 [ rdf:type ep-spin-lib:buildURI ;
...@@ -230,7 +254,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -230,7 +254,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
230 sp:arg1 spin:_arg1 254 sp:arg1 spin:_arg1
231 ] 255 ]
232 ] ; 256 ] ;
233 - sp:variable _:b9 257 + sp:variable _:b10
234 ]) 258 ])
235 ] . 259 ] .
236 260
...@@ -240,7 +264,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -240,7 +264,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
240 rdfs:subClassOf ep-dpr-spin-lib:Function ; 264 rdfs:subClassOf ep-dpr-spin-lib:Function ;
241 spin:body 265 spin:body
242 [ rdf:type sp:Select ; 266 [ rdf:type sp:Select ;
243 - sp:resultVariables (_:b10) ; 267 + sp:resultVariables (_:b11) ;
244 sp:where ([ rdf:type sp:Bind ; 268 sp:where ([ rdf:type sp:Bind ;
245 sp:expression 269 sp:expression
246 [ rdf:type ep-spin-lib:buildURI ; 270 [ rdf:type ep-spin-lib:buildURI ;
...@@ -249,17 +273,17 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -249,17 +273,17 @@ ep-dpr-spin-lib:buildProductionFlowURI
249 sp:arg1 spin:_arg1 273 sp:arg1 spin:_arg1
250 ] 274 ]
251 ] ; 275 ] ;
252 - sp:variable _:b10 276 + sp:variable _:b11
253 ]) 277 ])
254 ] . 278 ] .
255 279
256 ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI 280 ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
257 rdf:type spin:Function ; 281 rdf:type spin:Function ;
258 - rdfs:label "build ProductionFacility URI"^^xsd:string ; 282 + rdfs:label "build ProductionFlowsForAPeriod URI"^^xsd:string ;
259 rdfs:subClassOf ep-dpr-spin-lib:Function ; 283 rdfs:subClassOf ep-dpr-spin-lib:Function ;
260 spin:body 284 spin:body
261 [ rdf:type sp:Select ; 285 [ rdf:type sp:Select ;
262 - sp:resultVariables (_:b11) ; 286 + sp:resultVariables (_:b12) ;
263 sp:where ([ rdf:type sp:Bind ; 287 sp:where ([ rdf:type sp:Bind ;
264 sp:expression 288 sp:expression
265 [ rdf:type ep-spin-lib:buildURI ; 289 [ rdf:type ep-spin-lib:buildURI ;
...@@ -272,7 +296,28 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -272,7 +296,28 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
272 sp:arg5 spin:_arg3 296 sp:arg5 spin:_arg3
273 ] 297 ]
274 ] ; 298 ] ;
275 - sp:variable _:b11 299 + sp:variable _:b12
300 + ])
301 + ] .
302 +
303 +ep-dpr-spin-lib:buildProductionFlowsToDateURI
304 + rdf:type spin:Function ;
305 + rdfs:label "build ProductionFlowsToDate URI"^^xsd:string ;
306 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
307 + spin:body
308 + [ rdf:type sp:Select ;
309 + sp:resultVariables (_:b13) ;
310 + sp:where ([ rdf:type sp:Bind ;
311 + sp:expression
312 + [ rdf:type ep-spin-lib:buildURI ;
313 + sp:arg1 "https://www.reportinghub.no/ep/data/productionFlowsToDate/" ;
314 + sp:arg2 [ rdf:type fn:concat ;
315 + sp:arg1 spin:_arg1 ;
316 + sp:arg2 "$" ;
317 + sp:arg3 spin:_arg2
318 + ]
319 + ] ;
320 + sp:variable _:b13
276 ]) 321 ])
277 ] . 322 ] .
278 323
...@@ -282,7 +327,7 @@ ep-dpr-spin-lib:buildShipURI ...@@ -282,7 +327,7 @@ ep-dpr-spin-lib:buildShipURI
282 spin:body 327 spin:body
283 [ rdf:type sp:Select ; 328 [ rdf:type sp:Select ;
284 rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ; 329 rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ;
285 - sp:resultVariables (_:b12) ; 330 + sp:resultVariables (_:b14) ;
286 sp:where ([ rdf:type sp:Bind ; 331 sp:where ([ rdf:type sp:Bind ;
287 sp:expression 332 sp:expression
288 [ rdf:type ep-spin-lib:buildURI ; 333 [ rdf:type ep-spin-lib:buildURI ;
...@@ -291,7 +336,7 @@ ep-dpr-spin-lib:buildShipURI ...@@ -291,7 +336,7 @@ ep-dpr-spin-lib:buildShipURI
291 sp:arg1 spin:_arg1 336 sp:arg1 spin:_arg1
292 ] 337 ]
293 ] ; 338 ] ;
294 - sp:variable _:b12 339 + sp:variable _:b14
295 ]) 340 ])
296 ] . 341 ] .
297 342
...@@ -301,7 +346,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -301,7 +346,7 @@ ep-dpr-spin-lib:buildStateURI
301 rdfs:subClassOf ep-dpr-spin-lib:Function ; 346 rdfs:subClassOf ep-dpr-spin-lib:Function ;
302 spin:body 347 spin:body
303 [ rdf:type sp:Select ; 348 [ rdf:type sp:Select ;
304 - sp:resultVariables (_:b13) ; 349 + sp:resultVariables (_:b15) ;
305 sp:where ([ rdf:type sp:Bind ; 350 sp:where ([ rdf:type sp:Bind ;
306 sp:expression 351 sp:expression
307 [ rdf:type ep-spin-lib:buildURI ; 352 [ rdf:type ep-spin-lib:buildURI ;
...@@ -310,7 +355,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -310,7 +355,7 @@ ep-dpr-spin-lib:buildStateURI
310 sp:arg1 spin:_arg1 355 sp:arg1 spin:_arg1
311 ] 356 ]
312 ] ; 357 ] ;
313 - sp:variable _:b13 358 + sp:variable _:b15
314 ]) 359 ])
315 ] . 360 ] .
316 361
...@@ -322,7 +367,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI ...@@ -322,7 +367,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI
322 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) 367 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
323 arg2 is start date 368 arg2 is start date
324 arg3 is end date"""^^xsd:string ; 369 arg3 is end date"""^^xsd:string ;
325 - sp:resultVariables (_:b14) ; 370 + sp:resultVariables (_:b16) ;
326 sp:where ([ rdf:type sp:Bind ; 371 sp:where ([ rdf:type sp:Bind ;
327 sp:expression 372 sp:expression
328 [ rdf:type ep-spin-lib:buildURI ; 373 [ rdf:type ep-spin-lib:buildURI ;
...@@ -337,7 +382,7 @@ arg3 is end date"""^^xsd:string ; ...@@ -337,7 +382,7 @@ arg3 is end date"""^^xsd:string ;
337 sp:arg5 spin:_arg3 382 sp:arg5 spin:_arg3
338 ] 383 ]
339 ] ; 384 ] ;
340 - sp:variable _:b14 385 + sp:variable _:b16
341 ]) 386 ])
342 ] . 387 ] .
343 388
...@@ -347,7 +392,7 @@ ep-dpr-spin-lib:selectDurationScale ...@@ -347,7 +392,7 @@ ep-dpr-spin-lib:selectDurationScale
347 rdfs:subClassOf ep-dpr-spin-lib:Function ; 392 rdfs:subClassOf ep-dpr-spin-lib:Function ;
348 spin:body 393 spin:body
349 [ rdf:type sp:Select ; 394 [ rdf:type sp:Select ;
350 - sp:resultVariables (_:b15) ; 395 + sp:resultVariables (_:b17) ;
351 sp:where ([ rdf:type sp:Bind ; 396 sp:where ([ rdf:type sp:Bind ;
352 sp:expression 397 sp:expression
353 [ rdf:type sp:if ; 398 [ rdf:type sp:if ;
...@@ -372,7 +417,7 @@ ep-dpr-spin-lib:selectDurationScale ...@@ -372,7 +417,7 @@ ep-dpr-spin-lib:selectDurationScale
372 ] 417 ]
373 ] 418 ]
374 ] ; 419 ] ;
375 - sp:variable _:b15 420 + sp:variable _:b17
376 ]) 421 ])
377 ] . 422 ] .
378 423
...@@ -382,7 +427,7 @@ ep-dpr-spin-lib:selectLengthScale ...@@ -382,7 +427,7 @@ ep-dpr-spin-lib:selectLengthScale
382 rdfs:subClassOf ep-dpr-spin-lib:Function ; 427 rdfs:subClassOf ep-dpr-spin-lib:Function ;
383 spin:body 428 spin:body
384 [ rdf:type sp:Select ; 429 [ rdf:type sp:Select ;
385 - sp:resultVariables (_:b16) ; 430 + sp:resultVariables (_:b18) ;
386 sp:where ([ rdf:type sp:Bind ; 431 sp:where ([ rdf:type sp:Bind ;
387 sp:expression 432 sp:expression
388 [ rdf:type sp:if ; 433 [ rdf:type sp:if ;
...@@ -421,7 +466,7 @@ ep-dpr-spin-lib:selectLengthScale ...@@ -421,7 +466,7 @@ ep-dpr-spin-lib:selectLengthScale
421 ] 466 ]
422 ] 467 ]
423 ] ; 468 ] ;
424 - sp:variable _:b16 469 + sp:variable _:b18
425 ]) 470 ])
426 ] . 471 ] .
427 472
...@@ -430,7 +475,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale ...@@ -430,7 +475,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale
430 rdfs:subClassOf ep-dpr-spin-lib:Function ; 475 rdfs:subClassOf ep-dpr-spin-lib:Function ;
431 spin:body 476 spin:body
432 [ rdf:type sp:Select ; 477 [ rdf:type sp:Select ;
433 - sp:resultVariables (_:b17) ; 478 + sp:resultVariables (_:b19) ;
434 sp:where ([ rdf:type sp:Bind ; 479 sp:where ([ rdf:type sp:Bind ;
435 sp:expression 480 sp:expression
436 [ rdf:type sp:if ; 481 [ rdf:type sp:if ;
...@@ -490,7 +535,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale ...@@ -490,7 +535,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale
490 ] 535 ]
491 ] 536 ]
492 ] ; 537 ] ;
493 - sp:variable _:b17 538 + sp:variable _:b19
494 ]) 539 ])
495 ] . 540 ] .
496 541
...@@ -500,7 +545,7 @@ ep-dpr-spin-lib:selectPressureScale ...@@ -500,7 +545,7 @@ ep-dpr-spin-lib:selectPressureScale
500 rdfs:subClassOf ep-dpr-spin-lib:Function ; 545 rdfs:subClassOf ep-dpr-spin-lib:Function ;
501 spin:body 546 spin:body
502 [ rdf:type sp:Select ; 547 [ rdf:type sp:Select ;
503 - sp:resultVariables (_:b18) ; 548 + sp:resultVariables (_:b20) ;
504 sp:where ([ rdf:type sp:Bind ; 549 sp:where ([ rdf:type sp:Bind ;
505 sp:expression 550 sp:expression
506 [ rdf:type sp:if ; 551 [ rdf:type sp:if ;
...@@ -525,7 +570,7 @@ ep-dpr-spin-lib:selectPressureScale ...@@ -525,7 +570,7 @@ ep-dpr-spin-lib:selectPressureScale
525 ] 570 ]
526 ] 571 ]
527 ] ; 572 ] ;
528 - sp:variable _:b18 573 + sp:variable _:b20
529 ]) 574 ])
530 ] . 575 ] .
531 576
...@@ -535,7 +580,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -535,7 +580,7 @@ ep-dpr-spin-lib:selectProductType
535 rdfs:subClassOf ep-dpr-spin-lib:Function ; 580 rdfs:subClassOf ep-dpr-spin-lib:Function ;
536 spin:body 581 spin:body
537 [ rdf:type sp:Select ; 582 [ rdf:type sp:Select ;
538 - sp:resultVariables (_:b19) ; 583 + sp:resultVariables (_:b21) ;
539 sp:where ([ rdf:type sp:Bind ; 584 sp:where ([ rdf:type sp:Bind ;
540 sp:expression 585 sp:expression
541 [ rdf:type sp:if ; 586 [ rdf:type sp:if ;
...@@ -742,7 +787,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -742,7 +787,7 @@ ep-dpr-spin-lib:selectProductType
742 ] 787 ]
743 ] 788 ]
744 ] ; 789 ] ;
745 - sp:variable _:b19 790 + sp:variable _:b21
746 ]) 791 ])
747 ] . 792 ] .
748 793
...@@ -752,7 +797,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -752,7 +797,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
752 rdfs:subClassOf ep-dpr-spin-lib:Function ; 797 rdfs:subClassOf ep-dpr-spin-lib:Function ;
753 spin:body 798 spin:body
754 [ rdf:type sp:Select ; 799 [ rdf:type sp:Select ;
755 - sp:resultVariables (_:b20) ; 800 + sp:resultVariables (_:b22) ;
756 sp:where ([ rdf:type sp:Bind ; 801 sp:where ([ rdf:type sp:Bind ;
757 sp:expression 802 sp:expression
758 [ rdf:type sp:if ; 803 [ rdf:type sp:if ;
...@@ -931,7 +976,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -931,7 +976,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
931 ] 976 ]
932 ] 977 ]
933 ] ; 978 ] ;
934 - sp:variable _:b20 979 + sp:variable _:b22
935 ]) 980 ])
936 ] . 981 ] .
937 982
...@@ -941,7 +986,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -941,7 +986,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
941 rdfs:subClassOf ep-dpr-spin-lib:Function ; 986 rdfs:subClassOf ep-dpr-spin-lib:Function ;
942 spin:body 987 spin:body
943 [ rdf:type sp:Select ; 988 [ rdf:type sp:Select ;
944 - sp:resultVariables (_:b21) ; 989 + sp:resultVariables (_:b23) ;
945 sp:where ([ rdf:type sp:Bind ; 990 sp:where ([ rdf:type sp:Bind ;
946 sp:expression 991 sp:expression
947 [ rdf:type sp:if ; 992 [ rdf:type sp:if ;
...@@ -1001,7 +1046,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -1001,7 +1046,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
1001 ] 1046 ]
1002 ] 1047 ]
1003 ] ; 1048 ] ;
1004 - sp:variable _:b21 1049 + sp:variable _:b23
1005 ]) 1050 ])
1006 ] . 1051 ] .
1007 1052
...@@ -1011,7 +1056,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -1011,7 +1056,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
1011 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1056 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1012 spin:body 1057 spin:body
1013 [ rdf:type sp:Select ; 1058 [ rdf:type sp:Select ;
1014 - sp:resultVariables (_:b22) ; 1059 + sp:resultVariables (_:b24) ;
1015 sp:where ([ rdf:type sp:Bind ; 1060 sp:where ([ rdf:type sp:Bind ;
1016 sp:expression 1061 sp:expression
1017 [ rdf:type sp:if ; 1062 [ rdf:type sp:if ;
...@@ -1029,7 +1074,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -1029,7 +1074,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
1029 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 1074 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
1030 ] 1075 ]
1031 ] ; 1076 ] ;
1032 - sp:variable _:b22 1077 + sp:variable _:b24
1033 ]) 1078 ])
1034 ] . 1079 ] .
1035 1080
...@@ -1039,7 +1084,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -1039,7 +1084,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
1039 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1084 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1040 spin:body 1085 spin:body
1041 [ rdf:type sp:Select ; 1086 [ rdf:type sp:Select ;
1042 - sp:resultVariables (_:b23) ; 1087 + sp:resultVariables (_:b25) ;
1043 sp:where ([ rdf:type sp:Bind ; 1088 sp:where ([ rdf:type sp:Bind ;
1044 sp:expression 1089 sp:expression
1045 [ rdf:type sp:if ; 1090 [ rdf:type sp:if ;
...@@ -1057,7 +1102,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -1057,7 +1102,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
1057 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 1102 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
1058 ] 1103 ]
1059 ] ; 1104 ] ;
1060 - sp:variable _:b23 1105 + sp:variable _:b25
1061 ]) 1106 ])
1062 ] . 1107 ] .
1063 1108
...@@ -1067,7 +1112,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -1067,7 +1112,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
1067 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1112 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1068 spin:body 1113 spin:body
1069 [ rdf:type sp:Select ; 1114 [ rdf:type sp:Select ;
1070 - sp:resultVariables (_:b24) ; 1115 + sp:resultVariables (_:b26) ;
1071 sp:where ([ rdf:type sp:Bind ; 1116 sp:where ([ rdf:type sp:Bind ;
1072 sp:expression 1117 sp:expression
1073 [ rdf:type sp:if ; 1118 [ rdf:type sp:if ;
...@@ -1218,7 +1263,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -1218,7 +1263,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
1218 ] 1263 ]
1219 ] 1264 ]
1220 ] ; 1265 ] ;
1221 - sp:variable _:b24 1266 + sp:variable _:b26
1222 ]) 1267 ])
1223 ] . 1268 ] .
1224 1269
...@@ -1227,7 +1272,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType ...@@ -1227,7 +1272,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType
1227 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1272 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1228 spin:body 1273 spin:body
1229 [ rdf:type sp:Select ; 1274 [ rdf:type sp:Select ;
1230 - sp:resultVariables (_:b25) ; 1275 + sp:resultVariables (_:b27) ;
1231 sp:where ([ rdf:type sp:Bind ; 1276 sp:where ([ rdf:type sp:Bind ;
1232 sp:expression 1277 sp:expression
1233 [ rdf:type sp:if ; 1278 [ rdf:type sp:if ;
...@@ -1280,7 +1325,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType ...@@ -1280,7 +1325,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType
1280 ] 1325 ]
1281 ] 1326 ]
1282 ] ; 1327 ] ;
1283 - sp:variable _:b25 1328 + sp:variable _:b27
1284 ]) 1329 ])
1285 ] . 1330 ] .
1286 1331
...@@ -1290,7 +1335,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -1290,7 +1335,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
1290 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1335 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1291 spin:body 1336 spin:body
1292 [ rdf:type sp:Select ; 1337 [ rdf:type sp:Select ;
1293 - sp:resultVariables (_:b26) ; 1338 + sp:resultVariables (_:b28) ;
1294 sp:where ([ rdf:type sp:Bind ; 1339 sp:where ([ rdf:type sp:Bind ;
1295 sp:expression 1340 sp:expression
1296 [ rdf:type sp:if ; 1341 [ rdf:type sp:if ;
...@@ -1364,7 +1409,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -1364,7 +1409,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
1364 ] 1409 ]
1365 ] 1410 ]
1366 ] ; 1411 ] ;
1367 - sp:variable _:b26 1412 + sp:variable _:b28
1368 ]) 1413 ])
1369 ] . 1414 ] .
1370 1415
...@@ -1373,7 +1418,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1373,7 +1418,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1373 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1418 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1374 spin:body 1419 spin:body
1375 [ rdf:type sp:Select ; 1420 [ rdf:type sp:Select ;
1376 - sp:resultVariables (_:b27) ; 1421 + sp:resultVariables (_:b29) ;
1377 sp:where ([ rdf:type sp:Bind ; 1422 sp:where ([ rdf:type sp:Bind ;
1378 sp:expression 1423 sp:expression
1379 [ rdf:type sp:if ; 1424 [ rdf:type sp:if ;
...@@ -1517,7 +1562,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1517,7 +1562,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1517 ] 1562 ]
1518 ] 1563 ]
1519 ] ; 1564 ] ;
1520 - sp:variable _:b27 1565 + sp:variable _:b29
1521 ]) 1566 ])
1522 ] . 1567 ] .
1523 1568
...@@ -1527,7 +1572,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale ...@@ -1527,7 +1572,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
1527 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1572 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1528 spin:body 1573 spin:body
1529 [ rdf:type sp:Select ; 1574 [ rdf:type sp:Select ;
1530 - sp:resultVariables (_:b28) ; 1575 + sp:resultVariables (_:b30) ;
1531 sp:where ([ rdf:type sp:Bind ; 1576 sp:where ([ rdf:type sp:Bind ;
1532 sp:expression 1577 sp:expression
1533 [ rdf:type sp:if ; 1578 [ rdf:type sp:if ;
...@@ -1538,7 +1583,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale ...@@ -1538,7 +1583,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
1538 sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; 1583 sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
1539 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 1584 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1540 ] ; 1585 ] ;
1541 - sp:variable _:b28 1586 + sp:variable _:b30
1542 ]) 1587 ])
1543 ] . 1588 ] .
1544 1589
...@@ -1548,7 +1593,7 @@ ep-dpr-spin-lib:selectTemperatureScale ...@@ -1548,7 +1593,7 @@ ep-dpr-spin-lib:selectTemperatureScale
1548 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1593 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1549 spin:body 1594 spin:body
1550 [ rdf:type sp:Select ; 1595 [ rdf:type sp:Select ;
1551 - sp:resultVariables (_:b29) ; 1596 + sp:resultVariables (_:b31) ;
1552 sp:where ([ rdf:type sp:Bind ; 1597 sp:where ([ rdf:type sp:Bind ;
1553 sp:expression 1598 sp:expression
1554 [ rdf:type sp:if ; 1599 [ rdf:type sp:if ;
...@@ -1566,7 +1611,7 @@ ep-dpr-spin-lib:selectTemperatureScale ...@@ -1566,7 +1611,7 @@ ep-dpr-spin-lib:selectTemperatureScale
1566 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 1611 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1567 ] 1612 ]
1568 ] ; 1613 ] ;
1569 - sp:variable _:b29 1614 + sp:variable _:b31
1570 ]) 1615 ])
1571 ] . 1616 ] .
1572 1617
...@@ -1576,7 +1621,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1576,7 +1621,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1576 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1621 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1577 spin:body 1622 spin:body
1578 [ rdf:type sp:Select ; 1623 [ rdf:type sp:Select ;
1579 - sp:resultVariables (_:b30) ; 1624 + sp:resultVariables (_:b32) ;
1580 sp:where ([ rdf:type sp:Bind ; 1625 sp:where ([ rdf:type sp:Bind ;
1581 sp:expression 1626 sp:expression
1582 [ rdf:type sp:if ; 1627 [ rdf:type sp:if ;
...@@ -1650,7 +1695,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1650,7 +1695,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1650 ] 1695 ]
1651 ] 1696 ]
1652 ] ; 1697 ] ;
1653 - sp:variable _:b30 1698 + sp:variable _:b32
1654 ]) 1699 ])
1655 ] . 1700 ] .
1656 1701
...@@ -1659,7 +1704,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1659,7 +1704,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1659 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1704 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1660 spin:body 1705 spin:body
1661 [ rdf:type sp:Select ; 1706 [ rdf:type sp:Select ;
1662 - sp:resultVariables (_:b31) ; 1707 + sp:resultVariables (_:b33) ;
1663 sp:where ([ rdf:type sp:Bind ; 1708 sp:where ([ rdf:type sp:Bind ;
1664 sp:expression 1709 sp:expression
1665 [ rdf:type sp:if ; 1710 [ rdf:type sp:if ;
...@@ -1733,7 +1778,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1733,7 +1778,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1733 ] 1778 ]
1734 ] 1779 ]
1735 ] ; 1780 ] ;
1736 - sp:variable _:b31 1781 + sp:variable _:b33
1737 ]) 1782 ])
1738 ] . 1783 ] .
1739 1784
...@@ -1743,7 +1788,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1743,7 +1788,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1743 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1788 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1744 spin:body 1789 spin:body
1745 [ rdf:type sp:Select ; 1790 [ rdf:type sp:Select ;
1746 - sp:resultVariables (_:b32) ; 1791 + sp:resultVariables (_:b34) ;
1747 sp:where ([ rdf:type sp:Bind ; 1792 sp:where ([ rdf:type sp:Bind ;
1748 sp:expression 1793 sp:expression
1749 [ rdf:type sp:if ; 1794 [ rdf:type sp:if ;
...@@ -1768,7 +1813,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1768,7 +1813,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1768 ] 1813 ]
1769 ] 1814 ]
1770 ] ; 1815 ] ;
1771 - sp:variable _:b32 1816 + sp:variable _:b34
1772 ]) 1817 ])
1773 ] . 1818 ] .
1774 1819
...@@ -1778,7 +1823,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -1778,7 +1823,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1778 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1823 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1779 spin:body 1824 spin:body
1780 [ rdf:type sp:Select ; 1825 [ rdf:type sp:Select ;
1781 - sp:resultVariables (_:b33) ; 1826 + sp:resultVariables (_:b35) ;
1782 sp:where ([ rdf:type sp:Bind ; 1827 sp:where ([ rdf:type sp:Bind ;
1783 sp:expression 1828 sp:expression
1784 [ rdf:type sp:if ; 1829 [ rdf:type sp:if ;
...@@ -1803,7 +1848,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -1803,7 +1848,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1803 ] 1848 ]
1804 ] 1849 ]
1805 ] ; 1850 ] ;
1806 - sp:variable _:b33 1851 + sp:variable _:b35
1807 ]) 1852 ])
1808 ] . 1853 ] .
1809 1854
...@@ -1813,7 +1858,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale ...@@ -1813,7 +1858,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
1813 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1858 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1814 spin:body 1859 spin:body
1815 [ rdf:type sp:Select ; 1860 [ rdf:type sp:Select ;
1816 - sp:resultVariables (_:b34) ; 1861 + sp:resultVariables (_:b36) ;
1817 sp:where ([ rdf:type sp:Bind ; 1862 sp:where ([ rdf:type sp:Bind ;
1818 sp:expression 1863 sp:expression
1819 [ rdf:type sp:if ; 1864 [ rdf:type sp:if ;
...@@ -1838,7 +1883,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale ...@@ -1838,7 +1883,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
1838 ] 1883 ]
1839 ] 1884 ]
1840 ] ; 1885 ] ;
1841 - sp:variable _:b34 1886 + sp:variable _:b36
1842 ]) 1887 ])
1843 ] . 1888 ] .
1844 1889
...@@ -1848,7 +1893,7 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1848,7 +1893,7 @@ ep-dpr-spin-lib:selectVolumeScale
1848 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1893 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1849 spin:body 1894 spin:body
1850 [ rdf:type sp:Select ; 1895 [ rdf:type sp:Select ;
1851 - sp:resultVariables (_:b35) ; 1896 + sp:resultVariables (_:b37) ;
1852 sp:where ([ rdf:type sp:Bind ; 1897 sp:where ([ rdf:type sp:Bind ;
1853 sp:expression 1898 sp:expression
1854 [ rdf:type sp:if ; 1899 [ rdf:type sp:if ;
...@@ -2076,74 +2121,80 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -2076,74 +2121,80 @@ ep-dpr-spin-lib:selectVolumeScale
2076 ] 2121 ]
2077 ] 2122 ]
2078 ] ; 2123 ] ;
2079 - sp:variable _:b35 2124 + sp:variable _:b37
2080 ]) 2125 ])
2081 ] . 2126 ] .
2082 2127
2083 -_:b35 2128 +_:b37
2084 sp:varName "volumeScale"^^xsd:string . 2129 sp:varName "volumeScale"^^xsd:string .
2085 2130
2086 -_:b34 2131 +_:b36
2087 sp:varName "volumeFlowRateScale"^^xsd:string . 2132 sp:varName "volumeFlowRateScale"^^xsd:string .
2088 2133
2089 -_:b33 2134 +_:b35
2090 sp:varName "volumeFlowRateAtStdType"^^xsd:string . 2135 sp:varName "volumeFlowRateAtStdType"^^xsd:string .
2091 2136
2092 -_:b32 2137 +_:b34
2093 sp:varName "volumeAtStdType"^^xsd:string . 2138 sp:varName "volumeAtStdType"^^xsd:string .
2094 2139
2095 -_:b31 2140 +_:b33
2096 sp:varName "prodActType"^^xsd:string . 2141 sp:varName "prodActType"^^xsd:string .
2097 2142
2098 -_:b30 2143 +_:b32
2099 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . 2144 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
2100 2145
2101 -_:b29 2146 +_:b31
2102 sp:varName "temperatureScale"^^xsd:string . 2147 sp:varName "temperatureScale"^^xsd:string .
2103 2148
2104 -_:b28 2149 +_:b30
2105 sp:varName "specificVolumeScale"^^xsd:string . 2150 sp:varName "specificVolumeScale"^^xsd:string .
2106 2151
2107 -_:b27 2152 +_:b29
2108 sp:varName "safetyActivityType"^^xsd:string . 2153 sp:varName "safetyActivityType"^^xsd:string .
2109 2154
2110 -_:b26 2155 +_:b28
2111 sp:varName "relationshipToMeasure"^^xsd:string . 2156 sp:varName "relationshipToMeasure"^^xsd:string .
2112 2157
2113 -_:b25 2158 +_:b27
2114 sp:varName "popType"^^xsd:string . 2159 sp:varName "popType"^^xsd:string .
2115 2160
2116 -_:b24 2161 +_:b26
2117 sp:varName "productionFlowPurposeType"^^xsd:string . 2162 sp:varName "productionFlowPurposeType"^^xsd:string .
2118 2163
2119 -_:b23 2164 +_:b25
2120 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 2165 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
2121 2166
2122 -_:b22 2167 +_:b24
2123 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 2168 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
2124 2169
2125 -_:b21 2170 +_:b23
2126 sp:varName "productionFlowDefinitionType"^^xsd:string . 2171 sp:varName "productionFlowDefinitionType"^^xsd:string .
2127 2172
2128 -_:b20 2173 +_:b22
2129 sp:varName "productionFacilityType"^^xsd:string . 2174 sp:varName "productionFacilityType"^^xsd:string .
2130 2175
2131 -_:b19 2176 +_:b21
2132 sp:varName "productType"^^xsd:string . 2177 sp:varName "productType"^^xsd:string .
2133 2178
2134 -_:b18 2179 +_:b20
2135 sp:varName "pressureScale"^^xsd:string . 2180 sp:varName "pressureScale"^^xsd:string .
2136 2181
2137 -_:b16 2182 +_:b19
2183 + sp:varName "massConcScale"^^xsd:string .
2184 +
2185 +_:b18
2138 sp:varName "lengthScale"^^xsd:string . 2186 sp:varName "lengthScale"^^xsd:string .
2139 2187
2140 -_:b15 2188 +_:b17
2141 sp:varName "durationScale"^^xsd:string . 2189 sp:varName "durationScale"^^xsd:string .
2142 2190
2143 -_:b14 2191 +_:b16
2144 sp:varName "uri"^^xsd:string . 2192 sp:varName "uri"^^xsd:string .
2145 2193
2146 -_:b13 2194 +_:b15
2195 + sp:varName "uri"^^xsd:string .
2196 +
2197 +_:b14
2147 sp:varName "uri"^^xsd:string . 2198 sp:varName "uri"^^xsd:string .
2148 2199
2149 _:b12 2200 _:b12
...@@ -2155,8 +2206,6 @@ _:b11 ...@@ -2155,8 +2206,6 @@ _:b11
2155 _:b10 2206 _:b10
2156 sp:varName "uri"^^xsd:string . 2207 sp:varName "uri"^^xsd:string .
2157 2208
2158 -_:b9 sp:varName "uri"^^xsd:string .
2159 -
2160 _:b8 sp:varName "uri"^^xsd:string . 2209 _:b8 sp:varName "uri"^^xsd:string .
2161 2210
2162 _:b7 sp:varName "uri"^^xsd:string . 2211 _:b7 sp:varName "uri"^^xsd:string .
...@@ -2173,5 +2222,7 @@ _:b2 sp:varName "uri"^^xsd:string . ...@@ -2173,5 +2222,7 @@ _:b2 sp:varName "uri"^^xsd:string .
2173 2222
2174 _:b1 sp:varName "uri"^^xsd:string . 2223 _:b1 sp:varName "uri"^^xsd:string .
2175 2224
2176 -_:b17 2225 +_:b13
2177 - sp:varName "massConcScale"^^xsd:string . 2226 + sp:varName "uri"^^xsd:string .
2227 +
2228 +_:b9 sp:varName "uri"^^xsd:string .
......
1 -# Saved by TopBraid on Fri Oct 14 13:39:20 BST 2011 1 +# Saved by TopBraid on Fri Oct 14 15:27:40 BST 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......