Showing
3 changed files
with
98 additions
and
71 deletions
| 1 | -# Saved by TopBraid on Thu Oct 13 13:06:48 BST 2011 | 1 | +# Saved by TopBraid on Thu Oct 13 14:40:18 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 |
| ... | @@ -19,15 +19,20 @@ | ... | @@ -19,15 +19,20 @@ |
| 19 | 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> ; | 19 | 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> ; |
| 20 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 20 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 21 | 21 | ||
| 22 | -<http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate> | 22 | +<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> |
| 23 | - rdf:type owl:Class ; | 23 | + rdf:type ep-prodact:ProductionOperationClassByDuration . |
| 24 | - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . | 24 | + |
| 25 | +<http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> | ||
| 26 | + rdf:type ep-prodact:ProductionOperationClassByDuration . | ||
| 25 | 27 | ||
| 26 | <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> | 28 | <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> |
| 27 | rdf:type owl:Class ; | 29 | rdf:type owl:Class ; |
| 28 | rdfs:label "production well test"^^xsd:string ; | 30 | rdfs:label "production well test"^^xsd:string ; |
| 29 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> . | 31 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> . |
| 30 | 32 | ||
| 33 | +<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity> | ||
| 34 | + rdf:type ep-prodact:ProductionOperationClassByDuration . | ||
| 35 | + | ||
| 31 | <http://www.reportinghub.no/ep/schema/activity#hasFlow> | 36 | <http://www.reportinghub.no/ep/schema/activity#hasFlow> |
| 32 | rdf:type owl:ObjectProperty ; | 37 | rdf:type owl:ObjectProperty ; |
| 33 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ; | 38 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ; |
| ... | @@ -79,19 +84,19 @@ ep-prodact:AirTrafficOperation | ... | @@ -79,19 +84,19 @@ ep-prodact:AirTrafficOperation |
| 79 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . | 84 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . |
| 80 | 85 | ||
| 81 | ep-prodact:AnnualProductionActivity | 86 | ep-prodact:AnnualProductionActivity |
| 82 | - rdf:type owl:Class ; | 87 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 83 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . | 88 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . |
| 84 | 89 | ||
| 85 | ep-prodact:AnnualProductionActivityToEndOfReportingPeriod | 90 | ep-prodact:AnnualProductionActivityToEndOfReportingPeriod |
| 86 | - rdf:type owl:Class ; | 91 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 87 | rdfs:subClassOf ep-prodact:AnnualProductionActivity . | 92 | rdfs:subClassOf ep-prodact:AnnualProductionActivity . |
| 88 | 93 | ||
| 89 | ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod | 94 | ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod |
| 90 | - rdf:type owl:Class ; | 95 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 91 | rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionOperationsActivity . | 96 | rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionOperationsActivity . |
| 92 | 97 | ||
| 93 | ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod | 98 | ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod |
| 94 | - rdf:type owl:Class ; | 99 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 95 | rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionVolumeActivity . | 100 | rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionVolumeActivity . |
| 96 | 101 | ||
| 97 | ep-prodact:ConstructionOperation | 102 | ep-prodact:ConstructionOperation |
| ... | @@ -99,15 +104,15 @@ ep-prodact:ConstructionOperation | ... | @@ -99,15 +104,15 @@ ep-prodact:ConstructionOperation |
| 99 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . | 104 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . |
| 100 | 105 | ||
| 101 | ep-prodact:CumulativeProductionActivitySinceProductionBegan | 106 | ep-prodact:CumulativeProductionActivitySinceProductionBegan |
| 102 | - rdf:type owl:Class ; | 107 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 103 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . | 108 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . |
| 104 | 109 | ||
| 105 | ep-prodact:DailyProductionOperationsActivity | 110 | ep-prodact:DailyProductionOperationsActivity |
| 106 | - rdf:type owl:Class ; | 111 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 107 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity . | 112 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity . |
| 108 | 113 | ||
| 109 | ep-prodact:DailyProductionVolumeActivity | 114 | ep-prodact:DailyProductionVolumeActivity |
| 110 | - rdf:type owl:Class ; | 115 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 111 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity . | 116 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity . |
| 112 | 117 | ||
| 113 | ep-prodact:Deviation | 118 | ep-prodact:Deviation |
| ... | @@ -134,6 +139,14 @@ ep-prodact:FlowLine-Production | ... | @@ -134,6 +139,14 @@ ep-prodact:FlowLine-Production |
| 134 | rdf:type owl:Class ; | 139 | rdf:type owl:Class ; |
| 135 | rdfs:subClassOf ep-prodact:FlowLine . | 140 | rdfs:subClassOf ep-prodact:FlowLine . |
| 136 | 141 | ||
| 142 | +ep-prodact:FusionOfHSEActivitiesOverPeriod | ||
| 143 | + rdf:type owl:Class ; | ||
| 144 | + rdfs:subClassOf ep-prodact:FusionOfPartsOfProductionActivityOverPeriod . | ||
| 145 | + | ||
| 146 | +ep-prodact:FusionOfPartsOfProductionActivityOverPeriod | ||
| 147 | + rdf:type owl:Class ; | ||
| 148 | + rdfs:subClassOf ep-prodact:PartOfProductionActivity . | ||
| 149 | + | ||
| 137 | ep-prodact:HealthSafetyAndEnvironmentActivity | 150 | ep-prodact:HealthSafetyAndEnvironmentActivity |
| 138 | rdf:type owl:Class ; | 151 | rdf:type owl:Class ; |
| 139 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . | 152 | rdfs:subClassOf ep-prodact:PartOfProductionActivity . |
| ... | @@ -179,7 +192,7 @@ ep-prodact:MedicalTreatmentInjury | ... | @@ -179,7 +192,7 @@ ep-prodact:MedicalTreatmentInjury |
| 179 | rdfs:subClassOf ep-prodact:Injury . | 192 | rdfs:subClassOf ep-prodact:Injury . |
| 180 | 193 | ||
| 181 | ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod | 194 | ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod |
| 182 | - rdf:type owl:Class ; | 195 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 183 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . | 196 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> . |
| 184 | 197 | ||
| 185 | ep-prodact:NearMiss | 198 | ep-prodact:NearMiss |
| ... | @@ -199,9 +212,13 @@ ep-prodact:PowerStationFailure | ... | @@ -199,9 +212,13 @@ ep-prodact:PowerStationFailure |
| 199 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . | 212 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> . |
| 200 | 213 | ||
| 201 | ep-prodact:ProductionActivityLastingLessThanAYear | 214 | ep-prodact:ProductionActivityLastingLessThanAYear |
| 202 | - rdf:type owl:Class ; | 215 | + rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ; |
| 203 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . | 216 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . |
| 204 | 217 | ||
| 218 | +ep-prodact:ProductionOperationClassByDuration | ||
| 219 | + rdf:type rdfs:Class ; | ||
| 220 | + rdfs:subClassOf owl:Class . | ||
| 221 | + | ||
| 205 | ep-prodact:ProductionOperationsActivity | 222 | ep-prodact:ProductionOperationsActivity |
| 206 | rdf:type owl:Class ; | 223 | rdf:type owl:Class ; |
| 207 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . | 224 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . |
| ... | @@ -258,6 +275,11 @@ ep-prodact:WorkingUnderPermitWithSJA | ... | @@ -258,6 +275,11 @@ ep-prodact:WorkingUnderPermitWithSJA |
| 258 | rdf:type owl:Class , ep-prodact:SafetyActivityType ; | 275 | rdf:type owl:Class , ep-prodact:SafetyActivityType ; |
| 259 | rdfs:subClassOf ep-prodact:WorkingUnderPermit . | 276 | rdfs:subClassOf ep-prodact:WorkingUnderPermit . |
| 260 | 277 | ||
| 278 | +ep-prodact:classificationBySafetyActivityType | ||
| 279 | + rdf:type owl:ObjectProperty ; | ||
| 280 | + rdfs:domain ep-prodact:FusionOfHSEActivitiesOverPeriod ; | ||
| 281 | + rdfs:range ep-prodact:SafetyActivityType . | ||
| 282 | + | ||
| 261 | ep-prodact:hasPart | 283 | ep-prodact:hasPart |
| 262 | rdf:type owl:ObjectProperty ; | 284 | rdf:type owl:ObjectProperty ; |
| 263 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; | 285 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; |
| ... | @@ -268,6 +290,11 @@ ep-prodact:involvedVessel | ... | @@ -268,6 +290,11 @@ ep-prodact:involvedVessel |
| 268 | rdfs:domain ep-prodact:MarineOperation ; | 290 | rdfs:domain ep-prodact:MarineOperation ; |
| 269 | rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#ShipOrBoat> . | 291 | rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#ShipOrBoat> . |
| 270 | 292 | ||
| 293 | +ep-prodact:involvement | ||
| 294 | + rdf:type owl:ObjectProperty ; | ||
| 295 | + rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ; | ||
| 296 | + rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | ||
| 297 | + | ||
| 271 | ep-prodact:noOfDrillsOrExcercises | 298 | ep-prodact:noOfDrillsOrExcercises |
| 272 | rdf:type owl:DatatypeProperty ; | 299 | rdf:type owl:DatatypeProperty ; |
| 273 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; | 300 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; |
| ... | @@ -318,6 +345,11 @@ ep-prodact:noOfSpillsOrLeaks | ... | @@ -318,6 +345,11 @@ ep-prodact:noOfSpillsOrLeaks |
| 318 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; | 345 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; |
| 319 | rdfs:range xsd:integer . | 346 | rdfs:range xsd:integer . |
| 320 | 347 | ||
| 348 | +ep-prodact:productionActivityPeriodClassification | ||
| 349 | + rdf:type owl:ObjectProperty ; | ||
| 350 | + rdfs:domain ep-prodact:FusionOfPartsOfProductionActivityOverPeriod ; | ||
| 351 | + rdfs:range ep-prodact:ProductionOperationClassByDuration . | ||
| 352 | + | ||
| 321 | ep-prodact:totalNoOfPermitsIssued | 353 | ep-prodact:totalNoOfPermitsIssued |
| 322 | rdf:type owl:DatatypeProperty ; | 354 | rdf:type owl:DatatypeProperty ; |
| 323 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; | 355 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; | ... | ... |
| 1 | -# Saved by TopBraid on Thu Oct 13 13:05:22 BST 2011 | 1 | +# Saved by TopBraid on Thu Oct 13 14:16:00 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 |
| ... | @@ -44,8 +44,7 @@ arg2 is report date"""^^xsd:string ; | ... | @@ -44,8 +44,7 @@ arg2 is report date"""^^xsd:string ; |
| 44 | sp:arg1 spin:_arg1 | 44 | sp:arg1 spin:_arg1 |
| 45 | ] ; | 45 | ] ; |
| 46 | sp:arg2 "$" ; | 46 | sp:arg2 "$" ; |
| 47 | - sp:arg3 [ sp:varName "docDate"^^xsd:string | 47 | + sp:arg3 spin:_arg2 |
| 48 | - ] | ||
| 49 | ] | 48 | ] |
| 50 | ] ; | 49 | ] ; |
| 51 | sp:variable _:b1 | 50 | sp:variable _:b1 |
| ... | @@ -57,53 +56,50 @@ ep-dpr-spin-lib:Function | ... | @@ -57,53 +56,50 @@ ep-dpr-spin-lib:Function |
| 57 | rdfs:label "function"^^xsd:string ; | 56 | rdfs:label "function"^^xsd:string ; |
| 58 | rdfs:subClassOf spin:Functions . | 57 | rdfs:subClassOf spin:Functions . |
| 59 | 58 | ||
| 60 | -ep-dpr-spin-lib:buildCountryURI | 59 | +ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI |
| 61 | rdf:type spin:Function ; | 60 | rdf:type spin:Function ; |
| 62 | - rdfs:label "build Country URI"^^xsd:string ; | ||
| 63 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 61 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 64 | spin:body | 62 | spin:body |
| 65 | [ rdf:type sp:Select ; | 63 | [ rdf:type sp:Select ; |
| 64 | + rdfs:comment """arg1 is name of the facility (this may to change when we sort out the identity lookup) | ||
| 65 | +arg2 is report end date"""^^xsd:string ; | ||
| 66 | sp:resultVariables (_:b2) ; | 66 | sp:resultVariables (_:b2) ; |
| 67 | sp:where ([ rdf:type sp:Bind ; | 67 | sp:where ([ rdf:type sp:Bind ; |
| 68 | sp:expression | 68 | sp:expression |
| 69 | [ rdf:type ep-spin-lib:buildURI ; | 69 | [ rdf:type ep-spin-lib:buildURI ; |
| 70 | - sp:arg1 "https://www.reportinghub.no/ep/data/country/" ; | 70 | + sp:arg1 "https://www.reportinghub.no/ep/data/annualProducitonActivityToEndOfReportingPeriod/" ; |
| 71 | sp:arg2 [ rdf:type fn:concat ; | 71 | sp:arg2 [ rdf:type fn:concat ; |
| 72 | + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 72 | sp:arg1 spin:_arg1 | 73 | sp:arg1 spin:_arg1 |
| 74 | + ] ; | ||
| 75 | + sp:arg2 "$" ; | ||
| 76 | + sp:arg3 spin:_arg2 | ||
| 73 | ] | 77 | ] |
| 74 | ] ; | 78 | ] ; |
| 75 | sp:variable _:b2 | 79 | sp:variable _:b2 |
| 76 | ]) | 80 | ]) |
| 77 | ] . | 81 | ] . |
| 78 | 82 | ||
| 79 | -ep-dpr-spin-lib:buildDailyProductionActivityURI | 83 | +ep-dpr-spin-lib:buildCountryURI |
| 80 | rdf:type spin:Function ; | 84 | rdf:type spin:Function ; |
| 85 | + rdfs:label "build Country URI"^^xsd:string ; | ||
| 81 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 86 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 82 | spin:body | 87 | spin:body |
| 83 | [ rdf:type sp:Select ; | 88 | [ rdf:type sp:Select ; |
| 84 | - rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) | ||
| 85 | -arg2 is start date | ||
| 86 | -arg3 is end date"""^^xsd:string ; | ||
| 87 | sp:resultVariables (_:b3) ; | 89 | sp:resultVariables (_:b3) ; |
| 88 | sp:where ([ rdf:type sp:Bind ; | 90 | sp:where ([ rdf:type sp:Bind ; |
| 89 | sp:expression | 91 | sp:expression |
| 90 | [ rdf:type ep-spin-lib:buildURI ; | 92 | [ rdf:type ep-spin-lib:buildURI ; |
| 91 | - sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionActivity/" ; | 93 | + sp:arg1 "https://www.reportinghub.no/ep/data/country/" ; |
| 92 | sp:arg2 [ rdf:type fn:concat ; | 94 | sp:arg2 [ rdf:type fn:concat ; |
| 93 | - sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 94 | sp:arg1 spin:_arg1 | 95 | sp:arg1 spin:_arg1 |
| 95 | - ] ; | ||
| 96 | - sp:arg2 "$" ; | ||
| 97 | - sp:arg3 spin:_arg2 ; | ||
| 98 | - sp:arg4 "$" ; | ||
| 99 | - sp:arg5 spin:_arg3 | ||
| 100 | ] | 96 | ] |
| 101 | ] ; | 97 | ] ; |
| 102 | sp:variable _:b3 | 98 | sp:variable _:b3 |
| 103 | ]) | 99 | ]) |
| 104 | ] . | 100 | ] . |
| 105 | 101 | ||
| 106 | -ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI | 102 | +ep-dpr-spin-lib:buildDailyProductionActivityURI |
| 107 | rdf:type spin:Function ; | 103 | rdf:type spin:Function ; |
| 108 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 104 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 109 | spin:body | 105 | spin:body |
| ... | @@ -115,7 +111,7 @@ arg3 is end date"""^^xsd:string ; | ... | @@ -115,7 +111,7 @@ arg3 is end date"""^^xsd:string ; |
| 115 | sp:where ([ rdf:type sp:Bind ; | 111 | sp:where ([ rdf:type sp:Bind ; |
| 116 | sp:expression | 112 | sp:expression |
| 117 | [ rdf:type ep-spin-lib:buildURI ; | 113 | [ rdf:type ep-spin-lib:buildURI ; |
| 118 | - sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionOperationsActivity/" ; | 114 | + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionActivity/" ; |
| 119 | sp:arg2 [ rdf:type fn:concat ; | 115 | sp:arg2 [ rdf:type fn:concat ; |
| 120 | sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; | 116 | sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; |
| 121 | sp:arg1 spin:_arg1 | 117 | sp:arg1 spin:_arg1 |
| ... | @@ -130,54 +126,53 @@ arg3 is end date"""^^xsd:string ; | ... | @@ -130,54 +126,53 @@ arg3 is end date"""^^xsd:string ; |
| 130 | ]) | 126 | ]) |
| 131 | ] . | 127 | ] . |
| 132 | 128 | ||
| 133 | -ep-dpr-spin-lib:buildProductFlowURI | 129 | +ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI |
| 134 | rdf:type spin:Function ; | 130 | rdf:type spin:Function ; |
| 135 | - rdfs:label "build ProductFlow URI"^^xsd:string ; | ||
| 136 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 131 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 137 | spin:body | 132 | spin:body |
| 138 | [ rdf:type sp:Select ; | 133 | [ rdf:type sp:Select ; |
| 134 | + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) | ||
| 135 | +arg2 is start date | ||
| 136 | +arg3 is end date"""^^xsd:string ; | ||
| 139 | sp:resultVariables (_:b5) ; | 137 | sp:resultVariables (_:b5) ; |
| 140 | sp:where ([ rdf:type sp:Bind ; | 138 | sp:where ([ rdf:type sp:Bind ; |
| 141 | sp:expression | 139 | sp:expression |
| 142 | [ rdf:type ep-spin-lib:buildURI ; | 140 | [ rdf:type ep-spin-lib:buildURI ; |
| 143 | - sp:arg1 "https://www.reportinghub.no/ep/data/productFlow/" ; | 141 | + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionOperationsActivity/" ; |
| 144 | sp:arg2 [ rdf:type fn:concat ; | 142 | sp:arg2 [ rdf:type fn:concat ; |
| 145 | - sp:arg1 spin:_arg1 ; | 143 | + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; |
| 144 | + sp:arg1 spin:_arg1 | ||
| 145 | + ] ; | ||
| 146 | sp:arg2 "$" ; | 146 | sp:arg2 "$" ; |
| 147 | - sp:arg3 spin:_arg2 | 147 | + sp:arg3 spin:_arg2 ; |
| 148 | + sp:arg4 "$" ; | ||
| 149 | + sp:arg5 spin:_arg3 | ||
| 148 | ] | 150 | ] |
| 149 | ] ; | 151 | ] ; |
| 150 | sp:variable _:b5 | 152 | sp:variable _:b5 |
| 151 | ]) | 153 | ]) |
| 152 | ] . | 154 | ] . |
| 153 | 155 | ||
| 154 | -ep-dpr-spin-lib:buildProductionActivityToDateURI | 156 | +ep-dpr-spin-lib:buildFacilityURI |
| 155 | rdf:type spin:Function ; | 157 | rdf:type spin:Function ; |
| 156 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 158 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 157 | spin:body | 159 | spin:body |
| 158 | [ rdf:type sp:Select ; | 160 | [ rdf:type sp:Select ; |
| 159 | - rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) | 161 | + rdfs:comment "arg1 is name of facility (this is going to change when we sort out the identity lookup)"^^xsd:string ; |
| 160 | -arg2 is end date"""^^xsd:string ; | ||
| 161 | sp:resultVariables (_:b6) ; | 162 | sp:resultVariables (_:b6) ; |
| 162 | sp:where ([ rdf:type sp:Bind ; | 163 | sp:where ([ rdf:type sp:Bind ; |
| 163 | sp:expression | 164 | sp:expression |
| 164 | [ rdf:type ep-spin-lib:buildURI ; | 165 | [ rdf:type ep-spin-lib:buildURI ; |
| 165 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionActivityToDate/" ; | 166 | + sp:arg1 "https://www.reportinghub.no/ep/data/temporalPartOfAFacility/" ; |
| 166 | - sp:arg2 [ rdf:type fn:concat ; | 167 | + sp:arg2 spin:_arg1 |
| 167 | - sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 168 | - sp:arg1 spin:_arg1 | ||
| 169 | - ] ; | ||
| 170 | - sp:arg2 "$" ; | ||
| 171 | - sp:arg3 spin:_arg2 | ||
| 172 | - ] | ||
| 173 | ] ; | 168 | ] ; |
| 174 | sp:variable _:b6 | 169 | sp:variable _:b6 |
| 175 | ]) | 170 | ]) |
| 176 | ] . | 171 | ] . |
| 177 | 172 | ||
| 178 | -ep-dpr-spin-lib:buildProductionFacilityURI | 173 | +ep-dpr-spin-lib:buildProductFlowURI |
| 179 | rdf:type spin:Function ; | 174 | rdf:type spin:Function ; |
| 180 | - rdfs:label "build ProductionFacility URI"^^xsd:string ; | 175 | + rdfs:label "build ProductFlow URI"^^xsd:string ; |
| 181 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 176 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 182 | spin:body | 177 | spin:body |
| 183 | [ rdf:type sp:Select ; | 178 | [ rdf:type sp:Select ; |
| ... | @@ -185,18 +180,20 @@ ep-dpr-spin-lib:buildProductionFacilityURI | ... | @@ -185,18 +180,20 @@ ep-dpr-spin-lib:buildProductionFacilityURI |
| 185 | sp:where ([ rdf:type sp:Bind ; | 180 | sp:where ([ rdf:type sp:Bind ; |
| 186 | sp:expression | 181 | sp:expression |
| 187 | [ rdf:type ep-spin-lib:buildURI ; | 182 | [ rdf:type ep-spin-lib:buildURI ; |
| 188 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionFacility/" ; | 183 | + sp:arg1 "https://www.reportinghub.no/ep/data/productFlow/" ; |
| 189 | sp:arg2 [ rdf:type fn:concat ; | 184 | sp:arg2 [ rdf:type fn:concat ; |
| 190 | - sp:arg1 spin:_arg1 | 185 | + sp:arg1 spin:_arg1 ; |
| 186 | + sp:arg2 "$" ; | ||
| 187 | + sp:arg3 spin:_arg2 | ||
| 191 | ] | 188 | ] |
| 192 | ] ; | 189 | ] ; |
| 193 | sp:variable _:b7 | 190 | sp:variable _:b7 |
| 194 | ]) | 191 | ]) |
| 195 | ] . | 192 | ] . |
| 196 | 193 | ||
| 197 | -ep-dpr-spin-lib:buildProductionFlowURI | 194 | +ep-dpr-spin-lib:buildProductionFacilityURI |
| 198 | rdf:type spin:Function ; | 195 | rdf:type spin:Function ; |
| 199 | - rdfs:label "build ProductionFlow URI"^^xsd:string ; | 196 | + rdfs:label "build ProductionFacility URI"^^xsd:string ; |
| 200 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 197 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 201 | spin:body | 198 | spin:body |
| 202 | [ rdf:type sp:Select ; | 199 | [ rdf:type sp:Select ; |
| ... | @@ -204,7 +201,7 @@ ep-dpr-spin-lib:buildProductionFlowURI | ... | @@ -204,7 +201,7 @@ ep-dpr-spin-lib:buildProductionFlowURI |
| 204 | sp:where ([ rdf:type sp:Bind ; | 201 | sp:where ([ rdf:type sp:Bind ; |
| 205 | sp:expression | 202 | sp:expression |
| 206 | [ rdf:type ep-spin-lib:buildURI ; | 203 | [ rdf:type ep-spin-lib:buildURI ; |
| 207 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ; | 204 | + sp:arg1 "https://www.reportinghub.no/ep/data/productionFacility/" ; |
| 208 | sp:arg2 [ rdf:type fn:concat ; | 205 | sp:arg2 [ rdf:type fn:concat ; |
| 209 | sp:arg1 spin:_arg1 | 206 | sp:arg1 spin:_arg1 |
| 210 | ] | 207 | ] |
| ... | @@ -213,9 +210,9 @@ ep-dpr-spin-lib:buildProductionFlowURI | ... | @@ -213,9 +210,9 @@ ep-dpr-spin-lib:buildProductionFlowURI |
| 213 | ]) | 210 | ]) |
| 214 | ] . | 211 | ] . |
| 215 | 212 | ||
| 216 | -ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI | 213 | +ep-dpr-spin-lib:buildProductionFlowURI |
| 217 | rdf:type spin:Function ; | 214 | rdf:type spin:Function ; |
| 218 | - rdfs:label "build ProductionFlowsForAPeriod URI"^^xsd:string ; | 215 | + rdfs:label "build ProductionFlow URI"^^xsd:string ; |
| 219 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 216 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 220 | spin:body | 217 | spin:body |
| 221 | [ rdf:type sp:Select ; | 218 | [ rdf:type sp:Select ; |
| ... | @@ -223,22 +220,18 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI | ... | @@ -223,22 +220,18 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI |
| 223 | sp:where ([ rdf:type sp:Bind ; | 220 | sp:where ([ rdf:type sp:Bind ; |
| 224 | sp:expression | 221 | sp:expression |
| 225 | [ rdf:type ep-spin-lib:buildURI ; | 222 | [ rdf:type ep-spin-lib:buildURI ; |
| 226 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionFlowsForAPeriod/" ; | 223 | + sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ; |
| 227 | sp:arg2 [ rdf:type fn:concat ; | 224 | sp:arg2 [ rdf:type fn:concat ; |
| 228 | - sp:arg1 spin:_arg1 ; | 225 | + sp:arg1 spin:_arg1 |
| 229 | - sp:arg2 "$" ; | ||
| 230 | - sp:arg3 spin:_arg2 ; | ||
| 231 | - sp:arg4 "$" ; | ||
| 232 | - sp:arg5 spin:_arg3 | ||
| 233 | ] | 226 | ] |
| 234 | ] ; | 227 | ] ; |
| 235 | sp:variable _:b9 | 228 | sp:variable _:b9 |
| 236 | ]) | 229 | ]) |
| 237 | ] . | 230 | ] . |
| 238 | 231 | ||
| 239 | -ep-dpr-spin-lib:buildProductionFlowsToDateURI | 232 | +ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI |
| 240 | rdf:type spin:Function ; | 233 | rdf:type spin:Function ; |
| 241 | - rdfs:label "build ProductionFlowsToDate URI"^^xsd:string ; | 234 | + rdfs:label "build ProductionFacility URI"^^xsd:string ; |
| 242 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 235 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 243 | spin:body | 236 | spin:body |
| 244 | [ rdf:type sp:Select ; | 237 | [ rdf:type sp:Select ; |
| ... | @@ -246,11 +239,13 @@ ep-dpr-spin-lib:buildProductionFlowsToDateURI | ... | @@ -246,11 +239,13 @@ ep-dpr-spin-lib:buildProductionFlowsToDateURI |
| 246 | sp:where ([ rdf:type sp:Bind ; | 239 | sp:where ([ rdf:type sp:Bind ; |
| 247 | sp:expression | 240 | sp:expression |
| 248 | [ rdf:type ep-spin-lib:buildURI ; | 241 | [ rdf:type ep-spin-lib:buildURI ; |
| 249 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionFlowsToDate/" ; | 242 | + sp:arg1 "https://www.reportinghub.no/ep/data/productionFlowsForAPeriod/" ; |
| 250 | sp:arg2 [ rdf:type fn:concat ; | 243 | sp:arg2 [ rdf:type fn:concat ; |
| 251 | sp:arg1 spin:_arg1 ; | 244 | sp:arg1 spin:_arg1 ; |
| 252 | sp:arg2 "$" ; | 245 | sp:arg2 "$" ; |
| 253 | - sp:arg3 spin:_arg2 | 246 | + sp:arg3 spin:_arg2 ; |
| 247 | + sp:arg4 "$" ; | ||
| 248 | + sp:arg5 spin:_arg3 | ||
| 254 | ] | 249 | ] |
| 255 | ] ; | 250 | ] ; |
| 256 | sp:variable _:b10 | 251 | sp:variable _:b10 |
| ... | @@ -1996,6 +1991,9 @@ _:b12 | ... | @@ -1996,6 +1991,9 @@ _:b12 |
| 1996 | _:b11 | 1991 | _:b11 |
| 1997 | sp:varName "uri"^^xsd:string . | 1992 | sp:varName "uri"^^xsd:string . |
| 1998 | 1993 | ||
| 1994 | +_:b10 | ||
| 1995 | + sp:varName "uri"^^xsd:string . | ||
| 1996 | + | ||
| 1999 | _:b9 sp:varName "uri"^^xsd:string . | 1997 | _:b9 sp:varName "uri"^^xsd:string . |
| 2000 | 1998 | ||
| 2001 | _:b8 sp:varName "uri"^^xsd:string . | 1999 | _:b8 sp:varName "uri"^^xsd:string . |
| ... | @@ -2012,7 +2010,4 @@ _:b2 sp:varName "uri"^^xsd:string . | ... | @@ -2012,7 +2010,4 @@ _:b2 sp:varName "uri"^^xsd:string . |
| 2012 | 2010 | ||
| 2013 | _:b1 sp:varName "uri"^^xsd:string . | 2011 | _:b1 sp:varName "uri"^^xsd:string . |
| 2014 | 2012 | ||
| 2015 | -_:b10 | ||
| 2016 | - sp:varName "uri"^^xsd:string . | ||
| 2017 | - | ||
| 2018 | _:b6 sp:varName "uri"^^xsd:string . | 2013 | _:b6 sp:varName "uri"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Thu Oct 13 13:05:23 BST 2011 | 1 | +# Saved by TopBraid on Thu Oct 13 14:16:00 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#> . | ... | ... |
-
Please register or login to post a comment