The content that was previously in TRANSFORM_ddr-normalization is now in
TRANSFORM_ddr-drillReport. There has been some cosmetic tidying up of the content.
Showing
6 changed files
with
535 additions
and
417 deletions
| 1 | -# Saved by TopBraid on Tue Aug 02 12:26:59 BST 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 06:33:37 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://spinrdf.org/spin | 3 | # imports: http://spinrdf.org/spin |
| 4 | 4 | ||
| ... | @@ -86,12 +86,12 @@ ep-spin-lib:buildURI | ... | @@ -86,12 +86,12 @@ ep-spin-lib:buildURI |
| 86 | ] ; | 86 | ] ; |
| 87 | spin:constraint | 87 | spin:constraint |
| 88 | [ rdf:type spl:Argument ; | 88 | [ rdf:type spl:Argument ; |
| 89 | - spl:predicate sp:arg2 ; | 89 | + spl:predicate sp:arg1 ; |
| 90 | spl:valueType xsd:string | 90 | spl:valueType xsd:string |
| 91 | ] ; | 91 | ] ; |
| 92 | spin:constraint | 92 | spin:constraint |
| 93 | [ rdf:type spl:Argument ; | 93 | [ rdf:type spl:Argument ; |
| 94 | - spl:predicate sp:arg1 ; | 94 | + spl:predicate sp:arg2 ; |
| 95 | spl:valueType xsd:string | 95 | spl:valueType xsd:string |
| 96 | ] . | 96 | ] . |
| 97 | 97 | ||
| ... | @@ -105,7 +105,7 @@ ep-spin-lib:buildWellBoreURI | ... | @@ -105,7 +105,7 @@ ep-spin-lib:buildWellBoreURI |
| 105 | sp:where ([ rdf:type sp:Bind ; | 105 | sp:where ([ rdf:type sp:Bind ; |
| 106 | sp:expression | 106 | sp:expression |
| 107 | [ rdf:type ep-spin-lib:buildURI ; | 107 | [ rdf:type ep-spin-lib:buildURI ; |
| 108 | - sp:arg1 "https://www.reportinghub.no/ep/data/L_9999/W_9999#" ; | 108 | + sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; |
| 109 | sp:arg2 spin:_arg1 | 109 | sp:arg2 spin:_arg1 |
| 110 | ] ; | 110 | ] ; |
| 111 | sp:variable _:b4 | 111 | sp:variable _:b4 |
| ... | @@ -122,7 +122,7 @@ ep-spin-lib:buildWellURI | ... | @@ -122,7 +122,7 @@ ep-spin-lib:buildWellURI |
| 122 | sp:where ([ rdf:type sp:Bind ; | 122 | sp:where ([ rdf:type sp:Bind ; |
| 123 | sp:expression | 123 | sp:expression |
| 124 | [ rdf:type ep-spin-lib:buildURI ; | 124 | [ rdf:type ep-spin-lib:buildURI ; |
| 125 | - sp:arg1 "https://www.reportinghub.no/ep/data/L_9999#" ; | 125 | + sp:arg1 "https://www.reportinghub.no/ep/data/Well#" ; |
| 126 | sp:arg2 spin:_arg1 | 126 | sp:arg2 spin:_arg1 |
| 127 | ] ; | 127 | ] ; |
| 128 | sp:variable _:b5 | 128 | sp:variable _:b5 |
| ... | @@ -212,9 +212,9 @@ ep-spin-lib:normalizeString | ... | @@ -212,9 +212,9 @@ ep-spin-lib:normalizeString |
| 212 | spl:valueType xsd:string | 212 | spl:valueType xsd:string |
| 213 | ] . | 213 | ] . |
| 214 | 214 | ||
| 215 | -_:b2 sp:varName "uri"^^xsd:string . | 215 | +_:b4 sp:varName "uri"^^xsd:string . |
| 216 | 216 | ||
| 217 | -_:b1 sp:varName "uri"^^xsd:string . | 217 | +_:b5 sp:varName "uri"^^xsd:string . |
| 218 | 218 | ||
| 219 | _:b14 | 219 | _:b14 |
| 220 | sp:varName "t4"^^xsd:string . | 220 | sp:varName "t4"^^xsd:string . |
| ... | @@ -239,8 +239,8 @@ _:b7 sp:varName "s1"^^xsd:string . | ... | @@ -239,8 +239,8 @@ _:b7 sp:varName "s1"^^xsd:string . |
| 239 | 239 | ||
| 240 | _:b6 sp:varName "normalizedStr"^^xsd:string . | 240 | _:b6 sp:varName "normalizedStr"^^xsd:string . |
| 241 | 241 | ||
| 242 | -_:b5 sp:varName "uri"^^xsd:string . | 242 | +_:b3 sp:varName "uri"^^xsd:string . |
| 243 | 243 | ||
| 244 | -_:b4 sp:varName "uri"^^xsd:string . | 244 | +_:b2 sp:varName "uri"^^xsd:string . |
| 245 | 245 | ||
| 246 | -_:b3 sp:varName "uri"^^xsd:string . | 246 | +_:b1 sp:varName "uri"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Tue Aug 02 12:26:59 BST 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 06:33:37 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 Wed Aug 03 07:30:51 BST 2011 | ||
| 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | ||
| 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://spinrdf.org/spin | ||
| 6 | + | ||
| 7 | +@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | ||
| 8 | +@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#> . | ||
| 10 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 11 | +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
| 12 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 13 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 14 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 15 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
| 16 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
| 17 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
| 18 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 19 | + | ||
| 20 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
| 21 | + spin:rule | ||
| 22 | + [ rdf:type sp:Construct ; | ||
| 23 | + rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity and WellBore | ||
| 24 | +Minimum data - createDate, dTimStart, nameWellBore | ||
| 25 | +Add a link from Obj_DrillReport to DailyDrillingReport to support other CONSTRUCT clauses (is this useful?)"""^^xsd:string ; | ||
| 26 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingReport> ; | ||
| 27 | + sp:predicate rdf:type ; | ||
| 28 | + sp:subject _:b1 | ||
| 29 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; | ||
| 30 | + sp:predicate rdf:type ; | ||
| 31 | + sp:subject _:b2 | ||
| 32 | + ] [ sp:object _:b2 ; | ||
| 33 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; | ||
| 34 | + sp:subject _:b1 | ||
| 35 | + ] [ sp:object _:b3 ; | ||
| 36 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; | ||
| 37 | + sp:subject _:b1 | ||
| 38 | + ] [ sp:object _:b4 ; | ||
| 39 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
| 40 | + sp:subject _:b2 | ||
| 41 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
| 42 | + sp:predicate rdf:type ; | ||
| 43 | + sp:subject _:b5 | ||
| 44 | + ] [ sp:object _:b5 ; | ||
| 45 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 46 | + sp:subject _:b2 | ||
| 47 | + ] [ sp:object _:b6 ; | ||
| 48 | + sp:predicate rdfs:label ; | ||
| 49 | + sp:subject _:b5 | ||
| 50 | + ] [ sp:object spin:_this ; | ||
| 51 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#derivedFrom> ; | ||
| 52 | + sp:subject _:b1 | ||
| 53 | + ]) ; | ||
| 54 | + sp:where ([ sp:object _:b6 ; | ||
| 55 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 56 | + sp:subject spin:_this | ||
| 57 | + ] [ sp:object _:b4 ; | ||
| 58 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 59 | + sp:subject spin:_this | ||
| 60 | + ] [ sp:object _:b3 ; | ||
| 61 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
| 62 | + sp:subject spin:_this | ||
| 63 | + ] [ rdf:type sp:Bind ; | ||
| 64 | + sp:expression | ||
| 65 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 66 | + sp:arg1 _:b6 | ||
| 67 | + ] ; | ||
| 68 | + sp:variable _:b7 | ||
| 69 | + ] [ rdf:type sp:Bind ; | ||
| 70 | + sp:expression | ||
| 71 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
| 72 | + sp:arg1 _:b7 ; | ||
| 73 | + sp:arg2 _:b3 | ||
| 74 | + ] ; | ||
| 75 | + sp:variable _:b1 | ||
| 76 | + ] [ rdf:type sp:Bind ; | ||
| 77 | + sp:expression | ||
| 78 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 79 | + sp:arg1 _:b7 ; | ||
| 80 | + sp:arg2 _:b4 | ||
| 81 | + ] ; | ||
| 82 | + sp:variable _:b2 | ||
| 83 | + ] [ rdf:type sp:Bind ; | ||
| 84 | + sp:expression | ||
| 85 | + [ rdf:type ep-spin-lib:buildWellBoreURI ; | ||
| 86 | + sp:arg1 _:b7 | ||
| 87 | + ] ; | ||
| 88 | + sp:variable _:b5 | ||
| 89 | + ]) | ||
| 90 | + ] ; | ||
| 91 | + spin:rule | ||
| 92 | + [ rdf:type sp:Construct ; | ||
| 93 | + rdfs:comment "STEP 106 Transfer distDrill"^^xsd:string ; | ||
| 94 | + sp:templates ([ sp:object _:b8 ; | ||
| 95 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 96 | + sp:subject _:b9 | ||
| 97 | + ]) ; | ||
| 98 | + sp:where ([ sp:object _:b10 ; | ||
| 99 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 100 | + sp:subject spin:_this | ||
| 101 | + ] [ sp:object _:b11 ; | ||
| 102 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 103 | + sp:subject spin:_this | ||
| 104 | + ] [ sp:object _:b12 ; | ||
| 105 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 106 | + sp:subject spin:_this | ||
| 107 | + ] [ sp:object _:b8 ; | ||
| 108 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 109 | + sp:subject _:b12 | ||
| 110 | + ] [ rdf:type sp:Bind ; | ||
| 111 | + sp:expression | ||
| 112 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 113 | + sp:arg1 _:b10 | ||
| 114 | + ] ; | ||
| 115 | + sp:variable _:b13 | ||
| 116 | + ] [ rdf:type sp:Bind ; | ||
| 117 | + sp:expression | ||
| 118 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 119 | + sp:arg1 _:b13 ; | ||
| 120 | + sp:arg2 _:b11 | ||
| 121 | + ] ; | ||
| 122 | + sp:variable _:b9 | ||
| 123 | + ]) | ||
| 124 | + ] ; | ||
| 125 | + spin:rule | ||
| 126 | + [ rdf:type sp:Construct ; | ||
| 127 | + rdfs:comment "STEP 109 Transfer md"^^xsd:string ; | ||
| 128 | + sp:templates ([ sp:object _:b14 ; | ||
| 129 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
| 130 | + sp:subject _:b15 | ||
| 131 | + ]) ; | ||
| 132 | + sp:where ([ sp:object _:b16 ; | ||
| 133 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 134 | + sp:subject spin:_this | ||
| 135 | + ] [ sp:object _:b17 ; | ||
| 136 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 137 | + sp:subject spin:_this | ||
| 138 | + ] [ sp:object _:b18 ; | ||
| 139 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 140 | + sp:subject spin:_this | ||
| 141 | + ] [ sp:object _:b15 ; | ||
| 142 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 143 | + sp:subject _:b19 | ||
| 144 | + ] [ sp:object _:b14 ; | ||
| 145 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
| 146 | + sp:subject _:b18 | ||
| 147 | + ] [ rdf:type sp:Bind ; | ||
| 148 | + sp:expression | ||
| 149 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 150 | + sp:arg1 _:b16 | ||
| 151 | + ] ; | ||
| 152 | + sp:variable _:b20 | ||
| 153 | + ] [ rdf:type sp:Bind ; | ||
| 154 | + sp:expression | ||
| 155 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 156 | + sp:arg1 _:b20 ; | ||
| 157 | + sp:arg2 _:b17 | ||
| 158 | + ] ; | ||
| 159 | + sp:variable _:b19 | ||
| 160 | + ]) | ||
| 161 | + ] ; | ||
| 162 | + spin:rule | ||
| 163 | + [ rdf:type sp:Construct ; | ||
| 164 | + rdfs:comment "STEP 104 Create Well"^^xsd:string ; | ||
| 165 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
| 166 | + sp:predicate rdf:type ; | ||
| 167 | + sp:subject _:b21 | ||
| 168 | + ] [ sp:object _:b22 ; | ||
| 169 | + sp:predicate rdfs:label ; | ||
| 170 | + sp:subject _:b21 | ||
| 171 | + ] [ sp:object _:b21 ; | ||
| 172 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | ||
| 173 | + sp:subject _:b23 | ||
| 174 | + ] [ sp:object _:b24 ; | ||
| 175 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 176 | + sp:subject _:b21 | ||
| 177 | + ]) ; | ||
| 178 | + sp:where ([ sp:object _:b25 ; | ||
| 179 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 180 | + sp:subject spin:_this | ||
| 181 | + ] [ sp:object _:b22 ; | ||
| 182 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
| 183 | + sp:subject spin:_this | ||
| 184 | + ] [ sp:object _:b26 ; | ||
| 185 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 186 | + sp:subject spin:_this | ||
| 187 | + ] [ sp:object _:b24 ; | ||
| 188 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 189 | + sp:subject _:b23 | ||
| 190 | + ] [ rdf:type sp:Bind ; | ||
| 191 | + sp:expression | ||
| 192 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 193 | + sp:arg1 _:b25 | ||
| 194 | + ] ; | ||
| 195 | + sp:variable _:b27 | ||
| 196 | + ] [ rdf:type sp:Bind ; | ||
| 197 | + sp:expression | ||
| 198 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 199 | + sp:arg1 _:b27 ; | ||
| 200 | + sp:arg2 _:b26 | ||
| 201 | + ] ; | ||
| 202 | + sp:variable _:b23 | ||
| 203 | + ] [ rdf:type sp:Bind ; | ||
| 204 | + sp:expression | ||
| 205 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 206 | + sp:arg1 _:b22 | ||
| 207 | + ] ; | ||
| 208 | + sp:variable _:b28 | ||
| 209 | + ] [ rdf:type sp:Bind ; | ||
| 210 | + sp:expression | ||
| 211 | + [ rdf:type ep-spin-lib:buildWellURI ; | ||
| 212 | + sp:arg1 _:b28 | ||
| 213 | + ] ; | ||
| 214 | + sp:variable _:b21 | ||
| 215 | + ]) | ||
| 216 | + ] ; | ||
| 217 | + spin:rule | ||
| 218 | + [ rdf:type sp:Construct ; | ||
| 219 | + rdfs:comment "STEP 107 Transfer sum24Hr"^^xsd:string ; | ||
| 220 | + sp:templates ([ sp:object _:b29 ; | ||
| 221 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 222 | + sp:subject _:b30 | ||
| 223 | + ]) ; | ||
| 224 | + sp:where ([ sp:object _:b31 ; | ||
| 225 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 226 | + sp:subject spin:_this | ||
| 227 | + ] [ sp:object _:b32 ; | ||
| 228 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 229 | + sp:subject spin:_this | ||
| 230 | + ] [ sp:object _:b33 ; | ||
| 231 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 232 | + sp:subject spin:_this | ||
| 233 | + ] [ sp:object _:b29 ; | ||
| 234 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 235 | + sp:subject _:b33 | ||
| 236 | + ] [ rdf:type sp:Bind ; | ||
| 237 | + sp:expression | ||
| 238 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 239 | + sp:arg1 _:b31 | ||
| 240 | + ] ; | ||
| 241 | + sp:variable _:b34 | ||
| 242 | + ] [ rdf:type sp:Bind ; | ||
| 243 | + sp:expression | ||
| 244 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 245 | + sp:arg1 _:b34 ; | ||
| 246 | + sp:arg2 _:b32 | ||
| 247 | + ] ; | ||
| 248 | + sp:variable _:b30 | ||
| 249 | + ]) | ||
| 250 | + ] ; | ||
| 251 | + spin:rule | ||
| 252 | + [ rdf:type sp:Construct ; | ||
| 253 | + rdfs:comment "STEP 105 Transfer ropCurrent"^^xsd:string ; | ||
| 254 | + sp:templates ([ sp:object _:b35 ; | ||
| 255 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
| 256 | + sp:subject _:b36 | ||
| 257 | + ]) ; | ||
| 258 | + sp:where ([ sp:object _:b37 ; | ||
| 259 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 260 | + sp:subject spin:_this | ||
| 261 | + ] [ sp:object _:b38 ; | ||
| 262 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 263 | + sp:subject spin:_this | ||
| 264 | + ] [ sp:object _:b39 ; | ||
| 265 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 266 | + sp:subject spin:_this | ||
| 267 | + ] [ sp:object _:b35 ; | ||
| 268 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
| 269 | + sp:subject _:b39 | ||
| 270 | + ] [ rdf:type sp:Bind ; | ||
| 271 | + sp:expression | ||
| 272 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 273 | + sp:arg1 _:b37 | ||
| 274 | + ] ; | ||
| 275 | + sp:variable _:b40 | ||
| 276 | + ] [ rdf:type sp:Bind ; | ||
| 277 | + sp:expression | ||
| 278 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 279 | + sp:arg1 _:b40 ; | ||
| 280 | + sp:arg2 _:b38 | ||
| 281 | + ] ; | ||
| 282 | + sp:variable _:b36 | ||
| 283 | + ]) | ||
| 284 | + ] ; | ||
| 285 | + spin:rule | ||
| 286 | + [ rdf:type sp:Construct ; | ||
| 287 | + rdfs:comment "STEP 108 Transfer forecast24Hr"^^xsd:string ; | ||
| 288 | + sp:templates ([ sp:object _:b41 ; | ||
| 289 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 290 | + sp:subject _:b42 | ||
| 291 | + ]) ; | ||
| 292 | + sp:where ([ sp:object _:b43 ; | ||
| 293 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 294 | + sp:subject spin:_this | ||
| 295 | + ] [ sp:object _:b44 ; | ||
| 296 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 297 | + sp:subject spin:_this | ||
| 298 | + ] [ sp:object _:b45 ; | ||
| 299 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 300 | + sp:subject spin:_this | ||
| 301 | + ] [ sp:object _:b41 ; | ||
| 302 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 303 | + sp:subject _:b45 | ||
| 304 | + ] [ rdf:type sp:Bind ; | ||
| 305 | + sp:expression | ||
| 306 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 307 | + sp:arg1 _:b43 | ||
| 308 | + ] ; | ||
| 309 | + sp:variable _:b46 | ||
| 310 | + ] [ rdf:type sp:Bind ; | ||
| 311 | + sp:expression | ||
| 312 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 313 | + sp:arg1 _:b46 ; | ||
| 314 | + sp:arg2 _:b44 | ||
| 315 | + ] ; | ||
| 316 | + sp:variable _:b42 | ||
| 317 | + ]) | ||
| 318 | + ] ; | ||
| 319 | + spin:rule | ||
| 320 | + [ rdf:type sp:Construct ; | ||
| 321 | + rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ; | ||
| 322 | + sp:templates ([ sp:object _:b47 ; | ||
| 323 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 324 | + sp:subject _:b48 | ||
| 325 | + ]) ; | ||
| 326 | + sp:where ([ sp:object _:b49 ; | ||
| 327 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 328 | + sp:subject spin:_this | ||
| 329 | + ] [ sp:object _:b50 ; | ||
| 330 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 331 | + sp:subject spin:_this | ||
| 332 | + ] [ sp:object _:b47 ; | ||
| 333 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; | ||
| 334 | + sp:subject spin:_this | ||
| 335 | + ] [ rdf:type sp:Bind ; | ||
| 336 | + sp:expression | ||
| 337 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 338 | + sp:arg1 _:b49 | ||
| 339 | + ] ; | ||
| 340 | + sp:variable _:b51 | ||
| 341 | + ] [ rdf:type sp:Bind ; | ||
| 342 | + sp:expression | ||
| 343 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 344 | + sp:arg1 _:b51 ; | ||
| 345 | + sp:arg2 _:b50 | ||
| 346 | + ] ; | ||
| 347 | + sp:variable _:b48 | ||
| 348 | + ]) | ||
| 349 | + ] . | ||
| 350 | + | ||
| 351 | +<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> | ||
| 352 | + rdf:type owl:Ontology ; | ||
| 353 | + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ; | ||
| 354 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 355 | + | ||
| 356 | +_:b47 | ||
| 357 | + sp:varName "dTimEnd"^^xsd:string . | ||
| 358 | + | ||
| 359 | +_:b48 | ||
| 360 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 361 | + | ||
| 362 | +_:b49 | ||
| 363 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 364 | + | ||
| 365 | +_:b50 | ||
| 366 | + sp:varName "dTimStart"^^xsd:string . | ||
| 367 | + | ||
| 368 | +_:b51 | ||
| 369 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 370 | + | ||
| 371 | +_:b41 | ||
| 372 | + sp:varName "forecast24Hr"^^xsd:string . | ||
| 373 | + | ||
| 374 | +_:b42 | ||
| 375 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 376 | + | ||
| 377 | +_:b43 | ||
| 378 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 379 | + | ||
| 380 | +_:b44 | ||
| 381 | + sp:varName "dTimStart"^^xsd:string . | ||
| 382 | + | ||
| 383 | +_:b45 | ||
| 384 | + sp:varName "statusInfo"^^xsd:string . | ||
| 385 | + | ||
| 386 | +_:b46 | ||
| 387 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 388 | + | ||
| 389 | +_:b35 | ||
| 390 | + sp:varName "ropCurrentValue"^^xsd:string . | ||
| 391 | + | ||
| 392 | +_:b36 | ||
| 393 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 394 | + | ||
| 395 | +_:b37 | ||
| 396 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 397 | + | ||
| 398 | +_:b38 | ||
| 399 | + sp:varName "dTimStart"^^xsd:string . | ||
| 400 | + | ||
| 401 | +_:b39 | ||
| 402 | + sp:varName "statusInfo"^^xsd:string . | ||
| 403 | + | ||
| 404 | +_:b40 | ||
| 405 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 406 | + | ||
| 407 | +_:b29 | ||
| 408 | + sp:varName "sum24Hr"^^xsd:string . | ||
| 409 | + | ||
| 410 | +_:b30 | ||
| 411 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 412 | + | ||
| 413 | +_:b31 | ||
| 414 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 415 | + | ||
| 416 | +_:b32 | ||
| 417 | + sp:varName "dTimStart"^^xsd:string . | ||
| 418 | + | ||
| 419 | +_:b33 | ||
| 420 | + sp:varName "statusInfo"^^xsd:string . | ||
| 421 | + | ||
| 422 | +_:b34 | ||
| 423 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 424 | + | ||
| 425 | +_:b21 | ||
| 426 | + sp:varName "well"^^xsd:string . | ||
| 427 | + | ||
| 428 | +_:b22 | ||
| 429 | + sp:varName "nameWell"^^xsd:string . | ||
| 430 | + | ||
| 431 | +_:b23 | ||
| 432 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 433 | + | ||
| 434 | +_:b24 | ||
| 435 | + sp:varName "wellBore"^^xsd:string . | ||
| 436 | + | ||
| 437 | +_:b25 | ||
| 438 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 439 | + | ||
| 440 | +_:b26 | ||
| 441 | + sp:varName "dTimStart"^^xsd:string . | ||
| 442 | + | ||
| 443 | +_:b27 | ||
| 444 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 445 | + | ||
| 446 | +_:b28 | ||
| 447 | + sp:varName "normalizedWellName"^^xsd:string . | ||
| 448 | + | ||
| 449 | +_:b14 | ||
| 450 | + sp:varName "md"^^xsd:string . | ||
| 451 | + | ||
| 452 | +_:b15 | ||
| 453 | + sp:varName "wellBore"^^xsd:string . | ||
| 454 | + | ||
| 455 | +_:b16 | ||
| 456 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 457 | + | ||
| 458 | +_:b17 | ||
| 459 | + sp:varName "dTimStart"^^xsd:string . | ||
| 460 | + | ||
| 461 | +_:b18 | ||
| 462 | + sp:varName "statusInfo"^^xsd:string . | ||
| 463 | + | ||
| 464 | +_:b19 | ||
| 465 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 466 | + | ||
| 467 | +_:b20 | ||
| 468 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 469 | + | ||
| 470 | +_:b8 sp:varName "distDrill"^^xsd:string . | ||
| 471 | + | ||
| 472 | +_:b9 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 473 | + | ||
| 474 | +_:b10 | ||
| 475 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 476 | + | ||
| 477 | +_:b11 | ||
| 478 | + sp:varName "dTimStart"^^xsd:string . | ||
| 479 | + | ||
| 480 | +_:b12 | ||
| 481 | + sp:varName "statusInfo"^^xsd:string . | ||
| 482 | + | ||
| 483 | +_:b13 | ||
| 484 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 485 | + | ||
| 486 | +_:b1 sp:varName "dailyDrillingReport"^^xsd:string . | ||
| 487 | + | ||
| 488 | +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 489 | + | ||
| 490 | +_:b3 sp:varName "createDate"^^xsd:string . | ||
| 491 | + | ||
| 492 | +_:b4 sp:varName "dTimStart"^^xsd:string . | ||
| 493 | + | ||
| 494 | +_:b5 sp:varName "wellBore"^^xsd:string . | ||
| 495 | + | ||
| 496 | +_:b6 sp:varName "nameWellBore"^^xsd:string . | ||
| 497 | + | ||
| 498 | +_:b7 sp:varName "normalizedWellBoreName"^^xsd:string . |
| 1 | +# Saved by TopBraid on Wed Aug 03 07:30:51 BST 2011 | ||
| 2 | +# baseURI: null | ||
| 3 | + | ||
| 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
| 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
| 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
| 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 10 | +@prefix visual: <http://topbraid.org/visual#> . | ||
| 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 12 | + | ||
| 13 | +[] rdf:type inference:Configuration ; | ||
| 14 | + composite:child | ||
| 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
| 16 | + <http://spinrdf.org/spin#topSPINOptions> | ||
| 17 | + "singlePass" ; | ||
| 18 | + composite:index "0"^^xsd:int | ||
| 19 | + ] . |
| 1 | -# Saved by TopBraid on Tue Aug 02 17:04:28 BST 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011 |
| 2 | -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization | 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization |
| 3 | -# imports: file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml | 3 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
| 4 | -# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
| 5 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
| 6 | # imports: http://spinrdf.org/spin | 4 | # imports: http://spinrdf.org/spin |
| 7 | 5 | ||
| 8 | -@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | 6 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . |
| 9 | -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | ||
| 10 | -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | ||
| 11 | -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 12 | -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
| 13 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 14 | @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#> . |
| 15 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| ... | @@ -18,398 +12,7 @@ | ... | @@ -18,398 +12,7 @@ |
| 18 | @prefix spl: <http://spinrdf.org/spl#> . | 12 | @prefix spl: <http://spinrdf.org/spl#> . |
| 19 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 13 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 20 | 14 | ||
| 21 | -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | 15 | +<http://www.reportinghub.no/ep/transform/1.1/normalization> |
| 22 | - spin:rule | ||
| 23 | - [ rdf:type sp:Construct ; | ||
| 24 | - rdfs:comment "STEP 106 Transfer md"^^xsd:string ; | ||
| 25 | - sp:templates ([ sp:object _:b1 ; | ||
| 26 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
| 27 | - sp:subject _:b2 | ||
| 28 | - ]) ; | ||
| 29 | - sp:where ([ sp:object _:b3 ; | ||
| 30 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 31 | - sp:subject spin:_this | ||
| 32 | - ] [ sp:object _:b4 ; | ||
| 33 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 34 | - sp:subject spin:_this | ||
| 35 | - ] [ sp:object _:b5 ; | ||
| 36 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 37 | - sp:subject spin:_this | ||
| 38 | - ] [ sp:object _:b2 ; | ||
| 39 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 40 | - sp:subject _:b6 | ||
| 41 | - ] [ sp:object _:b1 ; | ||
| 42 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasMd> ; | ||
| 43 | - sp:subject _:b5 | ||
| 44 | - ] [ rdf:type sp:Bind ; | ||
| 45 | - sp:expression | ||
| 46 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 47 | - sp:arg1 _:b3 | ||
| 48 | - ] ; | ||
| 49 | - sp:variable _:b7 | ||
| 50 | - ] [ rdf:type sp:Bind ; | ||
| 51 | - sp:expression | ||
| 52 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 53 | - sp:arg1 _:b7 ; | ||
| 54 | - sp:arg2 _:b4 | ||
| 55 | - ] ; | ||
| 56 | - sp:variable _:b6 | ||
| 57 | - ]) | ||
| 58 | - ] ; | ||
| 59 | - spin:rule | ||
| 60 | - [ rdf:type sp:Construct ; | ||
| 61 | - rdfs:comment "STEP 105 Transfer forecast24Hr"^^xsd:string ; | ||
| 62 | - sp:templates ([ sp:object _:b8 ; | ||
| 63 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 64 | - sp:subject _:b9 | ||
| 65 | - ]) ; | ||
| 66 | - sp:where ([ sp:object _:b10 ; | ||
| 67 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 68 | - sp:subject spin:_this | ||
| 69 | - ] [ sp:object _:b11 ; | ||
| 70 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 71 | - sp:subject spin:_this | ||
| 72 | - ] [ sp:object _:b12 ; | ||
| 73 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 74 | - sp:subject spin:_this | ||
| 75 | - ] [ sp:object _:b8 ; | ||
| 76 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#forecast24Hr> ; | ||
| 77 | - sp:subject _:b12 | ||
| 78 | - ] [ rdf:type sp:Bind ; | ||
| 79 | - sp:expression | ||
| 80 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 81 | - sp:arg1 _:b10 | ||
| 82 | - ] ; | ||
| 83 | - sp:variable _:b13 | ||
| 84 | - ] [ rdf:type sp:Bind ; | ||
| 85 | - sp:expression | ||
| 86 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 87 | - sp:arg1 _:b13 ; | ||
| 88 | - sp:arg2 _:b11 | ||
| 89 | - ] ; | ||
| 90 | - sp:variable _:b9 | ||
| 91 | - ]) | ||
| 92 | - ] ; | ||
| 93 | - spin:rule | ||
| 94 | - [ rdf:type sp:Construct ; | ||
| 95 | - rdfs:comment """STEP 101 Make DailyDrillingReport, DailyDrillingActivity, Well and WellBore instances | ||
| 96 | -Add a link from Obj_DrillReport to DailyDrillingReport to support other CONSTRUCT clauses"""^^xsd:string ; | ||
| 97 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingReport> ; | ||
| 98 | - sp:predicate rdf:type ; | ||
| 99 | - sp:subject _:b14 | ||
| 100 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; | ||
| 101 | - sp:predicate rdf:type ; | ||
| 102 | - sp:subject _:b15 | ||
| 103 | - ] [ sp:object _:b15 ; | ||
| 104 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; | ||
| 105 | - sp:subject _:b14 | ||
| 106 | - ] [ sp:object _:b16 ; | ||
| 107 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; | ||
| 108 | - sp:subject _:b14 | ||
| 109 | - ] [ sp:object _:b17 ; | ||
| 110 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
| 111 | - sp:subject _:b15 | ||
| 112 | - ] [ sp:object _:b18 ; | ||
| 113 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 114 | - sp:subject _:b15 | ||
| 115 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
| 116 | - sp:predicate rdf:type ; | ||
| 117 | - sp:subject _:b19 | ||
| 118 | - ] [ sp:object _:b19 ; | ||
| 119 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 120 | - sp:subject _:b15 | ||
| 121 | - ] [ sp:object _:b20 ; | ||
| 122 | - sp:predicate rdfs:label ; | ||
| 123 | - sp:subject _:b19 | ||
| 124 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
| 125 | - sp:predicate rdf:type ; | ||
| 126 | - sp:subject _:b21 | ||
| 127 | - ] [ sp:object _:b22 ; | ||
| 128 | - sp:predicate rdfs:label ; | ||
| 129 | - sp:subject _:b21 | ||
| 130 | - ] [ sp:object _:b19 ; | ||
| 131 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 132 | - sp:subject _:b21 | ||
| 133 | - ] [ sp:object spin:_this ; | ||
| 134 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#derivedFrom> ; | ||
| 135 | - sp:subject _:b14 | ||
| 136 | - ]) ; | ||
| 137 | - sp:where ([ sp:object _:b20 ; | ||
| 138 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 139 | - sp:subject spin:_this | ||
| 140 | - ] [ sp:object _:b22 ; | ||
| 141 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
| 142 | - sp:subject spin:_this | ||
| 143 | - ] [ sp:object _:b17 ; | ||
| 144 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 145 | - sp:subject spin:_this | ||
| 146 | - ] [ sp:object _:b18 ; | ||
| 147 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; | ||
| 148 | - sp:subject spin:_this | ||
| 149 | - ] [ sp:object _:b16 ; | ||
| 150 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | ||
| 151 | - sp:subject spin:_this | ||
| 152 | - ] [ rdf:type sp:Bind ; | ||
| 153 | - sp:expression | ||
| 154 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 155 | - sp:arg1 _:b20 | ||
| 156 | - ] ; | ||
| 157 | - sp:variable _:b23 | ||
| 158 | - ] [ rdf:type sp:Bind ; | ||
| 159 | - sp:expression | ||
| 160 | - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | ||
| 161 | - sp:arg1 _:b23 ; | ||
| 162 | - sp:arg2 _:b16 | ||
| 163 | - ] ; | ||
| 164 | - sp:variable _:b14 | ||
| 165 | - ] [ rdf:type sp:Bind ; | ||
| 166 | - sp:expression | ||
| 167 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 168 | - sp:arg1 _:b23 ; | ||
| 169 | - sp:arg2 _:b17 | ||
| 170 | - ] ; | ||
| 171 | - sp:variable _:b15 | ||
| 172 | - ] [ rdf:type sp:Bind ; | ||
| 173 | - sp:expression | ||
| 174 | - [ rdf:type ep-spin-lib:buildWellBoreURI ; | ||
| 175 | - sp:arg1 _:b23 | ||
| 176 | - ] ; | ||
| 177 | - sp:variable _:b19 | ||
| 178 | - ] [ rdf:type sp:Bind ; | ||
| 179 | - sp:expression | ||
| 180 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 181 | - sp:arg1 _:b22 | ||
| 182 | - ] ; | ||
| 183 | - sp:variable _:b24 | ||
| 184 | - ] [ rdf:type sp:Bind ; | ||
| 185 | - sp:expression | ||
| 186 | - [ rdf:type ep-spin-lib:buildWellURI ; | ||
| 187 | - sp:arg1 _:b24 | ||
| 188 | - ] ; | ||
| 189 | - sp:variable _:b21 | ||
| 190 | - ]) | ||
| 191 | - ] ; | ||
| 192 | - spin:rule | ||
| 193 | - [ rdf:type sp:Construct ; | ||
| 194 | - rdfs:comment "STEP 103 Transfer distDrill"^^xsd:string ; | ||
| 195 | - sp:templates ([ sp:object _:b25 ; | ||
| 196 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 197 | - sp:subject _:b26 | ||
| 198 | - ]) ; | ||
| 199 | - sp:where ([ sp:object _:b27 ; | ||
| 200 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 201 | - sp:subject spin:_this | ||
| 202 | - ] [ sp:object _:b28 ; | ||
| 203 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 204 | - sp:subject spin:_this | ||
| 205 | - ] [ sp:object _:b29 ; | ||
| 206 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 207 | - sp:subject spin:_this | ||
| 208 | - ] [ sp:object _:b25 ; | ||
| 209 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasDistDrill> ; | ||
| 210 | - sp:subject _:b29 | ||
| 211 | - ] [ rdf:type sp:Bind ; | ||
| 212 | - sp:expression | ||
| 213 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 214 | - sp:arg1 _:b27 | ||
| 215 | - ] ; | ||
| 216 | - sp:variable _:b30 | ||
| 217 | - ] [ rdf:type sp:Bind ; | ||
| 218 | - sp:expression | ||
| 219 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 220 | - sp:arg1 _:b30 ; | ||
| 221 | - sp:arg2 _:b28 | ||
| 222 | - ] ; | ||
| 223 | - sp:variable _:b26 | ||
| 224 | - ]) | ||
| 225 | - ] ; | ||
| 226 | - spin:rule | ||
| 227 | - [ rdf:type sp:Construct ; | ||
| 228 | - rdfs:comment "STEP 102 Transfer ropCurrent"^^xsd:string ; | ||
| 229 | - sp:templates ([ sp:object _:b31 ; | ||
| 230 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
| 231 | - sp:subject _:b32 | ||
| 232 | - ]) ; | ||
| 233 | - sp:where ([ sp:object _:b33 ; | ||
| 234 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 235 | - sp:subject spin:_this | ||
| 236 | - ] [ sp:object _:b34 ; | ||
| 237 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 238 | - sp:subject spin:_this | ||
| 239 | - ] [ sp:object _:b35 ; | ||
| 240 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 241 | - sp:subject spin:_this | ||
| 242 | - ] [ sp:object _:b31 ; | ||
| 243 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasRopCurrent> ; | ||
| 244 | - sp:subject _:b35 | ||
| 245 | - ] [ rdf:type sp:Bind ; | ||
| 246 | - sp:expression | ||
| 247 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 248 | - sp:arg1 _:b33 | ||
| 249 | - ] ; | ||
| 250 | - sp:variable _:b36 | ||
| 251 | - ] [ rdf:type sp:Bind ; | ||
| 252 | - sp:expression | ||
| 253 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 254 | - sp:arg1 _:b36 ; | ||
| 255 | - sp:arg2 _:b34 | ||
| 256 | - ] ; | ||
| 257 | - sp:variable _:b32 | ||
| 258 | - ]) | ||
| 259 | - ] ; | ||
| 260 | - spin:rule | ||
| 261 | - [ rdf:type sp:Construct ; | ||
| 262 | - rdfs:comment "STEP 104 Transfer sum24Hr"^^xsd:string ; | ||
| 263 | - sp:templates ([ sp:object _:b37 ; | ||
| 264 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 265 | - sp:subject _:b38 | ||
| 266 | - ]) ; | ||
| 267 | - sp:where ([ sp:object _:b39 ; | ||
| 268 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 269 | - sp:subject spin:_this | ||
| 270 | - ] [ sp:object _:b40 ; | ||
| 271 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 272 | - sp:subject spin:_this | ||
| 273 | - ] [ sp:object _:b41 ; | ||
| 274 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#hasStatusInfo> ; | ||
| 275 | - sp:subject spin:_this | ||
| 276 | - ] [ sp:object _:b37 ; | ||
| 277 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#sum24Hr> ; | ||
| 278 | - sp:subject _:b41 | ||
| 279 | - ] [ rdf:type sp:Bind ; | ||
| 280 | - sp:expression | ||
| 281 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 282 | - sp:arg1 _:b39 | ||
| 283 | - ] ; | ||
| 284 | - sp:variable _:b42 | ||
| 285 | - ] [ rdf:type sp:Bind ; | ||
| 286 | - sp:expression | ||
| 287 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 288 | - sp:arg1 _:b42 ; | ||
| 289 | - sp:arg2 _:b40 | ||
| 290 | - ] ; | ||
| 291 | - sp:variable _:b38 | ||
| 292 | - ]) | ||
| 293 | - ] . | ||
| 294 | - | ||
| 295 | -<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization> | ||
| 296 | rdf:type owl:Ontology ; | 16 | rdf:type owl:Ontology ; |
| 297 | - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> ; | 17 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> ; |
| 298 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 18 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 299 | - | ||
| 300 | -_:b33 | ||
| 301 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 302 | - | ||
| 303 | -_:b34 | ||
| 304 | - sp:varName "dTimStart"^^xsd:string . | ||
| 305 | - | ||
| 306 | -_:b35 | ||
| 307 | - sp:varName "statusInfo"^^xsd:string . | ||
| 308 | - | ||
| 309 | -_:b31 | ||
| 310 | - sp:varName "ropCurrentValue"^^xsd:string . | ||
| 311 | - | ||
| 312 | -_:b36 | ||
| 313 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 314 | - | ||
| 315 | -_:b32 | ||
| 316 | - sp:varName "dailyDrillingActivityURI"^^xsd:string . | ||
| 317 | - | ||
| 318 | -_:b39 | ||
| 319 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 320 | - | ||
| 321 | -_:b40 | ||
| 322 | - sp:varName "dTimStart"^^xsd:string . | ||
| 323 | - | ||
| 324 | -_:b41 | ||
| 325 | - sp:varName "statusInfo"^^xsd:string . | ||
| 326 | - | ||
| 327 | -_:b37 | ||
| 328 | - sp:varName "sum24Hr"^^xsd:string . | ||
| 329 | - | ||
| 330 | -_:b42 | ||
| 331 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 332 | - | ||
| 333 | -_:b38 | ||
| 334 | - sp:varName "dailyDrillingActivityURI"^^xsd:string . | ||
| 335 | - | ||
| 336 | -_:b27 | ||
| 337 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 338 | - | ||
| 339 | -_:b28 | ||
| 340 | - sp:varName "dTimStart"^^xsd:string . | ||
| 341 | - | ||
| 342 | -_:b29 | ||
| 343 | - sp:varName "statusInfo"^^xsd:string . | ||
| 344 | - | ||
| 345 | -_:b25 | ||
| 346 | - sp:varName "distDrill"^^xsd:string . | ||
| 347 | - | ||
| 348 | -_:b30 | ||
| 349 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 350 | - | ||
| 351 | -_:b26 | ||
| 352 | - sp:varName "dailyDrillingActivityURI"^^xsd:string . | ||
| 353 | - | ||
| 354 | -_:b10 | ||
| 355 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 356 | - | ||
| 357 | -_:b11 | ||
| 358 | - sp:varName "dTimStart"^^xsd:string . | ||
| 359 | - | ||
| 360 | -_:b12 | ||
| 361 | - sp:varName "statusInfo"^^xsd:string . | ||
| 362 | - | ||
| 363 | -_:b8 sp:varName "forecast24Hr"^^xsd:string . | ||
| 364 | - | ||
| 365 | -_:b13 | ||
| 366 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 367 | - | ||
| 368 | -_:b9 sp:varName "dailyDrillingActivityURI"^^xsd:string . | ||
| 369 | - | ||
| 370 | -_:b20 | ||
| 371 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 372 | - | ||
| 373 | -_:b22 | ||
| 374 | - sp:varName "nameWell"^^xsd:string . | ||
| 375 | - | ||
| 376 | -_:b17 | ||
| 377 | - sp:varName "dTimStart"^^xsd:string . | ||
| 378 | - | ||
| 379 | -_:b18 | ||
| 380 | - sp:varName "dTimEnd"^^xsd:string . | ||
| 381 | - | ||
| 382 | -_:b16 | ||
| 383 | - sp:varName "createDate"^^xsd:string . | ||
| 384 | - | ||
| 385 | -_:b23 | ||
| 386 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 387 | - | ||
| 388 | -_:b14 | ||
| 389 | - sp:varName "dailyDrillingReportURI"^^xsd:string . | ||
| 390 | - | ||
| 391 | -_:b15 | ||
| 392 | - sp:varName "dailyDrillingActivityURI"^^xsd:string . | ||
| 393 | - | ||
| 394 | -_:b19 | ||
| 395 | - sp:varName "normalizedWellBoreNameU"^^xsd:string . | ||
| 396 | - | ||
| 397 | -_:b24 | ||
| 398 | - sp:varName "normalizedWellName"^^xsd:string . | ||
| 399 | - | ||
| 400 | -_:b21 | ||
| 401 | - sp:varName "normalizedWellNameU"^^xsd:string . | ||
| 402 | - | ||
| 403 | -_:b3 sp:varName "nameWellBore"^^xsd:string . | ||
| 404 | - | ||
| 405 | -_:b4 sp:varName "dTimStart"^^xsd:string . | ||
| 406 | - | ||
| 407 | -_:b5 sp:varName "statusInfo"^^xsd:string . | ||
| 408 | - | ||
| 409 | -_:b6 sp:varName "dailyDrillingActivityURI"^^xsd:string . | ||
| 410 | - | ||
| 411 | -_:b2 sp:varName "normalizedWellBoreNameU"^^xsd:string . | ||
| 412 | - | ||
| 413 | -_:b1 sp:varName "md"^^xsd:string . | ||
| 414 | - | ||
| 415 | -_:b7 sp:varName "normalizedWellBoreName"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Tue Aug 02 17:04:28 BST 2011 | 1 | +# Saved by TopBraid on Wed Aug 03 07:44:47 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#> . |
| ... | @@ -13,7 +13,5 @@ | ... | @@ -13,7 +13,5 @@ |
| 13 | [] rdf:type inference:Configuration ; | 13 | [] rdf:type inference:Configuration ; |
| 14 | composite:child | 14 | composite:child |
| 15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
| 16 | - <http://spinrdf.org/spin#topSPINOptions> | ||
| 17 | - "singlePass" ; | ||
| 18 | composite:index "0"^^xsd:int | 16 | composite:index "0"^^xsd:int |
| 19 | ] . | 17 | ] . | ... | ... |
-
Please register or login to post a comment