Showing
17 changed files
with
2453 additions
and
1138 deletions
| 1 | -# Saved by TopBraid on Tue Aug 02 12:39:11 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 15:10:03 BST 2011 |
| 2 | -# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/activity |
| 3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem | 3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.1/well | ||
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.1/equipment | ||
| 6 | # imports: http://www.linkedmodel.org/1.1/schema/ordered | 4 | # imports: http://www.linkedmodel.org/1.1/schema/ordered |
| 5 | +# imports: http://www.reportinghub.no/ep/schema/equipment | ||
| 7 | # imports: http://www.reportinghub.no/ep/schema/1.1/core | 6 | # imports: http://www.reportinghub.no/ep/schema/1.1/core |
| 7 | +# imports: http://www.reportinghub.no/ep/schema/well | ||
| 8 | 8 | ||
| 9 | +@prefix : <http://www.reportinghub.no/ep/schema/activity#> . | ||
| 9 | @prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . | 10 | @prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . |
| 10 | -@prefix ep-activity-1.1: <http://www.reportinghub.no/ep/schema/1.1/activity#> . | ||
| 11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 13 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 13 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 14 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 14 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 15 | 15 | ||
| 16 | -<http://www.reportinghub.no/ep/schema/1.1/activity> | 16 | +<http://www.reportinghub.no/ep/schema/activity> |
| 17 | rdf:type owl:Ontology ; | 17 | rdf:type owl:Ontology ; |
| 18 | - owl:imports <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.1/well> , <http://www.reportinghub.no/ep/schema/1.1/equipment> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.1/core> ; | 18 | + owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.1/core> ; |
| 19 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 19 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 20 | 20 | ||
| 21 | ep-activity:Activity | 21 | ep-activity:Activity |
| 22 | rdf:type owl:Class ; | 22 | rdf:type owl:Class ; |
| 23 | rdfs:label "Activity"^^xsd:string ; | 23 | rdfs:label "Activity"^^xsd:string ; |
| 24 | - rdfs:subClassOf owl:Thing ; | 24 | + rdfs:subClassOf <http://www.reportinghub.no/iso15926/nativeOWL#Activity> ; |
| 25 | + rdfs:subClassOf | ||
| 26 | + [ rdf:type owl:Restriction ; | ||
| 27 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
| 28 | + owl:onProperty ep-activity:startedAt | ||
| 29 | + ] ; | ||
| 25 | rdfs:subClassOf | 30 | rdfs:subClassOf |
| 26 | [ rdf:type owl:Restriction ; | 31 | [ rdf:type owl:Restriction ; |
| 27 | owl:allValuesFrom ep-activity:Activity ; | 32 | owl:allValuesFrom ep-activity:Activity ; |
| ... | @@ -46,26 +51,21 @@ ep-activity:Activity | ... | @@ -46,26 +51,21 @@ ep-activity:Activity |
| 46 | [ rdf:type owl:Restriction ; | 51 | [ rdf:type owl:Restriction ; |
| 47 | owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 52 | owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
| 48 | owl:onProperty ep-activity:finishedAt | 53 | owl:onProperty ep-activity:finishedAt |
| 49 | - ] ; | ||
| 50 | - rdfs:subClassOf | ||
| 51 | - [ rdf:type owl:Restriction ; | ||
| 52 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
| 53 | - owl:onProperty ep-activity:startedAt | ||
| 54 | ] . | 54 | ] . |
| 55 | 55 | ||
| 56 | ep-activity:DailyDrillingActivity | 56 | ep-activity:DailyDrillingActivity |
| 57 | rdf:type owl:Class ; | 57 | rdf:type owl:Class ; |
| 58 | rdfs:label "Daily drilling activity"^^xsd:string ; | 58 | rdfs:label "Daily drilling activity"^^xsd:string ; |
| 59 | - rdfs:subClassOf ep-activity:OffshoreWellActivity ; | 59 | + rdfs:subClassOf ep-activity:DrillingActivity ; |
| 60 | rdfs:subClassOf | 60 | rdfs:subClassOf |
| 61 | [ rdf:type owl:Restriction ; | 61 | [ rdf:type owl:Restriction ; |
| 62 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 62 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; |
| 63 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | 63 | + owl:onProperty ep-activity:onWellBore |
| 64 | ] ; | 64 | ] ; |
| 65 | rdfs:subClassOf | 65 | rdfs:subClassOf |
| 66 | [ rdf:type owl:Restriction ; | 66 | [ rdf:type owl:Restriction ; |
| 67 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 67 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
| 68 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | 68 | + owl:onProperty ep-activity:hasSubActivity |
| 69 | ] ; | 69 | ] ; |
| 70 | rdfs:subClassOf | 70 | rdfs:subClassOf |
| 71 | [ rdf:type owl:Restriction ; | 71 | [ rdf:type owl:Restriction ; |
| ... | @@ -74,48 +74,76 @@ ep-activity:DailyDrillingActivity | ... | @@ -74,48 +74,76 @@ ep-activity:DailyDrillingActivity |
| 74 | ] ; | 74 | ] ; |
| 75 | rdfs:subClassOf | 75 | rdfs:subClassOf |
| 76 | [ rdf:type owl:Restriction ; | 76 | [ rdf:type owl:Restriction ; |
| 77 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 77 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
| 78 | - owl:onProperty ep-activity:hasSubActivity | 78 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> |
| 79 | ] ; | 79 | ] ; |
| 80 | rdfs:subClassOf | 80 | rdfs:subClassOf |
| 81 | [ rdf:type owl:Restriction ; | 81 | [ rdf:type owl:Restriction ; |
| 82 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 82 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
| 83 | - owl:onProperty ep-activity:onWellBore | 83 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> |
| 84 | - ] . | ||
| 85 | - | ||
| 86 | -ep-activity:DailyDrillingReport | ||
| 87 | - rdf:type owl:Class ; | ||
| 88 | - rdfs:label "Daily drilling report"^^xsd:string ; | ||
| 89 | - rdfs:subClassOf ep-activity:Report ; | ||
| 90 | - rdfs:subClassOf | ||
| 91 | - [ rdf:type owl:Restriction ; | ||
| 92 | - owl:allValuesFrom ep-activity:DailyDrillingActivity ; | ||
| 93 | - owl:onProperty ep-activity:reportOn | ||
| 94 | ] . | 84 | ] . |
| 95 | 85 | ||
| 96 | ep-activity:DailyProductionActivity | 86 | ep-activity:DailyProductionActivity |
| 97 | rdf:type owl:Class ; | 87 | rdf:type owl:Class ; |
| 98 | rdfs:label "Daily production activity"^^xsd:string ; | 88 | rdfs:label "Daily production activity"^^xsd:string ; |
| 99 | - rdfs:subClassOf ep-activity:OffshoreWellActivity ; | 89 | + rdfs:subClassOf ep-activity:ProductionActivity ; |
| 100 | rdfs:subClassOf | 90 | rdfs:subClassOf |
| 101 | [ rdf:type owl:Restriction ; | 91 | [ rdf:type owl:Restriction ; |
| 102 | owl:allValuesFrom ep-activity:ProductionActivity ; | 92 | owl:allValuesFrom ep-activity:ProductionActivity ; |
| 103 | owl:onProperty ep-activity:hasSubActivity | 93 | owl:onProperty ep-activity:hasSubActivity |
| 104 | ] . | 94 | ] . |
| 105 | 95 | ||
| 96 | +ep-activity:Drill-bypass | ||
| 97 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 98 | + rdfs:label "drill bypass"^^xsd:string ; | ||
| 99 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 100 | + | ||
| 101 | +ep-activity:Drill-initial | ||
| 102 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 103 | + rdfs:label "drill initial"^^xsd:string ; | ||
| 104 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 105 | + | ||
| 106 | +ep-activity:Drill-re-entry | ||
| 107 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 108 | + rdfs:label "drill re-entry"^^xsd:string ; | ||
| 109 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 110 | + | ||
| 111 | +ep-activity:Drill-re-spud | ||
| 112 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 113 | + rdfs:label "drill re-spud"^^xsd:string ; | ||
| 114 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 115 | + | ||
| 116 | +ep-activity:Drill-redrill | ||
| 117 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 118 | + rdfs:label "redrill"^^xsd:string ; | ||
| 119 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 120 | + | ||
| 121 | +ep-activity:Drill-sidetrack | ||
| 122 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 123 | + rdfs:label "drill sidetrack"^^xsd:string ; | ||
| 124 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 125 | + | ||
| 106 | ep-activity:DrillingActivity | 126 | ep-activity:DrillingActivity |
| 107 | rdf:type owl:Class ; | 127 | rdf:type owl:Class ; |
| 108 | rdfs:label "Drilling activity"^^xsd:string ; | 128 | rdfs:label "Drilling activity"^^xsd:string ; |
| 109 | - rdfs:subClassOf ep-activity:OffshoreWellActivity . | 129 | + rdfs:subClassOf ep-activity:Activity . |
| 110 | 130 | ||
| 111 | -ep-activity:FinalDailyDrillingReport | 131 | +ep-activity:FormationIntegrityTest |
| 112 | rdf:type owl:Class ; | 132 | rdf:type owl:Class ; |
| 113 | - rdfs:subClassOf ep-activity:DailyDrillingReport . | 133 | + rdfs:label "formation integrity test"^^xsd:string ; |
| 134 | + rdfs:subClassOf ep-activity:WellBorePressureTest ; | ||
| 135 | + owl:disjointWith ep-activity:LeakOffTest . | ||
| 136 | + | ||
| 137 | +ep-activity:LeakOffTest | ||
| 138 | + rdf:type owl:Class ; | ||
| 139 | + rdfs:label "leak-off test"^^xsd:string ; | ||
| 140 | + rdfs:subClassOf ep-activity:WellBorePressureTest ; | ||
| 141 | + owl:disjointWith ep-activity:FormationIntegrityTest . | ||
| 114 | 142 | ||
| 115 | ep-activity:MonthlyDrillingActivity | 143 | ep-activity:MonthlyDrillingActivity |
| 116 | rdf:type owl:Class ; | 144 | rdf:type owl:Class ; |
| 117 | rdfs:label "Weekly drilling activity"^^xsd:string ; | 145 | rdfs:label "Weekly drilling activity"^^xsd:string ; |
| 118 | - rdfs:subClassOf ep-activity:OffshoreWellActivity ; | 146 | + rdfs:subClassOf ep-activity:DrillingActivity ; |
| 119 | rdfs:subClassOf | 147 | rdfs:subClassOf |
| 120 | [ rdf:type owl:Restriction ; | 148 | [ rdf:type owl:Restriction ; |
| 121 | owl:allValuesFrom ep-activity:WeeklyDrillingActivity ; | 149 | owl:allValuesFrom ep-activity:WeeklyDrillingActivity ; |
| ... | @@ -125,17 +153,13 @@ ep-activity:MonthlyDrillingActivity | ... | @@ -125,17 +153,13 @@ ep-activity:MonthlyDrillingActivity |
| 125 | ep-activity:MonthlyProductionActivity | 153 | ep-activity:MonthlyProductionActivity |
| 126 | rdf:type owl:Class ; | 154 | rdf:type owl:Class ; |
| 127 | rdfs:label "Monthly production activity"^^xsd:string ; | 155 | rdfs:label "Monthly production activity"^^xsd:string ; |
| 128 | - rdfs:subClassOf ep-activity:OffshoreWellActivity ; | 156 | + rdfs:subClassOf ep-activity:ProductionActivity ; |
| 129 | rdfs:subClassOf | 157 | rdfs:subClassOf |
| 130 | [ rdf:type owl:Restriction ; | 158 | [ rdf:type owl:Restriction ; |
| 131 | owl:allValuesFrom ep-activity:WeeklyProductionActivity ; | 159 | owl:allValuesFrom ep-activity:WeeklyProductionActivity ; |
| 132 | owl:onProperty ep-activity:hasSubActivity | 160 | owl:onProperty ep-activity:hasSubActivity |
| 133 | ] . | 161 | ] . |
| 134 | 162 | ||
| 135 | -ep-activity:NormalDailyDrillingReport | ||
| 136 | - rdf:type owl:Class ; | ||
| 137 | - rdfs:subClassOf ep-activity:DailyDrillingReport . | ||
| 138 | - | ||
| 139 | ep-activity:OffshoreActivity | 163 | ep-activity:OffshoreActivity |
| 140 | rdf:type owl:Class ; | 164 | rdf:type owl:Class ; |
| 141 | rdfs:label "Offshore activity"^^xsd:string ; | 165 | rdfs:label "Offshore activity"^^xsd:string ; |
| ... | @@ -147,48 +171,34 @@ ep-activity:OffshoreWellActivity | ... | @@ -147,48 +171,34 @@ ep-activity:OffshoreWellActivity |
| 147 | rdfs:subClassOf ep-activity:OffshoreActivity ; | 171 | rdfs:subClassOf ep-activity:OffshoreActivity ; |
| 148 | rdfs:subClassOf | 172 | rdfs:subClassOf |
| 149 | [ rdf:type owl:Restriction ; | 173 | [ rdf:type owl:Restriction ; |
| 150 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 174 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; |
| 151 | owl:onProperty ep-activity:onWell | 175 | owl:onProperty ep-activity:onWell |
| 152 | ] ; | 176 | ] ; |
| 153 | rdfs:subClassOf | 177 | rdfs:subClassOf |
| 154 | [ rdf:type owl:Restriction ; | 178 | [ rdf:type owl:Restriction ; |
| 155 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ; | 179 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 156 | owl:onProperty ep-activity:onRig | 180 | owl:onProperty ep-activity:onRig |
| 157 | ] ; | 181 | ] ; |
| 158 | rdfs:subClassOf | 182 | rdfs:subClassOf |
| 159 | [ rdf:type owl:Restriction ; | 183 | [ rdf:type owl:Restriction ; |
| 160 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 184 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ; |
| 161 | owl:onProperty ep-activity:onRig | 185 | owl:onProperty ep-activity:onRig |
| 162 | ] ; | 186 | ] ; |
| 163 | rdfs:subClassOf | 187 | rdfs:subClassOf |
| 164 | [ rdf:type owl:Restriction ; | 188 | [ rdf:type owl:Restriction ; |
| 165 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; | 189 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 166 | owl:onProperty ep-activity:onWell | 190 | owl:onProperty ep-activity:onWell |
| 167 | ] . | 191 | ] . |
| 168 | 192 | ||
| 169 | -ep-activity:PreliminaryDailyDrillingReport | ||
| 170 | - rdf:type owl:Class ; | ||
| 171 | - rdfs:subClassOf ep-activity:DailyDrillingReport . | ||
| 172 | - | ||
| 173 | ep-activity:ProductionActivity | 193 | ep-activity:ProductionActivity |
| 174 | rdf:type owl:Class ; | 194 | rdf:type owl:Class ; |
| 175 | rdfs:label "Production activity"^^xsd:string ; | 195 | rdfs:label "Production activity"^^xsd:string ; |
| 176 | - rdfs:subClassOf ep-activity:OffshoreWellActivity . | 196 | + rdfs:subClassOf ep-activity:Activity . |
| 177 | - | ||
| 178 | -ep-activity:Report | ||
| 179 | - rdf:type owl:Class ; | ||
| 180 | - rdfs:label "Report"^^xsd:string ; | ||
| 181 | - rdfs:subClassOf owl:Thing ; | ||
| 182 | - rdfs:subClassOf | ||
| 183 | - [ rdf:type owl:Restriction ; | ||
| 184 | - owl:allValuesFrom ep-activity:Activity ; | ||
| 185 | - owl:onProperty ep-activity:reportOn | ||
| 186 | - ] . | ||
| 187 | 197 | ||
| 188 | ep-activity:WeeklyDrillingActivity | 198 | ep-activity:WeeklyDrillingActivity |
| 189 | rdf:type owl:Class ; | 199 | rdf:type owl:Class ; |
| 190 | rdfs:label "Weekly drilling activity"^^xsd:string ; | 200 | rdfs:label "Weekly drilling activity"^^xsd:string ; |
| 191 | - rdfs:subClassOf ep-activity:OffshoreWellActivity ; | 201 | + rdfs:subClassOf ep-activity:DrillingActivity ; |
| 192 | rdfs:subClassOf | 202 | rdfs:subClassOf |
| 193 | [ rdf:type owl:Restriction ; | 203 | [ rdf:type owl:Restriction ; |
| 194 | owl:allValuesFrom ep-activity:DailyDrillingActivity ; | 204 | owl:allValuesFrom ep-activity:DailyDrillingActivity ; |
| ... | @@ -198,15 +208,25 @@ ep-activity:WeeklyDrillingActivity | ... | @@ -198,15 +208,25 @@ ep-activity:WeeklyDrillingActivity |
| 198 | ep-activity:WeeklyProductionActivity | 208 | ep-activity:WeeklyProductionActivity |
| 199 | rdf:type owl:Class ; | 209 | rdf:type owl:Class ; |
| 200 | rdfs:label "Weekly production activity"^^xsd:string ; | 210 | rdfs:label "Weekly production activity"^^xsd:string ; |
| 201 | - rdfs:subClassOf ep-activity:OffshoreWellActivity ; | 211 | + rdfs:subClassOf ep-activity:ProductionActivity ; |
| 202 | rdfs:subClassOf | 212 | rdfs:subClassOf |
| 203 | [ rdf:type owl:Restriction ; | 213 | [ rdf:type owl:Restriction ; |
| 204 | owl:allValuesFrom ep-activity:DailyProductionActivity ; | 214 | owl:allValuesFrom ep-activity:DailyProductionActivity ; |
| 205 | owl:onProperty ep-activity:hasSubActivity | 215 | owl:onProperty ep-activity:hasSubActivity |
| 206 | ] . | 216 | ] . |
| 207 | 217 | ||
| 218 | +ep-activity:WellBoreDrillingType | ||
| 219 | + rdf:type rdfs:Class ; | ||
| 220 | + rdfs:label "drill bypass"^^xsd:string ; | ||
| 221 | + rdfs:subClassOf owl:Class . | ||
| 222 | + | ||
| 223 | +ep-activity:WellBorePressureTest | ||
| 224 | + rdf:type owl:Class ; | ||
| 225 | + rdfs:label "well bore pressure test"^^xsd:string ; | ||
| 226 | + rdfs:subClassOf ep-activity:Activity . | ||
| 227 | + | ||
| 208 | ep-activity:createdAt | 228 | ep-activity:createdAt |
| 209 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; | 229 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
| 210 | rdfs:label "created at"^^xsd:string ; | 230 | rdfs:label "created at"^^xsd:string ; |
| 211 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | 231 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
| 212 | 232 | ||
| ... | @@ -228,7 +248,7 @@ ep-activity:onWell | ... | @@ -228,7 +248,7 @@ ep-activity:onWell |
| 228 | rdfs:label "on well"^^xsd:string . | 248 | rdfs:label "on well"^^xsd:string . |
| 229 | 249 | ||
| 230 | ep-activity:onWellBore | 250 | ep-activity:onWellBore |
| 231 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 251 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
| 232 | rdfs:label "on WellBore"^^xsd:string . | 252 | rdfs:label "on WellBore"^^xsd:string . |
| 233 | 253 | ||
| 234 | ep-activity:reportOn | 254 | ep-activity:reportOn |
| ... | @@ -239,3 +259,10 @@ ep-activity:startedAt | ... | @@ -239,3 +259,10 @@ ep-activity:startedAt |
| 239 | rdf:type owl:DatatypeProperty ; | 259 | rdf:type owl:DatatypeProperty ; |
| 240 | rdfs:label "started at"^^xsd:string ; | 260 | rdfs:label "started at"^^xsd:string ; |
| 241 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | 261 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
| 262 | + | ||
| 263 | +ep-activity:wellBoreDrillingType | ||
| 264 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
| 265 | + rdfs:domain ep-activity:DrillingActivity ; | ||
| 266 | + rdfs:label "has sub activity"^^xsd:string ; | ||
| 267 | + rdfs:range ep-activity:WellBoreDrillingType ; | ||
| 268 | + rdfs:subPropertyOf rdf:type . | ... | ... |
| 1 | -# Saved by TopBraid on Mon Aug 01 13:33:06 PDT 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 15:07:45 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/core | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/core |
| 3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem | 3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem |
| 4 | +# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL | ||
| 4 | 5 | ||
| 6 | +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | ||
| 5 | @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . | 7 | @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . |
| 6 | @prefix ep-core-1.1: <http://www.reportinghub.no/ep/schema/1.1/core#> . | 8 | @prefix ep-core-1.1: <http://www.reportinghub.no/ep/schema/1.1/core#> . |
| 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| ... | @@ -11,7 +13,7 @@ | ... | @@ -11,7 +13,7 @@ |
| 11 | 13 | ||
| 12 | <http://www.reportinghub.no/ep/schema/1.1/core> | 14 | <http://www.reportinghub.no/ep/schema/1.1/core> |
| 13 | rdf:type owl:Ontology ; | 15 | rdf:type owl:Ontology ; |
| 14 | - owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; | 16 | + owl:imports <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> , <http://www.linkedmodel.org/1.2/schema/vaem> ; |
| 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 17 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 16 | 18 | ||
| 17 | ep-core:basisFor | 19 | ep-core:basisFor |
| ... | @@ -19,7 +21,7 @@ ep-core:basisFor | ... | @@ -19,7 +21,7 @@ ep-core:basisFor |
| 19 | rdfs:label "basis for"^^xsd:string . | 21 | rdfs:label "basis for"^^xsd:string . |
| 20 | 22 | ||
| 21 | ep-core:derivedFrom | 23 | ep-core:derivedFrom |
| 22 | - rdf:type owl:TransitiveProperty , owl:ObjectProperty ; | 24 | + rdf:type owl:ObjectProperty , owl:TransitiveProperty ; |
| 23 | rdfs:label "derived from"^^xsd:string . | 25 | rdfs:label "derived from"^^xsd:string . |
| 24 | 26 | ||
| 25 | ep-core:hasPart | 27 | ep-core:hasPart | ... | ... |
This diff could not be displayed because it is too large.
| 1 | -# Saved by TopBraid on Tue Jul 26 22:48:40 CEST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 13:47:58 BST 2011 |
| 2 | -# baseURI: http://www.reportinghub.no/ep/schema/1.1/equipment | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/equipment |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.1/core | 3 | # imports: http://www.reportinghub.no/ep/schema/1.1/core |
| 4 | 4 | ||
| 5 | +@prefix : <http://www.reportinghub.no/ep/schema/equipment#> . | ||
| 5 | @prefix ep-eqt: <http://www.reportinghub.no/ep/schema/equipment#> . | 6 | @prefix ep-eqt: <http://www.reportinghub.no/ep/schema/equipment#> . |
| 6 | -@prefix ep-eqt-1.1: <http://www.reportinghub.no/ep/schema/1.1/equipment#> . | ||
| 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 11 | 11 | ||
| 12 | -<http://www.reportinghub.no/ep/schema/1.1/equipment> | 12 | +<http://www.reportinghub.no/ep/schema/equipment> |
| 13 | rdf:type owl:Ontology ; | 13 | rdf:type owl:Ontology ; |
| 14 | owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; | 14 | owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; |
| 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Tue Jul 26 22:56:33 CEST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 14:54:00 BST 2011 |
| 2 | -# baseURI: http://www.reportinghub.no/ep/schema/1.1/report | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/report |
| 3 | -# imports: http://www.reportinghub.no/ep/schema/1.1/activity | ||
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.1/core | 3 | # imports: http://www.reportinghub.no/ep/schema/1.1/core |
| 5 | 4 | ||
| 5 | +@prefix : <http://www.reportinghub.no/ep/schema/report#> . | ||
| 6 | @prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> . | 6 | @prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> . |
| 7 | -@prefix ep-report-1.1: <http://www.reportinghub.no/ep/schema/1.1/report#> . | ||
| 8 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 9 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 10 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 11 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 12 | 11 | ||
| 13 | -<http://www.reportinghub.no/ep/schema/1.1/report> | 12 | +<http://www.reportinghub.no/ep/schema/report> |
| 14 | rdf:type owl:Ontology ; | 13 | rdf:type owl:Ontology ; |
| 15 | - owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/schema/1.1/core> ; | 14 | + owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; |
| 16 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 16 | + | ||
| 17 | +ep-report:DailyDrillingReport | ||
| 18 | + rdf:type owl:Class ; | ||
| 19 | + rdfs:subClassOf ep-report:Report . | ||
| 20 | + | ||
| 21 | +ep-report:FinalDailyDrillingReport | ||
| 22 | + rdf:type owl:Class ; | ||
| 23 | + rdfs:subClassOf ep-report:DailyDrillingReport . | ||
| 24 | + | ||
| 25 | +ep-report:NormalDailyDrillingReport | ||
| 26 | + rdf:type owl:Class ; | ||
| 27 | + rdfs:subClassOf ep-report:DailyDrillingReport . | ||
| 28 | + | ||
| 29 | +ep-report:PreliminaryDailyDrillingReport | ||
| 30 | + rdf:type owl:Class ; | ||
| 31 | + rdfs:subClassOf ep-report:DailyDrillingReport . | ||
| 32 | + | ||
| 33 | +ep-report:Report | ||
| 34 | + rdf:type owl:Class ; | ||
| 35 | + rdfs:subClassOf owl:Thing . | ... | ... |
| 1 | -# Saved by TopBraid on Mon Aug 01 13:33:39 PDT 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 14:29:37 BST 2011 |
| 2 | -# baseURI: http://www.reportinghub.no/ep/schema/1.1/well | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/well |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.1/core | 3 | # imports: http://www.reportinghub.no/ep/schema/1.1/core |
| 4 | 4 | ||
| 5 | +@prefix : <http://www.reportinghub.no/ep/schema/well#> . | ||
| 5 | @prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> . | 6 | @prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> . |
| 6 | -@prefix ep-well-1.1: <http://www.reportinghub.no/ep/schema/1.1/well#> . | ||
| 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 11 | 11 | ||
| 12 | -<http://www.reportinghub.no/ep/schema/1.1/well> | 12 | +<http://www.reportinghub.no/ep/schema/well> |
| 13 | rdf:type owl:Ontology ; | 13 | rdf:type owl:Ontology ; |
| 14 | owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; | 14 | owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; |
| 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 16 | 16 | ||
| 17 | +ep-well:AllOrPartOfTheLifeOfAWellBore | ||
| 18 | + rdf:type owl:Class ; | ||
| 19 | + rdfs:label "all or part of the life of a well bore"^^xsd:string . | ||
| 20 | + | ||
| 21 | +ep-well:TemporalPartOfAWellBore | ||
| 22 | + rdf:type owl:Class ; | ||
| 23 | + rdfs:label "temporal part of a well bore"^^xsd:string ; | ||
| 24 | + rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore . | ||
| 25 | + | ||
| 17 | ep-well:Well | 26 | ep-well:Well |
| 18 | rdf:type owl:Class ; | 27 | rdf:type owl:Class ; |
| 19 | rdfs:label "Well"^^xsd:string ; | 28 | rdfs:label "Well"^^xsd:string ; |
| ... | @@ -31,8 +40,8 @@ ep-well:Well | ... | @@ -31,8 +40,8 @@ ep-well:Well |
| 31 | 40 | ||
| 32 | ep-well:WellBore | 41 | ep-well:WellBore |
| 33 | rdf:type owl:Class ; | 42 | rdf:type owl:Class ; |
| 34 | - rdfs:label "Well bore"^^xsd:string ; | 43 | + rdfs:label "well bore"^^xsd:string ; |
| 35 | - rdfs:subClassOf owl:Thing ; | 44 | + rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore ; |
| 36 | rdfs:subClassOf | 45 | rdfs:subClassOf |
| 37 | [ rdf:type owl:Restriction ; | 46 | [ rdf:type owl:Restriction ; |
| 38 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 47 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | ... | ... |
| 1 | -# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 16:06:56 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | 2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib |
| 3 | +# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
| 3 | # imports: http://spinrdf.org/spin | 4 | # imports: http://spinrdf.org/spin |
| 4 | 5 | ||
| 5 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | 6 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . |
| ... | @@ -16,7 +17,7 @@ | ... | @@ -16,7 +17,7 @@ |
| 16 | 17 | ||
| 17 | <http://www.reportinghub.no/ep/spin/1.1/lib> | 18 | <http://www.reportinghub.no/ep/spin/1.1/lib> |
| 18 | rdf:type owl:Ontology ; | 19 | rdf:type owl:Ontology ; |
| 19 | - owl:imports <http://spinrdf.org/spin> ; | 20 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ; |
| 20 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 21 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 21 | 22 | ||
| 22 | ep-spin-lib:Function | 23 | ep-spin-lib:Function |
| ... | @@ -66,13 +67,34 @@ ep-spin-lib:buildDailyDrillingReportURI | ... | @@ -66,13 +67,34 @@ ep-spin-lib:buildDailyDrillingReportURI |
| 66 | ]) | 67 | ]) |
| 67 | ] . | 68 | ] . |
| 68 | 69 | ||
| 70 | +ep-spin-lib:buildTemporalPartOfAWellBoreURI | ||
| 71 | + rdf:type spin:Function ; | ||
| 72 | + rdfs:label "build TemporalPartOfWellBore URI"^^xsd:string ; | ||
| 73 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
| 74 | + spin:body | ||
| 75 | + [ rdf:type sp:Select ; | ||
| 76 | + sp:resultVariables (_:b3) ; | ||
| 77 | + sp:where ([ rdf:type sp:Bind ; | ||
| 78 | + sp:expression | ||
| 79 | + [ rdf:type ep-spin-lib:buildURI ; | ||
| 80 | + sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; | ||
| 81 | + sp:arg2 [ rdf:type fn:concat ; | ||
| 82 | + sp:arg1 spin:_arg1 ; | ||
| 83 | + sp:arg2 "$" ; | ||
| 84 | + sp:arg3 spin:_arg2 | ||
| 85 | + ] | ||
| 86 | + ] ; | ||
| 87 | + sp:variable _:b3 | ||
| 88 | + ]) | ||
| 89 | + ] . | ||
| 90 | + | ||
| 69 | ep-spin-lib:buildURI | 91 | ep-spin-lib:buildURI |
| 70 | rdf:type spin:Function ; | 92 | rdf:type spin:Function ; |
| 71 | rdfs:label "build URI"^^xsd:string ; | 93 | rdfs:label "build URI"^^xsd:string ; |
| 72 | rdfs:subClassOf ep-spin-lib:Function ; | 94 | rdfs:subClassOf ep-spin-lib:Function ; |
| 73 | spin:body | 95 | spin:body |
| 74 | [ rdf:type sp:Select ; | 96 | [ rdf:type sp:Select ; |
| 75 | - sp:resultVariables (_:b3) ; | 97 | + sp:resultVariables (_:b4) ; |
| 76 | sp:where ([ rdf:type sp:Bind ; | 98 | sp:where ([ rdf:type sp:Bind ; |
| 77 | sp:expression | 99 | sp:expression |
| 78 | [ rdf:type smf:resource ; | 100 | [ rdf:type smf:resource ; |
| ... | @@ -81,17 +103,17 @@ ep-spin-lib:buildURI | ... | @@ -81,17 +103,17 @@ ep-spin-lib:buildURI |
| 81 | sp:arg2 spin:_arg2 | 103 | sp:arg2 spin:_arg2 |
| 82 | ] | 104 | ] |
| 83 | ] ; | 105 | ] ; |
| 84 | - sp:variable _:b3 | 106 | + sp:variable _:b4 |
| 85 | ]) | 107 | ]) |
| 86 | ] ; | 108 | ] ; |
| 87 | spin:constraint | 109 | spin:constraint |
| 88 | [ rdf:type spl:Argument ; | 110 | [ rdf:type spl:Argument ; |
| 89 | - spl:predicate sp:arg1 ; | 111 | + spl:predicate sp:arg2 ; |
| 90 | spl:valueType xsd:string | 112 | spl:valueType xsd:string |
| 91 | ] ; | 113 | ] ; |
| 92 | spin:constraint | 114 | spin:constraint |
| 93 | [ rdf:type spl:Argument ; | 115 | [ rdf:type spl:Argument ; |
| 94 | - spl:predicate sp:arg2 ; | 116 | + spl:predicate sp:arg1 ; |
| 95 | spl:valueType xsd:string | 117 | spl:valueType xsd:string |
| 96 | ] . | 118 | ] . |
| 97 | 119 | ||
| ... | @@ -101,14 +123,14 @@ ep-spin-lib:buildWellBoreURI | ... | @@ -101,14 +123,14 @@ ep-spin-lib:buildWellBoreURI |
| 101 | rdfs:subClassOf ep-spin-lib:Function ; | 123 | rdfs:subClassOf ep-spin-lib:Function ; |
| 102 | spin:body | 124 | spin:body |
| 103 | [ rdf:type sp:Select ; | 125 | [ rdf:type sp:Select ; |
| 104 | - sp:resultVariables (_:b4) ; | 126 | + sp:resultVariables (_:b5) ; |
| 105 | sp:where ([ rdf:type sp:Bind ; | 127 | sp:where ([ rdf:type sp:Bind ; |
| 106 | sp:expression | 128 | sp:expression |
| 107 | [ rdf:type ep-spin-lib:buildURI ; | 129 | [ rdf:type ep-spin-lib:buildURI ; |
| 108 | sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; | 130 | sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; |
| 109 | sp:arg2 spin:_arg1 | 131 | sp:arg2 spin:_arg1 |
| 110 | ] ; | 132 | ] ; |
| 111 | - sp:variable _:b4 | 133 | + sp:variable _:b5 |
| 112 | ]) | 134 | ]) |
| 113 | ] . | 135 | ] . |
| 114 | 136 | ||
| ... | @@ -118,14 +140,14 @@ ep-spin-lib:buildWellURI | ... | @@ -118,14 +140,14 @@ ep-spin-lib:buildWellURI |
| 118 | rdfs:subClassOf ep-spin-lib:Function ; | 140 | rdfs:subClassOf ep-spin-lib:Function ; |
| 119 | spin:body | 141 | spin:body |
| 120 | [ rdf:type sp:Select ; | 142 | [ rdf:type sp:Select ; |
| 121 | - sp:resultVariables (_:b5) ; | 143 | + sp:resultVariables (_:b6) ; |
| 122 | sp:where ([ rdf:type sp:Bind ; | 144 | sp:where ([ rdf:type sp:Bind ; |
| 123 | sp:expression | 145 | sp:expression |
| 124 | [ rdf:type ep-spin-lib:buildURI ; | 146 | [ rdf:type ep-spin-lib:buildURI ; |
| 125 | sp:arg1 "https://www.reportinghub.no/ep/data/Well#" ; | 147 | sp:arg1 "https://www.reportinghub.no/ep/data/Well#" ; |
| 126 | sp:arg2 spin:_arg1 | 148 | sp:arg2 spin:_arg1 |
| 127 | ] ; | 149 | ] ; |
| 128 | - sp:variable _:b5 | 150 | + sp:variable _:b6 |
| 129 | ]) | 151 | ]) |
| 130 | ] . | 152 | ] . |
| 131 | 153 | ||
| ... | @@ -135,7 +157,7 @@ ep-spin-lib:normalizeString | ... | @@ -135,7 +157,7 @@ ep-spin-lib:normalizeString |
| 135 | rdfs:subClassOf ep-spin-lib:Function ; | 157 | rdfs:subClassOf ep-spin-lib:Function ; |
| 136 | spin:body | 158 | spin:body |
| 137 | [ rdf:type sp:Select ; | 159 | [ rdf:type sp:Select ; |
| 138 | - sp:resultVariables (_:b6) ; | 160 | + sp:resultVariables (_:b7) ; |
| 139 | sp:where ([ rdf:type sp:Bind ; | 161 | sp:where ([ rdf:type sp:Bind ; |
| 140 | sp:expression | 162 | sp:expression |
| 141 | [ rdf:type smf:regex ; | 163 | [ rdf:type smf:regex ; |
| ... | @@ -143,67 +165,67 @@ ep-spin-lib:normalizeString | ... | @@ -143,67 +165,67 @@ ep-spin-lib:normalizeString |
| 143 | sp:arg2 "\\((.*)\\)" ; | 165 | sp:arg2 "\\((.*)\\)" ; |
| 144 | sp:arg3 "" | 166 | sp:arg3 "" |
| 145 | ] ; | 167 | ] ; |
| 146 | - sp:variable _:b7 | 168 | + sp:variable _:b8 |
| 147 | ] [ rdf:type sp:Bind ; | 169 | ] [ rdf:type sp:Bind ; |
| 148 | sp:expression | 170 | sp:expression |
| 149 | [ rdf:type smf:trim ; | 171 | [ rdf:type smf:trim ; |
| 150 | - sp:arg1 _:b7 | 172 | + sp:arg1 _:b8 |
| 151 | ] ; | 173 | ] ; |
| 152 | - sp:variable _:b8 | 174 | + sp:variable _:b9 |
| 153 | ] [ rdf:type sp:Bind ; | 175 | ] [ rdf:type sp:Bind ; |
| 154 | sp:expression | 176 | sp:expression |
| 155 | [ rdf:type smf:encodeURL ; | 177 | [ rdf:type smf:encodeURL ; |
| 156 | - sp:arg1 _:b8 | 178 | + sp:arg1 _:b9 |
| 157 | ] ; | 179 | ] ; |
| 158 | - sp:variable _:b9 | 180 | + sp:variable _:b10 |
| 159 | ] [ rdf:type sp:Bind ; | 181 | ] [ rdf:type sp:Bind ; |
| 160 | sp:expression | 182 | sp:expression |
| 161 | [ rdf:type smf:regex ; | 183 | [ rdf:type smf:regex ; |
| 162 | - sp:arg1 _:b9 ; | 184 | + sp:arg1 _:b10 ; |
| 163 | sp:arg2 "%2F" ; | 185 | sp:arg2 "%2F" ; |
| 164 | sp:arg3 "_" | 186 | sp:arg3 "_" |
| 165 | ] ; | 187 | ] ; |
| 166 | - sp:variable _:b10 | 188 | + sp:variable _:b11 |
| 167 | ] [ rdf:type sp:Bind ; | 189 | ] [ rdf:type sp:Bind ; |
| 168 | sp:expression | 190 | sp:expression |
| 169 | [ rdf:type smf:regex ; | 191 | [ rdf:type smf:regex ; |
| 170 | - sp:arg1 _:b10 ; | 192 | + sp:arg1 _:b11 ; |
| 171 | sp:arg2 "%[0-9A-F][0-9A-F]" ; | 193 | sp:arg2 "%[0-9A-F][0-9A-F]" ; |
| 172 | sp:arg3 "" | 194 | sp:arg3 "" |
| 173 | ] ; | 195 | ] ; |
| 174 | - sp:variable _:b11 | 196 | + sp:variable _:b12 |
| 175 | ] [ rdf:type sp:Bind ; | 197 | ] [ rdf:type sp:Bind ; |
| 176 | sp:expression | 198 | sp:expression |
| 177 | [ rdf:type smf:regex ; | 199 | [ rdf:type smf:regex ; |
| 178 | - sp:arg1 _:b11 ; | 200 | + sp:arg1 _:b12 ; |
| 179 | sp:arg2 "\\+" ; | 201 | sp:arg2 "\\+" ; |
| 180 | sp:arg3 "_" | 202 | sp:arg3 "_" |
| 181 | ] ; | 203 | ] ; |
| 182 | - sp:variable _:b12 | 204 | + sp:variable _:b13 |
| 183 | ] [ rdf:type sp:Bind ; | 205 | ] [ rdf:type sp:Bind ; |
| 184 | sp:expression | 206 | sp:expression |
| 185 | [ rdf:type smf:regex ; | 207 | [ rdf:type smf:regex ; |
| 186 | - sp:arg1 _:b12 ; | 208 | + sp:arg1 _:b13 ; |
| 187 | sp:arg2 "_+" ; | 209 | sp:arg2 "_+" ; |
| 188 | sp:arg3 "_" | 210 | sp:arg3 "_" |
| 189 | ] ; | 211 | ] ; |
| 190 | - sp:variable _:b13 | 212 | + sp:variable _:b14 |
| 191 | ] [ rdf:type sp:Bind ; | 213 | ] [ rdf:type sp:Bind ; |
| 192 | sp:expression | 214 | sp:expression |
| 193 | [ rdf:type smf:regex ; | 215 | [ rdf:type smf:regex ; |
| 194 | - sp:arg1 _:b13 ; | 216 | + sp:arg1 _:b14 ; |
| 195 | sp:arg2 "\\*" ; | 217 | sp:arg2 "\\*" ; |
| 196 | sp:arg3 "" | 218 | sp:arg3 "" |
| 197 | ] ; | 219 | ] ; |
| 198 | - sp:variable _:b14 | 220 | + sp:variable _:b15 |
| 199 | ] [ rdf:type sp:Bind ; | 221 | ] [ rdf:type sp:Bind ; |
| 200 | sp:expression | 222 | sp:expression |
| 201 | [ rdf:type xsd:string ; | 223 | [ rdf:type xsd:string ; |
| 202 | sp:arg1 [ rdf:type smf:upperCase ; | 224 | sp:arg1 [ rdf:type smf:upperCase ; |
| 203 | - sp:arg1 _:b14 | 225 | + sp:arg1 _:b15 |
| 204 | ] | 226 | ] |
| 205 | ] ; | 227 | ] ; |
| 206 | - sp:variable _:b6 | 228 | + sp:variable _:b7 |
| 207 | ]) | 229 | ]) |
| 208 | ] ; | 230 | ] ; |
| 209 | spin:constraint | 231 | spin:constraint |
| ... | @@ -212,32 +234,160 @@ ep-spin-lib:normalizeString | ... | @@ -212,32 +234,160 @@ ep-spin-lib:normalizeString |
| 212 | spl:valueType xsd:string | 234 | spl:valueType xsd:string |
| 213 | ] . | 235 | ] . |
| 214 | 236 | ||
| 215 | -_:b4 sp:varName "uri"^^xsd:string . | 237 | +ep-spin-lib:selectDailyDrillingReportType |
| 238 | + rdf:type spin:Function ; | ||
| 239 | + rdfs:label "select DailyDrillingReportType"^^xsd:string ; | ||
| 240 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
| 241 | + spin:body | ||
| 242 | + [ rdf:type sp:Select ; | ||
| 243 | + sp:resultVariables (_:b16) ; | ||
| 244 | + sp:where ([ rdf:type sp:Bind ; | ||
| 245 | + sp:expression | ||
| 246 | + [ rdf:type smf:if ; | ||
| 247 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 248 | + sp:arg1 spin:_arg1 ; | ||
| 249 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ORV_normal> | ||
| 250 | + ] ; | ||
| 251 | + sp:arg2 <http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport> ; | ||
| 252 | + sp:arg3 [ rdf:type smf:if ; | ||
| 253 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 254 | + sp:arg1 spin:_arg1 ; | ||
| 255 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ORV_preliminary> | ||
| 256 | + ] ; | ||
| 257 | + sp:arg2 <http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport> ; | ||
| 258 | + sp:arg3 [ rdf:type smf:if ; | ||
| 259 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 260 | + sp:arg1 spin:_arg1 ; | ||
| 261 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ORV_final> | ||
| 262 | + ] ; | ||
| 263 | + sp:arg2 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport> | ||
| 264 | + ] | ||
| 265 | + ] | ||
| 266 | + ] ; | ||
| 267 | + sp:variable _:b16 | ||
| 268 | + ]) | ||
| 269 | + ] . | ||
| 216 | 270 | ||
| 217 | -_:b5 sp:varName "uri"^^xsd:string . | 271 | +ep-spin-lib:selectPressureTestType |
| 272 | + rdf:type spin:Function ; | ||
| 273 | + rdfs:label "select PressureTestType"^^xsd:string ; | ||
| 274 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
| 275 | + spin:body | ||
| 276 | + [ rdf:type sp:Select ; | ||
| 277 | + sp:resultVariables (_:b17) ; | ||
| 278 | + sp:where ([ rdf:type sp:Bind ; | ||
| 279 | + sp:expression | ||
| 280 | + [ rdf:type smf:if ; | ||
| 281 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 282 | + sp:arg1 spin:_arg1 ; | ||
| 283 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#PT_formationintegritytest> | ||
| 284 | + ] ; | ||
| 285 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#FormationIntegrityTest> ; | ||
| 286 | + sp:arg3 [ rdf:type smf:if ; | ||
| 287 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 288 | + sp:arg1 spin:_arg1 ; | ||
| 289 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#PT_leakofftest> | ||
| 290 | + ] ; | ||
| 291 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#LeakOffTest> | ||
| 292 | + ] | ||
| 293 | + ] ; | ||
| 294 | + sp:variable _:b17 | ||
| 295 | + ]) | ||
| 296 | + ] . | ||
| 218 | 297 | ||
| 219 | -_:b14 | 298 | +ep-spin-lib:selectWellBoreDrillingType |
| 299 | + rdf:type spin:Function ; | ||
| 300 | + rdfs:label "select WellBoreDrillingType"^^xsd:string ; | ||
| 301 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
| 302 | + spin:body | ||
| 303 | + [ rdf:type sp:Select ; | ||
| 304 | + sp:resultVariables (_:b18) ; | ||
| 305 | + sp:where ([ rdf:type sp:Bind ; | ||
| 306 | + sp:expression | ||
| 307 | + [ rdf:type smf:if ; | ||
| 308 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 309 | + sp:arg1 spin:_arg1 ; | ||
| 310 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_bypass> | ||
| 311 | + ] ; | ||
| 312 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-bypass> ; | ||
| 313 | + sp:arg3 [ rdf:type smf:if ; | ||
| 314 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 315 | + sp:arg1 spin:_arg1 ; | ||
| 316 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_initial> | ||
| 317 | + ] ; | ||
| 318 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-initial> ; | ||
| 319 | + sp:arg3 [ rdf:type smf:if ; | ||
| 320 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 321 | + sp:arg1 spin:_arg1 ; | ||
| 322 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_redrill> | ||
| 323 | + ] ; | ||
| 324 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-redrill> ; | ||
| 325 | + sp:arg3 [ rdf:type smf:if ; | ||
| 326 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 327 | + sp:arg1 spin:_arg1 ; | ||
| 328 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_reentry> | ||
| 329 | + ] ; | ||
| 330 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-re-entry> ; | ||
| 331 | + sp:arg3 [ rdf:type smf:if ; | ||
| 332 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 333 | + sp:arg1 spin:_arg1 ; | ||
| 334 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_respud> | ||
| 335 | + ] ; | ||
| 336 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-re-spud> ; | ||
| 337 | + sp:arg3 [ rdf:type smf:if ; | ||
| 338 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 339 | + sp:arg1 spin:_arg1 ; | ||
| 340 | + sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_sidetrack> | ||
| 341 | + ] ; | ||
| 342 | + sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-sidetrack> | ||
| 343 | + ] | ||
| 344 | + ] | ||
| 345 | + ] | ||
| 346 | + ] | ||
| 347 | + ] | ||
| 348 | + ] ; | ||
| 349 | + sp:variable _:b18 | ||
| 350 | + ]) | ||
| 351 | + ] . | ||
| 352 | + | ||
| 353 | +_:b16 | ||
| 354 | + sp:varName "dailyDrillingReportType"^^xsd:string . | ||
| 355 | + | ||
| 356 | +_:b18 | ||
| 357 | + sp:varName "wellBoreDrillingType"^^xsd:string . | ||
| 358 | + | ||
| 359 | +_:b17 | ||
| 360 | + sp:varName "pressureTestType"^^xsd:string . | ||
| 361 | + | ||
| 362 | +_:b15 | ||
| 220 | sp:varName "t4"^^xsd:string . | 363 | sp:varName "t4"^^xsd:string . |
| 221 | 364 | ||
| 222 | -_:b13 | 365 | +_:b14 |
| 223 | sp:varName "t3"^^xsd:string . | 366 | sp:varName "t3"^^xsd:string . |
| 224 | 367 | ||
| 225 | -_:b12 | 368 | +_:b13 |
| 226 | sp:varName "t2"^^xsd:string . | 369 | sp:varName "t2"^^xsd:string . |
| 227 | 370 | ||
| 228 | -_:b11 | 371 | +_:b12 |
| 229 | sp:varName "t1"^^xsd:string . | 372 | sp:varName "t1"^^xsd:string . |
| 230 | 373 | ||
| 231 | -_:b10 | 374 | +_:b11 |
| 232 | sp:varName "t0b"^^xsd:string . | 375 | sp:varName "t0b"^^xsd:string . |
| 233 | 376 | ||
| 234 | -_:b9 sp:varName "t0a"^^xsd:string . | 377 | +_:b10 |
| 378 | + sp:varName "t0a"^^xsd:string . | ||
| 379 | + | ||
| 380 | +_:b9 sp:varName "s2"^^xsd:string . | ||
| 235 | 381 | ||
| 236 | -_:b8 sp:varName "s2"^^xsd:string . | 382 | +_:b8 sp:varName "s1"^^xsd:string . |
| 237 | 383 | ||
| 238 | -_:b7 sp:varName "s1"^^xsd:string . | 384 | +_:b7 sp:varName "normalizedStr"^^xsd:string . |
| 239 | 385 | ||
| 240 | -_:b6 sp:varName "normalizedStr"^^xsd:string . | 386 | +_:b6 sp:varName "uri"^^xsd:string . |
| 387 | + | ||
| 388 | +_:b5 sp:varName "uri"^^xsd:string . | ||
| 389 | + | ||
| 390 | +_:b4 sp:varName "uri"^^xsd:string . | ||
| 241 | 391 | ||
| 242 | _:b3 sp:varName "uri"^^xsd:string . | 392 | _:b3 sp:varName "uri"^^xsd:string . |
| 243 | 393 | ... | ... |
| 1 | -# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 16:06:56 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#> . | ... | ... |
| 1 | +# Saved by TopBraid on Fri Aug 05 00:36:55 PDT 2011 | ||
| 1 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr |
| 3 | +# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
| 2 | # imports: http://spinrdf.org/spin | 4 | # imports: http://spinrdf.org/spin |
| 3 | # imports: http://topbraid.org/sxml | 5 | # imports: http://topbraid.org/sxml |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
| 5 | 6 | ||
| 6 | @prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . | 7 | @prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . |
| 7 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | 8 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . |
| ... | @@ -119,781 +120,784 @@ ddr:DrillReports | ... | @@ -119,781 +120,784 @@ ddr:DrillReports |
| 119 | ddr:Obj_drillReport | 120 | ddr:Obj_drillReport |
| 120 | sxml:element "witsml:drillReport"^^xsd:string . | 121 | sxml:element "witsml:drillReport"^^xsd:string . |
| 121 | 122 | ||
| 122 | -ddr:schemaLocation | 123 | +ddr:Thing |
| 123 | - rdfs:domain ddr:Obj_drillReports ; | 124 | + spin:rule |
| 124 | - sxml:attribute "xsi:schemaLocation"^^xsd:string . | 125 | + [ rdf:type sp:Construct ; |
| 125 | - | 126 | + rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; |
| 126 | -ddr:uom | 127 | + sp:templates ([ sp:object _:b1 ; |
| 127 | - sxml:attribute "uom"^^xsd:string . | 128 | + sp:predicate _:b2 ; |
| 128 | - | 129 | + sp:subject _:b3 |
| 129 | -ddr:version | 130 | + ] [ sp:object rdf:Statement ; |
| 130 | - rdfs:domain ddr:DrillReports ; | 131 | + sp:predicate rdf:type ; |
| 131 | - sxml:attribute "version"^^xsd:string . | 132 | + sp:subject _:b4 |
| 132 | - | 133 | + ] [ sp:object _:b3 ; |
| 133 | -<http://www.reportinghub.no/ep/transform/1.1/ddr> | 134 | + sp:predicate rdf:subject ; |
| 134 | - rdf:type owl:Ontology ; | 135 | + sp:subject _:b4 |
| 135 | - owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ; | 136 | + ] [ sp:object _:b2 ; |
| 136 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 137 | + sp:predicate rdf:predicate ; |
| 137 | - | 138 | + sp:subject _:b4 |
| 138 | -owl:Thing | 139 | + ] [ sp:object _:b1 ; |
| 139 | - spin:query | 140 | + sp:predicate rdf:object ; |
| 140 | - [ rdf:type sp:Select ; | 141 | + sp:subject _:b4 |
| 141 | - sp:resultVariables (_:b1 _:b2 _:b3 _:b4) ; | 142 | + ] [ sp:object _:b4 ; |
| 142 | - sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; | 143 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 144 | + sp:subject _:b1 | ||
| 145 | + ]) ; | ||
| 146 | + sp:where ([ sp:object _:b1 ; | ||
| 147 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
| 148 | + sp:subject _:b3 | ||
| 149 | + ] [ sp:object _:b5 ; | ||
| 143 | sp:predicate rdf:type ; | 150 | sp:predicate rdf:type ; |
| 144 | - sp:subject _:b5 | 151 | + sp:subject _:b1 |
| 152 | + ] [ sp:object _:b6 ; | ||
| 153 | + sp:predicate rdf:type ; | ||
| 154 | + sp:subject _:b3 | ||
| 145 | ] [ rdf:type sp:TriplePath ; | 155 | ] [ rdf:type sp:TriplePath ; |
| 146 | - sp:object _:b6 ; | 156 | + sp:object _:b7 ; |
| 147 | sp:path [ rdf:type sp:ModPath ; | 157 | sp:path [ rdf:type sp:ModPath ; |
| 148 | sp:modMax -2 ; | 158 | sp:modMax -2 ; |
| 149 | sp:modMin 0 ; | 159 | sp:modMin 0 ; |
| 150 | - sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> | 160 | + sp:subPath rdfs:subClassOf |
| 151 | ] ; | 161 | ] ; |
| 152 | - sp:subject _:b5 | ||
| 153 | - ] [ sp:object _:b7 ; | ||
| 154 | - sp:predicate <http://topbraid.org/sxsd#name> ; | ||
| 155 | - sp:subject _:b5 | ||
| 156 | - ] [ sp:object _:b4 ; | ||
| 157 | - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
| 158 | sp:subject _:b6 | 162 | sp:subject _:b6 |
| 159 | ] [ sp:object _:b8 ; | 163 | ] [ sp:object _:b8 ; |
| 160 | - sp:predicate <http://topbraid.org/sxsd#name> ; | 164 | + sp:predicate rdfs:subClassOf ; |
| 161 | - sp:subject _:b6 | 165 | + sp:subject _:b7 |
| 162 | - ] [ rdf:type sp:Bind ; | 166 | + ] [ sp:object owl:Restriction ; |
| 163 | - sp:expression | ||
| 164 | - [ rdf:type spif:titleCase ; | ||
| 165 | - sp:arg1 _:b8 | ||
| 166 | - ] ; | ||
| 167 | - sp:variable _:b9 | ||
| 168 | - ] [ rdf:type sp:Bind ; | ||
| 169 | - sp:expression | ||
| 170 | - [ rdf:type spif:buildURI ; | ||
| 171 | - sp:arg1 [ rdf:type fn:concat ; | ||
| 172 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | ||
| 173 | - sp:arg2 _:b9 | ||
| 174 | - ] | ||
| 175 | - ] ; | ||
| 176 | - sp:variable _:b3 | ||
| 177 | - ] [ rdf:type sp:Bind ; | ||
| 178 | - sp:expression | ||
| 179 | - [ rdf:type spif:titleCase ; | ||
| 180 | - sp:arg1 _:b7 ; | ||
| 181 | - sp:arg2 "[a-z]s" | ||
| 182 | - ] ; | ||
| 183 | - sp:variable _:b10 | ||
| 184 | - ] [ rdf:type sp:Bind ; | ||
| 185 | - sp:expression | ||
| 186 | - [ rdf:type spif:buildURI ; | ||
| 187 | - sp:arg1 [ rdf:type fn:concat ; | ||
| 188 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | ||
| 189 | - sp:arg2 _:b10 | ||
| 190 | - ] | ||
| 191 | - ] ; | ||
| 192 | - sp:variable _:b2 | ||
| 193 | - ] [ rdf:type sp:Bind ; | ||
| 194 | - sp:expression | ||
| 195 | - [ rdf:type spif:buildURI ; | ||
| 196 | - sp:arg1 [ rdf:type fn:concat ; | ||
| 197 | - sp:arg1 "http://www.reportinghub.no/map/ddr#" ; | ||
| 198 | - sp:arg2 _:b10 ; | ||
| 199 | - sp:arg3 "-has" ; | ||
| 200 | - sp:arg4 _:b9 | ||
| 201 | - ] | ||
| 202 | - ] ; | ||
| 203 | - sp:variable _:b1 | ||
| 204 | - ]) | ||
| 205 | - ] ; | ||
| 206 | - spin:query | ||
| 207 | - [ rdf:type sp:Select ; | ||
| 208 | - sp:resultVariables (_:b11 _:b12 _:b13 _:b14) ; | ||
| 209 | - sp:where ([ sp:object _:b14 ; | ||
| 210 | - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
| 211 | - sp:subject _:b13 | ||
| 212 | - ] [ sp:object _:b13 ; | ||
| 213 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
| 214 | - sp:subject _:b12 | ||
| 215 | - ] [ rdf:type sp:Union ; | ||
| 216 | - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | ||
| 217 | - sp:predicate rdf:type ; | ||
| 218 | - sp:subject _:b12 | ||
| 219 | - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; | ||
| 220 | sp:predicate rdf:type ; | 167 | sp:predicate rdf:type ; |
| 221 | - sp:subject _:b12 | 168 | + sp:subject _:b8 |
| 222 | - ])) | 169 | + ] [ sp:object _:b2 ; |
| 223 | - ] [ sp:object _:b12 ; | 170 | + sp:predicate owl:onProperty ; |
| 224 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 171 | + sp:subject _:b8 |
| 225 | - sp:subject _:b11 | 172 | + ] [ sp:object _:b5 ; |
| 173 | + sp:predicate owl:allValuesFrom ; | ||
| 174 | + sp:subject _:b8 | ||
| 226 | ]) | 175 | ]) |
| 227 | ] ; | 176 | ] ; |
| 228 | spin:rule | 177 | spin:rule |
| 229 | [ rdf:type sp:Construct ; | 178 | [ rdf:type sp:Construct ; |
| 230 | - rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; | 179 | + rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; |
| 231 | - sp:templates ([ sp:object _:b15 ; | 180 | + sp:templates ([ sp:object _:b9 ; |
| 232 | - sp:predicate _:b16 ; | 181 | + sp:predicate _:b10 ; |
| 233 | - sp:subject _:b17 | 182 | + sp:subject _:b11 |
| 234 | ] [ sp:object rdf:Statement ; | 183 | ] [ sp:object rdf:Statement ; |
| 235 | sp:predicate rdf:type ; | 184 | sp:predicate rdf:type ; |
| 236 | - sp:subject _:b18 | 185 | + sp:subject _:b12 |
| 237 | - ] [ sp:object _:b17 ; | 186 | + ] [ sp:object _:b11 ; |
| 238 | sp:predicate rdf:subject ; | 187 | sp:predicate rdf:subject ; |
| 239 | - sp:subject _:b18 | 188 | + sp:subject _:b12 |
| 240 | - ] [ sp:object _:b16 ; | 189 | + ] [ sp:object _:b10 ; |
| 241 | sp:predicate rdf:predicate ; | 190 | sp:predicate rdf:predicate ; |
| 242 | - sp:subject _:b18 | 191 | + sp:subject _:b12 |
| 243 | - ] [ sp:object _:b15 ; | 192 | + ] [ sp:object _:b9 ; |
| 244 | sp:predicate rdf:object ; | 193 | sp:predicate rdf:object ; |
| 245 | - sp:subject _:b18 | 194 | + sp:subject _:b12 |
| 246 | - ] [ sp:object _:b18 ; | 195 | + ] [ sp:object _:b12 ; |
| 247 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 196 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 248 | - sp:subject _:b19 | 197 | + sp:subject _:b13 |
| 249 | ]) ; | 198 | ]) ; |
| 250 | - sp:where ([ sp:object _:b19 ; | 199 | + sp:where ([ sp:object _:b13 ; |
| 251 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 200 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 252 | - sp:subject _:b17 | 201 | + sp:subject _:b11 |
| 253 | - ] [ sp:object _:b20 ; | 202 | + ] [ sp:object _:b14 ; |
| 254 | sp:predicate rdf:type ; | 203 | sp:predicate rdf:type ; |
| 255 | - sp:subject _:b19 | 204 | + sp:subject _:b13 |
| 256 | ] [ rdf:type sp:NotExists ; | 205 | ] [ rdf:type sp:NotExists ; |
| 257 | sp:elements ([ sp:object | 206 | sp:elements ([ sp:object |
| 258 | [ sp:varName "uom"^^xsd:string | 207 | [ sp:varName "uom"^^xsd:string |
| 259 | ] ; | 208 | ] ; |
| 260 | sp:predicate ddr:uom ; | 209 | sp:predicate ddr:uom ; |
| 261 | - sp:subject _:b19 | 210 | + sp:subject _:b13 |
| 262 | ]) | 211 | ]) |
| 263 | ] [ rdf:type sp:Bind ; | 212 | ] [ rdf:type sp:Bind ; |
| 264 | sp:expression | 213 | sp:expression |
| 265 | [ rdf:type afn:localname ; | 214 | [ rdf:type afn:localname ; |
| 266 | - sp:arg1 _:b20 | 215 | + sp:arg1 _:b14 |
| 267 | ] ; | 216 | ] ; |
| 268 | - sp:variable _:b21 | 217 | + sp:variable _:b15 |
| 269 | ] [ rdf:type sp:Bind ; | 218 | ] [ rdf:type sp:Bind ; |
| 270 | sp:expression | 219 | sp:expression |
| 271 | - [ rdf:type spif:buildURI ; | 220 | + [ rdf:type smf:buildURI ; |
| 272 | sp:arg1 [ rdf:type fn:concat ; | 221 | sp:arg1 [ rdf:type fn:concat ; |
| 273 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 222 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
| 274 | - sp:arg2 _:b21 | 223 | + sp:arg2 _:b15 |
| 275 | ] | 224 | ] |
| 276 | ] ; | 225 | ] ; |
| 277 | - sp:variable _:b16 | 226 | + sp:variable _:b10 |
| 278 | ] [ sp:object owl:DatatypeProperty ; | 227 | ] [ sp:object owl:DatatypeProperty ; |
| 279 | sp:predicate rdf:type ; | 228 | sp:predicate rdf:type ; |
| 280 | - sp:subject _:b16 | 229 | + sp:subject _:b10 |
| 281 | - ] [ sp:object _:b22 ; | 230 | + ] [ sp:object _:b16 ; |
| 282 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 231 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 283 | - sp:subject _:b19 | 232 | + sp:subject _:b13 |
| 284 | ] [ sp:object sxml:TextNode ; | 233 | ] [ sp:object sxml:TextNode ; |
| 285 | sp:predicate rdf:type ; | 234 | sp:predicate rdf:type ; |
| 286 | - sp:subject _:b22 | 235 | + sp:subject _:b16 |
| 287 | - ] [ sp:object _:b23 ; | 236 | + ] [ sp:object _:b9 ; |
| 288 | sp:predicate sxml:text ; | 237 | sp:predicate sxml:text ; |
| 289 | - sp:subject _:b22 | 238 | + sp:subject _:b16 |
| 290 | - ] [ sp:object _:b24 ; | 239 | + ] [ sp:object _:b17 ; |
| 291 | sp:predicate rdf:type ; | 240 | sp:predicate rdf:type ; |
| 292 | - sp:subject _:b17 | 241 | + sp:subject _:b11 |
| 293 | ] [ rdf:type sp:TriplePath ; | 242 | ] [ rdf:type sp:TriplePath ; |
| 294 | - sp:object _:b25 ; | 243 | + sp:object _:b18 ; |
| 295 | sp:path [ rdf:type sp:ModPath ; | 244 | sp:path [ rdf:type sp:ModPath ; |
| 296 | sp:modMax -2 ; | 245 | sp:modMax -2 ; |
| 297 | sp:modMin 0 ; | 246 | sp:modMin 0 ; |
| 298 | sp:subPath rdfs:subClassOf | 247 | sp:subPath rdfs:subClassOf |
| 299 | ] ; | 248 | ] ; |
| 300 | - sp:subject _:b24 | 249 | + sp:subject _:b17 |
| 301 | - ] [ sp:object _:b26 ; | 250 | + ] [ sp:object _:b19 ; |
| 302 | sp:predicate rdfs:subClassOf ; | 251 | sp:predicate rdfs:subClassOf ; |
| 303 | - sp:subject _:b25 | 252 | + sp:subject _:b18 |
| 304 | ] [ sp:object owl:Restriction ; | 253 | ] [ sp:object owl:Restriction ; |
| 305 | sp:predicate rdf:type ; | 254 | sp:predicate rdf:type ; |
| 306 | - sp:subject _:b26 | 255 | + sp:subject _:b19 |
| 307 | - ] [ sp:object _:b27 ; | 256 | + ] [ sp:object _:b20 ; |
| 308 | sp:predicate owl:allValuesFrom ; | 257 | sp:predicate owl:allValuesFrom ; |
| 309 | - sp:subject _:b26 | 258 | + sp:subject _:b19 |
| 310 | - ] [ sp:object _:b16 ; | 259 | + ] [ sp:object _:b10 ; |
| 311 | sp:predicate owl:onProperty ; | 260 | sp:predicate owl:onProperty ; |
| 312 | - sp:subject _:b26 | 261 | + sp:subject _:b19 |
| 313 | ] [ rdf:type sp:TriplePath ; | 262 | ] [ rdf:type sp:TriplePath ; |
| 314 | - sp:object xsd:dateTime ; | 263 | + sp:object xsd:string ; |
| 315 | sp:path [ rdf:type sp:ModPath ; | 264 | sp:path [ rdf:type sp:ModPath ; |
| 316 | sp:modMax -2 ; | 265 | sp:modMax -2 ; |
| 317 | sp:modMin 0 ; | 266 | sp:modMin 0 ; |
| 318 | sp:subPath rdfs:subClassOf | 267 | sp:subPath rdfs:subClassOf |
| 319 | ] ; | 268 | ] ; |
| 320 | - sp:subject _:b27 | 269 | + sp:subject _:b20 |
| 321 | - ] [ rdf:type sp:Bind ; | ||
| 322 | - sp:expression | ||
| 323 | - [ rdf:type xsd:dateTime ; | ||
| 324 | - sp:arg1 _:b23 | ||
| 325 | - ] ; | ||
| 326 | - sp:variable _:b15 | ||
| 327 | ]) | 270 | ]) |
| 328 | ] ; | 271 | ] ; |
| 329 | spin:rule | 272 | spin:rule |
| 330 | [ rdf:type sp:Construct ; | 273 | [ rdf:type sp:Construct ; |
| 331 | - rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; | 274 | + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; |
| 332 | - sp:templates ([ sp:object _:b28 ; | 275 | + sp:templates ([ sp:object _:b21 ; |
| 333 | - sp:predicate _:b29 ; | 276 | + sp:predicate _:b22 ; |
| 334 | - sp:subject _:b30 | 277 | + sp:subject _:b23 |
| 335 | ] [ sp:object rdf:Statement ; | 278 | ] [ sp:object rdf:Statement ; |
| 336 | sp:predicate rdf:type ; | 279 | sp:predicate rdf:type ; |
| 337 | - sp:subject _:b31 | 280 | + sp:subject _:b24 |
| 338 | - ] [ sp:object _:b30 ; | 281 | + ] [ sp:object _:b23 ; |
| 339 | sp:predicate rdf:subject ; | 282 | sp:predicate rdf:subject ; |
| 340 | - sp:subject _:b31 | 283 | + sp:subject _:b24 |
| 341 | - ] [ sp:object _:b29 ; | 284 | + ] [ sp:object _:b22 ; |
| 342 | sp:predicate rdf:predicate ; | 285 | sp:predicate rdf:predicate ; |
| 343 | - sp:subject _:b31 | 286 | + sp:subject _:b24 |
| 344 | - ] [ sp:object _:b28 ; | 287 | + ] [ sp:object _:b21 ; |
| 345 | sp:predicate rdf:object ; | 288 | sp:predicate rdf:object ; |
| 346 | - sp:subject _:b31 | 289 | + sp:subject _:b24 |
| 347 | - ] [ sp:object _:b31 ; | 290 | + ] [ sp:object _:b24 ; |
| 348 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 291 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 349 | - sp:subject _:b32 | 292 | + sp:subject _:b25 |
| 350 | ]) ; | 293 | ]) ; |
| 351 | - sp:where ([ sp:object _:b32 ; | 294 | + sp:where ([ sp:object _:b25 ; |
| 352 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 295 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 353 | - sp:subject _:b30 | 296 | + sp:subject _:b23 |
| 354 | - ] [ sp:object _:b33 ; | 297 | + ] [ sp:object _:b26 ; |
| 355 | sp:predicate rdf:type ; | 298 | sp:predicate rdf:type ; |
| 356 | - sp:subject _:b32 | 299 | + sp:subject _:b25 |
| 357 | ] [ rdf:type sp:NotExists ; | 300 | ] [ rdf:type sp:NotExists ; |
| 358 | sp:elements ([ sp:object | 301 | sp:elements ([ sp:object |
| 359 | [ sp:varName "uom"^^xsd:string | 302 | [ sp:varName "uom"^^xsd:string |
| 360 | ] ; | 303 | ] ; |
| 361 | sp:predicate ddr:uom ; | 304 | sp:predicate ddr:uom ; |
| 362 | - sp:subject _:b32 | 305 | + sp:subject _:b25 |
| 363 | ]) | 306 | ]) |
| 364 | ] [ rdf:type sp:Bind ; | 307 | ] [ rdf:type sp:Bind ; |
| 365 | sp:expression | 308 | sp:expression |
| 366 | - [ rdf:type afn:localname ; | 309 | + [ rdf:type smf:titleCase ; |
| 367 | - sp:arg1 _:b33 | 310 | + sp:arg1 [ rdf:type afn:localname ; |
| 311 | + sp:arg1 _:b26 | ||
| 312 | + ] | ||
| 368 | ] ; | 313 | ] ; |
| 369 | - sp:variable _:b34 | 314 | + sp:variable _:b27 |
| 370 | ] [ rdf:type sp:Bind ; | 315 | ] [ rdf:type sp:Bind ; |
| 371 | sp:expression | 316 | sp:expression |
| 372 | - [ rdf:type spif:buildURI ; | 317 | + [ rdf:type smf:buildURI ; |
| 373 | sp:arg1 [ rdf:type fn:concat ; | 318 | sp:arg1 [ rdf:type fn:concat ; |
| 374 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 319 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
| 375 | - sp:arg2 _:b34 | 320 | + sp:arg2 _:b27 |
| 376 | ] | 321 | ] |
| 377 | ] ; | 322 | ] ; |
| 378 | - sp:variable _:b29 | 323 | + sp:variable _:b22 |
| 379 | - ] [ sp:object owl:DatatypeProperty ; | 324 | + ] [ sp:object owl:ObjectProperty ; |
| 380 | - sp:predicate rdf:type ; | ||
| 381 | - sp:subject _:b29 | ||
| 382 | - ] [ sp:object _:b35 ; | ||
| 383 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
| 384 | - sp:subject _:b32 | ||
| 385 | - ] [ sp:object sxml:TextNode ; | ||
| 386 | sp:predicate rdf:type ; | 325 | sp:predicate rdf:type ; |
| 387 | - sp:subject _:b35 | 326 | + sp:subject _:b22 |
| 388 | ] [ sp:object _:b28 ; | 327 | ] [ sp:object _:b28 ; |
| 389 | - sp:predicate sxml:text ; | ||
| 390 | - sp:subject _:b35 | ||
| 391 | - ] [ sp:object _:b36 ; | ||
| 392 | sp:predicate rdf:type ; | 328 | sp:predicate rdf:type ; |
| 393 | - sp:subject _:b30 | 329 | + sp:subject _:b23 |
| 394 | ] [ rdf:type sp:TriplePath ; | 330 | ] [ rdf:type sp:TriplePath ; |
| 395 | - sp:object _:b37 ; | 331 | + sp:object _:b29 ; |
| 396 | sp:path [ rdf:type sp:ModPath ; | 332 | sp:path [ rdf:type sp:ModPath ; |
| 397 | sp:modMax -2 ; | 333 | sp:modMax -2 ; |
| 398 | sp:modMin 0 ; | 334 | sp:modMin 0 ; |
| 399 | sp:subPath rdfs:subClassOf | 335 | sp:subPath rdfs:subClassOf |
| 400 | ] ; | 336 | ] ; |
| 401 | - sp:subject _:b36 | 337 | + sp:subject _:b28 |
| 402 | - ] [ sp:object _:b38 ; | 338 | + ] [ sp:object _:b30 ; |
| 403 | sp:predicate rdfs:subClassOf ; | 339 | sp:predicate rdfs:subClassOf ; |
| 404 | - sp:subject _:b37 | 340 | + sp:subject _:b29 |
| 405 | ] [ sp:object owl:Restriction ; | 341 | ] [ sp:object owl:Restriction ; |
| 406 | sp:predicate rdf:type ; | 342 | sp:predicate rdf:type ; |
| 407 | - sp:subject _:b38 | 343 | + sp:subject _:b30 |
| 408 | - ] [ sp:object _:b39 ; | 344 | + ] [ sp:object _:b22 ; |
| 409 | - sp:predicate owl:allValuesFrom ; | ||
| 410 | - sp:subject _:b38 | ||
| 411 | - ] [ sp:object _:b29 ; | ||
| 412 | sp:predicate owl:onProperty ; | 345 | sp:predicate owl:onProperty ; |
| 413 | - sp:subject _:b38 | 346 | + sp:subject _:b30 |
| 347 | + ] [ sp:object _:b31 ; | ||
| 348 | + sp:predicate owl:allValuesFrom ; | ||
| 349 | + sp:subject _:b30 | ||
| 414 | ] [ rdf:type sp:TriplePath ; | 350 | ] [ rdf:type sp:TriplePath ; |
| 415 | - sp:object xsd:string ; | 351 | + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; |
| 416 | sp:path [ rdf:type sp:ModPath ; | 352 | sp:path [ rdf:type sp:ModPath ; |
| 417 | sp:modMax -2 ; | 353 | sp:modMax -2 ; |
| 418 | sp:modMin 0 ; | 354 | sp:modMin 0 ; |
| 419 | sp:subPath rdfs:subClassOf | 355 | sp:subPath rdfs:subClassOf |
| 420 | ] ; | 356 | ] ; |
| 421 | - sp:subject _:b39 | 357 | + sp:subject _:b31 |
| 358 | + ] [ sp:object _:b32 ; | ||
| 359 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
| 360 | + sp:subject _:b25 | ||
| 361 | + ] [ sp:object sxml:TextNode ; | ||
| 362 | + sp:predicate rdf:type ; | ||
| 363 | + sp:subject _:b32 | ||
| 364 | + ] [ sp:object _:b33 ; | ||
| 365 | + sp:predicate sxml:text ; | ||
| 366 | + sp:subject _:b32 | ||
| 367 | + ] [ sp:object _:b31 ; | ||
| 368 | + sp:predicate rdf:type ; | ||
| 369 | + sp:subject _:b21 | ||
| 370 | + ] [ sp:object _:b33 ; | ||
| 371 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 372 | + sp:subject _:b21 | ||
| 422 | ]) | 373 | ]) |
| 423 | ] ; | 374 | ] ; |
| 424 | spin:rule | 375 | spin:rule |
| 425 | [ rdf:type sp:Construct ; | 376 | [ rdf:type sp:Construct ; |
| 426 | rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; | 377 | rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; |
| 427 | - sp:templates ([ sp:object _:b40 ; | 378 | + sp:templates ([ sp:object _:b34 ; |
| 428 | sp:predicate rdf:type ; | 379 | sp:predicate rdf:type ; |
| 429 | - sp:subject _:b41 | 380 | + sp:subject _:b35 |
| 430 | - ] [ sp:object _:b42 ; | 381 | + ] [ sp:object _:b36 ; |
| 431 | sp:predicate ddr:uom ; | 382 | sp:predicate ddr:uom ; |
| 432 | - sp:subject _:b41 | 383 | + sp:subject _:b35 |
| 433 | - ] [ sp:object _:b43 ; | 384 | + ] [ sp:object _:b37 ; |
| 434 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 385 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 435 | - sp:subject _:b41 | 386 | + sp:subject _:b35 |
| 436 | - ] [ sp:object _:b41 ; | 387 | + ] [ sp:object _:b35 ; |
| 437 | - sp:predicate _:b44 ; | 388 | + sp:predicate _:b38 ; |
| 438 | - sp:subject _:b45 | 389 | + sp:subject _:b39 |
| 439 | ] [ sp:object rdf:Statement ; | 390 | ] [ sp:object rdf:Statement ; |
| 440 | sp:predicate rdf:type ; | 391 | sp:predicate rdf:type ; |
| 441 | - sp:subject _:b46 | 392 | + sp:subject _:b40 |
| 442 | - ] [ sp:object _:b45 ; | 393 | + ] [ sp:object _:b39 ; |
| 443 | sp:predicate rdf:subject ; | 394 | sp:predicate rdf:subject ; |
| 444 | - sp:subject _:b46 | 395 | + sp:subject _:b40 |
| 445 | - ] [ sp:object _:b44 ; | 396 | + ] [ sp:object _:b38 ; |
| 446 | sp:predicate rdf:predicate ; | 397 | sp:predicate rdf:predicate ; |
| 447 | - sp:subject _:b46 | 398 | + sp:subject _:b40 |
| 448 | - ] [ sp:object _:b43 ; | 399 | + ] [ sp:object _:b37 ; |
| 449 | sp:predicate rdf:object ; | 400 | sp:predicate rdf:object ; |
| 450 | - sp:subject _:b46 | 401 | + sp:subject _:b40 |
| 451 | - ] [ sp:object _:b46 ; | 402 | + ] [ sp:object _:b40 ; |
| 452 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 403 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 453 | - sp:subject _:b47 | 404 | + sp:subject _:b41 |
| 454 | ]) ; | 405 | ]) ; |
| 455 | - sp:where ([ sp:object _:b47 ; | 406 | + sp:where ([ sp:object _:b41 ; |
| 456 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 407 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 457 | - sp:subject _:b45 | 408 | + sp:subject _:b39 |
| 458 | - ] [ sp:object _:b48 ; | ||
| 459 | - sp:predicate rdf:type ; | ||
| 460 | - sp:subject _:b47 | ||
| 461 | ] [ sp:object _:b42 ; | 409 | ] [ sp:object _:b42 ; |
| 410 | + sp:predicate rdf:type ; | ||
| 411 | + sp:subject _:b41 | ||
| 412 | + ] [ sp:object _:b36 ; | ||
| 462 | sp:predicate ddr:uom ; | 413 | sp:predicate ddr:uom ; |
| 463 | - sp:subject _:b47 | 414 | + sp:subject _:b41 |
| 464 | ] [ rdf:type sp:NotExists ; | 415 | ] [ rdf:type sp:NotExists ; |
| 465 | sp:elements ([ sp:object | 416 | sp:elements ([ sp:object |
| 466 | [ sp:varName "aNode"^^xsd:string | 417 | [ sp:varName "aNode"^^xsd:string |
| 467 | ] ; | 418 | ] ; |
| 468 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 419 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 469 | - sp:subject _:b47 | 420 | + sp:subject _:b41 |
| 470 | ]) | 421 | ]) |
| 471 | ] [ rdf:type sp:Bind ; | 422 | ] [ rdf:type sp:Bind ; |
| 472 | sp:expression | 423 | sp:expression |
| 473 | [ rdf:type afn:localname ; | 424 | [ rdf:type afn:localname ; |
| 474 | - sp:arg1 _:b48 | 425 | + sp:arg1 _:b42 |
| 475 | ] ; | 426 | ] ; |
| 476 | - sp:variable _:b49 | 427 | + sp:variable _:b43 |
| 477 | ] [ rdf:type sp:Bind ; | 428 | ] [ rdf:type sp:Bind ; |
| 478 | sp:expression | 429 | sp:expression |
| 479 | - [ rdf:type spif:buildURI ; | 430 | + [ rdf:type smf:buildURI ; |
| 480 | sp:arg1 [ rdf:type fn:concat ; | 431 | sp:arg1 [ rdf:type fn:concat ; |
| 481 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 432 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
| 482 | - sp:arg2 [ rdf:type spif:titleCase ; | 433 | + sp:arg2 [ rdf:type smf:titleCase ; |
| 483 | - sp:arg1 _:b49 | 434 | + sp:arg1 _:b43 |
| 484 | ] | 435 | ] |
| 485 | ] | 436 | ] |
| 486 | ] ; | 437 | ] ; |
| 487 | - sp:variable _:b44 | 438 | + sp:variable _:b38 |
| 488 | ] [ sp:object owl:ObjectProperty ; | 439 | ] [ sp:object owl:ObjectProperty ; |
| 489 | sp:predicate rdf:type ; | 440 | sp:predicate rdf:type ; |
| 490 | - sp:subject _:b44 | 441 | + sp:subject _:b38 |
| 491 | - ] [ sp:object _:b50 ; | 442 | + ] [ sp:object _:b44 ; |
| 492 | sp:predicate rdf:type ; | 443 | sp:predicate rdf:type ; |
| 493 | - sp:subject _:b45 | 444 | + sp:subject _:b39 |
| 494 | ] [ rdf:type sp:TriplePath ; | 445 | ] [ rdf:type sp:TriplePath ; |
| 495 | - sp:object _:b51 ; | 446 | + sp:object _:b45 ; |
| 496 | sp:path [ rdf:type sp:ModPath ; | 447 | sp:path [ rdf:type sp:ModPath ; |
| 497 | sp:modMax -2 ; | 448 | sp:modMax -2 ; |
| 498 | sp:modMin 0 ; | 449 | sp:modMin 0 ; |
| 499 | sp:subPath rdfs:subClassOf | 450 | sp:subPath rdfs:subClassOf |
| 500 | ] ; | 451 | ] ; |
| 501 | - sp:subject _:b50 | 452 | + sp:subject _:b44 |
| 502 | - ] [ sp:object _:b52 ; | 453 | + ] [ sp:object _:b46 ; |
| 503 | sp:predicate rdfs:subClassOf ; | 454 | sp:predicate rdfs:subClassOf ; |
| 504 | - sp:subject _:b51 | 455 | + sp:subject _:b45 |
| 505 | ] [ sp:object owl:Restriction ; | 456 | ] [ sp:object owl:Restriction ; |
| 506 | sp:predicate rdf:type ; | 457 | sp:predicate rdf:type ; |
| 507 | - sp:subject _:b52 | 458 | + sp:subject _:b46 |
| 508 | - ] [ sp:object _:b40 ; | 459 | + ] [ sp:object _:b34 ; |
| 509 | sp:predicate owl:allValuesFrom ; | 460 | sp:predicate owl:allValuesFrom ; |
| 510 | - sp:subject _:b52 | 461 | + sp:subject _:b46 |
| 511 | - ] [ sp:object _:b44 ; | 462 | + ] [ sp:object _:b38 ; |
| 512 | sp:predicate owl:onProperty ; | 463 | sp:predicate owl:onProperty ; |
| 513 | - sp:subject _:b52 | 464 | + sp:subject _:b46 |
| 514 | - ] [ sp:object _:b53 ; | 465 | + ] [ sp:object _:b47 ; |
| 515 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 466 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 516 | - sp:subject _:b47 | 467 | + sp:subject _:b41 |
| 517 | ] [ sp:object sxml:TextNode ; | 468 | ] [ sp:object sxml:TextNode ; |
| 518 | sp:predicate rdf:type ; | 469 | sp:predicate rdf:type ; |
| 519 | - sp:subject _:b53 | 470 | + sp:subject _:b47 |
| 520 | - ] [ sp:object _:b54 ; | 471 | + ] [ sp:object _:b48 ; |
| 521 | sp:predicate sxml:text ; | 472 | sp:predicate sxml:text ; |
| 522 | - sp:subject _:b53 | 473 | + sp:subject _:b47 |
| 523 | ] [ rdf:type sp:Bind ; | 474 | ] [ rdf:type sp:Bind ; |
| 524 | sp:expression | 475 | sp:expression |
| 525 | [ rdf:type xsd:double ; | 476 | [ rdf:type xsd:double ; |
| 526 | - sp:arg1 _:b54 | 477 | + sp:arg1 _:b48 |
| 527 | ] ; | 478 | ] ; |
| 528 | - sp:variable _:b43 | 479 | + sp:variable _:b37 |
| 529 | ]) | 480 | ]) |
| 530 | ] ; | 481 | ] ; |
| 531 | spin:rule | 482 | spin:rule |
| 532 | [ rdf:type sp:Construct ; | 483 | [ rdf:type sp:Construct ; |
| 533 | - rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; | 484 | + rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; |
| 534 | - sp:templates ([ sp:object _:b55 ; | 485 | + sp:templates ([ sp:object _:b49 ; |
| 535 | - sp:predicate _:b56 ; | 486 | + sp:predicate _:b50 ; |
| 536 | - sp:subject _:b57 | 487 | + sp:subject _:b51 |
| 537 | ] [ sp:object rdf:Statement ; | 488 | ] [ sp:object rdf:Statement ; |
| 538 | sp:predicate rdf:type ; | 489 | sp:predicate rdf:type ; |
| 539 | - sp:subject _:b58 | 490 | + sp:subject _:b52 |
| 540 | - ] [ sp:object _:b57 ; | 491 | + ] [ sp:object _:b51 ; |
| 541 | sp:predicate rdf:subject ; | 492 | sp:predicate rdf:subject ; |
| 542 | - sp:subject _:b58 | 493 | + sp:subject _:b52 |
| 543 | - ] [ sp:object _:b56 ; | 494 | + ] [ sp:object _:b50 ; |
| 544 | sp:predicate rdf:predicate ; | 495 | sp:predicate rdf:predicate ; |
| 545 | - sp:subject _:b58 | 496 | + sp:subject _:b52 |
| 546 | - ] [ sp:object _:b55 ; | 497 | + ] [ sp:object _:b49 ; |
| 547 | sp:predicate rdf:object ; | 498 | sp:predicate rdf:object ; |
| 548 | - sp:subject _:b58 | 499 | + sp:subject _:b52 |
| 549 | - ] [ sp:object _:b58 ; | 500 | + ] [ sp:object _:b52 ; |
| 550 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 501 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 551 | - sp:subject _:b59 | 502 | + sp:subject _:b53 |
| 552 | ]) ; | 503 | ]) ; |
| 553 | - sp:where ([ sp:object _:b59 ; | 504 | + sp:where ([ sp:object _:b53 ; |
| 554 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 505 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 555 | - sp:subject _:b57 | 506 | + sp:subject _:b51 |
| 556 | - ] [ sp:object _:b60 ; | 507 | + ] [ sp:object _:b54 ; |
| 557 | sp:predicate rdf:type ; | 508 | sp:predicate rdf:type ; |
| 558 | - sp:subject _:b59 | 509 | + sp:subject _:b53 |
| 559 | ] [ rdf:type sp:NotExists ; | 510 | ] [ rdf:type sp:NotExists ; |
| 560 | sp:elements ([ sp:object | 511 | sp:elements ([ sp:object |
| 561 | [ sp:varName "uom"^^xsd:string | 512 | [ sp:varName "uom"^^xsd:string |
| 562 | ] ; | 513 | ] ; |
| 563 | sp:predicate ddr:uom ; | 514 | sp:predicate ddr:uom ; |
| 564 | - sp:subject _:b59 | 515 | + sp:subject _:b53 |
| 565 | ]) | 516 | ]) |
| 566 | ] [ rdf:type sp:Bind ; | 517 | ] [ rdf:type sp:Bind ; |
| 567 | sp:expression | 518 | sp:expression |
| 568 | - [ rdf:type spif:titleCase ; | 519 | + [ rdf:type afn:localname ; |
| 569 | - sp:arg1 [ rdf:type afn:localname ; | 520 | + sp:arg1 _:b54 |
| 570 | - sp:arg1 _:b60 | ||
| 571 | - ] | ||
| 572 | ] ; | 521 | ] ; |
| 573 | - sp:variable _:b61 | 522 | + sp:variable _:b55 |
| 574 | ] [ rdf:type sp:Bind ; | 523 | ] [ rdf:type sp:Bind ; |
| 575 | sp:expression | 524 | sp:expression |
| 576 | - [ rdf:type spif:buildURI ; | 525 | + [ rdf:type smf:buildURI ; |
| 577 | sp:arg1 [ rdf:type fn:concat ; | 526 | sp:arg1 [ rdf:type fn:concat ; |
| 578 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 527 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
| 579 | - sp:arg2 _:b61 | 528 | + sp:arg2 _:b55 |
| 580 | ] | 529 | ] |
| 581 | ] ; | 530 | ] ; |
| 582 | - sp:variable _:b56 | 531 | + sp:variable _:b50 |
| 583 | - ] [ sp:object owl:ObjectProperty ; | 532 | + ] [ sp:object owl:DatatypeProperty ; |
| 533 | + sp:predicate rdf:type ; | ||
| 534 | + sp:subject _:b50 | ||
| 535 | + ] [ sp:object _:b56 ; | ||
| 536 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
| 537 | + sp:subject _:b53 | ||
| 538 | + ] [ sp:object sxml:TextNode ; | ||
| 584 | sp:predicate rdf:type ; | 539 | sp:predicate rdf:type ; |
| 585 | sp:subject _:b56 | 540 | sp:subject _:b56 |
| 586 | - ] [ sp:object _:b62 ; | 541 | + ] [ sp:object _:b57 ; |
| 542 | + sp:predicate sxml:text ; | ||
| 543 | + sp:subject _:b56 | ||
| 544 | + ] [ sp:object _:b58 ; | ||
| 587 | sp:predicate rdf:type ; | 545 | sp:predicate rdf:type ; |
| 588 | - sp:subject _:b57 | 546 | + sp:subject _:b51 |
| 589 | ] [ rdf:type sp:TriplePath ; | 547 | ] [ rdf:type sp:TriplePath ; |
| 590 | - sp:object _:b63 ; | 548 | + sp:object _:b59 ; |
| 591 | sp:path [ rdf:type sp:ModPath ; | 549 | sp:path [ rdf:type sp:ModPath ; |
| 592 | sp:modMax -2 ; | 550 | sp:modMax -2 ; |
| 593 | sp:modMin 0 ; | 551 | sp:modMin 0 ; |
| 594 | sp:subPath rdfs:subClassOf | 552 | sp:subPath rdfs:subClassOf |
| 595 | ] ; | 553 | ] ; |
| 596 | - sp:subject _:b62 | 554 | + sp:subject _:b58 |
| 597 | - ] [ sp:object _:b64 ; | 555 | + ] [ sp:object _:b60 ; |
| 598 | sp:predicate rdfs:subClassOf ; | 556 | sp:predicate rdfs:subClassOf ; |
| 599 | - sp:subject _:b63 | 557 | + sp:subject _:b59 |
| 600 | ] [ sp:object owl:Restriction ; | 558 | ] [ sp:object owl:Restriction ; |
| 601 | sp:predicate rdf:type ; | 559 | sp:predicate rdf:type ; |
| 602 | - sp:subject _:b64 | 560 | + sp:subject _:b60 |
| 603 | - ] [ sp:object _:b56 ; | 561 | + ] [ sp:object _:b61 ; |
| 604 | - sp:predicate owl:onProperty ; | ||
| 605 | - sp:subject _:b64 | ||
| 606 | - ] [ sp:object _:b65 ; | ||
| 607 | sp:predicate owl:allValuesFrom ; | 562 | sp:predicate owl:allValuesFrom ; |
| 608 | - sp:subject _:b64 | 563 | + sp:subject _:b60 |
| 564 | + ] [ sp:object _:b50 ; | ||
| 565 | + sp:predicate owl:onProperty ; | ||
| 566 | + sp:subject _:b60 | ||
| 609 | ] [ rdf:type sp:TriplePath ; | 567 | ] [ rdf:type sp:TriplePath ; |
| 610 | - sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | 568 | + sp:object xsd:dateTime ; |
| 611 | sp:path [ rdf:type sp:ModPath ; | 569 | sp:path [ rdf:type sp:ModPath ; |
| 612 | sp:modMax -2 ; | 570 | sp:modMax -2 ; |
| 613 | sp:modMin 0 ; | 571 | sp:modMin 0 ; |
| 614 | sp:subPath rdfs:subClassOf | 572 | sp:subPath rdfs:subClassOf |
| 615 | ] ; | 573 | ] ; |
| 616 | - sp:subject _:b65 | 574 | + sp:subject _:b61 |
| 617 | - ] [ sp:object _:b66 ; | 575 | + ] [ rdf:type sp:Bind ; |
| 618 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 576 | + sp:expression |
| 619 | - sp:subject _:b59 | 577 | + [ rdf:type xsd:dateTime ; |
| 620 | - ] [ sp:object sxml:TextNode ; | 578 | + sp:arg1 _:b57 |
| 621 | - sp:predicate rdf:type ; | 579 | + ] ; |
| 622 | - sp:subject _:b66 | 580 | + sp:variable _:b49 |
| 623 | - ] [ sp:object _:b67 ; | ||
| 624 | - sp:predicate sxml:text ; | ||
| 625 | - sp:subject _:b66 | ||
| 626 | - ] [ sp:object _:b65 ; | ||
| 627 | - sp:predicate rdf:type ; | ||
| 628 | - sp:subject _:b55 | ||
| 629 | - ] [ sp:object _:b67 ; | ||
| 630 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 631 | - sp:subject _:b55 | ||
| 632 | ]) | 581 | ]) |
| 633 | ] ; | 582 | ] ; |
| 634 | spin:rule | 583 | spin:rule |
| 635 | [ rdf:type sp:Construct ; | 584 | [ rdf:type sp:Construct ; |
| 636 | - rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; | 585 | + rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; |
| 637 | - sp:templates ([ sp:object _:b68 ; | 586 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; |
| 638 | - sp:predicate _:b69 ; | ||
| 639 | - sp:subject _:b70 | ||
| 640 | - ] [ sp:object rdf:Statement ; | ||
| 641 | sp:predicate rdf:type ; | 587 | sp:predicate rdf:type ; |
| 642 | - sp:subject _:b71 | 588 | + sp:subject _:b62 |
| 643 | - ] [ sp:object _:b70 ; | ||
| 644 | - sp:predicate rdf:subject ; | ||
| 645 | - sp:subject _:b71 | ||
| 646 | - ] [ sp:object _:b69 ; | ||
| 647 | - sp:predicate rdf:predicate ; | ||
| 648 | - sp:subject _:b71 | ||
| 649 | - ] [ sp:object _:b68 ; | ||
| 650 | - sp:predicate rdf:object ; | ||
| 651 | - sp:subject _:b71 | ||
| 652 | - ] [ sp:object _:b71 ; | ||
| 653 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
| 654 | - sp:subject _:b68 | ||
| 655 | ]) ; | 589 | ]) ; |
| 656 | - sp:where ([ sp:object _:b68 ; | 590 | + sp:where ([ sp:object ddr:Cs_activity ; |
| 591 | + sp:predicate rdf:type ; | ||
| 592 | + sp:subject _:b62 | ||
| 593 | + ]) | ||
| 594 | + ] . | ||
| 595 | + | ||
| 596 | +ddr:schemaLocation | ||
| 597 | + rdfs:domain ddr:Obj_drillReports ; | ||
| 598 | + sxml:attribute "xsi:schemaLocation"^^xsd:string . | ||
| 599 | + | ||
| 600 | +ddr:uom | ||
| 601 | + sxml:attribute "uom"^^xsd:string . | ||
| 602 | + | ||
| 603 | +ddr:version | ||
| 604 | + rdfs:domain ddr:DrillReports ; | ||
| 605 | + sxml:attribute "version"^^xsd:string . | ||
| 606 | + | ||
| 607 | +<http://www.reportinghub.no/ep/transform/1.1/ddr> | ||
| 608 | + rdf:type owl:Ontology ; | ||
| 609 | + owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ; | ||
| 610 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 611 | + | ||
| 612 | +owl:Thing | ||
| 613 | + spin:query | ||
| 614 | + [ rdf:type sp:Select ; | ||
| 615 | + sp:resultVariables (_:b63 _:b64 _:b65 _:b66) ; | ||
| 616 | + sp:where ([ sp:object _:b66 ; | ||
| 617 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
| 618 | + sp:subject _:b65 | ||
| 619 | + ] [ sp:object _:b65 ; | ||
| 657 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 620 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 658 | - sp:subject _:b70 | 621 | + sp:subject _:b64 |
| 659 | - ] [ sp:object _:b72 ; | 622 | + ] [ rdf:type sp:Union ; |
| 623 | + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | ||
| 660 | sp:predicate rdf:type ; | 624 | sp:predicate rdf:type ; |
| 661 | - sp:subject _:b68 | 625 | + sp:subject _:b64 |
| 662 | - ] [ sp:object _:b73 ; | 626 | + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; |
| 627 | + sp:predicate rdf:type ; | ||
| 628 | + sp:subject _:b64 | ||
| 629 | + ])) | ||
| 630 | + ] [ sp:object _:b64 ; | ||
| 631 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
| 632 | + sp:subject _:b63 | ||
| 633 | + ]) | ||
| 634 | + ] ; | ||
| 635 | + spin:query | ||
| 636 | + [ rdf:type sp:Select ; | ||
| 637 | + sp:resultVariables (_:b67 _:b68 _:b69 _:b70) ; | ||
| 638 | + sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; | ||
| 663 | sp:predicate rdf:type ; | 639 | sp:predicate rdf:type ; |
| 664 | - sp:subject _:b70 | 640 | + sp:subject _:b71 |
| 665 | ] [ rdf:type sp:TriplePath ; | 641 | ] [ rdf:type sp:TriplePath ; |
| 666 | - sp:object _:b74 ; | 642 | + sp:object _:b72 ; |
| 667 | sp:path [ rdf:type sp:ModPath ; | 643 | sp:path [ rdf:type sp:ModPath ; |
| 668 | sp:modMax -2 ; | 644 | sp:modMax -2 ; |
| 669 | sp:modMin 0 ; | 645 | sp:modMin 0 ; |
| 670 | - sp:subPath rdfs:subClassOf | 646 | + sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> |
| 671 | ] ; | 647 | ] ; |
| 672 | - sp:subject _:b73 | 648 | + sp:subject _:b71 |
| 673 | - ] [ sp:object _:b75 ; | 649 | + ] [ sp:object _:b73 ; |
| 674 | - sp:predicate rdfs:subClassOf ; | 650 | + sp:predicate <http://topbraid.org/sxsd#name> ; |
| 675 | - sp:subject _:b74 | 651 | + sp:subject _:b71 |
| 676 | - ] [ sp:object owl:Restriction ; | 652 | + ] [ sp:object _:b70 ; |
| 677 | - sp:predicate rdf:type ; | 653 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; |
| 678 | - sp:subject _:b75 | 654 | + sp:subject _:b72 |
| 679 | - ] [ sp:object _:b69 ; | 655 | + ] [ sp:object _:b74 ; |
| 680 | - sp:predicate owl:onProperty ; | 656 | + sp:predicate <http://topbraid.org/sxsd#name> ; |
| 681 | - sp:subject _:b75 | 657 | + sp:subject _:b72 |
| 682 | - ] [ sp:object _:b72 ; | 658 | + ] [ rdf:type sp:Bind ; |
| 683 | - sp:predicate owl:allValuesFrom ; | 659 | + sp:expression |
| 684 | - sp:subject _:b75 | 660 | + [ rdf:type spif:titleCase ; |
| 685 | - ]) | 661 | + sp:arg1 _:b74 |
| 686 | ] ; | 662 | ] ; |
| 687 | - spin:rule | 663 | + sp:variable _:b75 |
| 688 | - [ rdf:type sp:Construct ; | 664 | + ] [ rdf:type sp:Bind ; |
| 689 | - rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; | 665 | + sp:expression |
| 690 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; | 666 | + [ rdf:type smf:buildURI ; |
| 691 | - sp:predicate rdf:type ; | 667 | + sp:arg1 [ rdf:type fn:concat ; |
| 692 | - sp:subject _:b76 | 668 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
| 693 | - ]) ; | 669 | + sp:arg2 _:b75 |
| 694 | - sp:where ([ sp:object ddr:Cs_activity ; | 670 | + ] |
| 695 | - sp:predicate rdf:type ; | 671 | + ] ; |
| 696 | - sp:subject _:b76 | 672 | + sp:variable _:b69 |
| 673 | + ] [ rdf:type sp:Bind ; | ||
| 674 | + sp:expression | ||
| 675 | + [ rdf:type spif:titleCase ; | ||
| 676 | + sp:arg1 _:b73 ; | ||
| 677 | + sp:arg2 "[a-z]s" | ||
| 678 | + ] ; | ||
| 679 | + sp:variable _:b76 | ||
| 680 | + ] [ rdf:type sp:Bind ; | ||
| 681 | + sp:expression | ||
| 682 | + [ rdf:type smf:buildURI ; | ||
| 683 | + sp:arg1 [ rdf:type fn:concat ; | ||
| 684 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | ||
| 685 | + sp:arg2 _:b76 | ||
| 686 | + ] | ||
| 687 | + ] ; | ||
| 688 | + sp:variable _:b68 | ||
| 689 | + ] [ rdf:type sp:Bind ; | ||
| 690 | + sp:expression | ||
| 691 | + [ rdf:type smf:buildURI ; | ||
| 692 | + sp:arg1 [ rdf:type fn:concat ; | ||
| 693 | + sp:arg1 "http://www.reportinghub.no/map/ddr#" ; | ||
| 694 | + sp:arg2 _:b76 ; | ||
| 695 | + sp:arg3 "-has" ; | ||
| 696 | + sp:arg4 _:b75 | ||
| 697 | + ] | ||
| 698 | + ] ; | ||
| 699 | + sp:variable _:b67 | ||
| 697 | ]) | 700 | ]) |
| 698 | ] . | 701 | ] . |
| 699 | 702 | ||
| 700 | -_:b27 | 703 | +_:b66 |
| 701 | - sp:varName "rangeType"^^xsd:string . | 704 | + sp:varName "e"^^xsd:string . |
| 702 | 705 | ||
| 703 | -_:b26 | 706 | +_:b65 |
| 704 | - sp:varName "valuesRestriction"^^xsd:string . | 707 | + sp:varName "s"^^xsd:string . |
| 705 | 708 | ||
| 706 | -_:b25 | 709 | +_:b64 |
| 707 | - sp:varName "instClass"^^xsd:string . | 710 | + sp:varName "p"^^xsd:string . |
| 708 | 711 | ||
| 709 | -_:b24 | 712 | +_:b63 |
| 710 | - sp:varName "instType"^^xsd:string . | 713 | + sp:varName "pp"^^xsd:string . |
| 711 | 714 | ||
| 712 | -_:b23 | 715 | +_:b76 |
| 713 | - sp:varName "text"^^xsd:string . | 716 | + sp:varName "tcname"^^xsd:string . |
| 714 | 717 | ||
| 715 | -_:b22 | 718 | +_:b75 |
| 716 | - sp:varName "textNode"^^xsd:string . | 719 | + sp:varName "tcpname"^^xsd:string . |
| 717 | 720 | ||
| 718 | -_:b21 | 721 | +_:b74 |
| 719 | - sp:varName "childLocalName"^^xsd:string . | 722 | + sp:varName "pname"^^xsd:string . |
| 720 | 723 | ||
| 721 | -_:b20 | 724 | +_:b73 |
| 722 | - sp:varName "childType"^^xsd:string . | 725 | + sp:varName "name"^^xsd:string . |
| 723 | 726 | ||
| 724 | -_:b19 | 727 | +_:b72 |
| 725 | - sp:varName "child"^^xsd:string . | 728 | + sp:varName "c"^^xsd:string . |
| 726 | 729 | ||
| 727 | -_:b17 | 730 | +_:b71 |
| 728 | - sp:varName "inst"^^xsd:string . | 731 | + sp:varName "s"^^xsd:string . |
| 729 | 732 | ||
| 730 | -_:b16 | 733 | +_:b70 |
| 731 | - sp:varName "dtpnameU"^^xsd:string . | 734 | + sp:varName "mre"^^xsd:string . |
| 732 | 735 | ||
| 733 | -_:b15 | 736 | +_:b69 |
| 734 | - sp:varName "dateTime"^^xsd:string . | 737 | + sp:varName "ddrPU"^^xsd:string . |
| 735 | 738 | ||
| 736 | -_:b39 | 739 | +_:b68 |
| 740 | + sp:varName "ddrCU"^^xsd:string . | ||
| 741 | + | ||
| 742 | +_:b67 | ||
| 743 | + sp:varName "ddrCPU"^^xsd:string . | ||
| 744 | + | ||
| 745 | +_:b8 sp:varName "valuesRestriction"^^xsd:string . | ||
| 746 | + | ||
| 747 | +_:b7 sp:varName "instClass"^^xsd:string . | ||
| 748 | + | ||
| 749 | +_:b6 sp:varName "instType"^^xsd:string . | ||
| 750 | + | ||
| 751 | +_:b5 sp:varName "childType"^^xsd:string . | ||
| 752 | + | ||
| 753 | +_:b3 sp:varName "inst"^^xsd:string . | ||
| 754 | + | ||
| 755 | +_:b2 sp:varName "formalProperty"^^xsd:string . | ||
| 756 | + | ||
| 757 | +_:b1 sp:varName "child"^^xsd:string . | ||
| 758 | + | ||
| 759 | +_:b20 | ||
| 737 | sp:varName "rangeType"^^xsd:string . | 760 | sp:varName "rangeType"^^xsd:string . |
| 738 | 761 | ||
| 739 | -_:b38 | 762 | +_:b19 |
| 740 | sp:varName "valuesRestriction"^^xsd:string . | 763 | sp:varName "valuesRestriction"^^xsd:string . |
| 741 | 764 | ||
| 742 | -_:b37 | 765 | +_:b18 |
| 743 | sp:varName "instClass"^^xsd:string . | 766 | sp:varName "instClass"^^xsd:string . |
| 744 | 767 | ||
| 745 | -_:b36 | 768 | +_:b17 |
| 746 | sp:varName "instType"^^xsd:string . | 769 | sp:varName "instType"^^xsd:string . |
| 747 | 770 | ||
| 748 | -_:b35 | 771 | +_:b16 |
| 749 | sp:varName "textNode"^^xsd:string . | 772 | sp:varName "textNode"^^xsd:string . |
| 750 | 773 | ||
| 751 | -_:b34 | 774 | +_:b15 |
| 752 | sp:varName "childLocalName"^^xsd:string . | 775 | sp:varName "childLocalName"^^xsd:string . |
| 753 | 776 | ||
| 754 | -_:b33 | 777 | +_:b14 |
| 755 | sp:varName "childType"^^xsd:string . | 778 | sp:varName "childType"^^xsd:string . |
| 756 | 779 | ||
| 757 | -_:b32 | 780 | +_:b13 |
| 758 | sp:varName "child"^^xsd:string . | 781 | sp:varName "child"^^xsd:string . |
| 759 | 782 | ||
| 760 | -_:b30 | 783 | +_:b11 |
| 761 | sp:varName "inst"^^xsd:string . | 784 | sp:varName "inst"^^xsd:string . |
| 762 | 785 | ||
| 763 | -_:b29 | 786 | +_:b10 |
| 764 | sp:varName "dtpnameU"^^xsd:string . | 787 | sp:varName "dtpnameU"^^xsd:string . |
| 765 | 788 | ||
| 766 | -_:b28 | 789 | +_:b9 sp:varName "text"^^xsd:string . |
| 767 | - sp:varName "text"^^xsd:string . | ||
| 768 | 790 | ||
| 769 | -_:b54 | 791 | +_:b33 |
| 770 | sp:varName "text"^^xsd:string . | 792 | sp:varName "text"^^xsd:string . |
| 771 | 793 | ||
| 772 | -_:b53 | 794 | +_:b32 |
| 773 | sp:varName "textNode"^^xsd:string . | 795 | sp:varName "textNode"^^xsd:string . |
| 774 | 796 | ||
| 775 | -_:b52 | 797 | +_:b31 |
| 776 | - sp:varName "allValuesRestriction"^^xsd:string . | 798 | + sp:varName "rangeU"^^xsd:string . |
| 777 | 799 | ||
| 778 | -_:b51 | 800 | +_:b30 |
| 801 | + sp:varName "valuesRestriction"^^xsd:string . | ||
| 802 | + | ||
| 803 | +_:b29 | ||
| 779 | sp:varName "instClass"^^xsd:string . | 804 | sp:varName "instClass"^^xsd:string . |
| 780 | 805 | ||
| 781 | -_:b50 | 806 | +_:b28 |
| 782 | sp:varName "instType"^^xsd:string . | 807 | sp:varName "instType"^^xsd:string . |
| 783 | 808 | ||
| 784 | -_:b49 | 809 | +_:b27 |
| 785 | sp:varName "childLocalName"^^xsd:string . | 810 | sp:varName "childLocalName"^^xsd:string . |
| 786 | 811 | ||
| 787 | -_:b48 | 812 | +_:b26 |
| 788 | sp:varName "childType"^^xsd:string . | 813 | sp:varName "childType"^^xsd:string . |
| 789 | 814 | ||
| 790 | -_:b47 | 815 | +_:b25 |
| 791 | sp:varName "child"^^xsd:string . | 816 | sp:varName "child"^^xsd:string . |
| 792 | 817 | ||
| 793 | -_:b45 | 818 | +_:b23 |
| 794 | sp:varName "inst"^^xsd:string . | 819 | sp:varName "inst"^^xsd:string . |
| 795 | 820 | ||
| 796 | -_:b44 | 821 | +_:b22 |
| 797 | sp:varName "opnameU"^^xsd:string . | 822 | sp:varName "opnameU"^^xsd:string . |
| 798 | 823 | ||
| 799 | -_:b43 | 824 | +_:b21 |
| 800 | - sp:varName "value"^^xsd:string . | 825 | + sp:varName "enumeratedValue"^^xsd:string . |
| 801 | - | ||
| 802 | -_:b42 | ||
| 803 | - sp:varName "uom"^^xsd:string . | ||
| 804 | - | ||
| 805 | -_:b40 | ||
| 806 | - sp:varName "rangeU"^^xsd:string . | ||
| 807 | 826 | ||
| 808 | -_:b67 | 827 | +_:b48 |
| 809 | sp:varName "text"^^xsd:string . | 828 | sp:varName "text"^^xsd:string . |
| 810 | 829 | ||
| 811 | -_:b66 | 830 | +_:b47 |
| 812 | sp:varName "textNode"^^xsd:string . | 831 | sp:varName "textNode"^^xsd:string . |
| 813 | 832 | ||
| 814 | -_:b65 | 833 | +_:b46 |
| 815 | - sp:varName "rangeU"^^xsd:string . | 834 | + sp:varName "allValuesRestriction"^^xsd:string . |
| 816 | - | ||
| 817 | -_:b64 | ||
| 818 | - sp:varName "valuesRestriction"^^xsd:string . | ||
| 819 | 835 | ||
| 820 | -_:b63 | 836 | +_:b45 |
| 821 | sp:varName "instClass"^^xsd:string . | 837 | sp:varName "instClass"^^xsd:string . |
| 822 | 838 | ||
| 823 | -_:b62 | 839 | +_:b44 |
| 824 | sp:varName "instType"^^xsd:string . | 840 | sp:varName "instType"^^xsd:string . |
| 825 | 841 | ||
| 826 | -_:b61 | 842 | +_:b43 |
| 827 | sp:varName "childLocalName"^^xsd:string . | 843 | sp:varName "childLocalName"^^xsd:string . |
| 828 | 844 | ||
| 829 | -_:b60 | 845 | +_:b42 |
| 830 | sp:varName "childType"^^xsd:string . | 846 | sp:varName "childType"^^xsd:string . |
| 831 | 847 | ||
| 832 | -_:b59 | 848 | +_:b41 |
| 833 | sp:varName "child"^^xsd:string . | 849 | sp:varName "child"^^xsd:string . |
| 834 | 850 | ||
| 835 | -_:b57 | 851 | +_:b39 |
| 836 | sp:varName "inst"^^xsd:string . | 852 | sp:varName "inst"^^xsd:string . |
| 837 | 853 | ||
| 838 | -_:b56 | 854 | +_:b38 |
| 839 | sp:varName "opnameU"^^xsd:string . | 855 | sp:varName "opnameU"^^xsd:string . |
| 840 | 856 | ||
| 841 | -_:b55 | 857 | +_:b37 |
| 842 | - sp:varName "enumeratedValue"^^xsd:string . | 858 | + sp:varName "value"^^xsd:string . |
| 843 | - | ||
| 844 | -_:b75 | ||
| 845 | - sp:varName "valuesRestriction"^^xsd:string . | ||
| 846 | - | ||
| 847 | -_:b74 | ||
| 848 | - sp:varName "instClass"^^xsd:string . | ||
| 849 | - | ||
| 850 | -_:b73 | ||
| 851 | - sp:varName "instType"^^xsd:string . | ||
| 852 | - | ||
| 853 | -_:b72 | ||
| 854 | - sp:varName "childType"^^xsd:string . | ||
| 855 | - | ||
| 856 | -_:b70 | ||
| 857 | - sp:varName "inst"^^xsd:string . | ||
| 858 | - | ||
| 859 | -_:b69 | ||
| 860 | - sp:varName "formalProperty"^^xsd:string . | ||
| 861 | - | ||
| 862 | -_:b68 | ||
| 863 | - sp:varName "child"^^xsd:string . | ||
| 864 | 859 | ||
| 865 | -_:b76 | 860 | +_:b36 |
| 866 | - sp:varName "activity"^^xsd:string . | 861 | + sp:varName "uom"^^xsd:string . |
| 867 | 862 | ||
| 868 | -_:b10 | 863 | +_:b34 |
| 869 | - sp:varName "tcname"^^xsd:string . | 864 | + sp:varName "rangeU"^^xsd:string . |
| 870 | 865 | ||
| 871 | -_:b9 sp:varName "tcpname"^^xsd:string . | 866 | +_:b61 |
| 867 | + sp:varName "rangeType"^^xsd:string . | ||
| 872 | 868 | ||
| 873 | -_:b8 sp:varName "pname"^^xsd:string . | 869 | +_:b60 |
| 870 | + sp:varName "valuesRestriction"^^xsd:string . | ||
| 874 | 871 | ||
| 875 | -_:b7 sp:varName "name"^^xsd:string . | 872 | +_:b59 |
| 873 | + sp:varName "instClass"^^xsd:string . | ||
| 876 | 874 | ||
| 877 | -_:b6 sp:varName "c"^^xsd:string . | 875 | +_:b58 |
| 876 | + sp:varName "instType"^^xsd:string . | ||
| 878 | 877 | ||
| 879 | -_:b5 sp:varName "s"^^xsd:string . | 878 | +_:b57 |
| 879 | + sp:varName "text"^^xsd:string . | ||
| 880 | 880 | ||
| 881 | -_:b4 sp:varName "mre"^^xsd:string . | 881 | +_:b56 |
| 882 | + sp:varName "textNode"^^xsd:string . | ||
| 882 | 883 | ||
| 883 | -_:b3 sp:varName "ddrPU"^^xsd:string . | 884 | +_:b55 |
| 885 | + sp:varName "childLocalName"^^xsd:string . | ||
| 884 | 886 | ||
| 885 | -_:b2 sp:varName "ddrCU"^^xsd:string . | 887 | +_:b54 |
| 888 | + sp:varName "childType"^^xsd:string . | ||
| 886 | 889 | ||
| 887 | -_:b1 sp:varName "ddrCPU"^^xsd:string . | 890 | +_:b53 |
| 891 | + sp:varName "child"^^xsd:string . | ||
| 888 | 892 | ||
| 889 | -_:b14 | 893 | +_:b51 |
| 890 | - sp:varName "e"^^xsd:string . | 894 | + sp:varName "inst"^^xsd:string . |
| 891 | 895 | ||
| 892 | -_:b13 | 896 | +_:b50 |
| 893 | - sp:varName "s"^^xsd:string . | 897 | + sp:varName "dtpnameU"^^xsd:string . |
| 894 | 898 | ||
| 895 | -_:b12 | 899 | +_:b49 |
| 896 | - sp:varName "p"^^xsd:string . | 900 | + sp:varName "dateTime"^^xsd:string . |
| 897 | 901 | ||
| 898 | -_:b11 | 902 | +_:b62 |
| 899 | - sp:varName "pp"^^xsd:string . | 903 | + sp:varName "activity"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Wed Aug 03 12:31:51 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 16:09:10 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
| 3 | # imports: http://www.reportinghub.no/ep/spin/1.1/lib | 3 | # imports: http://www.reportinghub.no/ep/spin/1.1/lib |
| 4 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr | 4 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr |
| 5 | +# imports: http://www.reportinghub.no/ep/schema/report | ||
| 6 | +# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL | ||
| 7 | +# imports: http://www.reportinghub.no/ep/schema/equipment | ||
| 5 | # imports: http://spinrdf.org/spin | 8 | # imports: http://spinrdf.org/spin |
| 9 | +# imports: http://www.reportinghub.no/ep/schema/activity | ||
| 10 | +# imports: http://www.reportinghub.no/ep/schema/well | ||
| 6 | 11 | ||
| 7 | @prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | 12 | @prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . |
| 13 | +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | ||
| 8 | @prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | 14 | @prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . |
| 9 | @prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | 15 | @prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . |
| 10 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | 16 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . |
| 17 | +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . | ||
| 11 | @prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | 18 | @prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . |
| 12 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 19 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 20 | +@prefix p1: <http://example.org/file1#> . | ||
| 13 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 21 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 14 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 22 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 15 | @prefix sp: <http://spinrdf.org/sp#> . | 23 | @prefix sp: <http://spinrdf.org/sp#> . |
| ... | @@ -20,611 +28,281 @@ | ... | @@ -20,611 +28,281 @@ |
| 20 | <http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | 28 | <http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> |
| 21 | spin:rule | 29 | spin:rule |
| 22 | [ rdf:type sp:Construct ; | 30 | [ rdf:type sp:Construct ; |
| 23 | - rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ; | 31 | + rdfs:comment """STEP 103 |
| 32 | +Classify a DailyDrillingReport"""^^xsd:string ; | ||
| 24 | sp:templates ([ sp:object _:b1 ; | 33 | sp:templates ([ sp:object _:b1 ; |
| 25 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 34 | + sp:predicate rdf:type ; |
| 26 | sp:subject _:b2 | 35 | sp:subject _:b2 |
| 27 | ]) ; | 36 | ]) ; |
| 28 | sp:where ([ sp:object _:b3 ; | 37 | sp:where ([ sp:object _:b3 ; |
| 29 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 38 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; |
| 30 | sp:subject spin:_this | 39 | sp:subject spin:_this |
| 31 | ] [ sp:object _:b4 ; | 40 | ] [ sp:object _:b4 ; |
| 32 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 41 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; |
| 33 | - sp:subject spin:_this | ||
| 34 | - ] [ sp:object _:b1 ; | ||
| 35 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; | ||
| 36 | - sp:subject spin:_this | ||
| 37 | - ] [ rdf:type sp:Bind ; | ||
| 38 | - sp:expression | ||
| 39 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 40 | - sp:arg1 _:b3 | ||
| 41 | - ] ; | ||
| 42 | - sp:variable _:b5 | ||
| 43 | - ] [ rdf:type sp:Bind ; | ||
| 44 | - sp:expression | ||
| 45 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 46 | - sp:arg1 _:b5 ; | ||
| 47 | - sp:arg2 _:b4 | ||
| 48 | - ] ; | ||
| 49 | - sp:variable _:b2 | ||
| 50 | - ]) | ||
| 51 | - ] ; | ||
| 52 | - spin:rule | ||
| 53 | - [ rdf:type sp:Construct ; | ||
| 54 | - rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ; | ||
| 55 | - sp:templates ([ sp:object _:b6 ; | ||
| 56 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 57 | - sp:subject _:b7 | ||
| 58 | - ]) ; | ||
| 59 | - sp:where ([ sp:object _:b8 ; | ||
| 60 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 61 | - sp:subject spin:_this | ||
| 62 | - ] [ sp:object _:b9 ; | ||
| 63 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 64 | - sp:subject spin:_this | ||
| 65 | - ] [ sp:object _:b10 ; | ||
| 66 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 67 | - sp:subject spin:_this | ||
| 68 | - ] [ sp:object _:b6 ; | ||
| 69 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 70 | - sp:subject _:b10 | ||
| 71 | - ] [ rdf:type sp:Bind ; | ||
| 72 | - sp:expression | ||
| 73 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 74 | - sp:arg1 _:b8 | ||
| 75 | - ] ; | ||
| 76 | - sp:variable _:b11 | ||
| 77 | - ] [ rdf:type sp:Bind ; | ||
| 78 | - sp:expression | ||
| 79 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 80 | - sp:arg1 _:b11 ; | ||
| 81 | - sp:arg2 _:b9 | ||
| 82 | - ] ; | ||
| 83 | - sp:variable _:b7 | ||
| 84 | - ]) | ||
| 85 | - ] ; | ||
| 86 | - spin:rule | ||
| 87 | - [ rdf:type sp:Construct ; | ||
| 88 | - rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ; | ||
| 89 | - sp:templates ([ sp:object _:b12 ; | ||
| 90 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 91 | - sp:subject _:b13 | ||
| 92 | - ]) ; | ||
| 93 | - sp:where ([ sp:object _:b14 ; | ||
| 94 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 95 | - sp:subject spin:_this | ||
| 96 | - ] [ sp:object _:b15 ; | ||
| 97 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 98 | - sp:subject spin:_this | ||
| 99 | - ] [ sp:object _:b16 ; | ||
| 100 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 101 | - sp:subject spin:_this | ||
| 102 | - ] [ sp:object _:b12 ; | ||
| 103 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 104 | - sp:subject _:b16 | ||
| 105 | - ] [ rdf:type sp:Bind ; | ||
| 106 | - sp:expression | ||
| 107 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 108 | - sp:arg1 _:b14 | ||
| 109 | - ] ; | ||
| 110 | - sp:variable _:b17 | ||
| 111 | - ] [ rdf:type sp:Bind ; | ||
| 112 | - sp:expression | ||
| 113 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 114 | - sp:arg1 _:b17 ; | ||
| 115 | - sp:arg2 _:b15 | ||
| 116 | - ] ; | ||
| 117 | - sp:variable _:b13 | ||
| 118 | - ]) | ||
| 119 | - ] ; | ||
| 120 | - spin:rule | ||
| 121 | - [ rdf:type sp:Construct ; | ||
| 122 | - rdfs:comment "STEP 104 Create Well"^^xsd:string ; | ||
| 123 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
| 124 | - sp:predicate rdf:type ; | ||
| 125 | - sp:subject _:b18 | ||
| 126 | - ] [ sp:object _:b19 ; | ||
| 127 | - sp:predicate rdfs:label ; | ||
| 128 | - sp:subject _:b18 | ||
| 129 | - ] [ sp:object _:b18 ; | ||
| 130 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | ||
| 131 | - sp:subject _:b20 | ||
| 132 | - ] [ sp:object _:b21 ; | ||
| 133 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 134 | - sp:subject _:b18 | ||
| 135 | - ]) ; | ||
| 136 | - sp:where ([ sp:object _:b22 ; | ||
| 137 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 138 | - sp:subject spin:_this | ||
| 139 | - ] [ sp:object _:b19 ; | ||
| 140 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
| 141 | sp:subject spin:_this | 42 | sp:subject spin:_this |
| 142 | - ] [ sp:object _:b23 ; | 43 | + ] [ sp:object _:b5 ; |
| 143 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 44 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasVersionKind> ; |
| 144 | sp:subject spin:_this | 45 | sp:subject spin:_this |
| 145 | - ] [ sp:object _:b21 ; | ||
| 146 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 147 | - sp:subject _:b20 | ||
| 148 | - ] [ rdf:type sp:Bind ; | ||
| 149 | - sp:expression | ||
| 150 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 151 | - sp:arg1 _:b22 | ||
| 152 | - ] ; | ||
| 153 | - sp:variable _:b24 | ||
| 154 | - ] [ rdf:type sp:Bind ; | ||
| 155 | - sp:expression | ||
| 156 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 157 | - sp:arg1 _:b24 ; | ||
| 158 | - sp:arg2 _:b23 | ||
| 159 | - ] ; | ||
| 160 | - sp:variable _:b20 | ||
| 161 | ] [ rdf:type sp:Bind ; | 46 | ] [ rdf:type sp:Bind ; |
| 162 | sp:expression | 47 | sp:expression |
| 163 | - [ rdf:type ep-spin-lib:normalizeString ; | 48 | + [ rdf:type ep-spin-lib:selectDailyDrillingReportType ; |
| 164 | - sp:arg1 _:b19 | 49 | + sp:arg1 _:b5 |
| 165 | - ] ; | ||
| 166 | - sp:variable _:b25 | ||
| 167 | - ] [ rdf:type sp:Bind ; | ||
| 168 | - sp:expression | ||
| 169 | - [ rdf:type ep-spin-lib:buildWellURI ; | ||
| 170 | - sp:arg1 _:b25 | ||
| 171 | ] ; | 50 | ] ; |
| 172 | - sp:variable _:b18 | 51 | + sp:variable _:b1 |
| 173 | - ]) | ||
| 174 | - ] ; | ||
| 175 | - spin:rule | ||
| 176 | - [ rdf:type sp:Construct ; | ||
| 177 | - rdfs:comment """STEP 103b | ||
| 178 | -Classify a DailyDrillingReport as preliminary"""^^xsd:string ; | ||
| 179 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#PreliminaryDailyDrillingReport> ; | ||
| 180 | - sp:predicate rdf:type ; | ||
| 181 | - sp:subject _:b26 | ||
| 182 | - ]) ; | ||
| 183 | - sp:where ([ sp:object _:b27 ; | ||
| 184 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 185 | - sp:subject spin:_this | ||
| 186 | - ] [ sp:object _:b28 ; | ||
| 187 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
| 188 | - sp:subject spin:_this | ||
| 189 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/ddr#ORV_preliminary> ; | ||
| 190 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasVersionKind> ; | ||
| 191 | - sp:subject spin:_this | ||
| 192 | ] [ rdf:type sp:Bind ; | 52 | ] [ rdf:type sp:Bind ; |
| 193 | sp:expression | 53 | sp:expression |
| 194 | [ rdf:type ep-spin-lib:normalizeString ; | 54 | [ rdf:type ep-spin-lib:normalizeString ; |
| 195 | - sp:arg1 _:b27 | 55 | + sp:arg1 _:b3 |
| 196 | ] ; | 56 | ] ; |
| 197 | - sp:variable _:b29 | 57 | + sp:variable _:b6 |
| 198 | ] [ rdf:type sp:Bind ; | 58 | ] [ rdf:type sp:Bind ; |
| 199 | sp:expression | 59 | sp:expression |
| 200 | [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | 60 | [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; |
| 201 | - sp:arg1 _:b29 ; | 61 | + sp:arg1 _:b6 ; |
| 202 | - sp:arg2 _:b28 | 62 | + sp:arg2 _:b4 |
| 203 | ] ; | 63 | ] ; |
| 204 | - sp:variable _:b26 | 64 | + sp:variable _:b2 |
| 205 | ]) | 65 | ]) |
| 206 | ] ; | 66 | ] ; |
| 207 | spin:rule | 67 | spin:rule |
| 208 | [ rdf:type sp:Construct ; | 68 | [ rdf:type sp:Construct ; |
| 209 | - rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity and WellBore | 69 | + rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore |
| 210 | -Minimum data - createDate, dTimStart, nameWellBore | 70 | +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; |
| 211 | -Add a link from Obj_DrillReport to DailyDrillingReport to support other CONSTRUCT clauses (is this useful?)"""^^xsd:string ; | 71 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ; |
| 212 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingReport> ; | ||
| 213 | sp:predicate rdf:type ; | 72 | sp:predicate rdf:type ; |
| 214 | - sp:subject _:b30 | 73 | + sp:subject _:b7 |
| 215 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; | 74 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; |
| 216 | sp:predicate rdf:type ; | 75 | sp:predicate rdf:type ; |
| 217 | - sp:subject _:b31 | 76 | + sp:subject _:b8 |
| 218 | - ] [ sp:object _:b31 ; | 77 | + ] [ sp:object _:b8 ; |
| 219 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; | 78 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; |
| 220 | - sp:subject _:b30 | 79 | + sp:subject _:b7 |
| 221 | - ] [ sp:object _:b32 ; | 80 | + ] [ sp:object _:b9 ; |
| 222 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; | 81 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; |
| 223 | - sp:subject _:b30 | 82 | + sp:subject _:b7 |
| 224 | - ] [ sp:object _:b33 ; | 83 | + ] [ sp:object _:b10 ; |
| 225 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 84 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
| 226 | - sp:subject _:b31 | 85 | + sp:subject _:b8 |
| 86 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; | ||
| 87 | + sp:predicate rdf:type ; | ||
| 88 | + sp:subject _:b11 | ||
| 227 | ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 89 | ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
| 228 | sp:predicate rdf:type ; | 90 | sp:predicate rdf:type ; |
| 229 | - sp:subject _:b34 | 91 | + sp:subject _:b12 |
| 230 | - ] [ sp:object _:b34 ; | 92 | + ] [ sp:object _:b12 ; |
| 231 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 93 | + sp:predicate iso15926:temporalPartOf ; |
| 232 | - sp:subject _:b31 | 94 | + sp:subject _:b11 |
| 233 | - ] [ sp:object _:b35 ; | 95 | + ] [ sp:object _:b13 ; |
| 234 | sp:predicate rdfs:label ; | 96 | sp:predicate rdfs:label ; |
| 235 | - sp:subject _:b34 | 97 | + sp:subject _:b12 |
| 236 | - ] [ sp:object spin:_this ; | 98 | + ] [ sp:object _:b11 ; |
| 237 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#derivedFrom> ; | 99 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
| 238 | - sp:subject _:b30 | 100 | + sp:subject _:b8 |
| 239 | ]) ; | 101 | ]) ; |
| 240 | - sp:where ([ sp:object _:b35 ; | 102 | + sp:where ([ sp:object _:b13 ; |
| 241 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 103 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; |
| 242 | sp:subject spin:_this | 104 | sp:subject spin:_this |
| 243 | - ] [ sp:object _:b33 ; | 105 | + ] [ sp:object _:b10 ; |
| 244 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 106 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; |
| 245 | sp:subject spin:_this | 107 | sp:subject spin:_this |
| 246 | - ] [ sp:object _:b32 ; | 108 | + ] [ sp:object _:b9 ; |
| 247 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | 109 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; |
| 248 | sp:subject spin:_this | 110 | sp:subject spin:_this |
| 249 | ] [ rdf:type sp:Bind ; | 111 | ] [ rdf:type sp:Bind ; |
| 250 | sp:expression | 112 | sp:expression |
| 251 | [ rdf:type ep-spin-lib:normalizeString ; | 113 | [ rdf:type ep-spin-lib:normalizeString ; |
| 252 | - sp:arg1 _:b35 | 114 | + sp:arg1 _:b13 |
| 253 | ] ; | 115 | ] ; |
| 254 | - sp:variable _:b36 | 116 | + sp:variable _:b14 |
| 255 | ] [ rdf:type sp:Bind ; | 117 | ] [ rdf:type sp:Bind ; |
| 256 | sp:expression | 118 | sp:expression |
| 257 | [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | 119 | [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; |
| 258 | - sp:arg1 _:b36 ; | 120 | + sp:arg1 _:b14 ; |
| 259 | - sp:arg2 _:b32 | 121 | + sp:arg2 _:b9 |
| 260 | ] ; | 122 | ] ; |
| 261 | - sp:variable _:b30 | 123 | + sp:variable _:b7 |
| 262 | ] [ rdf:type sp:Bind ; | 124 | ] [ rdf:type sp:Bind ; |
| 263 | sp:expression | 125 | sp:expression |
| 264 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 126 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; |
| 265 | - sp:arg1 _:b36 ; | 127 | + sp:arg1 _:b14 ; |
| 266 | - sp:arg2 _:b33 | 128 | + sp:arg2 _:b10 |
| 267 | ] ; | 129 | ] ; |
| 268 | - sp:variable _:b31 | 130 | + sp:variable _:b8 |
| 269 | ] [ rdf:type sp:Bind ; | 131 | ] [ rdf:type sp:Bind ; |
| 270 | sp:expression | 132 | sp:expression |
| 271 | - [ rdf:type ep-spin-lib:buildWellBoreURI ; | 133 | + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; |
| 272 | - sp:arg1 _:b36 | 134 | + sp:arg1 _:b14 ; |
| 273 | - ] ; | 135 | + sp:arg2 _:b10 |
| 274 | - sp:variable _:b34 | ||
| 275 | - ]) | ||
| 276 | ] ; | 136 | ] ; |
| 277 | - spin:rule | 137 | + sp:variable _:b11 |
| 278 | - [ rdf:type sp:Construct ; | ||
| 279 | - rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ; | ||
| 280 | - sp:templates ([ sp:object _:b37 ; | ||
| 281 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 282 | - sp:subject _:b38 | ||
| 283 | - ]) ; | ||
| 284 | - sp:where ([ sp:object _:b39 ; | ||
| 285 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 286 | - sp:subject spin:_this | ||
| 287 | - ] [ sp:object _:b40 ; | ||
| 288 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 289 | - sp:subject spin:_this | ||
| 290 | - ] [ sp:object _:b41 ; | ||
| 291 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 292 | - sp:subject spin:_this | ||
| 293 | - ] [ sp:object _:b37 ; | ||
| 294 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 295 | - sp:subject _:b41 | ||
| 296 | - ] [ rdf:type sp:Bind ; | ||
| 297 | - sp:expression | ||
| 298 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 299 | - sp:arg1 _:b39 | ||
| 300 | - ] ; | ||
| 301 | - sp:variable _:b42 | ||
| 302 | ] [ rdf:type sp:Bind ; | 138 | ] [ rdf:type sp:Bind ; |
| 303 | sp:expression | 139 | sp:expression |
| 304 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 140 | + [ rdf:type ep-spin-lib:buildWellBoreURI ; |
| 305 | - sp:arg1 _:b42 ; | 141 | + sp:arg1 _:b14 |
| 306 | - sp:arg2 _:b40 | ||
| 307 | ] ; | 142 | ] ; |
| 308 | - sp:variable _:b38 | 143 | + sp:variable _:b12 |
| 309 | ]) | 144 | ]) |
| 310 | ] ; | 145 | ] ; |
| 311 | spin:rule | 146 | spin:rule |
| 312 | [ rdf:type sp:Construct ; | 147 | [ rdf:type sp:Construct ; |
| 313 | - rdfs:comment "STEP 109 Transfer md"^^xsd:string ; | 148 | + rdfs:comment "STEP 104 Create Well"^^xsd:string ; |
| 314 | - sp:templates ([ sp:object _:b43 ; | 149 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; |
| 315 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | 150 | + sp:predicate rdf:type ; |
| 316 | - sp:subject _:b44 | 151 | + sp:subject _:b15 |
| 152 | + ] [ sp:object _:b16 ; | ||
| 153 | + sp:predicate rdfs:label ; | ||
| 154 | + sp:subject _:b15 | ||
| 155 | + ] [ sp:object _:b15 ; | ||
| 156 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | ||
| 157 | + sp:subject _:b17 | ||
| 158 | + ] [ sp:object _:b18 ; | ||
| 159 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 160 | + sp:subject _:b15 | ||
| 317 | ]) ; | 161 | ]) ; |
| 318 | - sp:where ([ sp:object _:b45 ; | 162 | + sp:where ([ sp:object _:b19 ; |
| 319 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 163 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; |
| 320 | sp:subject spin:_this | 164 | sp:subject spin:_this |
| 321 | - ] [ sp:object _:b46 ; | 165 | + ] [ sp:object _:b16 ; |
| 322 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 166 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; |
| 323 | sp:subject spin:_this | 167 | sp:subject spin:_this |
| 324 | - ] [ sp:object _:b47 ; | 168 | + ] [ sp:object _:b20 ; |
| 325 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | 169 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; |
| 326 | sp:subject spin:_this | 170 | sp:subject spin:_this |
| 327 | - ] [ sp:object _:b44 ; | 171 | + ] [ sp:object _:b18 ; |
| 328 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 172 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
| 329 | - sp:subject _:b48 | 173 | + sp:subject _:b17 |
| 330 | - ] [ sp:object _:b43 ; | ||
| 331 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
| 332 | - sp:subject _:b47 | ||
| 333 | ] [ rdf:type sp:Bind ; | 174 | ] [ rdf:type sp:Bind ; |
| 334 | sp:expression | 175 | sp:expression |
| 335 | [ rdf:type ep-spin-lib:normalizeString ; | 176 | [ rdf:type ep-spin-lib:normalizeString ; |
| 336 | - sp:arg1 _:b45 | 177 | + sp:arg1 _:b19 |
| 337 | ] ; | 178 | ] ; |
| 338 | - sp:variable _:b49 | 179 | + sp:variable _:b21 |
| 339 | ] [ rdf:type sp:Bind ; | 180 | ] [ rdf:type sp:Bind ; |
| 340 | sp:expression | 181 | sp:expression |
| 341 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 182 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; |
| 342 | - sp:arg1 _:b49 ; | 183 | + sp:arg1 _:b21 ; |
| 343 | - sp:arg2 _:b46 | 184 | + sp:arg2 _:b20 |
| 344 | - ] ; | ||
| 345 | - sp:variable _:b48 | ||
| 346 | - ]) | ||
| 347 | - ] ; | ||
| 348 | - spin:rule | ||
| 349 | - [ rdf:type sp:Construct ; | ||
| 350 | - rdfs:comment """STEP 103c | ||
| 351 | -Classify a DailyDrillingReport as final"""^^xsd:string ; | ||
| 352 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FinalDailyDrillingReport> ; | ||
| 353 | - sp:predicate rdf:type ; | ||
| 354 | - sp:subject _:b50 | ||
| 355 | - ]) ; | ||
| 356 | - sp:where ([ sp:object _:b51 ; | ||
| 357 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 358 | - sp:subject spin:_this | ||
| 359 | - ] [ sp:object _:b52 ; | ||
| 360 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
| 361 | - sp:subject spin:_this | ||
| 362 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/ddr#ORV_final> ; | ||
| 363 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasVersionKind> ; | ||
| 364 | - sp:subject spin:_this | ||
| 365 | - ] [ rdf:type sp:Bind ; | ||
| 366 | - sp:expression | ||
| 367 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 368 | - sp:arg1 _:b51 | ||
| 369 | ] ; | 185 | ] ; |
| 370 | - sp:variable _:b53 | 186 | + sp:variable _:b17 |
| 371 | - ] [ rdf:type sp:Bind ; | ||
| 372 | - sp:expression | ||
| 373 | - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
| 374 | - sp:arg1 _:b53 ; | ||
| 375 | - sp:arg2 _:b52 | ||
| 376 | - ] ; | ||
| 377 | - sp:variable _:b50 | ||
| 378 | - ]) | ||
| 379 | - ] ; | ||
| 380 | - spin:rule | ||
| 381 | - [ rdf:type sp:Construct ; | ||
| 382 | - rdfs:comment """STEP 103a | ||
| 383 | -Classify a DailyDrillingReport as normal"""^^xsd:string ; | ||
| 384 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#NormalDailyDrillingReport> ; | ||
| 385 | - sp:predicate rdf:type ; | ||
| 386 | - sp:subject _:b54 | ||
| 387 | - ]) ; | ||
| 388 | - sp:where ([ sp:object _:b55 ; | ||
| 389 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 390 | - sp:subject spin:_this | ||
| 391 | - ] [ sp:object _:b56 ; | ||
| 392 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
| 393 | - sp:subject spin:_this | ||
| 394 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/ddr#ORV_normal> ; | ||
| 395 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasVersionKind> ; | ||
| 396 | - sp:subject spin:_this | ||
| 397 | ] [ rdf:type sp:Bind ; | 187 | ] [ rdf:type sp:Bind ; |
| 398 | sp:expression | 188 | sp:expression |
| 399 | [ rdf:type ep-spin-lib:normalizeString ; | 189 | [ rdf:type ep-spin-lib:normalizeString ; |
| 400 | - sp:arg1 _:b55 | 190 | + sp:arg1 _:b16 |
| 401 | ] ; | 191 | ] ; |
| 402 | - sp:variable _:b57 | 192 | + sp:variable _:b22 |
| 403 | ] [ rdf:type sp:Bind ; | 193 | ] [ rdf:type sp:Bind ; |
| 404 | sp:expression | 194 | sp:expression |
| 405 | - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | 195 | + [ rdf:type ep-spin-lib:buildWellURI ; |
| 406 | - sp:arg1 _:b57 ; | 196 | + sp:arg1 _:b22 |
| 407 | - sp:arg2 _:b56 | ||
| 408 | ] ; | 197 | ] ; |
| 409 | - sp:variable _:b54 | 198 | + sp:variable _:b15 |
| 410 | ]) | 199 | ]) |
| 411 | ] ; | 200 | ] ; |
| 412 | spin:rule | 201 | spin:rule |
| 413 | [ rdf:type sp:Construct ; | 202 | [ rdf:type sp:Construct ; |
| 414 | - rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ; | 203 | + rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ; |
| 415 | - sp:templates ([ sp:object _:b58 ; | 204 | + sp:templates ([ sp:object _:b23 ; |
| 416 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | 205 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
| 417 | - sp:subject _:b59 | 206 | + sp:subject _:b24 |
| 418 | ]) ; | 207 | ]) ; |
| 419 | - sp:where ([ sp:object _:b60 ; | 208 | + sp:where ([ sp:object _:b25 ; |
| 420 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 209 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; |
| 421 | sp:subject spin:_this | 210 | sp:subject spin:_this |
| 422 | - ] [ sp:object _:b61 ; | 211 | + ] [ sp:object _:b26 ; |
| 423 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 212 | sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; |
| 424 | sp:subject spin:_this | 213 | sp:subject spin:_this |
| 425 | - ] [ sp:object _:b62 ; | 214 | + ] [ sp:object _:b23 ; |
| 426 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | 215 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; |
| 427 | sp:subject spin:_this | 216 | sp:subject spin:_this |
| 428 | - ] [ sp:object _:b58 ; | ||
| 429 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
| 430 | - sp:subject _:b62 | ||
| 431 | ] [ rdf:type sp:Bind ; | 217 | ] [ rdf:type sp:Bind ; |
| 432 | sp:expression | 218 | sp:expression |
| 433 | [ rdf:type ep-spin-lib:normalizeString ; | 219 | [ rdf:type ep-spin-lib:normalizeString ; |
| 434 | - sp:arg1 _:b60 | 220 | + sp:arg1 _:b25 |
| 435 | ] ; | 221 | ] ; |
| 436 | - sp:variable _:b63 | 222 | + sp:variable _:b27 |
| 437 | ] [ rdf:type sp:Bind ; | 223 | ] [ rdf:type sp:Bind ; |
| 438 | sp:expression | 224 | sp:expression |
| 439 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 225 | [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; |
| 440 | - sp:arg1 _:b63 ; | 226 | + sp:arg1 _:b27 ; |
| 441 | - sp:arg2 _:b61 | 227 | + sp:arg2 _:b26 |
| 442 | ] ; | 228 | ] ; |
| 443 | - sp:variable _:b59 | 229 | + sp:variable _:b24 |
| 444 | ]) | 230 | ]) |
| 445 | ] . | 231 | ] . |
| 446 | 232 | ||
| 447 | <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> | 233 | <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> |
| 448 | rdf:type owl:Ontology ; | 234 | rdf:type owl:Ontology ; |
| 449 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | 235 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ; |
| 450 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 236 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 451 | 237 | ||
| 452 | -_:b50 | 238 | +_:b2 sp:varName "dailyDrillingReport"^^xsd:string . |
| 453 | - sp:varName "dailyDrillingReport"^^xsd:string . | ||
| 454 | 239 | ||
| 455 | -_:b53 | 240 | +_:b6 sp:varName "normalizedWellBoreName"^^xsd:string . |
| 456 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 457 | 241 | ||
| 458 | -_:b52 | 242 | +_:b1 sp:varName "dailyDrillingReportType"^^xsd:string . |
| 459 | - sp:varName "createDate"^^xsd:string . | ||
| 460 | 243 | ||
| 461 | -_:b51 | 244 | +_:b5 sp:varName "versionKind"^^xsd:string . |
| 462 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 463 | 245 | ||
| 464 | -_:b26 | 246 | +_:b4 sp:varName "createDate"^^xsd:string . |
| 465 | - sp:varName "dailyDrillingReport"^^xsd:string . | ||
| 466 | - | ||
| 467 | -_:b29 | ||
| 468 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 469 | - | ||
| 470 | -_:b28 | ||
| 471 | - sp:varName "createDate"^^xsd:string . | ||
| 472 | - | ||
| 473 | -_:b27 | ||
| 474 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 475 | - | ||
| 476 | -_:b54 | ||
| 477 | - sp:varName "dailyDrillingReport"^^xsd:string . | ||
| 478 | - | ||
| 479 | -_:b57 | ||
| 480 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 481 | - | ||
| 482 | -_:b56 | ||
| 483 | - sp:varName "createDate"^^xsd:string . | ||
| 484 | - | ||
| 485 | -_:b55 | ||
| 486 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 487 | - | ||
| 488 | -_:b5 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 489 | - | ||
| 490 | -_:b4 sp:varName "dTimStart"^^xsd:string . | ||
| 491 | 247 | ||
| 492 | _:b3 sp:varName "nameWellBore"^^xsd:string . | 248 | _:b3 sp:varName "nameWellBore"^^xsd:string . |
| 493 | 249 | ||
| 494 | -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . | 250 | +_:b22 |
| 495 | - | ||
| 496 | -_:b1 sp:varName "dTimEnd"^^xsd:string . | ||
| 497 | - | ||
| 498 | -_:b42 | ||
| 499 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 500 | - | ||
| 501 | -_:b41 | ||
| 502 | - sp:varName "statusInfo"^^xsd:string . | ||
| 503 | - | ||
| 504 | -_:b40 | ||
| 505 | - sp:varName "dTimStart"^^xsd:string . | ||
| 506 | - | ||
| 507 | -_:b39 | ||
| 508 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 509 | - | ||
| 510 | -_:b38 | ||
| 511 | - sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 512 | - | ||
| 513 | -_:b37 | ||
| 514 | - sp:varName "forecast24Hr"^^xsd:string . | ||
| 515 | - | ||
| 516 | -_:b63 | ||
| 517 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 518 | - | ||
| 519 | -_:b62 | ||
| 520 | - sp:varName "statusInfo"^^xsd:string . | ||
| 521 | - | ||
| 522 | -_:b61 | ||
| 523 | - sp:varName "dTimStart"^^xsd:string . | ||
| 524 | - | ||
| 525 | -_:b60 | ||
| 526 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 527 | - | ||
| 528 | -_:b59 | ||
| 529 | - sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 530 | - | ||
| 531 | -_:b58 | ||
| 532 | - sp:varName "ropCurrentValue"^^xsd:string . | ||
| 533 | - | ||
| 534 | -_:b11 | ||
| 535 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 536 | - | ||
| 537 | -_:b10 | ||
| 538 | - sp:varName "statusInfo"^^xsd:string . | ||
| 539 | - | ||
| 540 | -_:b9 sp:varName "dTimStart"^^xsd:string . | ||
| 541 | - | ||
| 542 | -_:b8 sp:varName "nameWellBore"^^xsd:string . | ||
| 543 | - | ||
| 544 | -_:b7 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 545 | - | ||
| 546 | -_:b6 sp:varName "sum24Hr"^^xsd:string . | ||
| 547 | - | ||
| 548 | -_:b25 | ||
| 549 | sp:varName "normalizedWellName"^^xsd:string . | 251 | sp:varName "normalizedWellName"^^xsd:string . |
| 550 | 252 | ||
| 551 | -_:b24 | 253 | +_:b21 |
| 552 | sp:varName "normalizedWellBoreName"^^xsd:string . | 254 | sp:varName "normalizedWellBoreName"^^xsd:string . |
| 553 | 255 | ||
| 554 | -_:b23 | 256 | +_:b20 |
| 555 | sp:varName "dTimStart"^^xsd:string . | 257 | sp:varName "dTimStart"^^xsd:string . |
| 556 | 258 | ||
| 557 | -_:b22 | 259 | +_:b19 |
| 558 | sp:varName "nameWellBore"^^xsd:string . | 260 | sp:varName "nameWellBore"^^xsd:string . |
| 559 | 261 | ||
| 560 | -_:b21 | 262 | +_:b18 |
| 561 | sp:varName "wellBore"^^xsd:string . | 263 | sp:varName "wellBore"^^xsd:string . |
| 562 | 264 | ||
| 563 | -_:b20 | 265 | +_:b17 |
| 564 | sp:varName "dailyDrillingActivity"^^xsd:string . | 266 | sp:varName "dailyDrillingActivity"^^xsd:string . |
| 565 | 267 | ||
| 566 | -_:b19 | 268 | +_:b16 |
| 567 | sp:varName "nameWell"^^xsd:string . | 269 | sp:varName "nameWell"^^xsd:string . |
| 568 | 270 | ||
| 569 | -_:b18 | 271 | +_:b15 |
| 570 | sp:varName "well"^^xsd:string . | 272 | sp:varName "well"^^xsd:string . |
| 571 | 273 | ||
| 572 | -_:b49 | 274 | +_:b14 |
| 573 | sp:varName "normalizedWellBoreName"^^xsd:string . | 275 | sp:varName "normalizedWellBoreName"^^xsd:string . |
| 574 | 276 | ||
| 575 | -_:b48 | 277 | +_:b13 |
| 576 | - sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 577 | - | ||
| 578 | -_:b47 | ||
| 579 | - sp:varName "statusInfo"^^xsd:string . | ||
| 580 | - | ||
| 581 | -_:b46 | ||
| 582 | - sp:varName "dTimStart"^^xsd:string . | ||
| 583 | - | ||
| 584 | -_:b45 | ||
| 585 | sp:varName "nameWellBore"^^xsd:string . | 278 | sp:varName "nameWellBore"^^xsd:string . |
| 586 | 279 | ||
| 587 | -_:b44 | 280 | +_:b12 |
| 588 | sp:varName "wellBore"^^xsd:string . | 281 | sp:varName "wellBore"^^xsd:string . |
| 589 | 282 | ||
| 590 | -_:b43 | 283 | +_:b11 |
| 591 | - sp:varName "md"^^xsd:string . | 284 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . |
| 592 | - | ||
| 593 | -_:b17 | ||
| 594 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 595 | - | ||
| 596 | -_:b16 | ||
| 597 | - sp:varName "statusInfo"^^xsd:string . | ||
| 598 | 285 | ||
| 599 | -_:b15 | 286 | +_:b10 |
| 600 | sp:varName "dTimStart"^^xsd:string . | 287 | sp:varName "dTimStart"^^xsd:string . |
| 601 | 288 | ||
| 602 | -_:b14 | 289 | +_:b9 sp:varName "createDate"^^xsd:string . |
| 603 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 604 | 290 | ||
| 605 | -_:b13 | 291 | +_:b8 sp:varName "dailyDrillingActivity"^^xsd:string . |
| 606 | - sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 607 | 292 | ||
| 608 | -_:b12 | 293 | +_:b7 sp:varName "dailyDrillingReport"^^xsd:string . |
| 609 | - sp:varName "distDrill"^^xsd:string . | ||
| 610 | 294 | ||
| 611 | -_:b36 | 295 | +_:b27 |
| 612 | sp:varName "normalizedWellBoreName"^^xsd:string . | 296 | sp:varName "normalizedWellBoreName"^^xsd:string . |
| 613 | 297 | ||
| 614 | -_:b35 | 298 | +_:b26 |
| 615 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 616 | - | ||
| 617 | -_:b34 | ||
| 618 | - sp:varName "wellBore"^^xsd:string . | ||
| 619 | - | ||
| 620 | -_:b33 | ||
| 621 | sp:varName "dTimStart"^^xsd:string . | 299 | sp:varName "dTimStart"^^xsd:string . |
| 622 | 300 | ||
| 623 | -_:b32 | 301 | +_:b25 |
| 624 | - sp:varName "createDate"^^xsd:string . | 302 | + sp:varName "nameWellBore"^^xsd:string . |
| 625 | 303 | ||
| 626 | -_:b31 | 304 | +_:b24 |
| 627 | sp:varName "dailyDrillingActivity"^^xsd:string . | 305 | sp:varName "dailyDrillingActivity"^^xsd:string . |
| 628 | 306 | ||
| 629 | -_:b30 | 307 | +_:b23 |
| 630 | - sp:varName "dailyDrillingReport"^^xsd:string . | 308 | + sp:varName "dTimEnd"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Wed Aug 03 12:31:51 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 16:09:10 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#> . | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization | 1 | +# Saved by TopBraid on Thu Aug 04 14:25:22 BST 2011 |
| 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization | ||
| 3 | +# imports: file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml | ||
| 4 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | ||
| 5 | +# imports: http://www.reportinghub.no/ep/schema/report | ||
| 6 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | ||
| 7 | +# imports: http://www.reportinghub.no/ep/schema/equipment | ||
| 2 | # imports: http://spinrdf.org/spin | 8 | # imports: http://spinrdf.org/spin |
| 3 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | 9 | +# imports: http://www.reportinghub.no/ep/schema/activity |
| 10 | +# imports: http://www.reportinghub.no/ep/schema/well | ||
| 4 | 11 | ||
| 5 | -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | 12 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . |
| 6 | -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | ||
| 7 | -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 8 | -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
| 9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 13 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 10 | @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#> . |
| 11 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 15 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 12 | -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | ||
| 13 | @prefix sp: <http://spinrdf.org/sp#> . | 16 | @prefix sp: <http://spinrdf.org/sp#> . |
| 14 | @prefix spin: <http://spinrdf.org/spin#> . | 17 | @prefix spin: <http://spinrdf.org/spin#> . |
| 15 | @prefix spl: <http://spinrdf.org/spl#> . | 18 | @prefix spl: <http://spinrdf.org/spl#> . |
| 16 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 19 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 17 | 20 | ||
| 18 | -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | 21 | +<http://www.reportinghub.no/ep/transform/1.1/normalization> |
| 19 | - spin:rule | ||
| 20 | - [ rdf:type sp:Construct ; | ||
| 21 | - rdfs:comment "STEP 101 Make Well and Well Bore Instances"^^xsd:string ; | ||
| 22 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
| 23 | - sp:predicate rdf:type ; | ||
| 24 | - sp:subject _:b1 | ||
| 25 | - ] [ sp:object _:b2 ; | ||
| 26 | - sp:predicate rdfs:label ; | ||
| 27 | - sp:subject _:b1 | ||
| 28 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
| 29 | - sp:predicate rdf:type ; | ||
| 30 | - sp:subject _:b3 | ||
| 31 | - ] [ sp:object _:b4 ; | ||
| 32 | - sp:predicate rdfs:label ; | ||
| 33 | - sp:subject _:b3 | ||
| 34 | - ] [ sp:object _:b1 ; | ||
| 35 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 36 | - sp:subject _:b3 | ||
| 37 | - ]) ; | ||
| 38 | - sp:where ([ sp:object _:b2 ; | ||
| 39 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 40 | - sp:subject spin:_this | ||
| 41 | - ] [ sp:object _:b4 ; | ||
| 42 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
| 43 | - sp:subject spin:_this | ||
| 44 | - ] [ rdf:type sp:Bind ; | ||
| 45 | - sp:expression | ||
| 46 | - [ rdf:type rhspin:wellByName ; | ||
| 47 | - sp:arg1 _:b4 | ||
| 48 | - ] ; | ||
| 49 | - sp:variable _:b3 | ||
| 50 | - ] [ rdf:type sp:Bind ; | ||
| 51 | - sp:expression | ||
| 52 | - [ rdf:type rhspin:wellBoreByName ; | ||
| 53 | - sp:arg1 _:b2 | ||
| 54 | - ] ; | ||
| 55 | - sp:variable _:b1 | ||
| 56 | - ]) | ||
| 57 | - ] . | ||
| 58 | - | ||
| 59 | -<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization> | ||
| 60 | rdf:type owl:Ontology ; | 22 | rdf:type owl:Ontology ; |
| 61 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ; | 23 | + owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/schema/activity> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/schema/equipment> ; |
| 62 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 63 | - | ||
| 64 | -_:b1 sp:varName "wellBore"^^xsd:string . | ||
| 65 | - | ||
| 66 | -_:b2 sp:varName "nameWellBore"^^xsd:string . | ||
| 67 | - | ||
| 68 | -_:b3 sp:varName "well"^^xsd:string . | ||
| 69 | - | ||
| 70 | -_:b4 sp:varName "nameWell"^^xsd:string . | ... | ... |
| 1 | +# Saved by TopBraid on Thu Aug 04 15:55:35 BST 2011 | ||
| 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | ||
| 3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
| 4 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
| 5 | +# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL | ||
| 6 | +# imports: http://www.reportinghub.no/ep/schema/report | ||
| 7 | +# imports: http://www.reportinghub.no/ep/schema/equipment | ||
| 8 | +# imports: http://spinrdf.org/spin | ||
| 9 | +# imports: http://www.reportinghub.no/ep/schema/well | ||
| 10 | +# imports: http://www.reportinghub.no/ep/schema/activity | ||
| 11 | + | ||
| 12 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo#> . | ||
| 13 | +@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | ||
| 14 | +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | ||
| 15 | +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | ||
| 16 | +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | ||
| 17 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 18 | +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . | ||
| 19 | +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
| 20 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 21 | +@prefix p1: <http://example.org/file1#> . | ||
| 22 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 23 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 24 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
| 25 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
| 26 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
| 27 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 28 | + | ||
| 29 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
| 30 | + spin:rule | ||
| 31 | + [ rdf:type sp:Construct ; | ||
| 32 | + rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ; | ||
| 33 | + sp:templates ([ sp:object _:b1 ; | ||
| 34 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 35 | + sp:subject _:b2 | ||
| 36 | + ]) ; | ||
| 37 | + sp:where ([ sp:object _:b3 ; | ||
| 38 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 39 | + sp:subject spin:_this | ||
| 40 | + ] [ sp:object _:b4 ; | ||
| 41 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 42 | + sp:subject spin:_this | ||
| 43 | + ] [ sp:object _:b5 ; | ||
| 44 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 45 | + sp:subject spin:_this | ||
| 46 | + ] [ sp:object _:b1 ; | ||
| 47 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 48 | + sp:subject _:b5 | ||
| 49 | + ] [ rdf:type sp:Bind ; | ||
| 50 | + sp:expression | ||
| 51 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 52 | + sp:arg1 _:b3 | ||
| 53 | + ] ; | ||
| 54 | + sp:variable _:b6 | ||
| 55 | + ] [ rdf:type sp:Bind ; | ||
| 56 | + sp:expression | ||
| 57 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 58 | + sp:arg1 _:b6 ; | ||
| 59 | + sp:arg2 _:b4 | ||
| 60 | + ] ; | ||
| 61 | + sp:variable _:b2 | ||
| 62 | + ]) | ||
| 63 | + ] ; | ||
| 64 | + spin:rule | ||
| 65 | + [ rdf:type sp:Construct ; | ||
| 66 | + rdfs:comment "STEP 122 Transfer mdDiaPilotPlan"^^xsd:string ; | ||
| 67 | + sp:templates ([ sp:object _:b7 ; | ||
| 68 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdDiaPilotPlan> ; | ||
| 69 | + sp:subject _:b8 | ||
| 70 | + ]) ; | ||
| 71 | + sp:where ([ sp:object _:b9 ; | ||
| 72 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 73 | + sp:subject spin:_this | ||
| 74 | + ] [ sp:object _:b10 ; | ||
| 75 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 76 | + sp:subject spin:_this | ||
| 77 | + ] [ sp:object _:b11 ; | ||
| 78 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 79 | + sp:subject spin:_this | ||
| 80 | + ] [ sp:object _:b8 ; | ||
| 81 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 82 | + sp:subject _:b12 | ||
| 83 | + ] [ sp:object _:b7 ; | ||
| 84 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdDiaPilotPlan> ; | ||
| 85 | + sp:subject _:b11 | ||
| 86 | + ] [ rdf:type sp:Bind ; | ||
| 87 | + sp:expression | ||
| 88 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 89 | + sp:arg1 _:b9 | ||
| 90 | + ] ; | ||
| 91 | + sp:variable _:b13 | ||
| 92 | + ] [ rdf:type sp:Bind ; | ||
| 93 | + sp:expression | ||
| 94 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 95 | + sp:arg1 _:b13 ; | ||
| 96 | + sp:arg2 _:b10 | ||
| 97 | + ] ; | ||
| 98 | + sp:variable _:b12 | ||
| 99 | + ]) | ||
| 100 | + ] ; | ||
| 101 | + spin:rule | ||
| 102 | + [ rdf:type sp:Construct ; | ||
| 103 | + rdfs:comment "STEP 110 Transfer tvd"^^xsd:string ; | ||
| 104 | + sp:templates ([ sp:object _:b14 ; | ||
| 105 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvd> ; | ||
| 106 | + sp:subject _:b15 | ||
| 107 | + ]) ; | ||
| 108 | + sp:where ([ sp:object _:b16 ; | ||
| 109 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 110 | + sp:subject spin:_this | ||
| 111 | + ] [ sp:object _:b17 ; | ||
| 112 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 113 | + sp:subject spin:_this | ||
| 114 | + ] [ sp:object _:b18 ; | ||
| 115 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 116 | + sp:subject spin:_this | ||
| 117 | + ] [ sp:object _:b15 ; | ||
| 118 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 119 | + sp:subject _:b19 | ||
| 120 | + ] [ sp:object _:b14 ; | ||
| 121 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvd> ; | ||
| 122 | + sp:subject _:b18 | ||
| 123 | + ] [ rdf:type sp:Bind ; | ||
| 124 | + sp:expression | ||
| 125 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 126 | + sp:arg1 _:b16 | ||
| 127 | + ] ; | ||
| 128 | + sp:variable _:b20 | ||
| 129 | + ] [ rdf:type sp:Bind ; | ||
| 130 | + sp:expression | ||
| 131 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 132 | + sp:arg1 _:b20 ; | ||
| 133 | + sp:arg2 _:b17 | ||
| 134 | + ] ; | ||
| 135 | + sp:variable _:b19 | ||
| 136 | + ]) | ||
| 137 | + ] ; | ||
| 138 | + spin:rule | ||
| 139 | + [ rdf:type sp:Construct ; | ||
| 140 | + rdfs:comment "STEP 117 Transfer tvdCsgLast"^^xsd:string ; | ||
| 141 | + sp:templates ([ sp:object _:b21 ; | ||
| 142 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvdCsgLast> ; | ||
| 143 | + sp:subject _:b22 | ||
| 144 | + ]) ; | ||
| 145 | + sp:where ([ sp:object _:b23 ; | ||
| 146 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 147 | + sp:subject spin:_this | ||
| 148 | + ] [ sp:object _:b24 ; | ||
| 149 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 150 | + sp:subject spin:_this | ||
| 151 | + ] [ sp:object _:b25 ; | ||
| 152 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 153 | + sp:subject spin:_this | ||
| 154 | + ] [ sp:object _:b22 ; | ||
| 155 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 156 | + sp:subject _:b26 | ||
| 157 | + ] [ sp:object _:b21 ; | ||
| 158 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvdCsgLast> ; | ||
| 159 | + sp:subject _:b25 | ||
| 160 | + ] [ rdf:type sp:Bind ; | ||
| 161 | + sp:expression | ||
| 162 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 163 | + sp:arg1 _:b23 | ||
| 164 | + ] ; | ||
| 165 | + sp:variable _:b27 | ||
| 166 | + ] [ rdf:type sp:Bind ; | ||
| 167 | + sp:expression | ||
| 168 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 169 | + sp:arg1 _:b27 ; | ||
| 170 | + sp:arg2 _:b24 | ||
| 171 | + ] ; | ||
| 172 | + sp:variable _:b26 | ||
| 173 | + ]) | ||
| 174 | + ] ; | ||
| 175 | + spin:rule | ||
| 176 | + [ rdf:type sp:Construct ; | ||
| 177 | + rdfs:comment "STEP 123 Transfer tvdDiaPilotPlan"^^xsd:string ; | ||
| 178 | + sp:templates ([ sp:object _:b28 ; | ||
| 179 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvdDiaPilotPlan> ; | ||
| 180 | + sp:subject _:b29 | ||
| 181 | + ]) ; | ||
| 182 | + sp:where ([ sp:object _:b30 ; | ||
| 183 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 184 | + sp:subject spin:_this | ||
| 185 | + ] [ sp:object _:b31 ; | ||
| 186 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 187 | + sp:subject spin:_this | ||
| 188 | + ] [ sp:object | ||
| 189 | + [ sp:varName "statusInfo"^^xsd:string | ||
| 190 | + ] ; | ||
| 191 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 192 | + sp:subject spin:_this | ||
| 193 | + ] [ sp:object _:b29 ; | ||
| 194 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 195 | + sp:subject _:b32 | ||
| 196 | + ] [ sp:object _:b28 ; | ||
| 197 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvdDiaPilotPlan> ; | ||
| 198 | + sp:subject | ||
| 199 | + [ sp:varName "statusInfoddr"^^xsd:string | ||
| 200 | + ] | ||
| 201 | + ] [ rdf:type sp:Bind ; | ||
| 202 | + sp:expression | ||
| 203 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 204 | + sp:arg1 _:b30 | ||
| 205 | + ] ; | ||
| 206 | + sp:variable _:b33 | ||
| 207 | + ] [ rdf:type sp:Bind ; | ||
| 208 | + sp:expression | ||
| 209 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 210 | + sp:arg1 _:b33 ; | ||
| 211 | + sp:arg2 _:b31 | ||
| 212 | + ] ; | ||
| 213 | + sp:variable _:b32 | ||
| 214 | + ]) | ||
| 215 | + ] ; | ||
| 216 | + spin:rule | ||
| 217 | + [ rdf:type sp:Construct ; | ||
| 218 | + rdfs:comment "STEP 112 Transfer diaHole"^^xsd:string ; | ||
| 219 | + sp:templates ([ sp:object _:b34 ; | ||
| 220 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDiaHole> ; | ||
| 221 | + sp:subject _:b35 | ||
| 222 | + ]) ; | ||
| 223 | + sp:where ([ sp:object _:b36 ; | ||
| 224 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 225 | + sp:subject spin:_this | ||
| 226 | + ] [ sp:object _:b37 ; | ||
| 227 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 228 | + sp:subject spin:_this | ||
| 229 | + ] [ sp:object _:b38 ; | ||
| 230 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 231 | + sp:subject spin:_this | ||
| 232 | + ] [ sp:object _:b35 ; | ||
| 233 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 234 | + sp:subject _:b39 | ||
| 235 | + ] [ sp:object _:b34 ; | ||
| 236 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDiaHole> ; | ||
| 237 | + sp:subject _:b38 | ||
| 238 | + ] [ rdf:type sp:Bind ; | ||
| 239 | + sp:expression | ||
| 240 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 241 | + sp:arg1 _:b36 | ||
| 242 | + ] ; | ||
| 243 | + sp:variable _:b40 | ||
| 244 | + ] [ rdf:type sp:Bind ; | ||
| 245 | + sp:expression | ||
| 246 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 247 | + sp:arg1 _:b40 ; | ||
| 248 | + sp:arg2 _:b37 | ||
| 249 | + ] ; | ||
| 250 | + sp:variable _:b39 | ||
| 251 | + ]) | ||
| 252 | + ] ; | ||
| 253 | + spin:rule | ||
| 254 | + [ rdf:type sp:Construct ; | ||
| 255 | + rdfs:comment "STEP 115 Transfer diaCsgLast"^^xsd:string ; | ||
| 256 | + sp:templates ([ sp:object _:b41 ; | ||
| 257 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDiaCsgLast> ; | ||
| 258 | + sp:subject _:b42 | ||
| 259 | + ]) ; | ||
| 260 | + sp:where ([ sp:object _:b43 ; | ||
| 261 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 262 | + sp:subject spin:_this | ||
| 263 | + ] [ sp:object _:b44 ; | ||
| 264 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 265 | + sp:subject spin:_this | ||
| 266 | + ] [ sp:object _:b45 ; | ||
| 267 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 268 | + sp:subject spin:_this | ||
| 269 | + ] [ sp:object _:b42 ; | ||
| 270 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 271 | + sp:subject _:b46 | ||
| 272 | + ] [ sp:object _:b41 ; | ||
| 273 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDiaCsgLast> ; | ||
| 274 | + sp:subject _:b45 | ||
| 275 | + ] [ rdf:type sp:Bind ; | ||
| 276 | + sp:expression | ||
| 277 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 278 | + sp:arg1 _:b43 | ||
| 279 | + ] ; | ||
| 280 | + sp:variable _:b47 | ||
| 281 | + ] [ rdf:type sp:Bind ; | ||
| 282 | + sp:expression | ||
| 283 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 284 | + sp:arg1 _:b47 ; | ||
| 285 | + sp:arg2 _:b44 | ||
| 286 | + ] ; | ||
| 287 | + sp:variable _:b46 | ||
| 288 | + ]) | ||
| 289 | + ] ; | ||
| 290 | + spin:rule | ||
| 291 | + [ rdf:type sp:Construct ; | ||
| 292 | + rdfs:comment "STEP 126 Transfer WellboreType"^^xsd:string ; | ||
| 293 | + sp:templates ([ sp:object _:b48 ; | ||
| 294 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreDrillingType> ; | ||
| 295 | + sp:subject _:b49 | ||
| 296 | + ]) ; | ||
| 297 | + sp:where ([ sp:object _:b50 ; | ||
| 298 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 299 | + sp:subject spin:_this | ||
| 300 | + ] [ sp:object _:b51 ; | ||
| 301 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 302 | + sp:subject spin:_this | ||
| 303 | + ] [ sp:object _:b52 ; | ||
| 304 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 305 | + sp:subject spin:_this | ||
| 306 | + ] [ sp:object _:b53 ; | ||
| 307 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTypeWellbore> ; | ||
| 308 | + sp:subject _:b52 | ||
| 309 | + ] [ rdf:type sp:Bind ; | ||
| 310 | + sp:expression | ||
| 311 | + [ rdf:type ep-spin-lib:selectWellBoreDrillingType ; | ||
| 312 | + sp:arg1 _:b53 | ||
| 313 | + ] ; | ||
| 314 | + sp:variable _:b48 | ||
| 315 | + ] [ rdf:type sp:Bind ; | ||
| 316 | + sp:expression | ||
| 317 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 318 | + sp:arg1 _:b50 | ||
| 319 | + ] ; | ||
| 320 | + sp:variable _:b54 | ||
| 321 | + ] [ rdf:type sp:Bind ; | ||
| 322 | + sp:expression | ||
| 323 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 324 | + sp:arg1 _:b54 ; | ||
| 325 | + sp:arg2 _:b51 | ||
| 326 | + ] ; | ||
| 327 | + sp:variable _:b49 | ||
| 328 | + ]) | ||
| 329 | + ] ; | ||
| 330 | + spin:rule | ||
| 331 | + [ rdf:type sp:Construct ; | ||
| 332 | + rdfs:comment "STEP 109 Transfer md"^^xsd:string ; | ||
| 333 | + sp:templates ([ sp:object _:b55 ; | ||
| 334 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
| 335 | + sp:subject _:b56 | ||
| 336 | + ]) ; | ||
| 337 | + sp:where ([ sp:object _:b57 ; | ||
| 338 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 339 | + sp:subject spin:_this | ||
| 340 | + ] [ sp:object _:b58 ; | ||
| 341 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 342 | + sp:subject spin:_this | ||
| 343 | + ] [ sp:object _:b59 ; | ||
| 344 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 345 | + sp:subject spin:_this | ||
| 346 | + ] [ sp:object _:b56 ; | ||
| 347 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 348 | + sp:subject _:b60 | ||
| 349 | + ] [ sp:object _:b55 ; | ||
| 350 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
| 351 | + sp:subject _:b59 | ||
| 352 | + ] [ rdf:type sp:Bind ; | ||
| 353 | + sp:expression | ||
| 354 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 355 | + sp:arg1 _:b57 | ||
| 356 | + ] ; | ||
| 357 | + sp:variable _:b61 | ||
| 358 | + ] [ rdf:type sp:Bind ; | ||
| 359 | + sp:expression | ||
| 360 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 361 | + sp:arg1 _:b61 ; | ||
| 362 | + sp:arg2 _:b58 | ||
| 363 | + ] ; | ||
| 364 | + sp:variable _:b60 | ||
| 365 | + ]) | ||
| 366 | + ] ; | ||
| 367 | + spin:rule | ||
| 368 | + [ rdf:type sp:Construct ; | ||
| 369 | + rdfs:comment "STEP 119 Transfer mdStrengthForm"^^xsd:string ; | ||
| 370 | + sp:templates ([ sp:object _:b62 ; | ||
| 371 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdStrengthForm> ; | ||
| 372 | + sp:subject _:b63 | ||
| 373 | + ]) ; | ||
| 374 | + sp:where ([ sp:object _:b64 ; | ||
| 375 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 376 | + sp:subject spin:_this | ||
| 377 | + ] [ sp:object _:b65 ; | ||
| 378 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 379 | + sp:subject spin:_this | ||
| 380 | + ] [ sp:object _:b66 ; | ||
| 381 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 382 | + sp:subject spin:_this | ||
| 383 | + ] [ sp:object _:b63 ; | ||
| 384 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 385 | + sp:subject _:b67 | ||
| 386 | + ] [ sp:object _:b62 ; | ||
| 387 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdStrengthForm> ; | ||
| 388 | + sp:subject _:b66 | ||
| 389 | + ] [ rdf:type sp:Bind ; | ||
| 390 | + sp:expression | ||
| 391 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 392 | + sp:arg1 _:b64 | ||
| 393 | + ] ; | ||
| 394 | + sp:variable _:b68 | ||
| 395 | + ] [ rdf:type sp:Bind ; | ||
| 396 | + sp:expression | ||
| 397 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 398 | + sp:arg1 _:b68 ; | ||
| 399 | + sp:arg2 _:b65 | ||
| 400 | + ] ; | ||
| 401 | + sp:variable _:b67 | ||
| 402 | + ]) | ||
| 403 | + ] ; | ||
| 404 | + spin:rule | ||
| 405 | + [ rdf:type sp:Construct ; | ||
| 406 | + rdfs:comment "STEP 114 Transfer mdKickoff"^^xsd:string ; | ||
| 407 | + sp:templates ([ sp:object _:b69 ; | ||
| 408 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdKickoff> ; | ||
| 409 | + sp:subject _:b70 | ||
| 410 | + ]) ; | ||
| 411 | + sp:where ([ sp:object _:b71 ; | ||
| 412 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 413 | + sp:subject spin:_this | ||
| 414 | + ] [ sp:object _:b72 ; | ||
| 415 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 416 | + sp:subject spin:_this | ||
| 417 | + ] [ sp:object _:b73 ; | ||
| 418 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 419 | + sp:subject spin:_this | ||
| 420 | + ] [ sp:object _:b70 ; | ||
| 421 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 422 | + sp:subject _:b74 | ||
| 423 | + ] [ sp:object _:b69 ; | ||
| 424 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdKickoff> ; | ||
| 425 | + sp:subject _:b73 | ||
| 426 | + ] [ rdf:type sp:Bind ; | ||
| 427 | + sp:expression | ||
| 428 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 429 | + sp:arg1 _:b71 | ||
| 430 | + ] ; | ||
| 431 | + sp:variable _:b75 | ||
| 432 | + ] [ rdf:type sp:Bind ; | ||
| 433 | + sp:expression | ||
| 434 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 435 | + sp:arg1 _:b75 ; | ||
| 436 | + sp:arg2 _:b72 | ||
| 437 | + ] ; | ||
| 438 | + sp:variable _:b74 | ||
| 439 | + ]) | ||
| 440 | + ] ; | ||
| 441 | + spin:rule | ||
| 442 | + [ rdf:type sp:Construct ; | ||
| 443 | + rdfs:comment "STEP 116 Transfer mdCsgLast"^^xsd:string ; | ||
| 444 | + sp:templates ([ sp:object _:b76 ; | ||
| 445 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdCsgLast> ; | ||
| 446 | + sp:subject _:b77 | ||
| 447 | + ]) ; | ||
| 448 | + sp:where ([ sp:object _:b78 ; | ||
| 449 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 450 | + sp:subject spin:_this | ||
| 451 | + ] [ sp:object _:b79 ; | ||
| 452 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 453 | + sp:subject spin:_this | ||
| 454 | + ] [ sp:object _:b80 ; | ||
| 455 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 456 | + sp:subject spin:_this | ||
| 457 | + ] [ sp:object _:b77 ; | ||
| 458 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 459 | + sp:subject _:b81 | ||
| 460 | + ] [ sp:object _:b76 ; | ||
| 461 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdCsgLast> ; | ||
| 462 | + sp:subject _:b80 | ||
| 463 | + ] [ rdf:type sp:Bind ; | ||
| 464 | + sp:expression | ||
| 465 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 466 | + sp:arg1 _:b78 | ||
| 467 | + ] ; | ||
| 468 | + sp:variable _:b82 | ||
| 469 | + ] [ rdf:type sp:Bind ; | ||
| 470 | + sp:expression | ||
| 471 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 472 | + sp:arg1 _:b82 ; | ||
| 473 | + sp:arg2 _:b79 | ||
| 474 | + ] ; | ||
| 475 | + sp:variable _:b81 | ||
| 476 | + ]) | ||
| 477 | + ] ; | ||
| 478 | + spin:rule | ||
| 479 | + [ rdf:type sp:Construct ; | ||
| 480 | + rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ; | ||
| 481 | + sp:templates ([ sp:object _:b83 ; | ||
| 482 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 483 | + sp:subject _:b84 | ||
| 484 | + ]) ; | ||
| 485 | + sp:where ([ sp:object _:b85 ; | ||
| 486 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 487 | + sp:subject spin:_this | ||
| 488 | + ] [ sp:object _:b86 ; | ||
| 489 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 490 | + sp:subject spin:_this | ||
| 491 | + ] [ sp:object _:b87 ; | ||
| 492 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 493 | + sp:subject spin:_this | ||
| 494 | + ] [ sp:object _:b83 ; | ||
| 495 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 496 | + sp:subject _:b87 | ||
| 497 | + ] [ rdf:type sp:Bind ; | ||
| 498 | + sp:expression | ||
| 499 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 500 | + sp:arg1 _:b85 | ||
| 501 | + ] ; | ||
| 502 | + sp:variable _:b88 | ||
| 503 | + ] [ rdf:type sp:Bind ; | ||
| 504 | + sp:expression | ||
| 505 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 506 | + sp:arg1 _:b88 ; | ||
| 507 | + sp:arg2 _:b86 | ||
| 508 | + ] ; | ||
| 509 | + sp:variable _:b84 | ||
| 510 | + ]) | ||
| 511 | + ] ; | ||
| 512 | + spin:rule | ||
| 513 | + [ rdf:type sp:Construct ; | ||
| 514 | + rdfs:comment "STEP 120 Transfer tvdStrengthForm"^^xsd:string ; | ||
| 515 | + sp:templates ([ sp:object _:b89 ; | ||
| 516 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvdStrengthForm> ; | ||
| 517 | + sp:subject _:b90 | ||
| 518 | + ]) ; | ||
| 519 | + sp:where ([ sp:object _:b91 ; | ||
| 520 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 521 | + sp:subject spin:_this | ||
| 522 | + ] [ sp:object _:b92 ; | ||
| 523 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 524 | + sp:subject spin:_this | ||
| 525 | + ] [ sp:object _:b93 ; | ||
| 526 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 527 | + sp:subject spin:_this | ||
| 528 | + ] [ sp:object _:b90 ; | ||
| 529 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 530 | + sp:subject _:b94 | ||
| 531 | + ] [ sp:object _:b89 ; | ||
| 532 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasTvdStrengthForm> ; | ||
| 533 | + sp:subject _:b93 | ||
| 534 | + ] [ rdf:type sp:Bind ; | ||
| 535 | + sp:expression | ||
| 536 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 537 | + sp:arg1 _:b91 | ||
| 538 | + ] ; | ||
| 539 | + sp:variable _:b95 | ||
| 540 | + ] [ rdf:type sp:Bind ; | ||
| 541 | + sp:expression | ||
| 542 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 543 | + sp:arg1 _:b95 ; | ||
| 544 | + sp:arg2 _:b92 | ||
| 545 | + ] ; | ||
| 546 | + sp:variable _:b94 | ||
| 547 | + ]) | ||
| 548 | + ] ; | ||
| 549 | + spin:rule | ||
| 550 | + [ rdf:type sp:Construct ; | ||
| 551 | + rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ; | ||
| 552 | + sp:templates ([ sp:object _:b96 ; | ||
| 553 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
| 554 | + sp:subject _:b97 | ||
| 555 | + ]) ; | ||
| 556 | + sp:where ([ sp:object _:b98 ; | ||
| 557 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 558 | + sp:subject spin:_this | ||
| 559 | + ] [ sp:object _:b99 ; | ||
| 560 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 561 | + sp:subject spin:_this | ||
| 562 | + ] [ sp:object _:b100 ; | ||
| 563 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 564 | + sp:subject spin:_this | ||
| 565 | + ] [ sp:object _:b96 ; | ||
| 566 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
| 567 | + sp:subject _:b100 | ||
| 568 | + ] [ rdf:type sp:Bind ; | ||
| 569 | + sp:expression | ||
| 570 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 571 | + sp:arg1 _:b98 | ||
| 572 | + ] ; | ||
| 573 | + sp:variable _:b101 | ||
| 574 | + ] [ rdf:type sp:Bind ; | ||
| 575 | + sp:expression | ||
| 576 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 577 | + sp:arg1 _:b101 ; | ||
| 578 | + sp:arg2 _:b99 | ||
| 579 | + ] ; | ||
| 580 | + sp:variable _:b97 | ||
| 581 | + ]) | ||
| 582 | + ] ; | ||
| 583 | + spin:rule | ||
| 584 | + [ rdf:type sp:Construct ; | ||
| 585 | + rdfs:comment "STEP 121 Transfer elevKelly"^^xsd:string ; | ||
| 586 | + sp:templates ([ sp:object _:b102 ; | ||
| 587 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasElevKelly> ; | ||
| 588 | + sp:subject _:b103 | ||
| 589 | + ]) ; | ||
| 590 | + sp:where ([ sp:object _:b104 ; | ||
| 591 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 592 | + sp:subject spin:_this | ||
| 593 | + ] [ sp:object _:b105 ; | ||
| 594 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 595 | + sp:subject spin:_this | ||
| 596 | + ] [ sp:object _:b106 ; | ||
| 597 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 598 | + sp:subject spin:_this | ||
| 599 | + ] [ sp:object _:b103 ; | ||
| 600 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 601 | + sp:subject _:b107 | ||
| 602 | + ] [ sp:object _:b102 ; | ||
| 603 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasElevKelly> ; | ||
| 604 | + sp:subject _:b106 | ||
| 605 | + ] [ rdf:type sp:Bind ; | ||
| 606 | + sp:expression | ||
| 607 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 608 | + sp:arg1 _:b104 | ||
| 609 | + ] ; | ||
| 610 | + sp:variable _:b108 | ||
| 611 | + ] [ rdf:type sp:Bind ; | ||
| 612 | + sp:expression | ||
| 613 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 614 | + sp:arg1 _:b108 ; | ||
| 615 | + sp:arg2 _:b105 | ||
| 616 | + ] ; | ||
| 617 | + sp:variable _:b107 | ||
| 618 | + ]) | ||
| 619 | + ] ; | ||
| 620 | + spin:rule | ||
| 621 | + [ rdf:type sp:Construct ; | ||
| 622 | + rdfs:comment "STEP 118 Transfer strengthForm"^^xsd:string ; | ||
| 623 | + sp:templates ([ sp:object _:b109 ; | ||
| 624 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStrengthForm> ; | ||
| 625 | + sp:subject _:b110 | ||
| 626 | + ]) ; | ||
| 627 | + sp:where ([ sp:object _:b111 ; | ||
| 628 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 629 | + sp:subject spin:_this | ||
| 630 | + ] [ sp:object _:b112 ; | ||
| 631 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 632 | + sp:subject spin:_this | ||
| 633 | + ] [ sp:object _:b113 ; | ||
| 634 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 635 | + sp:subject spin:_this | ||
| 636 | + ] [ sp:object _:b110 ; | ||
| 637 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 638 | + sp:subject _:b114 | ||
| 639 | + ] [ sp:object _:b109 ; | ||
| 640 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStrengthForm> ; | ||
| 641 | + sp:subject _:b113 | ||
| 642 | + ] [ rdf:type sp:Bind ; | ||
| 643 | + sp:expression | ||
| 644 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 645 | + sp:arg1 _:b111 | ||
| 646 | + ] ; | ||
| 647 | + sp:variable _:b115 | ||
| 648 | + ] [ rdf:type sp:Bind ; | ||
| 649 | + sp:expression | ||
| 650 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 651 | + sp:arg1 _:b115 ; | ||
| 652 | + sp:arg2 _:b112 | ||
| 653 | + ] ; | ||
| 654 | + sp:variable _:b114 | ||
| 655 | + ]) | ||
| 656 | + ] ; | ||
| 657 | + spin:rule | ||
| 658 | + [ rdf:type sp:Construct ; | ||
| 659 | + rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ; | ||
| 660 | + sp:templates ([ sp:object _:b116 ; | ||
| 661 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 662 | + sp:subject _:b117 | ||
| 663 | + ]) ; | ||
| 664 | + sp:where ([ sp:object _:b118 ; | ||
| 665 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 666 | + sp:subject spin:_this | ||
| 667 | + ] [ sp:object _:b119 ; | ||
| 668 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 669 | + sp:subject spin:_this | ||
| 670 | + ] [ sp:object _:b120 ; | ||
| 671 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 672 | + sp:subject spin:_this | ||
| 673 | + ] [ sp:object _:b116 ; | ||
| 674 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 675 | + sp:subject _:b120 | ||
| 676 | + ] [ rdf:type sp:Bind ; | ||
| 677 | + sp:expression | ||
| 678 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 679 | + sp:arg1 _:b118 | ||
| 680 | + ] ; | ||
| 681 | + sp:variable _:b121 | ||
| 682 | + ] [ rdf:type sp:Bind ; | ||
| 683 | + sp:expression | ||
| 684 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 685 | + sp:arg1 _:b121 ; | ||
| 686 | + sp:arg2 _:b119 | ||
| 687 | + ] ; | ||
| 688 | + sp:variable _:b117 | ||
| 689 | + ]) | ||
| 690 | + ] ; | ||
| 691 | + spin:rule | ||
| 692 | + [ rdf:type sp:Construct ; | ||
| 693 | + rdfs:comment "STEP 111 Transfer mdPlugTop"^^xsd:string ; | ||
| 694 | + sp:templates ([ sp:object _:b122 ; | ||
| 695 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdPlugTop> ; | ||
| 696 | + sp:subject _:b123 | ||
| 697 | + ]) ; | ||
| 698 | + sp:where ([ sp:object _:b124 ; | ||
| 699 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 700 | + sp:subject spin:_this | ||
| 701 | + ] [ sp:object _:b125 ; | ||
| 702 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 703 | + sp:subject spin:_this | ||
| 704 | + ] [ sp:object _:b126 ; | ||
| 705 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 706 | + sp:subject spin:_this | ||
| 707 | + ] [ sp:object _:b123 ; | ||
| 708 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 709 | + sp:subject _:b127 | ||
| 710 | + ] [ sp:object _:b122 ; | ||
| 711 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdPlugTop> ; | ||
| 712 | + sp:subject _:b126 | ||
| 713 | + ] [ rdf:type sp:Bind ; | ||
| 714 | + sp:expression | ||
| 715 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 716 | + sp:arg1 _:b124 | ||
| 717 | + ] ; | ||
| 718 | + sp:variable _:b128 | ||
| 719 | + ] [ rdf:type sp:Bind ; | ||
| 720 | + sp:expression | ||
| 721 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 722 | + sp:arg1 _:b128 ; | ||
| 723 | + sp:arg2 _:b125 | ||
| 724 | + ] ; | ||
| 725 | + sp:variable _:b127 | ||
| 726 | + ]) | ||
| 727 | + ] ; | ||
| 728 | + spin:rule | ||
| 729 | + [ rdf:type sp:Construct ; | ||
| 730 | + rdfs:comment "STEP 125 Transfer presTestType"^^xsd:string ; | ||
| 731 | + sp:templates ([ sp:object _:b129 ; | ||
| 732 | + sp:predicate iso15926:hasPart ; | ||
| 733 | + sp:subject _:b130 | ||
| 734 | + ] [ sp:object _:b131 ; | ||
| 735 | + sp:predicate rdf:type ; | ||
| 736 | + sp:subject _:b129 | ||
| 737 | + ]) ; | ||
| 738 | + sp:where ([ sp:object _:b132 ; | ||
| 739 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 740 | + sp:subject spin:_this | ||
| 741 | + ] [ sp:object _:b133 ; | ||
| 742 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 743 | + sp:subject spin:_this | ||
| 744 | + ] [ sp:object _:b134 ; | ||
| 745 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 746 | + sp:subject spin:_this | ||
| 747 | + ] [ sp:object _:b135 ; | ||
| 748 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasPresTestType> ; | ||
| 749 | + sp:subject _:b134 | ||
| 750 | + ] [ rdf:type sp:Bind ; | ||
| 751 | + sp:expression | ||
| 752 | + [ rdf:type ep-spin-lib:selectPressureTestType ; | ||
| 753 | + sp:arg1 _:b135 | ||
| 754 | + ] ; | ||
| 755 | + sp:variable _:b131 | ||
| 756 | + ] [ rdf:type sp:Bind ; | ||
| 757 | + sp:expression | ||
| 758 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 759 | + sp:arg1 _:b132 | ||
| 760 | + ] ; | ||
| 761 | + sp:variable _:b136 | ||
| 762 | + ] [ rdf:type sp:Bind ; | ||
| 763 | + sp:expression | ||
| 764 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 765 | + sp:arg1 _:b136 ; | ||
| 766 | + sp:arg2 _:b133 | ||
| 767 | + ] ; | ||
| 768 | + sp:variable _:b130 | ||
| 769 | + ]) | ||
| 770 | + ] ; | ||
| 771 | + spin:rule | ||
| 772 | + [ rdf:type sp:Construct ; | ||
| 773 | + rdfs:comment "STEP 113 Transfer mdDiaHoleStart"^^xsd:string ; | ||
| 774 | + sp:templates ([ sp:object _:b137 ; | ||
| 775 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdDiaHoleStart> ; | ||
| 776 | + sp:subject _:b138 | ||
| 777 | + ]) ; | ||
| 778 | + sp:where ([ sp:object _:b139 ; | ||
| 779 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 780 | + sp:subject spin:_this | ||
| 781 | + ] [ sp:object _:b140 ; | ||
| 782 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 783 | + sp:subject spin:_this | ||
| 784 | + ] [ sp:object _:b141 ; | ||
| 785 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 786 | + sp:subject spin:_this | ||
| 787 | + ] [ sp:object _:b138 ; | ||
| 788 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 789 | + sp:subject _:b142 | ||
| 790 | + ] [ sp:object _:b137 ; | ||
| 791 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdDiaHoleStart> ; | ||
| 792 | + sp:subject _:b141 | ||
| 793 | + ] [ rdf:type sp:Bind ; | ||
| 794 | + sp:expression | ||
| 795 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 796 | + sp:arg1 _:b139 | ||
| 797 | + ] ; | ||
| 798 | + sp:variable _:b143 | ||
| 799 | + ] [ rdf:type sp:Bind ; | ||
| 800 | + sp:expression | ||
| 801 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 802 | + sp:arg1 _:b143 ; | ||
| 803 | + sp:arg2 _:b140 | ||
| 804 | + ] ; | ||
| 805 | + sp:variable _:b142 | ||
| 806 | + ]) | ||
| 807 | + ] ; | ||
| 808 | + spin:rule | ||
| 809 | + [ rdf:type sp:Construct ; | ||
| 810 | + rdfs:comment "STEP 124 Transfer mdPlanned"^^xsd:string ; | ||
| 811 | + sp:templates ([ sp:object _:b144 ; | ||
| 812 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdPlanned> ; | ||
| 813 | + sp:subject _:b145 | ||
| 814 | + ]) ; | ||
| 815 | + sp:where ([ sp:object _:b146 ; | ||
| 816 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 817 | + sp:subject spin:_this | ||
| 818 | + ] [ sp:object _:b147 ; | ||
| 819 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 820 | + sp:subject spin:_this | ||
| 821 | + ] [ sp:object | ||
| 822 | + [ sp:varName "statusInfo"^^xsd:string | ||
| 823 | + ] ; | ||
| 824 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 825 | + sp:subject spin:_this | ||
| 826 | + ] [ sp:object _:b145 ; | ||
| 827 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 828 | + sp:subject _:b148 | ||
| 829 | + ] [ sp:object _:b144 ; | ||
| 830 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMdPlanned> ; | ||
| 831 | + sp:subject | ||
| 832 | + [ sp:varName "statusInfoddr"^^xsd:string | ||
| 833 | + ] | ||
| 834 | + ] [ rdf:type sp:Bind ; | ||
| 835 | + sp:expression | ||
| 836 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 837 | + sp:arg1 _:b146 | ||
| 838 | + ] ; | ||
| 839 | + sp:variable _:b149 | ||
| 840 | + ] [ rdf:type sp:Bind ; | ||
| 841 | + sp:expression | ||
| 842 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 843 | + sp:arg1 _:b149 ; | ||
| 844 | + sp:arg2 _:b147 | ||
| 845 | + ] ; | ||
| 846 | + sp:variable _:b148 | ||
| 847 | + ]) | ||
| 848 | + ] . | ||
| 849 | + | ||
| 850 | +<http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> | ||
| 851 | + rdf:type owl:Ontology ; | ||
| 852 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/activity> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> ; | ||
| 853 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 854 | + | ||
| 855 | +_:b50 | ||
| 856 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 857 | + | ||
| 858 | +_:b51 | ||
| 859 | + sp:varName "dTimStart"^^xsd:string . | ||
| 860 | + | ||
| 861 | +_:b52 | ||
| 862 | + sp:varName "statusInfo"^^xsd:string . | ||
| 863 | + | ||
| 864 | +_:b53 | ||
| 865 | + sp:varName "typeWellBore"^^xsd:string . | ||
| 866 | + | ||
| 867 | +_:b48 | ||
| 868 | + sp:varName "wellBoreDrillingType"^^xsd:string . | ||
| 869 | + | ||
| 870 | +_:b54 | ||
| 871 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 872 | + | ||
| 873 | +_:b49 | ||
| 874 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 875 | + | ||
| 876 | +_:b132 | ||
| 877 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 878 | + | ||
| 879 | +_:b133 | ||
| 880 | + sp:varName "dTimStart"^^xsd:string . | ||
| 881 | + | ||
| 882 | +_:b134 | ||
| 883 | + sp:varName "statusInfo"^^xsd:string . | ||
| 884 | + | ||
| 885 | +_:b135 | ||
| 886 | + sp:varName "presTestType"^^xsd:string . | ||
| 887 | + | ||
| 888 | +_:b131 | ||
| 889 | + sp:varName "pressureTestType"^^xsd:string . | ||
| 890 | + | ||
| 891 | +_:b136 | ||
| 892 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 893 | + | ||
| 894 | +_:b130 | ||
| 895 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 896 | + | ||
| 897 | +_:b7 sp:varName "mdDiaPilotPlan"^^xsd:string . | ||
| 898 | + | ||
| 899 | +_:b8 sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 900 | + | ||
| 901 | +_:b9 sp:varName "nameWellBore"^^xsd:string . | ||
| 902 | + | ||
| 903 | +_:b10 | ||
| 904 | + sp:varName "dTimStart"^^xsd:string . | ||
| 905 | + | ||
| 906 | +_:b11 | ||
| 907 | + sp:varName "statusInfo"^^xsd:string . | ||
| 908 | + | ||
| 909 | +_:b12 | ||
| 910 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 911 | + | ||
| 912 | +_:b13 | ||
| 913 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 914 | + | ||
| 915 | +_:b1 sp:varName "sum24Hr"^^xsd:string . | ||
| 916 | + | ||
| 917 | +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 918 | + | ||
| 919 | +_:b3 sp:varName "nameWellBore"^^xsd:string . | ||
| 920 | + | ||
| 921 | +_:b4 sp:varName "dTimStart"^^xsd:string . | ||
| 922 | + | ||
| 923 | +_:b5 sp:varName "statusInfo"^^xsd:string . | ||
| 924 | + | ||
| 925 | +_:b6 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 926 | + | ||
| 927 | +_:b76 | ||
| 928 | + sp:varName "mdCsgLast"^^xsd:string . | ||
| 929 | + | ||
| 930 | +_:b77 | ||
| 931 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 932 | + | ||
| 933 | +_:b78 | ||
| 934 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 935 | + | ||
| 936 | +_:b79 | ||
| 937 | + sp:varName "dTimStart"^^xsd:string . | ||
| 938 | + | ||
| 939 | +_:b80 | ||
| 940 | + sp:varName "statusInfo"^^xsd:string . | ||
| 941 | + | ||
| 942 | +_:b81 | ||
| 943 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 944 | + | ||
| 945 | +_:b82 | ||
| 946 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 947 | + | ||
| 948 | +_:b144 | ||
| 949 | + sp:varName "mdPlanned"^^xsd:string . | ||
| 950 | + | ||
| 951 | +_:b145 | ||
| 952 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 953 | + | ||
| 954 | +_:b146 | ||
| 955 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 956 | + | ||
| 957 | +_:b147 | ||
| 958 | + sp:varName "dTimStart"^^xsd:string . | ||
| 959 | + | ||
| 960 | +_:b148 | ||
| 961 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 962 | + | ||
| 963 | +_:b149 | ||
| 964 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 965 | + | ||
| 966 | +_:b34 | ||
| 967 | + sp:varName "diaHole"^^xsd:string . | ||
| 968 | + | ||
| 969 | +_:b35 | ||
| 970 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 971 | + | ||
| 972 | +_:b36 | ||
| 973 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 974 | + | ||
| 975 | +_:b37 | ||
| 976 | + sp:varName "dTimStart"^^xsd:string . | ||
| 977 | + | ||
| 978 | +_:b38 | ||
| 979 | + sp:varName "statusInfo"^^xsd:string . | ||
| 980 | + | ||
| 981 | +_:b39 | ||
| 982 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 983 | + | ||
| 984 | +_:b40 | ||
| 985 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 986 | + | ||
| 987 | +_:b21 | ||
| 988 | + sp:varName "tvdCsgLast"^^xsd:string . | ||
| 989 | + | ||
| 990 | +_:b22 | ||
| 991 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 992 | + | ||
| 993 | +_:b23 | ||
| 994 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 995 | + | ||
| 996 | +_:b24 | ||
| 997 | + sp:varName "dTimStart"^^xsd:string . | ||
| 998 | + | ||
| 999 | +_:b25 | ||
| 1000 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1001 | + | ||
| 1002 | +_:b26 | ||
| 1003 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1004 | + | ||
| 1005 | +_:b27 | ||
| 1006 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1007 | + | ||
| 1008 | +_:b89 | ||
| 1009 | + sp:varName "tvdStrengthForm"^^xsd:string . | ||
| 1010 | + | ||
| 1011 | +_:b90 | ||
| 1012 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1013 | + | ||
| 1014 | +_:b91 | ||
| 1015 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1016 | + | ||
| 1017 | +_:b92 | ||
| 1018 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1019 | + | ||
| 1020 | +_:b93 | ||
| 1021 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1022 | + | ||
| 1023 | +_:b94 | ||
| 1024 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1025 | + | ||
| 1026 | +_:b95 | ||
| 1027 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1028 | + | ||
| 1029 | +_:b137 | ||
| 1030 | + sp:varName "mdDiaHoleStart"^^xsd:string . | ||
| 1031 | + | ||
| 1032 | +_:b138 | ||
| 1033 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1034 | + | ||
| 1035 | +_:b139 | ||
| 1036 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1037 | + | ||
| 1038 | +_:b140 | ||
| 1039 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1040 | + | ||
| 1041 | +_:b141 | ||
| 1042 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1043 | + | ||
| 1044 | +_:b142 | ||
| 1045 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1046 | + | ||
| 1047 | +_:b143 | ||
| 1048 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1049 | + | ||
| 1050 | +_:b83 | ||
| 1051 | + sp:varName "forecast24Hr"^^xsd:string . | ||
| 1052 | + | ||
| 1053 | +_:b84 | ||
| 1054 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1055 | + | ||
| 1056 | +_:b85 | ||
| 1057 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1058 | + | ||
| 1059 | +_:b86 | ||
| 1060 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1061 | + | ||
| 1062 | +_:b87 | ||
| 1063 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1064 | + | ||
| 1065 | +_:b88 | ||
| 1066 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1067 | + | ||
| 1068 | +_:b96 | ||
| 1069 | + sp:varName "ropCurrentValue"^^xsd:string . | ||
| 1070 | + | ||
| 1071 | +_:b97 | ||
| 1072 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1073 | + | ||
| 1074 | +_:b98 | ||
| 1075 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1076 | + | ||
| 1077 | +_:b99 | ||
| 1078 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1079 | + | ||
| 1080 | +_:b100 | ||
| 1081 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1082 | + | ||
| 1083 | +_:b101 | ||
| 1084 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1085 | + | ||
| 1086 | +_:b41 | ||
| 1087 | + sp:varName "diaCsgLast"^^xsd:string . | ||
| 1088 | + | ||
| 1089 | +_:b42 | ||
| 1090 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1091 | + | ||
| 1092 | +_:b43 | ||
| 1093 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1094 | + | ||
| 1095 | +_:b44 | ||
| 1096 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1097 | + | ||
| 1098 | +_:b45 | ||
| 1099 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1100 | + | ||
| 1101 | +_:b46 | ||
| 1102 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1103 | + | ||
| 1104 | +_:b47 | ||
| 1105 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1106 | + | ||
| 1107 | +_:b102 | ||
| 1108 | + sp:varName "elevKelly"^^xsd:string . | ||
| 1109 | + | ||
| 1110 | +_:b103 | ||
| 1111 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1112 | + | ||
| 1113 | +_:b104 | ||
| 1114 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1115 | + | ||
| 1116 | +_:b105 | ||
| 1117 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1118 | + | ||
| 1119 | +_:b106 | ||
| 1120 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1121 | + | ||
| 1122 | +_:b107 | ||
| 1123 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1124 | + | ||
| 1125 | +_:b108 | ||
| 1126 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1127 | + | ||
| 1128 | +_:b122 | ||
| 1129 | + sp:varName "mdPlugTop"^^xsd:string . | ||
| 1130 | + | ||
| 1131 | +_:b123 | ||
| 1132 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1133 | + | ||
| 1134 | +_:b124 | ||
| 1135 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1136 | + | ||
| 1137 | +_:b125 | ||
| 1138 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1139 | + | ||
| 1140 | +_:b126 | ||
| 1141 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1142 | + | ||
| 1143 | +_:b127 | ||
| 1144 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1145 | + | ||
| 1146 | +_:b128 | ||
| 1147 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1148 | + | ||
| 1149 | +_:b69 | ||
| 1150 | + sp:varName "mdKickoff"^^xsd:string . | ||
| 1151 | + | ||
| 1152 | +_:b70 | ||
| 1153 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1154 | + | ||
| 1155 | +_:b71 | ||
| 1156 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1157 | + | ||
| 1158 | +_:b72 | ||
| 1159 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1160 | + | ||
| 1161 | +_:b73 | ||
| 1162 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1163 | + | ||
| 1164 | +_:b74 | ||
| 1165 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1166 | + | ||
| 1167 | +_:b75 | ||
| 1168 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1169 | + | ||
| 1170 | +_:b62 | ||
| 1171 | + sp:varName "mdStrengthForm"^^xsd:string . | ||
| 1172 | + | ||
| 1173 | +_:b63 | ||
| 1174 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1175 | + | ||
| 1176 | +_:b64 | ||
| 1177 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1178 | + | ||
| 1179 | +_:b65 | ||
| 1180 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1181 | + | ||
| 1182 | +_:b66 | ||
| 1183 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1184 | + | ||
| 1185 | +_:b67 | ||
| 1186 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1187 | + | ||
| 1188 | +_:b68 | ||
| 1189 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1190 | + | ||
| 1191 | +_:b116 | ||
| 1192 | + sp:varName "distDrill"^^xsd:string . | ||
| 1193 | + | ||
| 1194 | +_:b117 | ||
| 1195 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1196 | + | ||
| 1197 | +_:b118 | ||
| 1198 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1199 | + | ||
| 1200 | +_:b119 | ||
| 1201 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1202 | + | ||
| 1203 | +_:b120 | ||
| 1204 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1205 | + | ||
| 1206 | +_:b121 | ||
| 1207 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1208 | + | ||
| 1209 | +_:b28 | ||
| 1210 | + sp:varName "tvdDiaPilotPlan"^^xsd:string . | ||
| 1211 | + | ||
| 1212 | +_:b29 | ||
| 1213 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1214 | + | ||
| 1215 | +_:b30 | ||
| 1216 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1217 | + | ||
| 1218 | +_:b31 | ||
| 1219 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1220 | + | ||
| 1221 | +_:b32 | ||
| 1222 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1223 | + | ||
| 1224 | +_:b33 | ||
| 1225 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1226 | + | ||
| 1227 | +_:b55 | ||
| 1228 | + sp:varName "md"^^xsd:string . | ||
| 1229 | + | ||
| 1230 | +_:b56 | ||
| 1231 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1232 | + | ||
| 1233 | +_:b57 | ||
| 1234 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1235 | + | ||
| 1236 | +_:b58 | ||
| 1237 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1238 | + | ||
| 1239 | +_:b59 | ||
| 1240 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1241 | + | ||
| 1242 | +_:b60 | ||
| 1243 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1244 | + | ||
| 1245 | +_:b61 | ||
| 1246 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1247 | + | ||
| 1248 | +_:b14 | ||
| 1249 | + sp:varName "tvd"^^xsd:string . | ||
| 1250 | + | ||
| 1251 | +_:b15 | ||
| 1252 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1253 | + | ||
| 1254 | +_:b16 | ||
| 1255 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1256 | + | ||
| 1257 | +_:b17 | ||
| 1258 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1259 | + | ||
| 1260 | +_:b18 | ||
| 1261 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1262 | + | ||
| 1263 | +_:b19 | ||
| 1264 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1265 | + | ||
| 1266 | +_:b20 | ||
| 1267 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 1268 | + | ||
| 1269 | +_:b109 | ||
| 1270 | + sp:varName "strengthForm"^^xsd:string . | ||
| 1271 | + | ||
| 1272 | +_:b110 | ||
| 1273 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 1274 | + | ||
| 1275 | +_:b111 | ||
| 1276 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 1277 | + | ||
| 1278 | +_:b112 | ||
| 1279 | + sp:varName "dTimStart"^^xsd:string . | ||
| 1280 | + | ||
| 1281 | +_:b113 | ||
| 1282 | + sp:varName "statusInfo"^^xsd:string . | ||
| 1283 | + | ||
| 1284 | +_:b114 | ||
| 1285 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 1286 | + | ||
| 1287 | +_:b115 | ||
| 1288 | + sp:varName "normalizedWellBoreName"^^xsd:string . |
| 1 | +# Saved by TopBraid on Thu Aug 04 14:29:43 BST 2011 | ||
| 2 | +# baseURI: http://www.reportinghub.no/iso15926/bindEP-NativeOWL | ||
| 3 | +# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
| 4 | +# imports: http://purl.org/dc/elements/1.1/ | ||
| 5 | +# imports: http://www.w3.org/2004/02/skos/core | ||
| 6 | +# imports: http://www.reportinghub.no/ep/schema/report | ||
| 7 | +# imports: http://www.reportinghub.no/iso15926/nativeOWL | ||
| 8 | +# imports: http://www.reportinghub.no/ep/schema/equipment | ||
| 9 | +# imports: http://purl.org/dc/terms/ | ||
| 10 | +# imports: http://www.reportinghub.no/ep/schema/well | ||
| 11 | +# imports: http://www.reportinghub.no/ep/schema/activity | ||
| 12 | + | ||
| 13 | +@prefix : <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | ||
| 14 | +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . | ||
| 15 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 16 | +@prefix p1: <http://example.org/file1#> . | ||
| 17 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 18 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 19 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 20 | + | ||
| 21 | +<http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> | ||
| 22 | + rdfs:subClassOf iso15926:PossibleIndividual . | ||
| 23 | + | ||
| 24 | +<http://www.reportinghub.no/iso15926/bindEP-NativeOWL> | ||
| 25 | + rdf:type owl:Ontology ; | ||
| 26 | + owl:imports <http://purl.org/dc/elements/1.1/> , <http://www.reportinghub.no/ep/schema/activity> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.w3.org/2004/02/skos/core> , <http://purl.org/dc/terms/> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/iso15926/nativeOWL> ; | ||
| 27 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
www.reportinghub.no/iso15926/nativeOWL.ttl
0 → 100644
| 1 | +# Saved by TopBraid on Thu Aug 04 15:12:00 BST 2011 | ||
| 2 | +# baseURI: http://www.reportinghub.no/iso15926/nativeOWL | ||
| 3 | +# imports: http://purl.org/dc/elements/1.1/ | ||
| 4 | +# imports: http://www.w3.org/2004/02/skos/core | ||
| 5 | +# imports: http://purl.org/dc/terms/ | ||
| 6 | + | ||
| 7 | +@prefix : <http://www.reportinghub.no/iso15926/nativeOWL#> . | ||
| 8 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 9 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 10 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 12 | + | ||
| 13 | +<http://www.reportinghub.no/iso15926/nativeOWL> | ||
| 14 | + rdf:type owl:Ontology ; | ||
| 15 | + owl:imports <http://www.w3.org/2004/02/skos/core> , <http://purl.org/dc/terms/> , <http://purl.org/dc/elements/1.1/> ; | ||
| 16 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 17 | + | ||
| 18 | +:Activity | ||
| 19 | + rdf:type owl:Class ; | ||
| 20 | + rdfs:label "activity"^^xsd:string ; | ||
| 21 | + rdfs:subClassOf :PossibleIndividual . | ||
| 22 | + | ||
| 23 | +:PossibleIndividual | ||
| 24 | + rdf:type owl:Class ; | ||
| 25 | + rdfs:label "possible individual"^^xsd:string ; | ||
| 26 | + rdfs:subClassOf owl:Thing . | ||
| 27 | + | ||
| 28 | +:hasPart | ||
| 29 | + rdf:type owl:TransitiveProperty ; | ||
| 30 | + rdfs:domain :PossibleIndividual ; | ||
| 31 | + rdfs:label "has part"^^xsd:string ; | ||
| 32 | + rdfs:range :PossibleIndividual ; | ||
| 33 | + owl:inverseOf :partOf . | ||
| 34 | + | ||
| 35 | +:hasTemporalPart | ||
| 36 | + rdf:type owl:TransitiveProperty ; | ||
| 37 | + rdfs:domain :PossibleIndividual ; | ||
| 38 | + rdfs:label "has temporal part"^^xsd:string ; | ||
| 39 | + rdfs:range :PossibleIndividual ; | ||
| 40 | + rdfs:subPropertyOf :hasPart ; | ||
| 41 | + owl:inverseOf :temporalPartOf . | ||
| 42 | + | ||
| 43 | +:partOf | ||
| 44 | + rdf:type owl:TransitiveProperty , owl:ObjectProperty ; | ||
| 45 | + rdfs:domain :PossibleIndividual ; | ||
| 46 | + rdfs:label "part of"^^xsd:string ; | ||
| 47 | + rdfs:range :PossibleIndividual ; | ||
| 48 | + owl:inverseOf :hasPart . | ||
| 49 | + | ||
| 50 | +:temporalPartOf | ||
| 51 | + rdf:type owl:TransitiveProperty , owl:ObjectProperty ; | ||
| 52 | + rdfs:domain :PossibleIndividual ; | ||
| 53 | + rdfs:label "temporal part of"^^xsd:string ; | ||
| 54 | + rdfs:range :PossibleIndividual ; | ||
| 55 | + rdfs:subPropertyOf :partOf ; | ||
| 56 | + owl:inverseOf :hasTemporalPart . |
| ... | @@ -14,6 +14,11 @@ | ... | @@ -14,6 +14,11 @@ |
| 14 | @prefix spl: <http://spinrdf.org/spl#> . | 14 | @prefix spl: <http://spinrdf.org/spl#> . |
| 15 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 15 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 16 | 16 | ||
| 17 | +<http://spinrdf.org/arg#company> | ||
| 18 | + rdf:type rdf:Property ; | ||
| 19 | + rdfs:label "company"^^xsd:string ; | ||
| 20 | + rdfs:subPropertyOf sp:arg . | ||
| 21 | + | ||
| 17 | <http://spinrdf.org/arg#id> | 22 | <http://spinrdf.org/arg#id> |
| 18 | rdf:type rdf:Property ; | 23 | rdf:type rdf:Property ; |
| 19 | rdfs:label "id"^^xsd:string ; | 24 | rdfs:label "id"^^xsd:string ; |
| ... | @@ -42,7 +47,7 @@ | ... | @@ -42,7 +47,7 @@ |
| 42 | <http://www.reportinghub.no/spin/rh> | 47 | <http://www.reportinghub.no/spin/rh> |
| 43 | rdf:type owl:Ontology ; | 48 | rdf:type owl:Ontology ; |
| 44 | rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ; | 49 | rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ; |
| 45 | - owl:imports <http://www.reportinghub.no/1.1/schema/npd> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> ; | 50 | + owl:imports <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1/schema/npd> ; |
| 46 | owl:versionInfo "0.1.0"^^xsd:string . | 51 | owl:versionInfo "0.1.0"^^xsd:string . |
| 47 | 52 | ||
| 48 | rhspin:GetWellBoresOfWell | 53 | rhspin:GetWellBoresOfWell |
| ... | @@ -118,6 +123,68 @@ rhspin:companyById | ... | @@ -118,6 +123,68 @@ rhspin:companyById |
| 118 | spl:valueType xsd:string | 123 | spl:valueType xsd:string |
| 119 | ] . | 124 | ] . |
| 120 | 125 | ||
| 126 | +rhspin:companyHasLicenceForWellBore | ||
| 127 | + rdf:type spin:MagicProperty ; | ||
| 128 | + rdfs:comment "A magic property that defines a relationship between companies (left side) and well bores (right side). It matches those well bores that the company currently holds a licence for. The query is optimized for the direction when the company is given and the well bores variable."^^xsd:string ; | ||
| 129 | + rdfs:label "company has licence for well bore"^^xsd:string ; | ||
| 130 | + rdfs:subClassOf spin:MagicProperties ; | ||
| 131 | + spin:body | ||
| 132 | + [ rdf:type sp:Select ; | ||
| 133 | + sp:distinct "true"^^xsd:boolean ; | ||
| 134 | + sp:resultVariables (_:b3) ; | ||
| 135 | + sp:where ([ rdf:type sp:Bind ; | ||
| 136 | + sp:expression | ||
| 137 | + [ rdf:type xsd:date ; | ||
| 138 | + sp:arg1 [ rdf:type fn:substring ; | ||
| 139 | + sp:arg1 [ rdf:type xsd:string ; | ||
| 140 | + sp:arg1 [ rdf:type sp:now | ||
| 141 | + ] | ||
| 142 | + ] ; | ||
| 143 | + sp:arg2 1 ; | ||
| 144 | + sp:arg3 10 | ||
| 145 | + ] | ||
| 146 | + ] ; | ||
| 147 | + sp:variable _:b4 | ||
| 148 | + ] [ sp:object spin:_arg1 ; | ||
| 149 | + sp:predicate <http://www.reportinghub.no/schema/npd#shareHolder> ; | ||
| 150 | + sp:subject _:b5 | ||
| 151 | + ] [ sp:object _:b6 ; | ||
| 152 | + sp:predicate <http://www.reportinghub.no/schema/npd#licenceShared> ; | ||
| 153 | + sp:subject _:b5 | ||
| 154 | + ] [ sp:object <http://www.reportinghub.no/schema/npd#LS_Active> ; | ||
| 155 | + sp:predicate <http://www.reportinghub.no/schema/npd#licenseStatus> ; | ||
| 156 | + sp:subject _:b6 | ||
| 157 | + ] [ sp:object _:b7 ; | ||
| 158 | + sp:predicate <http://www.reportinghub.no/schema/npd#startDate> ; | ||
| 159 | + sp:subject _:b6 | ||
| 160 | + ] [ rdf:type sp:Filter ; | ||
| 161 | + sp:expression | ||
| 162 | + [ rdf:type sp:le ; | ||
| 163 | + sp:arg1 _:b7 ; | ||
| 164 | + sp:arg2 _:b4 | ||
| 165 | + ] | ||
| 166 | + ] [ sp:object _:b8 ; | ||
| 167 | + sp:predicate <http://www.reportinghub.no/schema/npd#endDate> ; | ||
| 168 | + sp:subject _:b6 | ||
| 169 | + ] [ rdf:type sp:Filter ; | ||
| 170 | + sp:expression | ||
| 171 | + [ rdf:type sp:gt ; | ||
| 172 | + sp:arg1 _:b8 ; | ||
| 173 | + sp:arg2 _:b4 | ||
| 174 | + ] | ||
| 175 | + ] [ sp:object _:b6 ; | ||
| 176 | + sp:predicate <http://www.reportinghub.no/schema/npd#drilledInProductionLicence> ; | ||
| 177 | + sp:subject _:b3 | ||
| 178 | + ]) | ||
| 179 | + ] ; | ||
| 180 | + spin:constraint | ||
| 181 | + [ rdf:type spl:Argument ; | ||
| 182 | + rdfs:comment "The Company to match."^^xsd:string ; | ||
| 183 | + spl:predicate sp:arg1 ; | ||
| 184 | + spl:valueType <http://www.reportinghub.no/schema/npd#Company> | ||
| 185 | + ] ; | ||
| 186 | + spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> . | ||
| 187 | + | ||
| 121 | rhspin:discoveryById | 188 | rhspin:discoveryById |
| 122 | rdf:type spin:Function ; | 189 | rdf:type spin:Function ; |
| 123 | rdfs:label "discovery by id"^^xsd:string ; | 190 | rdfs:label "discovery by id"^^xsd:string ; |
| ... | @@ -214,7 +281,7 @@ rhspin:normalizeString | ... | @@ -214,7 +281,7 @@ rhspin:normalizeString |
| 214 | rdfs:subClassOf spl:StringFunctions ; | 281 | rdfs:subClassOf spl:StringFunctions ; |
| 215 | spin:body | 282 | spin:body |
| 216 | [ rdf:type sp:Select ; | 283 | [ rdf:type sp:Select ; |
| 217 | - sp:resultVariables (_:b3) ; | 284 | + sp:resultVariables (_:b9) ; |
| 218 | sp:where ([ rdf:type sp:Bind ; | 285 | sp:where ([ rdf:type sp:Bind ; |
| 219 | sp:expression | 286 | sp:expression |
| 220 | [ rdf:type spif:regex ; | 287 | [ rdf:type spif:regex ; |
| ... | @@ -222,67 +289,67 @@ rhspin:normalizeString | ... | @@ -222,67 +289,67 @@ rhspin:normalizeString |
| 222 | sp:arg2 "\\((.*)\\)" ; | 289 | sp:arg2 "\\((.*)\\)" ; |
| 223 | sp:arg3 "" | 290 | sp:arg3 "" |
| 224 | ] ; | 291 | ] ; |
| 225 | - sp:variable _:b4 | 292 | + sp:variable _:b10 |
| 226 | ] [ rdf:type sp:Bind ; | 293 | ] [ rdf:type sp:Bind ; |
| 227 | sp:expression | 294 | sp:expression |
| 228 | [ rdf:type spif:trim ; | 295 | [ rdf:type spif:trim ; |
| 229 | - sp:arg1 _:b4 | 296 | + sp:arg1 _:b10 |
| 230 | ] ; | 297 | ] ; |
| 231 | - sp:variable _:b5 | 298 | + sp:variable _:b11 |
| 232 | ] [ rdf:type sp:Bind ; | 299 | ] [ rdf:type sp:Bind ; |
| 233 | sp:expression | 300 | sp:expression |
| 234 | [ rdf:type spif:encodeURL ; | 301 | [ rdf:type spif:encodeURL ; |
| 235 | - sp:arg1 _:b5 | 302 | + sp:arg1 _:b11 |
| 236 | ] ; | 303 | ] ; |
| 237 | - sp:variable _:b6 | 304 | + sp:variable _:b12 |
| 238 | ] [ rdf:type sp:Bind ; | 305 | ] [ rdf:type sp:Bind ; |
| 239 | sp:expression | 306 | sp:expression |
| 240 | [ rdf:type spif:regex ; | 307 | [ rdf:type spif:regex ; |
| 241 | - sp:arg1 _:b6 ; | 308 | + sp:arg1 _:b12 ; |
| 242 | sp:arg2 "%2F" ; | 309 | sp:arg2 "%2F" ; |
| 243 | sp:arg3 "_" | 310 | sp:arg3 "_" |
| 244 | ] ; | 311 | ] ; |
| 245 | - sp:variable _:b7 | 312 | + sp:variable _:b13 |
| 246 | ] [ rdf:type sp:Bind ; | 313 | ] [ rdf:type sp:Bind ; |
| 247 | sp:expression | 314 | sp:expression |
| 248 | [ rdf:type spif:regex ; | 315 | [ rdf:type spif:regex ; |
| 249 | - sp:arg1 _:b7 ; | 316 | + sp:arg1 _:b13 ; |
| 250 | sp:arg2 "%[0-9A-F][0-9A-F]" ; | 317 | sp:arg2 "%[0-9A-F][0-9A-F]" ; |
| 251 | sp:arg3 "" | 318 | sp:arg3 "" |
| 252 | ] ; | 319 | ] ; |
| 253 | - sp:variable _:b8 | 320 | + sp:variable _:b14 |
| 254 | ] [ rdf:type sp:Bind ; | 321 | ] [ rdf:type sp:Bind ; |
| 255 | sp:expression | 322 | sp:expression |
| 256 | [ rdf:type spif:regex ; | 323 | [ rdf:type spif:regex ; |
| 257 | - sp:arg1 _:b8 ; | 324 | + sp:arg1 _:b14 ; |
| 258 | sp:arg2 "\\+" ; | 325 | sp:arg2 "\\+" ; |
| 259 | sp:arg3 "_" | 326 | sp:arg3 "_" |
| 260 | ] ; | 327 | ] ; |
| 261 | - sp:variable _:b9 | 328 | + sp:variable _:b15 |
| 262 | ] [ rdf:type sp:Bind ; | 329 | ] [ rdf:type sp:Bind ; |
| 263 | sp:expression | 330 | sp:expression |
| 264 | [ rdf:type spif:regex ; | 331 | [ rdf:type spif:regex ; |
| 265 | - sp:arg1 _:b9 ; | 332 | + sp:arg1 _:b15 ; |
| 266 | sp:arg2 "_+" ; | 333 | sp:arg2 "_+" ; |
| 267 | sp:arg3 "_" | 334 | sp:arg3 "_" |
| 268 | ] ; | 335 | ] ; |
| 269 | - sp:variable _:b10 | 336 | + sp:variable _:b16 |
| 270 | ] [ rdf:type sp:Bind ; | 337 | ] [ rdf:type sp:Bind ; |
| 271 | sp:expression | 338 | sp:expression |
| 272 | [ rdf:type spif:regex ; | 339 | [ rdf:type spif:regex ; |
| 273 | - sp:arg1 _:b10 ; | 340 | + sp:arg1 _:b16 ; |
| 274 | sp:arg2 "\\*" ; | 341 | sp:arg2 "\\*" ; |
| 275 | sp:arg3 "" | 342 | sp:arg3 "" |
| 276 | ] ; | 343 | ] ; |
| 277 | - sp:variable _:b11 | 344 | + sp:variable _:b17 |
| 278 | ] [ rdf:type sp:Bind ; | 345 | ] [ rdf:type sp:Bind ; |
| 279 | sp:expression | 346 | sp:expression |
| 280 | [ rdf:type xsd:string ; | 347 | [ rdf:type xsd:string ; |
| 281 | sp:arg1 [ rdf:type spif:upperCase ; | 348 | sp:arg1 [ rdf:type spif:upperCase ; |
| 282 | - sp:arg1 _:b11 | 349 | + sp:arg1 _:b17 |
| 283 | ] | 350 | ] |
| 284 | ] ; | 351 | ] ; |
| 285 | - sp:variable _:b3 | 352 | + sp:variable _:b9 |
| 286 | ]) | 353 | ]) |
| 287 | ] ; | 354 | ] ; |
| 288 | spin:constraint | 355 | spin:constraint |
| ... | @@ -401,26 +468,44 @@ rhspin:wellByName | ... | @@ -401,26 +468,44 @@ rhspin:wellByName |
| 401 | ] ; | 468 | ] ; |
| 402 | spin:returnType <http://www.reportinghub.no/schema/npd#Well> . | 469 | spin:returnType <http://www.reportinghub.no/schema/npd#Well> . |
| 403 | 470 | ||
| 404 | -_:b3 sp:varName "normalizedStr"^^xsd:string . | 471 | +_:b3 sp:varName "wellBore"^^xsd:string . |
| 405 | 472 | ||
| 406 | -_:b4 sp:varName "s1"^^xsd:string . | 473 | +_:b8 sp:varName "endDate"^^xsd:string . |
| 407 | 474 | ||
| 408 | -_:b5 sp:varName "s2"^^xsd:string . | 475 | +_:b7 sp:varName "startDate"^^xsd:string . |
| 409 | 476 | ||
| 410 | -_:b6 sp:varName "t0a"^^xsd:string . | 477 | +_:b6 sp:varName "licence"^^xsd:string . |
| 411 | 478 | ||
| 412 | -_:b7 sp:varName "t0b"^^xsd:string . | 479 | +_:b5 sp:varName "share"^^xsd:string . |
| 413 | 480 | ||
| 414 | -_:b8 sp:varName "t1"^^xsd:string . | 481 | +_:b4 sp:varName "nowDate"^^xsd:string . |
| 415 | 482 | ||
| 416 | -_:b9 sp:varName "t2"^^xsd:string . | 483 | +_:b17 |
| 484 | + sp:varName "t4"^^xsd:string . | ||
| 417 | 485 | ||
| 418 | -_:b10 | 486 | +_:b16 |
| 419 | sp:varName "t3"^^xsd:string . | 487 | sp:varName "t3"^^xsd:string . |
| 420 | 488 | ||
| 489 | +_:b15 | ||
| 490 | + sp:varName "t2"^^xsd:string . | ||
| 491 | + | ||
| 492 | +_:b14 | ||
| 493 | + sp:varName "t1"^^xsd:string . | ||
| 494 | + | ||
| 495 | +_:b13 | ||
| 496 | + sp:varName "t0b"^^xsd:string . | ||
| 497 | + | ||
| 498 | +_:b12 | ||
| 499 | + sp:varName "t0a"^^xsd:string . | ||
| 500 | + | ||
| 421 | _:b11 | 501 | _:b11 |
| 422 | - sp:varName "t4"^^xsd:string . | 502 | + sp:varName "s2"^^xsd:string . |
| 423 | 503 | ||
| 424 | -_:b1 sp:varName "wellBoreName"^^xsd:string . | 504 | +_:b10 |
| 505 | + sp:varName "s1"^^xsd:string . | ||
| 506 | + | ||
| 507 | +_:b9 sp:varName "normalizedStr"^^xsd:string . | ||
| 425 | 508 | ||
| 426 | _:b2 sp:varName "wellBore"^^xsd:string . | 509 | _:b2 sp:varName "wellBore"^^xsd:string . |
| 510 | + | ||
| 511 | +_:b1 sp:varName "wellBoreName"^^xsd:string . | ... | ... |
| 1 | <html> | 1 | <html> |
| 2 | <head> | 2 | <head> |
| 3 | - <title>ReportingHub - Upload DDR</title> | 3 | + <title>ReportingHub - Validate or Upload DDR</title> |
| 4 | <link href="lib/rh/rh.css" rel="stylesheet" type="text/css" /> | 4 | <link href="lib/rh/rh.css" rel="stylesheet" type="text/css" /> |
| 5 | + <script type="text/javascript" src="lib/rh/jquery/jquery.js"></script> | ||
| 5 | </head> | 6 | </head> |
| 6 | <body> | 7 | <body> |
| 7 | <div id="wrapper"> | 8 | <div id="wrapper"> |
| ... | @@ -9,16 +10,31 @@ | ... | @@ -9,16 +10,31 @@ |
| 9 | <rhswp:Header /> | 10 | <rhswp:Header /> |
| 10 | 11 | ||
| 11 | <div id="content"> | 12 | <div id="content"> |
| 12 | - <h3>Upload a Daily Drilling Report</h3> | 13 | + <h3>Validate or Upload a Daily Drilling Report</h3> |
| 13 | <p> | 14 | <p> |
| 14 | Please select a DDR XML file: | 15 | Please select a DDR XML file: |
| 15 | </p> | 16 | </p> |
| 16 | - <form action="ddrFileUpload" enctype="multipart/form-data" method="post"> | 17 | + <form enctype="multipart/form-data" id="theForm" method="post"> |
| 17 | <div> | 18 | <div> |
| 18 | <input name="file" type="file" /> | 19 | <input name="file" type="file" /> |
| 19 | </div> | 20 | </div> |
| 20 | <br /> | 21 | <br /> |
| 21 | - <input type="submit" value="Upload" /> | 22 | + <input id="validateButton" type="radio" name="type" value="validate" checked="checked" />Validate only<br /> |
| 23 | + <input id="uploadButton" type="radio" name="type" value="upload" />Validate & upload<br /> | ||
| 24 | + <script> | ||
| 25 | + | ||
| 26 | + function updateAction() { | ||
| 27 | + var newAction = $("#validateButton").attr("checked") ? "validate-report" : "submit-report"; | ||
| 28 | + $("#theForm").attr("action", newAction); | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + $("#validateButton").change(updateAction); | ||
| 32 | + $("#uploadButton").change(updateAction); | ||
| 33 | + | ||
| 34 | + updateAction(); | ||
| 35 | + </script> | ||
| 36 | + <br /> | ||
| 37 | + <input type="submit" value="Submit" /> | ||
| 22 | </form> | 38 | </form> |
| 23 | </div> | 39 | </div> |
| 24 | </div> | 40 | </div> | ... | ... |
-
Please register or login to post a comment