Showing
3 changed files
with
161 additions
and
185 deletions
This diff could not be displayed because it is too large.
| 1 | -<<<<<<< HEAD | ||
| 2 | -<<<<<<< HEAD | ||
| 3 | -# Saved by TopBraid on Sat Oct 08 13:36:59 BST 2011 | ||
| 4 | -======= | ||
| 5 | -# Saved by TopBraid on Sat Oct 08 09:52:24 BST 2011 | ||
| 6 | ->>>>>>> DL_work_on_DPR | ||
| 7 | -======= | ||
| 8 | -# Saved by TopBraid on Sun Oct 09 09:00:17 BST 2011 | ||
| 9 | ->>>>>>> DL_work_on_DPR | ||
| 10 | -# baseURI: null | ||
| 11 | - | ||
| 12 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
| 13 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
| 14 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
| 15 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 16 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 17 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 18 | -@prefix visual: <http://topbraid.org/visual#> . | ||
| 19 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 20 | - | ||
| 21 | -[] rdf:type inference:Configuration ; | ||
| 22 | - composite:child | ||
| 23 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
| 24 | - composite:index "0"^^xsd:int | ||
| 25 | - ] . |
| 1 | -# Saved by TopBraid on Sun Oct 09 09:56:38 BST 2011 | 1 | +# Saved by TopBraid on Sun Oct 09 10:17:22 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume |
| 3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib |
| 4 | # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | 4 | # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib |
| 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
| 6 | # imports: http://spinrdf.org/spin | 7 | # imports: http://spinrdf.org/spin |
| 7 | # imports: http://www.witsml.org/schemas/131/addendum/combo | 8 | # imports: http://www.witsml.org/schemas/131/addendum/combo |
| ... | @@ -19,152 +20,97 @@ | ... | @@ -19,152 +20,97 @@ |
| 19 | 20 | ||
| 20 | <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> | 21 | <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> |
| 21 | rdf:type owl:Ontology ; | 22 | rdf:type owl:Ontology ; |
| 22 | - owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> ; | 23 | + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; |
| 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 24 | 25 | ||
| 25 | <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> | 26 | <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> |
| 26 | spin:rule | 27 | spin:rule |
| 27 | [ rdf:type sp:Construct ; | 28 | [ rdf:type sp:Construct ; |
| 28 | - rdfs:comment """STEP 20101 Record the Facility that has the flows | ||
| 29 | -Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 30 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 31 | - sp:predicate rdf:type ; | ||
| 32 | - sp:subject _:b1 | ||
| 33 | - ] [ sp:object _:b2 ; | ||
| 34 | - sp:predicate rdf:type ; | ||
| 35 | - sp:subject _:b1 | ||
| 36 | - ] [ sp:object _:b3 ; | ||
| 37 | - sp:predicate rdfs:label ; | ||
| 38 | - sp:subject _:b1 | ||
| 39 | - ]) ; | ||
| 40 | - sp:where ([ sp:object _:b4 ; | ||
| 41 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 42 | - sp:subject spin:_this | ||
| 43 | - ] [ sp:object _:b5 ; | ||
| 44 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | ||
| 45 | - sp:subject _:b4 | ||
| 46 | - ] [ sp:object _:b3 ; | ||
| 47 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 48 | - sp:subject _:b5 | ||
| 49 | - ] [ rdf:type sp:Optional ; | ||
| 50 | - sp:elements ([ sp:object | ||
| 51 | - [ sp:varName "facilityNamingSystem"^^xsd:string | ||
| 52 | - ] ; | ||
| 53 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | ||
| 54 | - sp:subject _:b5 | ||
| 55 | - ]) | ||
| 56 | - ] [ rdf:type sp:Optional ; | ||
| 57 | - sp:elements ([ sp:object _:b6 ; | ||
| 58 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 59 | - sp:subject _:b5 | ||
| 60 | - ]) | ||
| 61 | - ] [ rdf:type sp:Bind ; | ||
| 62 | - sp:expression | ||
| 63 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 64 | - sp:arg1 _:b3 | ||
| 65 | - ] ; | ||
| 66 | - sp:variable _:b7 | ||
| 67 | - ] [ rdf:type sp:Bind ; | ||
| 68 | - sp:expression | ||
| 69 | - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 70 | - sp:arg1 _:b7 | ||
| 71 | - ] ; | ||
| 72 | - sp:variable _:b1 | ||
| 73 | - ] [ rdf:type sp:Bind ; | ||
| 74 | - sp:expression | ||
| 75 | - [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 76 | - sp:arg1 _:b6 | ||
| 77 | - ] ; | ||
| 78 | - sp:variable _:b2 | ||
| 79 | - ]) | ||
| 80 | - ] ; | ||
| 81 | - spin:rule | ||
| 82 | - [ rdf:type sp:Construct ; | ||
| 83 | rdfs:comment "STEP 20102 record the flows"^^xsd:string ; | 29 | rdfs:comment "STEP 20102 record the flows"^^xsd:string ; |
| 84 | - sp:templates ([ sp:object _:b8 ; | 30 | + sp:templates ([ sp:object _:b1 ; |
| 85 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 31 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
| 86 | - sp:subject _:b9 | 32 | + sp:subject _:b2 |
| 87 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 33 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 88 | sp:predicate rdf:type ; | 34 | sp:predicate rdf:type ; |
| 89 | - sp:subject _:b8 | 35 | + sp:subject _:b1 |
| 90 | - ] [ sp:object _:b10 ; | 36 | + ] [ sp:object _:b3 ; |
| 91 | sp:predicate rdf:type ; | 37 | sp:predicate rdf:type ; |
| 92 | - sp:subject _:b8 | 38 | + sp:subject _:b1 |
| 93 | ] [ sp:object | 39 | ] [ sp:object |
| 94 | [ sp:varName "productionFlowType"^^xsd:string | 40 | [ sp:varName "productionFlowType"^^xsd:string |
| 95 | ] ; | 41 | ] ; |
| 96 | sp:predicate rdf:type ; | 42 | sp:predicate rdf:type ; |
| 97 | - sp:subject _:b8 | 43 | + sp:subject _:b1 |
| 98 | - ] [ sp:object _:b11 ; | 44 | + ] [ sp:object _:b4 ; |
| 99 | sp:predicate rdfs:label ; | 45 | sp:predicate rdfs:label ; |
| 100 | - sp:subject _:b8 | 46 | + sp:subject _:b1 |
| 101 | ]) ; | 47 | ]) ; |
| 102 | - sp:where ([ sp:object _:b12 ; | 48 | + sp:where ([ sp:object _:b5 ; |
| 103 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | 49 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; |
| 104 | sp:subject spin:_this | 50 | sp:subject spin:_this |
| 105 | - ] [ sp:object _:b13 ; | 51 | + ] [ sp:object _:b6 ; |
| 106 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 52 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 107 | - sp:subject _:b12 | 53 | + sp:subject _:b5 |
| 108 | - ] [ sp:object _:b14 ; | 54 | + ] [ sp:object _:b7 ; |
| 109 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 55 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 110 | - sp:subject _:b13 | 56 | + sp:subject _:b6 |
| 111 | - ] [ sp:object _:b15 ; | 57 | + ] [ sp:object _:b8 ; |
| 112 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | 58 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; |
| 113 | - sp:subject _:b12 | 59 | + sp:subject _:b5 |
| 114 | - ] [ sp:object _:b11 ; | 60 | + ] [ sp:object _:b4 ; |
| 115 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | 61 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; |
| 116 | - sp:subject _:b15 | 62 | + sp:subject _:b8 |
| 117 | - ] [ sp:object _:b16 ; | 63 | + ] [ sp:object _:b9 ; |
| 118 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 64 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 119 | - sp:subject _:b15 | 65 | + sp:subject _:b8 |
| 120 | ] [ rdf:type sp:Optional ; | 66 | ] [ rdf:type sp:Optional ; |
| 121 | sp:elements ([ sp:object | 67 | sp:elements ([ sp:object |
| 122 | [ sp:varName "flowDirection"^^xsd:string | 68 | [ sp:varName "flowDirection"^^xsd:string |
| 123 | ] ; | 69 | ] ; |
| 124 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | 70 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; |
| 125 | - sp:subject _:b15 | 71 | + sp:subject _:b8 |
| 126 | ]) | 72 | ]) |
| 127 | ] [ rdf:type sp:Optional ; | 73 | ] [ rdf:type sp:Optional ; |
| 128 | sp:elements ([ sp:object | 74 | sp:elements ([ sp:object |
| 129 | [ sp:varName "flowQualifier"^^xsd:string | 75 | [ sp:varName "flowQualifier"^^xsd:string |
| 130 | ] ; | 76 | ] ; |
| 131 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | 77 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; |
| 132 | - sp:subject _:b15 | 78 | + sp:subject _:b8 |
| 133 | ]) | 79 | ]) |
| 134 | ] [ rdf:type sp:Bind ; | 80 | ] [ rdf:type sp:Bind ; |
| 135 | sp:expression | 81 | sp:expression |
| 136 | [ rdf:type ep-spin-lib:normalizeString ; | 82 | [ rdf:type ep-spin-lib:normalizeString ; |
| 137 | - sp:arg1 _:b14 | 83 | + sp:arg1 _:b7 |
| 138 | ] ; | 84 | ] ; |
| 139 | - sp:variable _:b17 | 85 | + sp:variable _:b10 |
| 140 | ] [ rdf:type sp:Bind ; | 86 | ] [ rdf:type sp:Bind ; |
| 141 | sp:expression | 87 | sp:expression |
| 142 | - [ rdf:type ep-spin-lib:buildProductionFacilityURI ; | 88 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; |
| 143 | - sp:arg1 _:b17 | 89 | + sp:arg1 _:b10 |
| 144 | ] ; | 90 | ] ; |
| 145 | - sp:variable _:b9 | 91 | + sp:variable _:b2 |
| 146 | ] [ rdf:type sp:Bind ; | 92 | ] [ rdf:type sp:Bind ; |
| 147 | sp:expression | 93 | sp:expression |
| 148 | [ rdf:type ep-spin-lib:normalizeString ; | 94 | [ rdf:type ep-spin-lib:normalizeString ; |
| 149 | - sp:arg1 _:b11 | 95 | + sp:arg1 _:b4 |
| 150 | ] ; | 96 | ] ; |
| 151 | - sp:variable _:b18 | 97 | + sp:variable _:b11 |
| 152 | ] [ rdf:type sp:Bind ; | 98 | ] [ rdf:type sp:Bind ; |
| 153 | sp:expression | 99 | sp:expression |
| 154 | [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | 100 | [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; |
| 155 | - sp:arg1 _:b18 | 101 | + sp:arg1 _:b11 |
| 156 | ] ; | 102 | ] ; |
| 157 | - sp:variable _:b8 | 103 | + sp:variable _:b1 |
| 158 | ] [ rdf:type sp:Bind ; | 104 | ] [ rdf:type sp:Bind ; |
| 159 | sp:expression | 105 | sp:expression |
| 160 | [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ; | 106 | [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ; |
| 161 | - sp:arg1 _:b16 | 107 | + sp:arg1 _:b9 |
| 162 | ] ; | 108 | ] ; |
| 163 | - sp:variable _:b10 | 109 | + sp:variable _:b3 |
| 164 | ] [ rdf:type sp:Bind ; | 110 | ] [ rdf:type sp:Bind ; |
| 165 | sp:expression | 111 | sp:expression |
| 166 | [ rdf:type ep-dpr-spin-lib:selectProductionFlowQualifierType ; | 112 | [ rdf:type ep-dpr-spin-lib:selectProductionFlowQualifierType ; |
| 167 | - sp:arg1 _:b16 | 113 | + sp:arg1 _:b9 |
| 168 | ] ; | 114 | ] ; |
| 169 | sp:variable | 115 | sp:variable |
| 170 | [ sp:varName "productionFlowQualitierType"^^xsd:string | 116 | [ sp:varName "productionFlowQualitierType"^^xsd:string |
| ... | @@ -175,199 +121,254 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -175,199 +121,254 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 175 | [ rdf:type sp:Construct ; | 121 | [ rdf:type sp:Construct ; |
| 176 | rdfs:comment "STEP 9999 stream of conciousness"^^xsd:string ; | 122 | rdfs:comment "STEP 9999 stream of conciousness"^^xsd:string ; |
| 177 | sp:templates () ; | 123 | sp:templates () ; |
| 178 | - sp:where ([ sp:object _:b19 ; | 124 | + sp:where ([ sp:object _:b12 ; |
| 179 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | 125 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; |
| 180 | sp:subject spin:_this | 126 | sp:subject spin:_this |
| 181 | - ] [ sp:object _:b20 ; | 127 | + ] [ sp:object _:b13 ; |
| 182 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 128 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 183 | - sp:subject _:b19 | 129 | + sp:subject _:b12 |
| 184 | ] [ sp:object | 130 | ] [ sp:object |
| 185 | [ sp:varName "facilityName"^^xsd:string | 131 | [ sp:varName "facilityName"^^xsd:string |
| 186 | ] ; | 132 | ] ; |
| 187 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 133 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 188 | - sp:subject _:b20 | 134 | + sp:subject _:b13 |
| 189 | ] [ rdf:type sp:Optional ; | 135 | ] [ rdf:type sp:Optional ; |
| 190 | sp:elements ([ sp:object | 136 | sp:elements ([ sp:object |
| 191 | [ sp:varName "facilityNamingSystem"^^xsd:string | 137 | [ sp:varName "facilityNamingSystem"^^xsd:string |
| 192 | ] ; | 138 | ] ; |
| 193 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | 139 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; |
| 194 | - sp:subject _:b20 | 140 | + sp:subject _:b13 |
| 195 | ]) | 141 | ]) |
| 196 | ] [ rdf:type sp:Optional ; | 142 | ] [ rdf:type sp:Optional ; |
| 197 | sp:elements ([ sp:object | 143 | sp:elements ([ sp:object |
| 198 | [ sp:varName "facilityKind"^^xsd:string | 144 | [ sp:varName "facilityKind"^^xsd:string |
| 199 | ] ; | 145 | ] ; |
| 200 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 146 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 201 | - sp:subject _:b20 | 147 | + sp:subject _:b13 |
| 202 | ]) | 148 | ]) |
| 203 | - ] [ sp:object _:b21 ; | 149 | + ] [ sp:object _:b14 ; |
| 204 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | 150 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; |
| 205 | - sp:subject _:b19 | 151 | + sp:subject _:b12 |
| 206 | ] [ sp:object | 152 | ] [ sp:object |
| 207 | [ sp:varName "flowName"^^xsd:string | 153 | [ sp:varName "flowName"^^xsd:string |
| 208 | ] ; | 154 | ] ; |
| 209 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | 155 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; |
| 210 | - sp:subject _:b21 | 156 | + sp:subject _:b14 |
| 211 | ] [ sp:object | 157 | ] [ sp:object |
| 212 | [ sp:varName "flowKind"^^xsd:string | 158 | [ sp:varName "flowKind"^^xsd:string |
| 213 | ] ; | 159 | ] ; |
| 214 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 160 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 215 | - sp:subject _:b21 | 161 | + sp:subject _:b14 |
| 216 | ] [ sp:object | 162 | ] [ sp:object |
| 217 | [ sp:varName "flowDirection"^^xsd:string | 163 | [ sp:varName "flowDirection"^^xsd:string |
| 218 | ] ; | 164 | ] ; |
| 219 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | 165 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; |
| 220 | - sp:subject _:b21 | 166 | + sp:subject _:b14 |
| 221 | ] [ sp:object | 167 | ] [ sp:object |
| 222 | [ sp:varName "flowQualifier"^^xsd:string | 168 | [ sp:varName "flowQualifier"^^xsd:string |
| 223 | ] ; | 169 | ] ; |
| 224 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | 170 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; |
| 225 | - sp:subject _:b21 | 171 | + sp:subject _:b14 |
| 226 | - ] [ sp:object _:b22 ; | 172 | + ] [ sp:object _:b15 ; |
| 227 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ; | 173 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ; |
| 228 | - sp:subject _:b21 | 174 | + sp:subject _:b14 |
| 229 | - ] [ sp:object _:b23 ; | 175 | + ] [ sp:object _:b16 ; |
| 230 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 176 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 231 | - sp:subject _:b22 | 177 | + sp:subject _:b15 |
| 232 | ] [ sp:object | 178 | ] [ sp:object |
| 233 | [ sp:varName "productName"^^xsd:string | 179 | [ sp:varName "productName"^^xsd:string |
| 234 | ] ; | 180 | ] ; |
| 235 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 181 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 236 | - sp:subject _:b23 | 182 | + sp:subject _:b16 |
| 237 | ] [ rdf:type sp:Optional ; | 183 | ] [ rdf:type sp:Optional ; |
| 238 | sp:elements ([ sp:object | 184 | sp:elements ([ sp:object |
| 239 | [ sp:varName "productNamingSystem"^^xsd:string | 185 | [ sp:varName "productNamingSystem"^^xsd:string |
| 240 | ] ; | 186 | ] ; |
| 241 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | 187 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; |
| 242 | - sp:subject _:b23 | 188 | + sp:subject _:b16 |
| 243 | ]) | 189 | ]) |
| 244 | ] [ rdf:type sp:Optional ; | 190 | ] [ rdf:type sp:Optional ; |
| 245 | - sp:elements ([ sp:object _:b24 ; | 191 | + sp:elements ([ sp:object _:b17 ; |
| 246 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 192 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 247 | - sp:subject _:b23 | 193 | + sp:subject _:b16 |
| 248 | ]) | 194 | ]) |
| 249 | - ] [ sp:object _:b24 ; | 195 | + ] [ sp:object _:b17 ; |
| 250 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 196 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 251 | - sp:subject _:b22 | 197 | + sp:subject _:b15 |
| 252 | - ] [ sp:object _:b25 ; | 198 | + ] [ sp:object _:b18 ; |
| 253 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; | 199 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; |
| 254 | - sp:subject _:b22 | 200 | + sp:subject _:b15 |
| 255 | ] [ sp:object | 201 | ] [ sp:object |
| 256 | [ sp:varName "periodKind"^^xsd:string | 202 | [ sp:varName "periodKind"^^xsd:string |
| 257 | ] ; | 203 | ] ; |
| 258 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 204 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 259 | - sp:subject _:b25 | 205 | + sp:subject _:b18 |
| 260 | ] [ sp:object | 206 | ] [ sp:object |
| 261 | [ sp:varName "startTime"^^xsd:string | 207 | [ sp:varName "startTime"^^xsd:string |
| 262 | ] ; | 208 | ] ; |
| 263 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | 209 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; |
| 264 | - sp:subject _:b25 | 210 | + sp:subject _:b18 |
| 265 | ] [ sp:object | 211 | ] [ sp:object |
| 266 | [ sp:varName "endTime"^^xsd:string | 212 | [ sp:varName "endTime"^^xsd:string |
| 267 | ] ; | 213 | ] ; |
| 268 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | 214 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; |
| 269 | - sp:subject _:b25 | 215 | + sp:subject _:b18 |
| 270 | ] [ rdf:type sp:Optional ; | 216 | ] [ rdf:type sp:Optional ; |
| 271 | - sp:elements ([ sp:object _:b26 ; | 217 | + sp:elements ([ sp:object _:b19 ; |
| 272 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; | 218 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; |
| 273 | - sp:subject _:b25 | 219 | + sp:subject _:b18 |
| 274 | ] [ sp:object | 220 | ] [ sp:object |
| 275 | [ sp:varName "realVolume"^^xsd:string | 221 | [ sp:varName "realVolume"^^xsd:string |
| 276 | ] ; | 222 | ] ; |
| 277 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 223 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 278 | - sp:subject _:b26 | 224 | + sp:subject _:b19 |
| 279 | ] [ sp:object | 225 | ] [ sp:object |
| 280 | [ sp:varName "uomVolume"^^xsd:string | 226 | [ sp:varName "uomVolume"^^xsd:string |
| 281 | ] ; | 227 | ] ; |
| 282 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 228 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
| 283 | - sp:subject _:b26 | 229 | + sp:subject _:b19 |
| 284 | ]) | 230 | ]) |
| 285 | ] [ rdf:type sp:Optional ; | 231 | ] [ rdf:type sp:Optional ; |
| 286 | - sp:elements ([ sp:object _:b27 ; | 232 | + sp:elements ([ sp:object _:b20 ; |
| 287 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; | 233 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; |
| 288 | - sp:subject _:b25 | 234 | + sp:subject _:b18 |
| 289 | ] [ sp:object | 235 | ] [ sp:object |
| 290 | [ sp:varName "realVolumeStd"^^xsd:string | 236 | [ sp:varName "realVolumeStd"^^xsd:string |
| 291 | ] ; | 237 | ] ; |
| 292 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 238 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 293 | - sp:subject _:b27 | 239 | + sp:subject _:b20 |
| 294 | ] [ sp:object | 240 | ] [ sp:object |
| 295 | [ sp:varName "uomVolumeStd"^^xsd:string | 241 | [ sp:varName "uomVolumeStd"^^xsd:string |
| 296 | ] ; | 242 | ] ; |
| 297 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 243 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
| 298 | - sp:subject _:b27 | 244 | + sp:subject _:b20 |
| 299 | ]) | 245 | ]) |
| 300 | ]) | 246 | ]) |
| 247 | + ] ; | ||
| 248 | + spin:rule | ||
| 249 | + [ rdf:type sp:Construct ; | ||
| 250 | + rdfs:comment """STEP 20101 Record the Facility that has the flows | ||
| 251 | +Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 252 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 253 | + sp:predicate rdf:type ; | ||
| 254 | + sp:subject _:b21 | ||
| 255 | + ] [ sp:object _:b22 ; | ||
| 256 | + sp:predicate rdf:type ; | ||
| 257 | + sp:subject _:b21 | ||
| 258 | + ] [ sp:object _:b23 ; | ||
| 259 | + sp:predicate rdfs:label ; | ||
| 260 | + sp:subject _:b21 | ||
| 261 | + ]) ; | ||
| 262 | + sp:where ([ sp:object _:b24 ; | ||
| 263 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 264 | + sp:subject spin:_this | ||
| 265 | + ] [ sp:object _:b25 ; | ||
| 266 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | ||
| 267 | + sp:subject _:b24 | ||
| 268 | + ] [ sp:object _:b23 ; | ||
| 269 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 270 | + sp:subject _:b25 | ||
| 271 | + ] [ rdf:type sp:Optional ; | ||
| 272 | + sp:elements ([ sp:object | ||
| 273 | + [ sp:varName "facilityNamingSystem"^^xsd:string | ||
| 274 | + ] ; | ||
| 275 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | ||
| 276 | + sp:subject _:b25 | ||
| 277 | + ]) | ||
| 278 | + ] [ rdf:type sp:Optional ; | ||
| 279 | + sp:elements ([ sp:object _:b26 ; | ||
| 280 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 281 | + sp:subject _:b25 | ||
| 282 | + ]) | ||
| 283 | + ] [ rdf:type sp:Bind ; | ||
| 284 | + sp:expression | ||
| 285 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 286 | + sp:arg1 _:b23 | ||
| 287 | + ] ; | ||
| 288 | + sp:variable _:b27 | ||
| 289 | + ] [ rdf:type sp:Bind ; | ||
| 290 | + sp:expression | ||
| 291 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 292 | + sp:arg1 _:b27 | ||
| 293 | + ] ; | ||
| 294 | + sp:variable _:b21 | ||
| 295 | + ] [ rdf:type sp:Bind ; | ||
| 296 | + sp:expression | ||
| 297 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 298 | + sp:arg1 _:b26 | ||
| 299 | + ] ; | ||
| 300 | + sp:variable _:b22 | ||
| 301 | + ]) | ||
| 301 | ] . | 302 | ] . |
| 302 | 303 | ||
| 303 | -_:b2 sp:varName "productionFacilityType"^^xsd:string . | 304 | +_:b3 sp:varName "productionFlowPurposeType"^^xsd:string . |
| 304 | 305 | ||
| 305 | -_:b1 sp:varName "productionFacility"^^xsd:string . | 306 | +_:b1 sp:varName "productionFlow"^^xsd:string . |
| 306 | 307 | ||
| 307 | -_:b7 sp:varName "normalizedFacilityName"^^xsd:string . | 308 | +_:b11 |
| 309 | + sp:varName "normalizedFlowName"^^xsd:string . | ||
| 308 | 310 | ||
| 309 | -_:b6 sp:varName "facilityKind"^^xsd:string . | 311 | +_:b2 sp:varName "productionFacility"^^xsd:string . |
| 310 | 312 | ||
| 311 | -_:b3 sp:varName "facilityName"^^xsd:string . | 313 | +_:b10 |
| 314 | + sp:varName "normalizedFacilityName"^^xsd:string . | ||
| 312 | 315 | ||
| 313 | -_:b5 sp:varName "facilityNameRef"^^xsd:string . | 316 | +_:b9 sp:varName "flowKind"^^xsd:string . |
| 314 | 317 | ||
| 315 | -_:b4 sp:varName "facilityRef"^^xsd:string . | 318 | +_:b4 sp:varName "flowName"^^xsd:string . |
| 316 | 319 | ||
| 317 | -_:b10 | 320 | +_:b8 sp:varName "flowRef"^^xsd:string . |
| 318 | - sp:varName "productionFlowPurposeType"^^xsd:string . | ||
| 319 | 321 | ||
| 320 | -_:b8 sp:varName "productionFlow"^^xsd:string . | 322 | +_:b7 sp:varName "facilityName"^^xsd:string . |
| 321 | 323 | ||
| 322 | -_:b18 | 324 | +_:b6 sp:varName "facilityNameRef"^^xsd:string . |
| 323 | - sp:varName "normalizedFlowName"^^xsd:string . | ||
| 324 | 325 | ||
| 325 | -_:b9 sp:varName "productionFacility"^^xsd:string . | 326 | +_:b5 sp:varName "facilityRef"^^xsd:string . |
| 327 | + | ||
| 328 | +_:b20 | ||
| 329 | + sp:varName "volumeStdRef"^^xsd:string . | ||
| 330 | + | ||
| 331 | +_:b19 | ||
| 332 | + sp:varName "volumeRef"^^xsd:string . | ||
| 333 | + | ||
| 334 | +_:b18 | ||
| 335 | + sp:varName "period"^^xsd:string . | ||
| 326 | 336 | ||
| 327 | _:b17 | 337 | _:b17 |
| 328 | - sp:varName "normalizedFacilityName"^^xsd:string . | 338 | + sp:varName "productKind"^^xsd:string . |
| 329 | 339 | ||
| 330 | _:b16 | 340 | _:b16 |
| 331 | - sp:varName "flowKind"^^xsd:string . | 341 | + sp:varName "productNameRef"^^xsd:string . |
| 332 | - | ||
| 333 | -_:b11 | ||
| 334 | - sp:varName "flowName"^^xsd:string . | ||
| 335 | 342 | ||
| 336 | _:b15 | 343 | _:b15 |
| 337 | - sp:varName "flowRef"^^xsd:string . | 344 | + sp:varName "product"^^xsd:string . |
| 338 | 345 | ||
| 339 | _:b14 | 346 | _:b14 |
| 340 | - sp:varName "facilityName"^^xsd:string . | 347 | + sp:varName "flow"^^xsd:string . |
| 341 | 348 | ||
| 342 | _:b13 | 349 | _:b13 |
| 343 | sp:varName "facilityNameRef"^^xsd:string . | 350 | sp:varName "facilityNameRef"^^xsd:string . |
| 344 | 351 | ||
| 345 | _:b12 | 352 | _:b12 |
| 346 | - sp:varName "facilityRef"^^xsd:string . | 353 | + sp:varName "facility"^^xsd:string . |
| 347 | 354 | ||
| 348 | _:b27 | 355 | _:b27 |
| 349 | - sp:varName "volumeStdRef"^^xsd:string . | 356 | + sp:varName "normalizedFacilityName"^^xsd:string . |
| 350 | 357 | ||
| 351 | _:b26 | 358 | _:b26 |
| 352 | - sp:varName "volumeRef"^^xsd:string . | 359 | + sp:varName "facilityKind"^^xsd:string . |
| 353 | 360 | ||
| 354 | _:b25 | 361 | _:b25 |
| 355 | - sp:varName "period"^^xsd:string . | 362 | + sp:varName "facilityNameRef"^^xsd:string . |
| 356 | 363 | ||
| 357 | _:b24 | 364 | _:b24 |
| 358 | - sp:varName "productKind"^^xsd:string . | 365 | + sp:varName "facilityRef"^^xsd:string . |
| 359 | 366 | ||
| 360 | _:b23 | 367 | _:b23 |
| 361 | - sp:varName "productNameRef"^^xsd:string . | 368 | + sp:varName "facilityName"^^xsd:string . |
| 362 | 369 | ||
| 363 | _:b22 | 370 | _:b22 |
| 364 | - sp:varName "product"^^xsd:string . | 371 | + sp:varName "productionFacilityType"^^xsd:string . |
| 365 | 372 | ||
| 366 | _:b21 | 373 | _:b21 |
| 367 | - sp:varName "flow"^^xsd:string . | 374 | + sp:varName "productionFacility"^^xsd:string . |
| 368 | - | ||
| 369 | -_:b20 | ||
| 370 | - sp:varName "facilityNameRef"^^xsd:string . | ||
| 371 | - | ||
| 372 | -_:b19 | ||
| 373 | - sp:varName "facility"^^xsd:string . | ... | ... |
-
Please register or login to post a comment