Showing
6 changed files
with
1794 additions
and
660 deletions
| ... | @@ -10,101 +10,206 @@ | ... | @@ -10,101 +10,206 @@ |
| 10 | 10 | ||
| 11 | <http://www.reportinghub.no/ep/schema/1.0/flow> | 11 | <http://www.reportinghub.no/ep/schema/1.0/flow> |
| 12 | rdf:type owl:Ontology ; | 12 | rdf:type owl:Ontology ; |
| 13 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; | 13 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ; |
| 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 15 | 15 | ||
| 16 | ep-flow:AllocatedFlow | 16 | ep-flow:AllocatedFlow |
| 17 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 17 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 18 | rdfs:label "allocated flow"^^xsd:string ; | 18 | rdfs:label "allocated flow"^^xsd:string ; |
| 19 | rdfs:subClassOf ep-flow:Flow . | 19 | rdfs:subClassOf ep-flow:Flow . |
| 20 | 20 | ||
| 21 | ep-flow:AqueousFlow | 21 | ep-flow:AqueousFlow |
| 22 | - rdf:type ep-flow:ProductType , owl:Class ; | 22 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 23 | rdfs:label "aqueous flow"^^xsd:string ; | 23 | rdfs:label "aqueous flow"^^xsd:string ; |
| 24 | rdfs:subClassOf ep-flow:Flow . | 24 | rdfs:subClassOf ep-flow:Flow . |
| 25 | 25 | ||
| 26 | ep-flow:BudgetFlow | 26 | ep-flow:BudgetFlow |
| 27 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 27 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 28 | rdfs:label "budget flow"^^xsd:string ; | 28 | rdfs:label "budget flow"^^xsd:string ; |
| 29 | rdfs:subClassOf ep-flow:Flow . | 29 | rdfs:subClassOf ep-flow:Flow . |
| 30 | 30 | ||
| 31 | -ep-flow:CarbonDioxideGasFlow | 31 | +ep-flow:C10AndHeavierFlow |
| 32 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 33 | + rdfs:label "C10+ flow"^^xsd:string ; | ||
| 34 | + rdfs:subClassOf ep-flow:Flow . | ||
| 35 | + | ||
| 36 | +ep-flow:C10AndLighterFlow | ||
| 37 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 38 | + rdfs:label "C10- flow"^^xsd:string ; | ||
| 39 | + rdfs:subClassOf ep-flow:Flow . | ||
| 40 | + | ||
| 41 | +ep-flow:C2AndHeavierFlow | ||
| 32 | rdf:type ep-flow:ProductType , owl:Class ; | 42 | rdf:type ep-flow:ProductType , owl:Class ; |
| 43 | + rdfs:label "C2+ flow"^^xsd:string ; | ||
| 44 | + rdfs:subClassOf ep-flow:Flow . | ||
| 45 | + | ||
| 46 | +ep-flow:C2AndLighterFlow | ||
| 47 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 48 | + rdfs:label "C2- flow"^^xsd:string ; | ||
| 49 | + rdfs:subClassOf ep-flow:Flow . | ||
| 50 | + | ||
| 51 | +ep-flow:C3AndHeavierFlow | ||
| 52 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 53 | + rdfs:label "C3+ flow"^^xsd:string ; | ||
| 54 | + rdfs:subClassOf ep-flow:Flow . | ||
| 55 | + | ||
| 56 | +ep-flow:C3AndLighterFlow | ||
| 57 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 58 | + rdfs:label "C3- flow"^^xsd:string ; | ||
| 59 | + rdfs:subClassOf ep-flow:Flow . | ||
| 60 | + | ||
| 61 | +ep-flow:C4AndHeavierFlow | ||
| 62 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 63 | + rdfs:label "C4+ flow"^^xsd:string ; | ||
| 64 | + rdfs:subClassOf ep-flow:Flow . | ||
| 65 | + | ||
| 66 | +ep-flow:C4AndLighterFlow | ||
| 67 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 68 | + rdfs:label "C4- flow"^^xsd:string ; | ||
| 69 | + rdfs:subClassOf ep-flow:Flow . | ||
| 70 | + | ||
| 71 | +ep-flow:C5AndHeavierFlow | ||
| 72 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 73 | + rdfs:label "C5+ flow"^^xsd:string ; | ||
| 74 | + rdfs:subClassOf ep-flow:Flow . | ||
| 75 | + | ||
| 76 | +ep-flow:C5AndLighterFlow | ||
| 77 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 78 | + rdfs:label "C5- flow"^^xsd:string ; | ||
| 79 | + rdfs:subClassOf ep-flow:Flow . | ||
| 80 | + | ||
| 81 | +ep-flow:C6AndHeavierFlow | ||
| 82 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 83 | + rdfs:label "C6+ flow"^^xsd:string ; | ||
| 84 | + rdfs:subClassOf ep-flow:Flow . | ||
| 85 | + | ||
| 86 | +ep-flow:C6AndLighterFlow | ||
| 87 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 88 | + rdfs:label "C6- flow"^^xsd:string ; | ||
| 89 | + rdfs:subClassOf ep-flow:Flow . | ||
| 90 | + | ||
| 91 | +ep-flow:C7AndHeavierFlow | ||
| 92 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 93 | + rdfs:label "C7+ flow"^^xsd:string ; | ||
| 94 | + rdfs:subClassOf ep-flow:Flow . | ||
| 95 | + | ||
| 96 | +ep-flow:C7AndLighterFlow | ||
| 97 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 98 | + rdfs:label "C7- flow"^^xsd:string ; | ||
| 99 | + rdfs:subClassOf ep-flow:Flow . | ||
| 100 | + | ||
| 101 | +ep-flow:C8AndHeavierFlow | ||
| 102 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 103 | + rdfs:label "C8+ flow"^^xsd:string ; | ||
| 104 | + rdfs:subClassOf ep-flow:Flow . | ||
| 105 | + | ||
| 106 | +ep-flow:C8AndLighterFlow | ||
| 107 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 108 | + rdfs:label "C8- flow"^^xsd:string ; | ||
| 109 | + rdfs:subClassOf ep-flow:Flow . | ||
| 110 | + | ||
| 111 | +ep-flow:C9AndHeavierFlow | ||
| 112 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 113 | + rdfs:label "C9+ flow"^^xsd:string ; | ||
| 114 | + rdfs:subClassOf ep-flow:Flow . | ||
| 115 | + | ||
| 116 | +ep-flow:C9AndLighterFlow | ||
| 117 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 118 | + rdfs:label "C9- flow"^^xsd:string ; | ||
| 119 | + rdfs:subClassOf ep-flow:Flow . | ||
| 120 | + | ||
| 121 | +ep-flow:CarbonDioxideGasFlow | ||
| 122 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 33 | rdfs:label "carbon dioxide gas flow"^^xsd:string ; | 123 | rdfs:label "carbon dioxide gas flow"^^xsd:string ; |
| 34 | rdfs:subClassOf ep-flow:Flow . | 124 | rdfs:subClassOf ep-flow:Flow . |
| 35 | 125 | ||
| 36 | ep-flow:CarbonMonoxideGasFlow | 126 | ep-flow:CarbonMonoxideGasFlow |
| 37 | - rdf:type ep-flow:ProductType , owl:Class ; | 127 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 38 | rdfs:label "carbon monoxide gas flow"^^xsd:string ; | 128 | rdfs:label "carbon monoxide gas flow"^^xsd:string ; |
| 39 | rdfs:subClassOf ep-flow:Flow . | 129 | rdfs:subClassOf ep-flow:Flow . |
| 40 | 130 | ||
| 41 | ep-flow:ChemicalFlow | 131 | ep-flow:ChemicalFlow |
| 42 | - rdf:type ep-flow:ProductType , owl:Class ; | 132 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 43 | rdfs:label "chemical flow"^^xsd:string ; | 133 | rdfs:label "chemical flow"^^xsd:string ; |
| 44 | rdfs:subClassOf ep-flow:Flow . | 134 | rdfs:subClassOf ep-flow:Flow . |
| 45 | 135 | ||
| 136 | +ep-flow:Condensate-grossFlow | ||
| 137 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 138 | + rdfs:label "condensate - gross flow"^^xsd:string ; | ||
| 139 | + rdfs:subClassOf ep-flow:Flow . | ||
| 140 | + | ||
| 141 | +ep-flow:Condensate-netFlow | ||
| 142 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 143 | + rdfs:label "condensate - net flow"^^xsd:string ; | ||
| 144 | + rdfs:subClassOf ep-flow:Flow . | ||
| 145 | + | ||
| 46 | ep-flow:CondensateFlow | 146 | ep-flow:CondensateFlow |
| 47 | - rdf:type ep-flow:ProductType , owl:Class ; | 147 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 48 | rdfs:label "condensate flow"^^xsd:string ; | 148 | rdfs:label "condensate flow"^^xsd:string ; |
| 49 | rdfs:subClassOf ep-flow:Flow . | 149 | rdfs:subClassOf ep-flow:Flow . |
| 50 | 150 | ||
| 51 | ep-flow:ConstraintFlow | 151 | ep-flow:ConstraintFlow |
| 52 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 152 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
| 53 | rdfs:label "constraint flow"^^xsd:string ; | 153 | rdfs:label "constraint flow"^^xsd:string ; |
| 54 | rdfs:subClassOf ep-flow:Flow . | 154 | rdfs:subClassOf ep-flow:Flow . |
| 55 | 155 | ||
| 56 | ep-flow:Consume | 156 | ep-flow:Consume |
| 57 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 157 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 58 | rdfs:label "consume"^^xsd:string ; | 158 | rdfs:label "consume"^^xsd:string ; |
| 59 | rdfs:subClassOf ep-flow:Flow . | 159 | rdfs:subClassOf ep-flow:Flow . |
| 60 | 160 | ||
| 61 | ep-flow:Consume-HPflare | 161 | ep-flow:Consume-HPflare |
| 62 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 162 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 63 | rdfs:label "consume - HP flare"^^xsd:string ; | 163 | rdfs:label "consume - HP flare"^^xsd:string ; |
| 64 | rdfs:subClassOf ep-flow:Consume-flare . | 164 | rdfs:subClassOf ep-flow:Consume-flare . |
| 65 | 165 | ||
| 66 | ep-flow:Consume-LPflare | 166 | ep-flow:Consume-LPflare |
| 67 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 167 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 68 | rdfs:label "consume - LP flare"^^xsd:string ; | 168 | rdfs:label "consume - LP flare"^^xsd:string ; |
| 69 | rdfs:subClassOf ep-flow:Consume-flare . | 169 | rdfs:subClassOf ep-flow:Consume-flare . |
| 70 | 170 | ||
| 71 | ep-flow:Consume-blackstart | 171 | ep-flow:Consume-blackstart |
| 72 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 172 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 73 | rdfs:label "consume - blackstart"^^xsd:string ; | 173 | rdfs:label "consume - blackstart"^^xsd:string ; |
| 74 | rdfs:subClassOf ep-flow:Consume . | 174 | rdfs:subClassOf ep-flow:Consume . |
| 75 | 175 | ||
| 76 | ep-flow:Consume-compressor | 176 | ep-flow:Consume-compressor |
| 77 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 177 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 78 | rdfs:label "consume - compressor"^^xsd:string ; | 178 | rdfs:label "consume - compressor"^^xsd:string ; |
| 79 | rdfs:subClassOf ep-flow:Consume . | 179 | rdfs:subClassOf ep-flow:Consume . |
| 80 | 180 | ||
| 81 | ep-flow:Consume-emitted | 181 | ep-flow:Consume-emitted |
| 82 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 182 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 83 | rdfs:label "consume - emitted"^^xsd:string ; | 183 | rdfs:label "consume - emitted"^^xsd:string ; |
| 84 | rdfs:subClassOf ep-flow:Consume . | 184 | rdfs:subClassOf ep-flow:Consume . |
| 85 | 185 | ||
| 86 | ep-flow:Consume-flare | 186 | ep-flow:Consume-flare |
| 87 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 187 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 88 | rdfs:label "consume - flare"^^xsd:string ; | 188 | rdfs:label "consume - flare"^^xsd:string ; |
| 89 | rdfs:subClassOf ep-flow:Consume . | 189 | rdfs:subClassOf ep-flow:Consume . |
| 90 | 190 | ||
| 91 | ep-flow:Consume-fuel | 191 | ep-flow:Consume-fuel |
| 92 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 192 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 93 | rdfs:label "consume - fuel"^^xsd:string ; | 193 | rdfs:label "consume - fuel"^^xsd:string ; |
| 94 | rdfs:subClassOf ep-flow:Consume . | 194 | rdfs:subClassOf ep-flow:Consume . |
| 95 | 195 | ||
| 96 | ep-flow:Consume-noncompressor | 196 | ep-flow:Consume-noncompressor |
| 97 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 197 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 98 | rdfs:label "consume - non-compressor"^^xsd:string ; | 198 | rdfs:label "consume - non-compressor"^^xsd:string ; |
| 99 | rdfs:subClassOf ep-flow:Consume . | 199 | rdfs:subClassOf ep-flow:Consume . |
| 100 | 200 | ||
| 101 | ep-flow:Consume-venting | 201 | ep-flow:Consume-venting |
| 102 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 202 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 103 | rdfs:label "consume - venting"^^xsd:string ; | 203 | rdfs:label "consume - venting"^^xsd:string ; |
| 104 | rdfs:subClassOf ep-flow:Consume . | 204 | rdfs:subClassOf ep-flow:Consume . |
| 105 | 205 | ||
| 106 | -ep-flow:CuttingsFlow | 206 | +ep-flow:Crude-stabilizedFlow |
| 107 | rdf:type owl:Class , ep-flow:ProductType ; | 207 | rdf:type owl:Class , ep-flow:ProductType ; |
| 208 | + rdfs:label "crude - stabilized flow"^^xsd:string ; | ||
| 209 | + rdfs:subClassOf ep-flow:Flow . | ||
| 210 | + | ||
| 211 | +ep-flow:CuttingsFlow | ||
| 212 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 108 | rdfs:label "cuttings flow"^^xsd:string ; | 213 | rdfs:label "cuttings flow"^^xsd:string ; |
| 109 | rdfs:subClassOf ep-flow:Flow . | 214 | rdfs:subClassOf ep-flow:Flow . |
| 110 | 215 | ||
| ... | @@ -114,42 +219,67 @@ ep-flow:DailyProductionFlow | ... | @@ -114,42 +219,67 @@ ep-flow:DailyProductionFlow |
| 114 | rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow . | 219 | rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow . |
| 115 | 220 | ||
| 116 | ep-flow:DerivedFlow | 221 | ep-flow:DerivedFlow |
| 117 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 222 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
| 118 | rdfs:label "derived flow"^^xsd:string ; | 223 | rdfs:label "derived flow"^^xsd:string ; |
| 119 | rdfs:subClassOf ep-flow:Flow . | 224 | rdfs:subClassOf ep-flow:Flow . |
| 120 | 225 | ||
| 121 | ep-flow:DieselFlow | 226 | ep-flow:DieselFlow |
| 122 | - rdf:type ep-flow:ProductType , owl:Class ; | 227 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 123 | rdfs:label "diesel flow"^^xsd:string ; | 228 | rdfs:label "diesel flow"^^xsd:string ; |
| 124 | rdfs:subClassOf ep-flow:Flow . | 229 | rdfs:subClassOf ep-flow:Flow . |
| 125 | 230 | ||
| 126 | -ep-flow:EstimatedFlow | 231 | +ep-flow:DiethyleneglycolFlow |
| 232 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 233 | + rdfs:label "diethyleneglycol flow"^^xsd:string ; | ||
| 234 | + rdfs:subClassOf ep-flow:Flow . | ||
| 235 | + | ||
| 236 | +ep-flow:DifferenceFlow | ||
| 127 | rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 237 | rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
| 238 | + rdfs:label "difference flow"^^xsd:string ; | ||
| 239 | + rdfs:subClassOf ep-flow:Flow . | ||
| 240 | + | ||
| 241 | +ep-flow:DioxygenFlow | ||
| 242 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 243 | + rdfs:label "dioxygen flow"^^xsd:string ; | ||
| 244 | + rdfs:subClassOf ep-flow:Flow . | ||
| 245 | + | ||
| 246 | +ep-flow:ElectricPowerFlow | ||
| 247 | + rdf:type owl:Class ; | ||
| 248 | + rdfs:label "flow of electricity"^^xsd:string ; | ||
| 249 | + rdfs:subClassOf ep-flow:Flow . | ||
| 250 | + | ||
| 251 | +ep-flow:EstimatedFlow | ||
| 252 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | ||
| 128 | rdfs:label "estimated flow"^^xsd:string ; | 253 | rdfs:label "estimated flow"^^xsd:string ; |
| 129 | rdfs:subClassOf ep-flow:Flow . | 254 | rdfs:subClassOf ep-flow:Flow . |
| 130 | 255 | ||
| 131 | ep-flow:Ethane-componentFlow | 256 | ep-flow:Ethane-componentFlow |
| 132 | - rdf:type ep-flow:ProductType , owl:Class ; | 257 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 133 | rdfs:label "ethane - component flow"^^xsd:string ; | 258 | rdfs:label "ethane - component flow"^^xsd:string ; |
| 134 | rdfs:subClassOf ep-flow:Flow . | 259 | rdfs:subClassOf ep-flow:Flow . |
| 135 | 260 | ||
| 261 | +ep-flow:EthaneFlow | ||
| 262 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 263 | + rdfs:label "ethane flow"^^xsd:string ; | ||
| 264 | + rdfs:subClassOf ep-flow:Flow . | ||
| 265 | + | ||
| 136 | ep-flow:Export | 266 | ep-flow:Export |
| 137 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 267 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 138 | rdfs:label "export"^^xsd:string ; | 268 | rdfs:label "export"^^xsd:string ; |
| 139 | rdfs:subClassOf ep-flow:Flow . | 269 | rdfs:subClassOf ep-flow:Flow . |
| 140 | 270 | ||
| 141 | ep-flow:Export-nominated | 271 | ep-flow:Export-nominated |
| 142 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 272 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 143 | rdfs:label "export nominated"^^xsd:string ; | 273 | rdfs:label "export nominated"^^xsd:string ; |
| 144 | rdfs:subClassOf ep-flow:Export . | 274 | rdfs:subClassOf ep-flow:Export . |
| 145 | 275 | ||
| 146 | ep-flow:Export-requested | 276 | ep-flow:Export-requested |
| 147 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 277 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 148 | rdfs:label "export requested"^^xsd:string ; | 278 | rdfs:label "export requested"^^xsd:string ; |
| 149 | rdfs:subClassOf ep-flow:Export . | 279 | rdfs:subClassOf ep-flow:Export . |
| 150 | 280 | ||
| 151 | ep-flow:Export-shortfall | 281 | ep-flow:Export-shortfall |
| 152 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 282 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 153 | rdfs:label "export shortfall"^^xsd:string ; | 283 | rdfs:label "export shortfall"^^xsd:string ; |
| 154 | rdfs:subClassOf ep-flow:Export . | 284 | rdfs:subClassOf ep-flow:Export . |
| 155 | 285 | ||
| ... | @@ -158,40 +288,45 @@ ep-flow:Flow | ... | @@ -158,40 +288,45 @@ ep-flow:Flow |
| 158 | rdfs:label "flow"^^xsd:string ; | 288 | rdfs:label "flow"^^xsd:string ; |
| 159 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 289 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 160 | 290 | ||
| 291 | +ep-flow:FlowAtInstant | ||
| 292 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | ||
| 293 | + rdfs:label "flow at instant"^^xsd:string ; | ||
| 294 | + rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | ||
| 295 | + | ||
| 161 | ep-flow:FlowDuringDay | 296 | ep-flow:FlowDuringDay |
| 162 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 297 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
| 163 | rdfs:label "flow during day"^^xsd:string ; | 298 | rdfs:label "flow during day"^^xsd:string ; |
| 164 | - rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 299 | + rdfs:subClassOf ep-flow:FlowDuringPeriod . |
| 165 | 300 | ||
| 166 | ep-flow:FlowDuringMonth | 301 | ep-flow:FlowDuringMonth |
| 167 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 302 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 168 | rdfs:label "flow during month"^^xsd:string ; | 303 | rdfs:label "flow during month"^^xsd:string ; |
| 169 | - rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 304 | + rdfs:subClassOf ep-flow:FlowDuringPeriod . |
| 170 | 305 | ||
| 171 | ep-flow:FlowDuringMonthToDate | 306 | ep-flow:FlowDuringMonthToDate |
| 172 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 307 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 173 | rdfs:label "flow during month to date"^^xsd:string ; | 308 | rdfs:label "flow during month to date"^^xsd:string ; |
| 309 | + rdfs:subClassOf ep-flow:FlowDuringPeriod . | ||
| 310 | + | ||
| 311 | +ep-flow:FlowDuringPeriod | ||
| 312 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | ||
| 313 | + rdfs:label "flow during period"^^xsd:string ; | ||
| 174 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 314 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 175 | 315 | ||
| 176 | ep-flow:FlowDuringWeek | 316 | ep-flow:FlowDuringWeek |
| 177 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 317 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 178 | rdfs:label "flow during week"^^xsd:string ; | 318 | rdfs:label "flow during week"^^xsd:string ; |
| 179 | - rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 319 | + rdfs:subClassOf ep-flow:FlowDuringPeriod . |
| 180 | 320 | ||
| 181 | ep-flow:FlowDuringYear | 321 | ep-flow:FlowDuringYear |
| 182 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 322 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
| 183 | rdfs:label "flow during year"^^xsd:string ; | 323 | rdfs:label "flow during year"^^xsd:string ; |
| 184 | - rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 324 | + rdfs:subClassOf ep-flow:FlowDuringPeriod . |
| 185 | 325 | ||
| 186 | ep-flow:FlowDuringYearToDate | 326 | ep-flow:FlowDuringYearToDate |
| 187 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 327 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 188 | rdfs:label "flow during year to date"^^xsd:string ; | 328 | rdfs:label "flow during year to date"^^xsd:string ; |
| 189 | - rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 329 | + rdfs:subClassOf ep-flow:FlowDuringPeriod . |
| 190 | - | ||
| 191 | -ep-flow:FlowOfElectricity | ||
| 192 | - rdf:type owl:Class ; | ||
| 193 | - rdfs:label "flow of electricity"^^xsd:string ; | ||
| 194 | - rdfs:subClassOf ep-flow:Flow . | ||
| 195 | 330 | ||
| 196 | ep-flow:FlowOfLiquid | 331 | ep-flow:FlowOfLiquid |
| 197 | rdf:type owl:Class ; | 332 | rdf:type owl:Class ; |
| ... | @@ -203,106 +338,231 @@ ep-flow:FlowOfMaterial | ... | @@ -203,106 +338,231 @@ ep-flow:FlowOfMaterial |
| 203 | rdfs:label "flow of material"^^xsd:string ; | 338 | rdfs:label "flow of material"^^xsd:string ; |
| 204 | rdfs:subClassOf ep-flow:Flow . | 339 | rdfs:subClassOf ep-flow:Flow . |
| 205 | 340 | ||
| 341 | +ep-flow:ForecastFlow | ||
| 342 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | ||
| 343 | + rdfs:label "forecast flow"^^xsd:string ; | ||
| 344 | + rdfs:subClassOf ep-flow:Flow . | ||
| 345 | + | ||
| 206 | ep-flow:Gas-componentInOilFlow | 346 | ep-flow:Gas-componentInOilFlow |
| 207 | - rdf:type ep-flow:ProductType , owl:Class ; | 347 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 208 | rdfs:label "gas - component in oil flow"^^xsd:string ; | 348 | rdfs:label "gas - component in oil flow"^^xsd:string ; |
| 209 | rdfs:subClassOf ep-flow:Flow . | 349 | rdfs:subClassOf ep-flow:Flow . |
| 210 | 350 | ||
| 351 | +ep-flow:Gas-dryFlow | ||
| 352 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 353 | + rdfs:label "gas - dry flow"^^xsd:string ; | ||
| 354 | + rdfs:subClassOf ep-flow:Flow . | ||
| 355 | + | ||
| 211 | ep-flow:Gas-richFlow | 356 | ep-flow:Gas-richFlow |
| 212 | - rdf:type ep-flow:ProductType , owl:Class ; | 357 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 213 | rdfs:label "gas - rich flow"^^xsd:string ; | 358 | rdfs:label "gas - rich flow"^^xsd:string ; |
| 214 | rdfs:subClassOf ep-flow:Flow . | 359 | rdfs:subClassOf ep-flow:Flow . |
| 215 | 360 | ||
| 361 | +ep-flow:Gas-wetFlow | ||
| 362 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 363 | + rdfs:label "gas - wet flow"^^xsd:string ; | ||
| 364 | + rdfs:subClassOf ep-flow:Flow . | ||
| 365 | + | ||
| 216 | ep-flow:GasFlow | 366 | ep-flow:GasFlow |
| 217 | - rdf:type ep-flow:ProductType , owl:Class ; | 367 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 218 | rdfs:label "gas flow"^^xsd:string ; | 368 | rdfs:label "gas flow"^^xsd:string ; |
| 219 | rdfs:subClassOf ep-flow:Flow . | 369 | rdfs:subClassOf ep-flow:Flow . |
| 220 | 370 | ||
| 221 | ep-flow:Gaslift | 371 | ep-flow:Gaslift |
| 222 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 372 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 223 | rdfs:label "gas lift"^^xsd:string ; | 373 | rdfs:label "gas lift"^^xsd:string ; |
| 224 | rdfs:subClassOf ep-flow:Flow . | 374 | rdfs:subClassOf ep-flow:Flow . |
| 225 | 375 | ||
| 376 | +ep-flow:HeliumGasFlow | ||
| 377 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 378 | + rdfs:label "helium gas flow"^^xsd:string ; | ||
| 379 | + rdfs:subClassOf ep-flow:Flow . | ||
| 380 | + | ||
| 381 | +ep-flow:HeptaneFlow | ||
| 382 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 383 | + rdfs:label "heptane flow"^^xsd:string ; | ||
| 384 | + rdfs:subClassOf ep-flow:Flow . | ||
| 385 | + | ||
| 226 | ep-flow:HydrocarbonAccounting | 386 | ep-flow:HydrocarbonAccounting |
| 227 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 387 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 228 | rdfs:label "hydrocarbon accounting"^^xsd:string ; | 388 | rdfs:label "hydrocarbon accounting"^^xsd:string ; |
| 229 | rdfs:subClassOf ep-flow:Flow . | 389 | rdfs:subClassOf ep-flow:Flow . |
| 230 | 390 | ||
| 231 | -ep-flow:I-butane-componentFlow | 391 | +ep-flow:HydrogenGasFlow |
| 232 | - rdf:type ep-flow:ProductType , owl:Class ; | 392 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 233 | - rdfs:label "i-butane - component flow"^^xsd:string ; | 393 | + rdfs:label "hydrogen gas flow"^^xsd:string ; |
| 394 | + rdfs:subClassOf ep-flow:Flow . | ||
| 395 | + | ||
| 396 | +ep-flow:HydrogenSulfideFlow | ||
| 397 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 398 | + rdfs:label "hydrogen sulfide flow"^^xsd:string ; | ||
| 234 | rdfs:subClassOf ep-flow:Flow . | 399 | rdfs:subClassOf ep-flow:Flow . |
| 235 | 400 | ||
| 236 | ep-flow:Import | 401 | ep-flow:Import |
| 237 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 402 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 238 | rdfs:label "import"^^xsd:string ; | 403 | rdfs:label "import"^^xsd:string ; |
| 239 | rdfs:subClassOf ep-flow:Flow . | 404 | rdfs:subClassOf ep-flow:Flow . |
| 240 | 405 | ||
| 241 | ep-flow:Injection | 406 | ep-flow:Injection |
| 242 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 407 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 243 | rdfs:label "injection"^^xsd:string ; | 408 | rdfs:label "injection"^^xsd:string ; |
| 244 | rdfs:subClassOf ep-flow:Flow . | 409 | rdfs:subClassOf ep-flow:Flow . |
| 245 | 410 | ||
| 246 | ep-flow:Inventory | 411 | ep-flow:Inventory |
| 247 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 412 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 248 | rdfs:label "inventory"^^xsd:string ; | 413 | rdfs:label "inventory"^^xsd:string ; |
| 249 | rdfs:subClassOf ep-flow:Flow . | 414 | rdfs:subClassOf ep-flow:Flow . |
| 250 | 415 | ||
| 416 | +ep-flow:Isobutane-componentFlow | ||
| 417 | + rdf:type ep-flow:ProductType , owl:Class ; | ||
| 418 | + rdfs:label "i-butane - component flow"^^xsd:string ; | ||
| 419 | + rdfs:subClassOf ep-flow:Flow . | ||
| 420 | + | ||
| 421 | +ep-flow:IsobutaneFlow | ||
| 422 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 423 | + rdfs:label "isobutane flow"^^xsd:string ; | ||
| 424 | + rdfs:subClassOf ep-flow:Flow . | ||
| 425 | + | ||
| 426 | +ep-flow:IsopentaneFlow | ||
| 427 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 428 | + rdfs:label "isopentane flow"^^xsd:string ; | ||
| 429 | + rdfs:subClassOf ep-flow:Flow . | ||
| 430 | + | ||
| 431 | +ep-flow:LiquifiedNaturalGasFlow | ||
| 432 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 433 | + rdfs:label "liquified natural gas flow"^^xsd:string ; | ||
| 434 | + rdfs:subClassOf ep-flow:Flow . | ||
| 435 | + | ||
| 436 | +ep-flow:LiquifiedPetroleumGasFlow | ||
| 437 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 438 | + rdfs:label "liquified petroleum gas flow"^^xsd:string ; | ||
| 439 | + rdfs:subClassOf ep-flow:Flow . | ||
| 440 | + | ||
| 251 | ep-flow:MeasuredFlow | 441 | ep-flow:MeasuredFlow |
| 252 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 442 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 253 | rdfs:label "measured flow"^^xsd:string ; | 443 | rdfs:label "measured flow"^^xsd:string ; |
| 254 | rdfs:subClassOf ep-flow:Flow . | 444 | rdfs:subClassOf ep-flow:Flow . |
| 255 | 445 | ||
| 256 | -ep-flow:N-butane-componentFlow | 446 | +ep-flow:MethaneFlow |
| 257 | - rdf:type ep-flow:ProductType , owl:Class ; | 447 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 258 | - rdfs:label "n-butane - component flow"^^xsd:string ; | 448 | + rdfs:label "methane flow"^^xsd:string ; |
| 449 | + rdfs:subClassOf ep-flow:Flow . | ||
| 450 | + | ||
| 451 | +ep-flow:MethanolFlow | ||
| 452 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 453 | + rdfs:label "methanol flow"^^xsd:string ; | ||
| 454 | + rdfs:subClassOf ep-flow:Flow . | ||
| 455 | + | ||
| 456 | +ep-flow:MixedButaneFlow | ||
| 457 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 458 | + rdfs:label "mixed butane flow"^^xsd:string ; | ||
| 459 | + rdfs:subClassOf ep-flow:Flow . | ||
| 460 | + | ||
| 461 | +ep-flow:MonoethyleneglycolFlow | ||
| 462 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 463 | + rdfs:label "monoethyleneglycol flow"^^xsd:string ; | ||
| 259 | rdfs:subClassOf ep-flow:Flow . | 464 | rdfs:subClassOf ep-flow:Flow . |
| 260 | 465 | ||
| 261 | ep-flow:NGL-componentInGasFlow | 466 | ep-flow:NGL-componentInGasFlow |
| 262 | - rdf:type ep-flow:ProductType , owl:Class ; | 467 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 263 | rdfs:label "NGL - component in gas flow"^^xsd:string ; | 468 | rdfs:label "NGL - component in gas flow"^^xsd:string ; |
| 264 | rdfs:subClassOf ep-flow:Flow . | 469 | rdfs:subClassOf ep-flow:Flow . |
| 265 | 470 | ||
| 471 | +ep-flow:NapthaFlow | ||
| 472 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 473 | + rdfs:label "naptha flow"^^xsd:string ; | ||
| 474 | + rdfs:subClassOf ep-flow:Flow . | ||
| 475 | + | ||
| 266 | ep-flow:NaturalGasLiquidFlow | 476 | ep-flow:NaturalGasLiquidFlow |
| 267 | - rdf:type ep-flow:ProductType , owl:Class ; | 477 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 268 | rdfs:label "natural gas liquid flow"^^xsd:string ; | 478 | rdfs:label "natural gas liquid flow"^^xsd:string ; |
| 269 | rdfs:subClassOf ep-flow:Flow . | 479 | rdfs:subClassOf ep-flow:Flow . |
| 270 | 480 | ||
| 481 | +ep-flow:NeopentaneFlow | ||
| 482 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 483 | + rdfs:label "neopentane flow"^^xsd:string ; | ||
| 484 | + rdfs:subClassOf ep-flow:Flow . | ||
| 485 | + | ||
| 486 | +ep-flow:NitrogenGasFlow | ||
| 487 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 488 | + rdfs:label "nitrogen gas flow"^^xsd:string ; | ||
| 489 | + rdfs:subClassOf ep-flow:Flow . | ||
| 490 | + | ||
| 271 | ep-flow:NitrogenOxideGasFlow | 491 | ep-flow:NitrogenOxideGasFlow |
| 272 | - rdf:type ep-flow:ProductType , owl:Class ; | 492 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 273 | rdfs:label "nitrogen oxide gas flow"^^xsd:string ; | 493 | rdfs:label "nitrogen oxide gas flow"^^xsd:string ; |
| 274 | rdfs:subClassOf ep-flow:Flow . | 494 | rdfs:subClassOf ep-flow:Flow . |
| 275 | 495 | ||
| 276 | -ep-flow:Oil-componentInWaterFlow | 496 | +ep-flow:NominatedFlow |
| 497 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | ||
| 498 | + rdfs:label "nominated flow"^^xsd:string ; | ||
| 499 | + rdfs:subClassOf ep-flow:Flow . | ||
| 500 | + | ||
| 501 | +ep-flow:NormalButane-componentFlow | ||
| 277 | rdf:type ep-flow:ProductType , owl:Class ; | 502 | rdf:type ep-flow:ProductType , owl:Class ; |
| 503 | + rdfs:label "n-butane - component flow"^^xsd:string ; | ||
| 504 | + rdfs:subClassOf ep-flow:Flow . | ||
| 505 | + | ||
| 506 | +ep-flow:NormalButaneFlow | ||
| 507 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 508 | + rdfs:label "normal butane flow"^^xsd:string ; | ||
| 509 | + rdfs:subClassOf ep-flow:Flow . | ||
| 510 | + | ||
| 511 | +ep-flow:NormalPentaneFlow | ||
| 512 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 513 | + rdfs:label "normal pentane flow"^^xsd:string ; | ||
| 514 | + rdfs:subClassOf ep-flow:Flow . | ||
| 515 | + | ||
| 516 | +ep-flow:Oil-componentInWaterFlow | ||
| 517 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 278 | rdfs:label "oil - component in water flow"^^xsd:string ; | 518 | rdfs:label "oil - component in water flow"^^xsd:string ; |
| 279 | rdfs:subClassOf ep-flow:Flow . | 519 | rdfs:subClassOf ep-flow:Flow . |
| 280 | 520 | ||
| 281 | -ep-flow:Oil-netFlow | 521 | +ep-flow:Oil-grossFlow |
| 282 | rdf:type ep-flow:ProductType , owl:Class ; | 522 | rdf:type ep-flow:ProductType , owl:Class ; |
| 523 | + rdfs:label "oil - gross flow"^^xsd:string ; | ||
| 524 | + rdfs:subClassOf ep-flow:Flow . | ||
| 525 | + | ||
| 526 | +ep-flow:Oil-netFlow | ||
| 527 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 283 | rdfs:label "oil - net flow"^^xsd:string ; | 528 | rdfs:label "oil - net flow"^^xsd:string ; |
| 284 | rdfs:subClassOf ep-flow:Flow . | 529 | rdfs:subClassOf ep-flow:Flow . |
| 285 | 530 | ||
| 286 | ep-flow:OilAndGasFlow | 531 | ep-flow:OilAndGasFlow |
| 287 | - rdf:type ep-flow:ProductType , owl:Class ; | 532 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 288 | rdfs:label "oil and gas flow"^^xsd:string ; | 533 | rdfs:label "oil and gas flow"^^xsd:string ; |
| 289 | rdfs:subClassOf ep-flow:Flow . | 534 | rdfs:subClassOf ep-flow:Flow . |
| 290 | 535 | ||
| 291 | ep-flow:OilFlow | 536 | ep-flow:OilFlow |
| 292 | - rdf:type owl:Class , ep-flow:ProductType ; | 537 | + rdf:type ep-flow:ProductType , owl:Class ; |
| 293 | rdfs:label "oil flow"^^xsd:string ; | 538 | rdfs:label "oil flow"^^xsd:string ; |
| 294 | rdfs:subClassOf ep-flow:Flow . | 539 | rdfs:subClassOf ep-flow:Flow . |
| 295 | 540 | ||
| 296 | ep-flow:OleicFlow | 541 | ep-flow:OleicFlow |
| 297 | - rdf:type ep-flow:ProductType , owl:Class ; | 542 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 298 | rdfs:label "oleic flow"^^xsd:string ; | 543 | rdfs:label "oleic flow"^^xsd:string ; |
| 299 | rdfs:subClassOf ep-flow:Flow . | 544 | rdfs:subClassOf ep-flow:Flow . |
| 300 | 545 | ||
| 301 | ep-flow:Overboard | 546 | ep-flow:Overboard |
| 302 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 547 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 303 | rdfs:label "overboard"^^xsd:string ; | 548 | rdfs:label "overboard"^^xsd:string ; |
| 304 | rdfs:subClassOf ep-flow:Flow . | 549 | rdfs:subClassOf ep-flow:Flow . |
| 305 | 550 | ||
| 551 | +ep-flow:PetroleumGasLiquidFlow | ||
| 552 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 553 | + rdfs:label "petroleum gas liquid flow"^^xsd:string ; | ||
| 554 | + rdfs:subClassOf ep-flow:Flow . | ||
| 555 | + | ||
| 556 | +ep-flow:PotentialFlow | ||
| 557 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | ||
| 558 | + rdfs:label "potential flow"^^xsd:string ; | ||
| 559 | + rdfs:subClassOf ep-flow:Flow . | ||
| 560 | + | ||
| 561 | +ep-flow:ProcessedFlow | ||
| 562 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | ||
| 563 | + rdfs:label "processed flow"^^xsd:string ; | ||
| 564 | + rdfs:subClassOf ep-flow:Flow . | ||
| 565 | + | ||
| 306 | ep-flow:ProductFlow | 566 | ep-flow:ProductFlow |
| 307 | rdf:type owl:Class ; | 567 | rdf:type owl:Class ; |
| 308 | rdfs:label "product flow"^^xsd:string ; | 568 | rdfs:label "product flow"^^xsd:string ; |
| ... | @@ -319,7 +579,7 @@ ep-flow:ProductType | ... | @@ -319,7 +579,7 @@ ep-flow:ProductType |
| 319 | rdfs:subClassOf owl:Class . | 579 | rdfs:subClassOf owl:Class . |
| 320 | 580 | ||
| 321 | ep-flow:Production | 581 | ep-flow:Production |
| 322 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 582 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 323 | rdfs:label "production"^^xsd:string ; | 583 | rdfs:label "production"^^xsd:string ; |
| 324 | rdfs:subClassOf ep-flow:Flow . | 584 | rdfs:subClassOf ep-flow:Flow . |
| 325 | 585 | ||
| ... | @@ -359,35 +619,60 @@ ep-flow:ProductionTestWellHeadFlow | ... | @@ -359,35 +619,60 @@ ep-flow:ProductionTestWellHeadFlow |
| 359 | rdfs:subClassOf ep-flow:Flow . | 619 | rdfs:subClassOf ep-flow:Flow . |
| 360 | 620 | ||
| 361 | ep-flow:Propane-componentFlow | 621 | ep-flow:Propane-componentFlow |
| 362 | - rdf:type ep-flow:ProductType , owl:Class ; | 622 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 363 | rdfs:label "propane - component flow"^^xsd:string ; | 623 | rdfs:label "propane - component flow"^^xsd:string ; |
| 364 | rdfs:subClassOf ep-flow:Flow . | 624 | rdfs:subClassOf ep-flow:Flow . |
| 365 | 625 | ||
| 626 | +ep-flow:PropaneFlow | ||
| 627 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 628 | + rdfs:label "propane flow"^^xsd:string ; | ||
| 629 | + rdfs:subClassOf ep-flow:Flow . | ||
| 630 | + | ||
| 366 | ep-flow:QuotaFlow | 631 | ep-flow:QuotaFlow |
| 367 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 632 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 368 | rdfs:label "quota flow"^^xsd:string ; | 633 | rdfs:label "quota flow"^^xsd:string ; |
| 369 | rdfs:subClassOf ep-flow:Flow . | 634 | rdfs:subClassOf ep-flow:Flow . |
| 370 | 635 | ||
| 636 | +ep-flow:RecommendedFlow | ||
| 637 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | ||
| 638 | + rdfs:label "recommended flow"^^xsd:string ; | ||
| 639 | + rdfs:subClassOf ep-flow:Flow . | ||
| 640 | + | ||
| 371 | ep-flow:Sale | 641 | ep-flow:Sale |
| 372 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 642 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 373 | rdfs:label "sale"^^xsd:string ; | 643 | rdfs:label "sale"^^xsd:string ; |
| 374 | rdfs:subClassOf ep-flow:Flow . | 644 | rdfs:subClassOf ep-flow:Flow . |
| 375 | 645 | ||
| 646 | +ep-flow:SaleableFlow | ||
| 647 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | ||
| 648 | + rdfs:label "saleable flow"^^xsd:string ; | ||
| 649 | + rdfs:subClassOf ep-flow:Flow . | ||
| 650 | + | ||
| 651 | +ep-flow:SaltFlow | ||
| 652 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 653 | + rdfs:label "salt flow"^^xsd:string ; | ||
| 654 | + rdfs:subClassOf ep-flow:Flow . | ||
| 655 | + | ||
| 376 | ep-flow:SandFlow | 656 | ep-flow:SandFlow |
| 377 | - rdf:type ep-flow:ProductType , owl:Class ; | 657 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 378 | rdfs:label "sand flow"^^xsd:string ; | 658 | rdfs:label "sand flow"^^xsd:string ; |
| 379 | rdfs:subClassOf ep-flow:Flow . | 659 | rdfs:subClassOf ep-flow:Flow . |
| 380 | 660 | ||
| 381 | ep-flow:SimulatedFlow | 661 | ep-flow:SimulatedFlow |
| 382 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 662 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 383 | rdfs:label "simulated flow"^^xsd:string ; | 663 | rdfs:label "simulated flow"^^xsd:string ; |
| 384 | rdfs:subClassOf ep-flow:Flow . | 664 | rdfs:subClassOf ep-flow:Flow . |
| 385 | 665 | ||
| 386 | ep-flow:Storage | 666 | ep-flow:Storage |
| 387 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 667 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 388 | rdfs:label "storage"^^xsd:string ; | 668 | rdfs:label "storage"^^xsd:string ; |
| 389 | rdfs:subClassOf ep-flow:Flow . | 669 | rdfs:subClassOf ep-flow:Flow . |
| 390 | 670 | ||
| 671 | +ep-flow:TargetFlow | ||
| 672 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | ||
| 673 | + rdfs:label "target flow"^^xsd:string ; | ||
| 674 | + rdfs:subClassOf ep-flow:Flow . | ||
| 675 | + | ||
| 391 | ep-flow:TemporalPartOfAFlow | 676 | ep-flow:TemporalPartOfAFlow |
| 392 | rdf:type owl:Class ; | 677 | rdf:type owl:Class ; |
| 393 | rdfs:label "temporal part of a flow"^^xsd:string ; | 678 | rdfs:label "temporal part of a flow"^^xsd:string ; |
| ... | @@ -408,28 +693,33 @@ ep-flow:TemporalPartOfAProductionFlow | ... | @@ -408,28 +693,33 @@ ep-flow:TemporalPartOfAProductionFlow |
| 408 | rdfs:label "temporal part of a production flow"^^xsd:string ; | 693 | rdfs:label "temporal part of a production flow"^^xsd:string ; |
| 409 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 694 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 410 | 695 | ||
| 696 | +ep-flow:TriethyleneglycolFlow | ||
| 697 | + rdf:type owl:Class , ep-flow:ProductType ; | ||
| 698 | + rdfs:label "triethyleneglycol flow"^^xsd:string ; | ||
| 699 | + rdfs:subClassOf ep-flow:Flow . | ||
| 700 | + | ||
| 411 | ep-flow:VapourFlow | 701 | ep-flow:VapourFlow |
| 412 | - rdf:type ep-flow:ProductType , owl:Class ; | 702 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 413 | rdfs:label "vapour flow"^^xsd:string ; | 703 | rdfs:label "vapour flow"^^xsd:string ; |
| 414 | rdfs:subClassOf ep-flow:Flow . | 704 | rdfs:subClassOf ep-flow:Flow . |
| 415 | 705 | ||
| 416 | ep-flow:Water-dischargeFlow | 706 | ep-flow:Water-dischargeFlow |
| 417 | - rdf:type ep-flow:ProductType , owl:Class ; | 707 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 418 | rdfs:label "water - discharge flow"^^xsd:string ; | 708 | rdfs:label "water - discharge flow"^^xsd:string ; |
| 419 | rdfs:subClassOf ep-flow:Flow . | 709 | rdfs:subClassOf ep-flow:Flow . |
| 420 | 710 | ||
| 421 | ep-flow:Water-processedFlow | 711 | ep-flow:Water-processedFlow |
| 422 | - rdf:type ep-flow:ProductType , owl:Class ; | 712 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 423 | rdfs:label "water - processed flow"^^xsd:string ; | 713 | rdfs:label "water - processed flow"^^xsd:string ; |
| 424 | rdfs:subClassOf ep-flow:Flow . | 714 | rdfs:subClassOf ep-flow:Flow . |
| 425 | 715 | ||
| 426 | ep-flow:WaterFlow | 716 | ep-flow:WaterFlow |
| 427 | - rdf:type ep-flow:ProductType , owl:Class ; | 717 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 428 | rdfs:label "water flow"^^xsd:string ; | 718 | rdfs:label "water flow"^^xsd:string ; |
| 429 | rdfs:subClassOf ep-flow:Flow . | 719 | rdfs:subClassOf ep-flow:Flow . |
| 430 | 720 | ||
| 431 | ep-flow:dailyAverageAmountOfMaterial | 721 | ep-flow:dailyAverageAmountOfMaterial |
| 432 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 722 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
| 433 | rdfs:label "daily average amount of material"^^xsd:string ; | 723 | rdfs:label "daily average amount of material"^^xsd:string ; |
| 434 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | 724 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . |
| 435 | 725 | ||
| ... | @@ -474,6 +764,6 @@ ep-flow:hasNetworkPart | ... | @@ -474,6 +764,6 @@ ep-flow:hasNetworkPart |
| 474 | rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> . | 764 | rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> . |
| 475 | 765 | ||
| 476 | ep-flow:totalAmountOfMaterial | 766 | ep-flow:totalAmountOfMaterial |
| 477 | - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | 767 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; |
| 478 | rdfs:label "total amount of material"^^xsd:string ; | 768 | rdfs:label "total amount of material"^^xsd:string ; |
| 479 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | 769 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | ... | ... |
| ... | @@ -4073,7 +4073,8 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -4073,7 +4073,8 @@ ep-dpr-spin-lib:selectProductType |
| 4073 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 4073 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 4074 | spin:body | 4074 | spin:body |
| 4075 | [ rdf:type sp:Select ; | 4075 | [ rdf:type sp:Select ; |
| 4076 | - sp:resultVariables (_:b21) ; | 4076 | + sp:resultVariables ([ sp:varName "productType"^^xsd:string |
| 4077 | + ]) ; | ||
| 4077 | sp:where ([ rdf:type sp:Bind ; | 4078 | sp:where ([ rdf:type sp:Bind ; |
| 4078 | sp:expression | 4079 | sp:expression |
| 4079 | [ rdf:type sp:if ; | 4080 | [ rdf:type sp:if ; |
| ... | @@ -4129,7 +4130,7 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -4129,7 +4130,7 @@ ep-dpr-spin-lib:selectProductType |
| 4129 | sp:arg1 spin:_arg1 ; | 4130 | sp:arg1 spin:_arg1 ; |
| 4130 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_electricpower> | 4131 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_electricpower> |
| 4131 | ] ; | 4132 | ] ; |
| 4132 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#FlowOfElectricity> ; | 4133 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ElectricPowerFlow> ; |
| 4133 | sp:arg3 [ rdf:type sp:if ; | 4134 | sp:arg3 [ rdf:type sp:if ; |
| 4134 | sp:arg1 [ rdf:type sp:eq ; | 4135 | sp:arg1 [ rdf:type sp:eq ; |
| 4135 | sp:arg1 spin:_arg1 ; | 4136 | sp:arg1 spin:_arg1 ; |
| ... | @@ -4153,7 +4154,7 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -4153,7 +4154,7 @@ ep-dpr-spin-lib:selectProductType |
| 4153 | sp:arg1 spin:_arg1 ; | 4154 | sp:arg1 spin:_arg1 ; |
| 4154 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_i-butane-component> | 4155 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_i-butane-component> |
| 4155 | ] ; | 4156 | ] ; |
| 4156 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#I-butane-componentFlow> ; | 4157 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Isobutane-componentFlow> ; |
| 4157 | sp:arg3 [ rdf:type sp:if ; | 4158 | sp:arg3 [ rdf:type sp:if ; |
| 4158 | sp:arg1 [ rdf:type sp:eq ; | 4159 | sp:arg1 [ rdf:type sp:eq ; |
| 4159 | sp:arg1 spin:_arg1 ; | 4160 | sp:arg1 spin:_arg1 ; |
| ... | @@ -4165,7 +4166,7 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -4165,7 +4166,7 @@ ep-dpr-spin-lib:selectProductType |
| 4165 | sp:arg1 spin:_arg1 ; | 4166 | sp:arg1 spin:_arg1 ; |
| 4166 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_n-butane-component> | 4167 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_n-butane-component> |
| 4167 | ] ; | 4168 | ] ; |
| 4168 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#N-butane-componentFlow> ; | 4169 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#NormalButane-componentFlow> ; |
| 4169 | sp:arg3 [ rdf:type sp:if ; | 4170 | sp:arg3 [ rdf:type sp:if ; |
| 4170 | sp:arg1 [ rdf:type sp:eq ; | 4171 | sp:arg1 [ rdf:type sp:eq ; |
| 4171 | sp:arg1 spin:_arg1 ; | 4172 | sp:arg1 spin:_arg1 ; |
| ... | @@ -4280,7 +4281,9 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -4280,7 +4281,9 @@ ep-dpr-spin-lib:selectProductType |
| 4280 | ] | 4281 | ] |
| 4281 | ] | 4282 | ] |
| 4282 | ] ; | 4283 | ] ; |
| 4283 | - sp:variable _:b21 | 4284 | + sp:variable |
| 4285 | + [ sp:varName "productType"^^xsd:string | ||
| 4286 | + ] | ||
| 4284 | ]) | 4287 | ]) |
| 4285 | ] . | 4288 | ] . |
| 4286 | 4289 | ||
| ... | @@ -4535,7 +4538,7 @@ ep-dpr-spin-lib:selectProductionFacilityType | ... | @@ -4535,7 +4538,7 @@ ep-dpr-spin-lib:selectProductionFacilityType |
| 4535 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 4538 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 4536 | spin:body | 4539 | spin:body |
| 4537 | [ rdf:type sp:Select ; | 4540 | [ rdf:type sp:Select ; |
| 4538 | - sp:resultVariables (_:b22) ; | 4541 | + sp:resultVariables (_:b21) ; |
| 4539 | sp:where ([ rdf:type sp:Bind ; | 4542 | sp:where ([ rdf:type sp:Bind ; |
| 4540 | sp:expression | 4543 | sp:expression |
| 4541 | [ rdf:type sp:if ; | 4544 | [ rdf:type sp:if ; |
| ... | @@ -4714,7 +4717,7 @@ ep-dpr-spin-lib:selectProductionFacilityType | ... | @@ -4714,7 +4717,7 @@ ep-dpr-spin-lib:selectProductionFacilityType |
| 4714 | ] | 4717 | ] |
| 4715 | ] | 4718 | ] |
| 4716 | ] ; | 4719 | ] ; |
| 4717 | - sp:variable _:b22 | 4720 | + sp:variable _:b21 |
| 4718 | ]) | 4721 | ]) |
| 4719 | ] . | 4722 | ] . |
| 4720 | 4723 | ||
| ... | @@ -4724,7 +4727,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType | ... | @@ -4724,7 +4727,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType |
| 4724 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 4727 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 4725 | spin:body | 4728 | spin:body |
| 4726 | [ rdf:type sp:Select ; | 4729 | [ rdf:type sp:Select ; |
| 4727 | - sp:resultVariables (_:b23) ; | 4730 | + sp:resultVariables (_:b22) ; |
| 4728 | sp:where ([ rdf:type sp:Bind ; | 4731 | sp:where ([ rdf:type sp:Bind ; |
| 4729 | sp:expression | 4732 | sp:expression |
| 4730 | [ rdf:type sp:if ; | 4733 | [ rdf:type sp:if ; |
| ... | @@ -4784,7 +4787,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType | ... | @@ -4784,7 +4787,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType |
| 4784 | ] | 4787 | ] |
| 4785 | ] | 4788 | ] |
| 4786 | ] ; | 4789 | ] ; |
| 4787 | - sp:variable _:b23 | 4790 | + sp:variable _:b22 |
| 4788 | ]) | 4791 | ]) |
| 4789 | ] . | 4792 | ] . |
| 4790 | 4793 | ||
| ... | @@ -4794,7 +4797,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType | ... | @@ -4794,7 +4797,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType |
| 4794 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 4797 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 4795 | spin:body | 4798 | spin:body |
| 4796 | [ rdf:type sp:Select ; | 4799 | [ rdf:type sp:Select ; |
| 4797 | - sp:resultVariables (_:b24) ; | 4800 | + sp:resultVariables (_:b23) ; |
| 4798 | sp:where ([ rdf:type sp:Bind ; | 4801 | sp:where ([ rdf:type sp:Bind ; |
| 4799 | sp:expression | 4802 | sp:expression |
| 4800 | [ rdf:type sp:if ; | 4803 | [ rdf:type sp:if ; |
| ... | @@ -4812,7 +4815,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType | ... | @@ -4812,7 +4815,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType |
| 4812 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> | 4815 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> |
| 4813 | ] | 4816 | ] |
| 4814 | ] ; | 4817 | ] ; |
| 4815 | - sp:variable _:b24 | 4818 | + sp:variable _:b23 |
| 4816 | ]) | 4819 | ]) |
| 4817 | ] . | 4820 | ] . |
| 4818 | 4821 | ||
| ... | @@ -4822,7 +4825,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType | ... | @@ -4822,7 +4825,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType |
| 4822 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 4825 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 4823 | spin:body | 4826 | spin:body |
| 4824 | [ rdf:type sp:Select ; | 4827 | [ rdf:type sp:Select ; |
| 4825 | - sp:resultVariables (_:b25) ; | 4828 | + sp:resultVariables (_:b24) ; |
| 4826 | sp:where ([ rdf:type sp:Bind ; | 4829 | sp:where ([ rdf:type sp:Bind ; |
| 4827 | sp:expression | 4830 | sp:expression |
| 4828 | [ rdf:type sp:if ; | 4831 | [ rdf:type sp:if ; |
| ... | @@ -4840,7 +4843,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType | ... | @@ -4840,7 +4843,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType |
| 4840 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> | 4843 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> |
| 4841 | ] | 4844 | ] |
| 4842 | ] ; | 4845 | ] ; |
| 4843 | - sp:variable _:b25 | 4846 | + sp:variable _:b24 |
| 4844 | ]) | 4847 | ]) |
| 4845 | ] . | 4848 | ] . |
| 4846 | 4849 | ||
| ... | @@ -4850,7 +4853,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -4850,7 +4853,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType |
| 4850 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 4853 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 4851 | spin:body | 4854 | spin:body |
| 4852 | [ rdf:type sp:Select ; | 4855 | [ rdf:type sp:Select ; |
| 4853 | - sp:resultVariables (_:b26) ; | 4856 | + sp:resultVariables (_:b25) ; |
| 4854 | sp:where ([ rdf:type sp:Bind ; | 4857 | sp:where ([ rdf:type sp:Bind ; |
| 4855 | sp:expression | 4858 | sp:expression |
| 4856 | [ rdf:type sp:if ; | 4859 | [ rdf:type sp:if ; |
| ... | @@ -5001,7 +5004,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -5001,7 +5004,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType |
| 5001 | ] | 5004 | ] |
| 5002 | ] | 5005 | ] |
| 5003 | ] ; | 5006 | ] ; |
| 5004 | - sp:variable _:b26 | 5007 | + sp:variable _:b25 |
| 5005 | ]) | 5008 | ]) |
| 5006 | ] . | 5009 | ] . |
| 5007 | 5010 | ||
| ... | @@ -5104,7 +5107,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure | ... | @@ -5104,7 +5107,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure |
| 5104 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5107 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 5105 | spin:body | 5108 | spin:body |
| 5106 | [ rdf:type sp:Select ; | 5109 | [ rdf:type sp:Select ; |
| 5107 | - sp:resultVariables (_:b27) ; | 5110 | + sp:resultVariables (_:b26) ; |
| 5108 | sp:where ([ rdf:type sp:Bind ; | 5111 | sp:where ([ rdf:type sp:Bind ; |
| 5109 | sp:expression | 5112 | sp:expression |
| 5110 | [ rdf:type sp:if ; | 5113 | [ rdf:type sp:if ; |
| ... | @@ -5178,7 +5181,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure | ... | @@ -5178,7 +5181,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure |
| 5178 | ] | 5181 | ] |
| 5179 | ] | 5182 | ] |
| 5180 | ] ; | 5183 | ] ; |
| 5181 | - sp:variable _:b27 | 5184 | + sp:variable _:b26 |
| 5182 | ]) | 5185 | ]) |
| 5183 | ] . | 5186 | ] . |
| 5184 | 5187 | ||
| ... | @@ -5187,7 +5190,7 @@ ep-dpr-spin-lib:selectSafetyActivityType | ... | @@ -5187,7 +5190,7 @@ ep-dpr-spin-lib:selectSafetyActivityType |
| 5187 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5190 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 5188 | spin:body | 5191 | spin:body |
| 5189 | [ rdf:type sp:Select ; | 5192 | [ rdf:type sp:Select ; |
| 5190 | - sp:resultVariables (_:b28) ; | 5193 | + sp:resultVariables (_:b27) ; |
| 5191 | sp:where ([ rdf:type sp:Bind ; | 5194 | sp:where ([ rdf:type sp:Bind ; |
| 5192 | sp:expression | 5195 | sp:expression |
| 5193 | [ rdf:type sp:if ; | 5196 | [ rdf:type sp:if ; |
| ... | @@ -5331,7 +5334,7 @@ ep-dpr-spin-lib:selectSafetyActivityType | ... | @@ -5331,7 +5334,7 @@ ep-dpr-spin-lib:selectSafetyActivityType |
| 5331 | ] | 5334 | ] |
| 5332 | ] | 5335 | ] |
| 5333 | ] ; | 5336 | ] ; |
| 5334 | - sp:variable _:b28 | 5337 | + sp:variable _:b27 |
| 5335 | ]) | 5338 | ]) |
| 5336 | ] . | 5339 | ] . |
| 5337 | 5340 | ||
| ... | @@ -5594,7 +5597,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5594,7 +5597,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
| 5594 | ] ; | 5597 | ] ; |
| 5595 | spin:body | 5598 | spin:body |
| 5596 | [ rdf:type sp:Select ; | 5599 | [ rdf:type sp:Select ; |
| 5597 | - sp:resultVariables (_:b29) ; | 5600 | + sp:resultVariables (_:b28) ; |
| 5598 | sp:where ([ rdf:type sp:Bind ; | 5601 | sp:where ([ rdf:type sp:Bind ; |
| 5599 | sp:expression | 5602 | sp:expression |
| 5600 | [ rdf:type sp:if ; | 5603 | [ rdf:type sp:if ; |
| ... | @@ -5605,7 +5608,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5605,7 +5608,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
| 5605 | sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | 5608 | sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; |
| 5606 | sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | 5609 | sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> |
| 5607 | ] ; | 5610 | ] ; |
| 5608 | - sp:variable _:b29 | 5611 | + sp:variable _:b28 |
| 5609 | ]) | 5612 | ]) |
| 5610 | ] . | 5613 | ] . |
| 5611 | 5614 | ||
| ... | @@ -5660,7 +5663,8 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -5660,7 +5663,8 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
| 5660 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5663 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 5661 | spin:body | 5664 | spin:body |
| 5662 | [ rdf:type sp:Select ; | 5665 | [ rdf:type sp:Select ; |
| 5663 | - sp:resultVariables (_:b30) ; | 5666 | + sp:resultVariables ([ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string |
| 5667 | + ]) ; | ||
| 5664 | sp:where ([ rdf:type sp:Bind ; | 5668 | sp:where ([ rdf:type sp:Bind ; |
| 5665 | sp:expression | 5669 | sp:expression |
| 5666 | [ rdf:type sp:if ; | 5670 | [ rdf:type sp:if ; |
| ... | @@ -5698,13 +5702,13 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -5698,13 +5702,13 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
| 5698 | sp:arg1 spin:_arg1 ; | 5702 | sp:arg1 spin:_arg1 ; |
| 5699 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_report> | 5703 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_report> |
| 5700 | ] ; | 5704 | ] ; |
| 5701 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 5705 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#FlowDuringPeriod> ; |
| 5702 | sp:arg3 [ rdf:type sp:if ; | 5706 | sp:arg3 [ rdf:type sp:if ; |
| 5703 | sp:arg1 [ rdf:type sp:eq ; | 5707 | sp:arg1 [ rdf:type sp:eq ; |
| 5704 | sp:arg1 spin:_arg1 ; | 5708 | sp:arg1 spin:_arg1 ; |
| 5705 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative> | 5709 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative> |
| 5706 | ] ; | 5710 | ] ; |
| 5707 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 5711 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#FlowDuringPeriod> ; |
| 5708 | sp:arg3 [ rdf:type sp:if ; | 5712 | sp:arg3 [ rdf:type sp:if ; |
| 5709 | sp:arg1 [ rdf:type sp:eq ; | 5713 | sp:arg1 [ rdf:type sp:eq ; |
| 5710 | sp:arg1 spin:_arg1 ; | 5714 | sp:arg1 spin:_arg1 ; |
| ... | @@ -5723,7 +5727,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -5723,7 +5727,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
| 5723 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_year> | 5727 | sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_year> |
| 5724 | ] ; | 5728 | ] ; |
| 5725 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#FlowDuringYear> ; | 5729 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#FlowDuringYear> ; |
| 5726 | - sp:arg3 <http://www.reportinghub.no/ep/schema/flow#Flow> | 5730 | + sp:arg3 <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAFlow> |
| 5727 | ] | 5731 | ] |
| 5728 | ] | 5732 | ] |
| 5729 | ] | 5733 | ] |
| ... | @@ -5734,7 +5738,9 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -5734,7 +5738,9 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
| 5734 | ] | 5738 | ] |
| 5735 | ] | 5739 | ] |
| 5736 | ] ; | 5740 | ] ; |
| 5737 | - sp:variable _:b30 | 5741 | + sp:variable |
| 5742 | + [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string | ||
| 5743 | + ] | ||
| 5738 | ]) | 5744 | ]) |
| 5739 | ] . | 5745 | ] . |
| 5740 | 5746 | ||
| ... | @@ -5957,7 +5963,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType | ... | @@ -5957,7 +5963,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType |
| 5957 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5963 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 5958 | spin:body | 5964 | spin:body |
| 5959 | [ rdf:type sp:Select ; | 5965 | [ rdf:type sp:Select ; |
| 5960 | - sp:resultVariables (_:b31) ; | 5966 | + sp:resultVariables (_:b29) ; |
| 5961 | sp:where ([ rdf:type sp:Bind ; | 5967 | sp:where ([ rdf:type sp:Bind ; |
| 5962 | sp:expression | 5968 | sp:expression |
| 5963 | [ rdf:type sp:if ; | 5969 | [ rdf:type sp:if ; |
| ... | @@ -5982,7 +5988,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType | ... | @@ -5982,7 +5988,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType |
| 5982 | ] | 5988 | ] |
| 5983 | ] | 5989 | ] |
| 5984 | ] ; | 5990 | ] ; |
| 5985 | - sp:variable _:b31 | 5991 | + sp:variable _:b29 |
| 5986 | ]) | 5992 | ]) |
| 5987 | ] . | 5993 | ] . |
| 5988 | 5994 | ||
| ... | @@ -5992,7 +5998,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType | ... | @@ -5992,7 +5998,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType |
| 5992 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5998 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 5993 | spin:body | 5999 | spin:body |
| 5994 | [ rdf:type sp:Select ; | 6000 | [ rdf:type sp:Select ; |
| 5995 | - sp:resultVariables (_:b32) ; | 6001 | + sp:resultVariables (_:b30) ; |
| 5996 | sp:where ([ rdf:type sp:Bind ; | 6002 | sp:where ([ rdf:type sp:Bind ; |
| 5997 | sp:expression | 6003 | sp:expression |
| 5998 | [ rdf:type sp:if ; | 6004 | [ rdf:type sp:if ; |
| ... | @@ -6017,7 +6023,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType | ... | @@ -6017,7 +6023,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType |
| 6017 | ] | 6023 | ] |
| 6018 | ] | 6024 | ] |
| 6019 | ] ; | 6025 | ] ; |
| 6020 | - sp:variable _:b32 | 6026 | + sp:variable _:b30 |
| 6021 | ]) | 6027 | ]) |
| 6022 | ] . | 6028 | ] . |
| 6023 | 6029 | ||
| ... | @@ -7135,41 +7141,35 @@ ep-dpr-spin-lib:selectWorkScale | ... | @@ -7135,41 +7141,35 @@ ep-dpr-spin-lib:selectWorkScale |
| 7135 | ]) | 7141 | ]) |
| 7136 | ] . | 7142 | ] . |
| 7137 | 7143 | ||
| 7138 | -_:b32 | ||
| 7139 | - sp:varName "volumeFlowRateAtStdType"^^xsd:string . | ||
| 7140 | - | ||
| 7141 | -_:b31 | ||
| 7142 | - sp:varName "volumeAtStdType"^^xsd:string . | ||
| 7143 | - | ||
| 7144 | _:b30 | 7144 | _:b30 |
| 7145 | - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | 7145 | + sp:varName "volumeFlowRateAtStdType"^^xsd:string . |
| 7146 | 7146 | ||
| 7147 | _:b29 | 7147 | _:b29 |
| 7148 | - sp:varName "specificVolumeScale"^^xsd:string . | 7148 | + sp:varName "volumeAtStdType"^^xsd:string . |
| 7149 | 7149 | ||
| 7150 | _:b28 | 7150 | _:b28 |
| 7151 | - sp:varName "safetyActivityType"^^xsd:string . | 7151 | + sp:varName "specificVolumeScale"^^xsd:string . |
| 7152 | 7152 | ||
| 7153 | _:b27 | 7153 | _:b27 |
| 7154 | - sp:varName "relationshipToMeasure"^^xsd:string . | 7154 | + sp:varName "safetyActivityType"^^xsd:string . |
| 7155 | 7155 | ||
| 7156 | _:b26 | 7156 | _:b26 |
| 7157 | - sp:varName "productionFlowPurposeType"^^xsd:string . | 7157 | + sp:varName "relationshipToMeasure"^^xsd:string . |
| 7158 | 7158 | ||
| 7159 | _:b25 | 7159 | _:b25 |
| 7160 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | 7160 | + sp:varName "productionFlowPurposeType"^^xsd:string . |
| 7161 | 7161 | ||
| 7162 | _:b24 | 7162 | _:b24 |
| 7163 | sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | 7163 | sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . |
| 7164 | 7164 | ||
| 7165 | _:b23 | 7165 | _:b23 |
| 7166 | - sp:varName "productionFlowDefinitionType"^^xsd:string . | 7166 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . |
| 7167 | 7167 | ||
| 7168 | _:b22 | 7168 | _:b22 |
| 7169 | - sp:varName "productionFacilityType"^^xsd:string . | 7169 | + sp:varName "productionFlowDefinitionType"^^xsd:string . |
| 7170 | 7170 | ||
| 7171 | _:b21 | 7171 | _:b21 |
| 7172 | - sp:varName "productType"^^xsd:string . | 7172 | + sp:varName "productionFacilityType"^^xsd:string . |
| 7173 | 7173 | ||
| 7174 | _:b20 | 7174 | _:b20 |
| 7175 | sp:varName "densityScale"^^xsd:string . | 7175 | sp:varName "densityScale"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
| ... | @@ -31,197 +31,325 @@ | ... | @@ -31,197 +31,325 @@ |
| 31 | <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> | 31 | <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> |
| 32 | spin:rule | 32 | spin:rule |
| 33 | [ rdf:type sp:Construct ; | 33 | [ rdf:type sp:Construct ; |
| 34 | - rdfs:comment "STEP 20103a record the flows"^^xsd:string ; | 34 | + rdfs:comment "STEP 20105 record the temporal parts of product flows"^^xsd:string ; |
| 35 | - sp:templates ([ sp:object | 35 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductFlow> ; |
| 36 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 37 | - ] ; | ||
| 38 | - sp:predicate | ||
| 39 | - [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string | ||
| 40 | - ] ; | ||
| 41 | - sp:subject | ||
| 42 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 43 | - ] | ||
| 44 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 45 | sp:predicate rdf:type ; | 36 | sp:predicate rdf:type ; |
| 46 | - sp:subject | 37 | + sp:subject _:b1 |
| 47 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 48 | - ] | ||
| 49 | ] [ sp:object | 38 | ] [ sp:object |
| 50 | - [ sp:varName "productionFlowPurposeType"^^xsd:string | 39 | + [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string |
| 51 | ] ; | 40 | ] ; |
| 52 | sp:predicate rdf:type ; | 41 | sp:predicate rdf:type ; |
| 53 | - sp:subject | 42 | + sp:subject _:b1 |
| 54 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 55 | - ] | ||
| 56 | ] [ sp:object | 43 | ] [ sp:object |
| 57 | - [ sp:varName "productionFlowDefinitionType"^^xsd:string | 44 | + [ sp:varName "productFlowToDate"^^xsd:string |
| 58 | ] ; | 45 | ] ; |
| 59 | - sp:predicate rdf:type ; | 46 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 60 | - sp:subject | 47 | + sp:subject _:b1 |
| 61 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 62 | - ] | ||
| 63 | ] [ sp:object | 48 | ] [ sp:object |
| 64 | - [ sp:varName "flowName"^^xsd:string | 49 | + [ sp:varName "endTime"^^xsd:string |
| 65 | ] ; | 50 | ] ; |
| 66 | - sp:predicate rdfs:label ; | 51 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
| 67 | - sp:subject | 52 | + sp:subject _:b1 |
| 68 | - [ sp:varName "productionFlow"^^xsd:string | 53 | + ] [ sp:object _:b2 ; |
| 69 | - ] | 54 | + sp:predicate |
| 70 | - ] [ sp:object | 55 | + [ sp:varName "relationshipToMeasure"^^xsd:string |
| 71 | - [ sp:varName "productionFlow"^^xsd:string | ||
| 72 | ] ; | 56 | ] ; |
| 73 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 74 | sp:subject _:b1 | 57 | sp:subject _:b1 |
| 75 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | 58 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
| 76 | sp:predicate rdf:type ; | 59 | sp:predicate rdf:type ; |
| 77 | - sp:subject _:b1 | 60 | + sp:subject _:b2 |
| 78 | - ] [ sp:object _:b1 ; | ||
| 79 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | ||
| 80 | - sp:subject | ||
| 81 | - [ sp:varName "productionFlowsToDate"^^xsd:string | ||
| 82 | - ] | ||
| 83 | ] [ sp:object | 61 | ] [ sp:object |
| 84 | - [ sp:varName "flowRef"^^xsd:string | 62 | + [ sp:varName "realVolume"^^xsd:string |
| 63 | + ] ; | ||
| 64 | + sp:predicate | ||
| 65 | + [ sp:varName "volumeScale"^^xsd:string | ||
| 66 | + ] ; | ||
| 67 | + sp:subject _:b2 | ||
| 68 | + ] [ sp:object _:b3 ; | ||
| 69 | + sp:predicate | ||
| 70 | + [ sp:varName "relationshipToMeasure"^^xsd:string | ||
| 85 | ] ; | 71 | ] ; |
| 86 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 87 | sp:subject _:b1 | 72 | sp:subject _:b1 |
| 88 | - ]) ; | ||
| 89 | - sp:where ([ sp:object spin:_this ; | ||
| 90 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 91 | - sp:subject | ||
| 92 | - [ sp:varName "dailyProductionFlows"^^xsd:string | ||
| 93 | - ] | ||
| 94 | ] [ sp:object | 73 | ] [ sp:object |
| 95 | - [ sp:varName "productionFlowsToDate"^^xsd:string | 74 | + [ sp:varName "volumeStdType"^^xsd:string |
| 96 | ] ; | 75 | ] ; |
| 97 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 98 | - sp:subject | ||
| 99 | - [ sp:varName "dailyProductionFlows"^^xsd:string | ||
| 100 | - ] | ||
| 101 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
| 102 | sp:predicate rdf:type ; | 76 | sp:predicate rdf:type ; |
| 103 | - sp:subject | 77 | + sp:subject _:b3 |
| 104 | - [ sp:varName "productionFlowsToDate"^^xsd:string | 78 | + ] [ sp:object |
| 105 | - ] | 79 | + [ sp:varName "realVolumeStd"^^xsd:string |
| 80 | + ] ; | ||
| 81 | + sp:predicate | ||
| 82 | + [ sp:varName "volumeStdScale"^^xsd:string | ||
| 83 | + ] ; | ||
| 84 | + sp:subject _:b3 | ||
| 85 | + ]) ; | ||
| 86 | + sp:where ([ sp:object | ||
| 87 | + [ sp:varName "standardTempPres"^^xsd:string | ||
| 88 | + ] ; | ||
| 89 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#standardTempPresRef> ; | ||
| 90 | + sp:subject spin:_this | ||
| 106 | ] [ sp:object | 91 | ] [ sp:object |
| 107 | [ sp:varName "facilityRef"^^xsd:string | 92 | [ sp:varName "facilityRef"^^xsd:string |
| 108 | ] ; | 93 | ] ; |
| 109 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | 94 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; |
| 110 | sp:subject spin:_this | 95 | sp:subject spin:_this |
| 111 | ] [ sp:object | 96 | ] [ sp:object |
| 112 | - [ sp:varName "facilityNameRef"^^xsd:string | 97 | + [ sp:varName "flowRef"^^xsd:string |
| 113 | ] ; | 98 | ] ; |
| 114 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 99 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; |
| 115 | sp:subject | 100 | sp:subject |
| 116 | [ sp:varName "facilityRef"^^xsd:string | 101 | [ sp:varName "facilityRef"^^xsd:string |
| 117 | ] | 102 | ] |
| 118 | ] [ sp:object | 103 | ] [ sp:object |
| 119 | - [ sp:varName "facilityName"^^xsd:string | 104 | + [ sp:varName "productRef"^^xsd:string |
| 120 | ] ; | 105 | ] ; |
| 121 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 106 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ; |
| 122 | sp:subject | 107 | sp:subject |
| 123 | - [ sp:varName "facilityNameRef"^^xsd:string | 108 | + [ sp:varName "flowRef"^^xsd:string |
| 124 | ] | 109 | ] |
| 125 | ] [ sp:object | 110 | ] [ sp:object |
| 126 | - [ sp:varName "flowRef"^^xsd:string | 111 | + [ sp:varName "productRef"^^xsd:string |
| 127 | ] ; | 112 | ] ; |
| 128 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | 113 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 129 | sp:subject | 114 | sp:subject |
| 130 | - [ sp:varName "facilityRef"^^xsd:string | 115 | + [ sp:varName "productFlowToDate"^^xsd:string |
| 131 | ] | 116 | ] |
| 132 | ] [ sp:object | 117 | ] [ sp:object |
| 133 | - [ sp:varName "flowName"^^xsd:string | 118 | + [ sp:varName "periodRef"^^xsd:string |
| 134 | ] ; | 119 | ] ; |
| 135 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | 120 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; |
| 136 | sp:subject | 121 | sp:subject |
| 137 | - [ sp:varName "flowRef"^^xsd:string | 122 | + [ sp:varName "productRef"^^xsd:string |
| 138 | ] | 123 | ] |
| 139 | ] [ sp:object | 124 | ] [ sp:object |
| 140 | - [ sp:varName "flowKind"^^xsd:string | 125 | + [ sp:varName "periodKindRef"^^xsd:string |
| 141 | ] ; | 126 | ] ; |
| 142 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 127 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 143 | sp:subject | 128 | sp:subject |
| 144 | - [ sp:varName "flowRef"^^xsd:string | 129 | + [ sp:varName "periodRef"^^xsd:string |
| 145 | ] | 130 | ] |
| 146 | ] [ sp:object | 131 | ] [ sp:object |
| 147 | - [ sp:varName "flowDirection"^^xsd:string | 132 | + [ sp:varName "endTime"^^xsd:string |
| 148 | ] ; | 133 | ] ; |
| 149 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | 134 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; |
| 150 | sp:subject | 135 | sp:subject |
| 151 | - [ sp:varName "flowRef"^^xsd:string | 136 | + [ sp:varName "periodRef"^^xsd:string |
| 152 | ] | 137 | ] |
| 153 | ] [ rdf:type sp:Optional ; | 138 | ] [ rdf:type sp:Optional ; |
| 154 | sp:elements ([ sp:object | 139 | sp:elements ([ sp:object |
| 155 | - [ sp:varName "flowQualifier"^^xsd:string | 140 | + [ sp:varName "volumeRef"^^xsd:string |
| 156 | ] ; | 141 | ] ; |
| 157 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | 142 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; |
| 158 | sp:subject | 143 | sp:subject |
| 159 | - [ sp:varName "flowRef"^^xsd:string | 144 | + [ sp:varName "periodRef"^^xsd:string |
| 145 | + ] | ||
| 146 | + ] [ sp:object | ||
| 147 | + [ sp:varName "realVolume"^^xsd:string | ||
| 148 | + ] ; | ||
| 149 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 150 | + sp:subject | ||
| 151 | + [ sp:varName "volumeRef"^^xsd:string | ||
| 152 | + ] | ||
| 153 | + ] [ sp:object | ||
| 154 | + [ sp:varName "uomVolume"^^xsd:string | ||
| 155 | + ] ; | ||
| 156 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
| 157 | + sp:subject | ||
| 158 | + [ sp:varName "volumeRef"^^xsd:string | ||
| 159 | + ] | ||
| 160 | + ]) | ||
| 161 | + ] [ rdf:type sp:Optional ; | ||
| 162 | + sp:elements ([ sp:object | ||
| 163 | + [ sp:varName "volumeStdRef"^^xsd:string | ||
| 164 | + ] ; | ||
| 165 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; | ||
| 166 | + sp:subject | ||
| 167 | + [ sp:varName "periodRef"^^xsd:string | ||
| 168 | + ] | ||
| 169 | + ] [ sp:object | ||
| 170 | + [ sp:varName "realVolumeStd"^^xsd:string | ||
| 171 | + ] ; | ||
| 172 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 173 | + sp:subject | ||
| 174 | + [ sp:varName "volumeStdRef"^^xsd:string | ||
| 175 | + ] | ||
| 176 | + ] [ sp:object | ||
| 177 | + [ sp:varName "uomVolumeStd"^^xsd:string | ||
| 178 | + ] ; | ||
| 179 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
| 180 | + sp:subject | ||
| 181 | + [ sp:varName "volumeStdRef"^^xsd:string | ||
| 160 | ] | 182 | ] |
| 161 | ]) | 183 | ]) |
| 162 | ] [ rdf:type sp:Bind ; | 184 | ] [ rdf:type sp:Bind ; |
| 163 | sp:expression | 185 | sp:expression |
| 164 | - [ rdf:type ep-spin-lib:normalizeString ; | 186 | + [ rdf:type ep-dpr-spin-lib:selectRelationshipToMeasure ; |
| 165 | - sp:arg1 [ sp:varName "facilityName"^^xsd:string | 187 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string |
| 166 | ] | 188 | ] |
| 167 | ] ; | 189 | ] ; |
| 168 | sp:variable | 190 | sp:variable |
| 169 | - [ sp:varName "normalizedFacilityName"^^xsd:string | 191 | + [ sp:varName "relationshipToMeasure"^^xsd:string |
| 170 | ] | 192 | ] |
| 171 | ] [ rdf:type sp:Bind ; | 193 | ] [ rdf:type sp:Bind ; |
| 172 | sp:expression | 194 | sp:expression |
| 173 | - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | 195 | + [ rdf:type ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ; |
| 174 | - sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string | 196 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string |
| 175 | ] | 197 | ] |
| 176 | ] ; | 198 | ] ; |
| 177 | sp:variable | 199 | sp:variable |
| 178 | - [ sp:varName "productionFacility"^^xsd:string | 200 | + [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string |
| 179 | ] | 201 | ] |
| 180 | ] [ rdf:type sp:Bind ; | 202 | ] [ rdf:type sp:Bind ; |
| 181 | sp:expression | 203 | sp:expression |
| 182 | - [ rdf:type ep-spin-lib:normalizeString ; | 204 | + [ rdf:type ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ; |
| 183 | - sp:arg1 [ sp:varName "flowName"^^xsd:string | 205 | + sp:arg1 [ sp:varName "standardTempPres"^^xsd:string |
| 184 | ] | 206 | ] |
| 185 | ] ; | 207 | ] ; |
| 186 | sp:variable | 208 | sp:variable |
| 187 | - [ sp:varName "normalizedFlowName"^^xsd:string | 209 | + [ sp:varName "volumeStdType"^^xsd:string |
| 188 | ] | 210 | ] |
| 189 | ] [ rdf:type sp:Bind ; | 211 | ] [ rdf:type sp:Bind ; |
| 190 | sp:expression | 212 | sp:expression |
| 191 | - [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | 213 | + [ rdf:type ep-dpr-spin-lib:selectVolumeScale ; |
| 192 | - sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string | 214 | + sp:arg1 [ sp:varName "uomVolume"^^xsd:string |
| 193 | ] | 215 | ] |
| 194 | ] ; | 216 | ] ; |
| 195 | sp:variable | 217 | sp:variable |
| 196 | - [ sp:varName "productionFlow"^^xsd:string | 218 | + [ sp:varName "volumeScale"^^xsd:string |
| 197 | ] | 219 | ] |
| 198 | ] [ rdf:type sp:Bind ; | 220 | ] [ rdf:type sp:Bind ; |
| 199 | sp:expression | 221 | sp:expression |
| 200 | - [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ; | 222 | + [ rdf:type ep-dpr-spin-lib:selectVolumeScale ; |
| 201 | - sp:arg1 [ sp:varName "flowKind"^^xsd:string | 223 | + sp:arg1 [ sp:varName "uomVolumeStd"^^xsd:string |
| 202 | ] | 224 | ] |
| 203 | ] ; | 225 | ] ; |
| 204 | sp:variable | 226 | sp:variable |
| 205 | - [ sp:varName "productionFlowPurposeType"^^xsd:string | 227 | + [ sp:varName "volumeStdScale"^^xsd:string |
| 206 | ] | 228 | ] |
| 229 | + ]) | ||
| 230 | + ] ; | ||
| 231 | + spin:rule | ||
| 232 | + [ rdf:type sp:Construct ; | ||
| 233 | + rdfs:comment """STEP 20102 Record the Facility that has the flows | ||
| 234 | +Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 235 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 236 | + sp:predicate rdf:type ; | ||
| 237 | + sp:subject _:b4 | ||
| 238 | + ] [ sp:object _:b5 ; | ||
| 239 | + sp:predicate rdf:type ; | ||
| 240 | + sp:subject _:b4 | ||
| 241 | + ]) ; | ||
| 242 | + sp:where ([ sp:object _:b6 ; | ||
| 243 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 244 | + sp:subject spin:_this | ||
| 245 | + ] [ sp:object _:b7 ; | ||
| 246 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | ||
| 247 | + sp:subject _:b6 | ||
| 248 | + ] [ sp:object _:b8 ; | ||
| 249 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 250 | + sp:subject _:b7 | ||
| 251 | + ] [ rdf:type sp:Optional ; | ||
| 252 | + sp:elements ([ sp:object | ||
| 253 | + [ sp:varName "facilityNamingSystem"^^xsd:string | ||
| 254 | + ] ; | ||
| 255 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | ||
| 256 | + sp:subject _:b7 | ||
| 257 | + ]) | ||
| 258 | + ] [ rdf:type sp:Optional ; | ||
| 259 | + sp:elements ([ sp:object _:b9 ; | ||
| 260 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 261 | + sp:subject _:b7 | ||
| 262 | + ]) | ||
| 207 | ] [ rdf:type sp:Bind ; | 263 | ] [ rdf:type sp:Bind ; |
| 208 | sp:expression | 264 | sp:expression |
| 209 | - [ rdf:type ep-dpr-spin-lib:selectProductionFlowDefinitionType ; | 265 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 210 | - sp:arg1 [ sp:varName "flowQualifier"^^xsd:string | 266 | + sp:arg1 _:b8 |
| 211 | - ] | ||
| 212 | ] ; | 267 | ] ; |
| 213 | - sp:variable | 268 | + sp:variable _:b10 |
| 214 | - [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
| 215 | - ] | ||
| 216 | ] [ rdf:type sp:Bind ; | 269 | ] [ rdf:type sp:Bind ; |
| 217 | sp:expression | 270 | sp:expression |
| 218 | - [ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ; | 271 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; |
| 219 | - sp:arg1 [ sp:varName "flowDirection"^^xsd:string | 272 | + sp:arg1 _:b10 |
| 220 | - ] | ||
| 221 | ] ; | 273 | ] ; |
| 222 | - sp:variable | 274 | + sp:variable _:b4 |
| 223 | - [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string | 275 | + ] [ rdf:type sp:Bind ; |
| 224 | - ] | 276 | + sp:expression |
| 277 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 278 | + sp:arg1 _:b9 | ||
| 279 | + ] ; | ||
| 280 | + sp:variable _:b5 | ||
| 281 | + ]) | ||
| 282 | + ] ; | ||
| 283 | + spin:rule | ||
| 284 | + [ rdf:type sp:Construct ; | ||
| 285 | + rdfs:comment """STEP 20103b record the related facility | ||
| 286 | +nothing is done with the facilityParent1 or facilityParent2 of the related facility"""^^xsd:string ; | ||
| 287 | + sp:templates ([ sp:object _:b11 ; | ||
| 288 | + sp:predicate _:b12 ; | ||
| 289 | + sp:subject _:b13 | ||
| 290 | + ] [ sp:object _:b14 ; | ||
| 291 | + sp:predicate rdf:type ; | ||
| 292 | + sp:subject _:b11 | ||
| 293 | + ]) ; | ||
| 294 | + sp:where ([ sp:object _:b15 ; | ||
| 295 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 296 | + sp:subject spin:_this | ||
| 297 | + ] [ sp:object _:b16 ; | ||
| 298 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 299 | + sp:subject _:b15 | ||
| 300 | + ] [ sp:object _:b17 ; | ||
| 301 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 302 | + sp:subject _:b16 | ||
| 303 | + ] [ sp:object _:b18 ; | ||
| 304 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | ||
| 305 | + sp:subject _:b16 | ||
| 306 | + ] [ sp:object _:b19 ; | ||
| 307 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ; | ||
| 308 | + sp:subject _:b16 | ||
| 309 | + ] [ sp:object _:b20 ; | ||
| 310 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 311 | + sp:subject _:b19 | ||
| 312 | + ] [ rdf:type sp:Optional ; | ||
| 313 | + sp:elements ([ sp:object _:b21 ; | ||
| 314 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 315 | + sp:subject _:b19 | ||
| 316 | + ]) | ||
| 317 | + ] [ rdf:type sp:Bind ; | ||
| 318 | + sp:expression | ||
| 319 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 320 | + sp:arg1 _:b17 | ||
| 321 | + ] ; | ||
| 322 | + sp:variable _:b22 | ||
| 323 | + ] [ rdf:type sp:Bind ; | ||
| 324 | + sp:expression | ||
| 325 | + [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | ||
| 326 | + sp:arg1 _:b22 | ||
| 327 | + ] ; | ||
| 328 | + sp:variable _:b13 | ||
| 329 | + ] [ rdf:type sp:Bind ; | ||
| 330 | + sp:expression | ||
| 331 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 332 | + sp:arg1 _:b20 | ||
| 333 | + ] ; | ||
| 334 | + sp:variable _:b23 | ||
| 335 | + ] [ rdf:type sp:Bind ; | ||
| 336 | + sp:expression | ||
| 337 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 338 | + sp:arg1 _:b23 | ||
| 339 | + ] ; | ||
| 340 | + sp:variable _:b11 | ||
| 341 | + ] [ rdf:type sp:Bind ; | ||
| 342 | + sp:expression | ||
| 343 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 344 | + sp:arg1 _:b21 | ||
| 345 | + ] ; | ||
| 346 | + sp:variable _:b14 | ||
| 347 | + ] [ rdf:type sp:Bind ; | ||
| 348 | + sp:expression | ||
| 349 | + [ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ; | ||
| 350 | + sp:arg1 _:b18 | ||
| 351 | + ] ; | ||
| 352 | + sp:variable _:b12 | ||
| 225 | ]) | 353 | ]) |
| 226 | ] ; | 354 | ] ; |
| 227 | spin:rule | 355 | spin:rule |
| ... | @@ -258,11 +386,11 @@ namingSystem not processed"""^^xsd:string ; | ... | @@ -258,11 +386,11 @@ namingSystem not processed"""^^xsd:string ; |
| 258 | [ sp:varName "productFlow"^^xsd:string | 386 | [ sp:varName "productFlow"^^xsd:string |
| 259 | ] ; | 387 | ] ; |
| 260 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 388 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 261 | - sp:subject _:b2 | 389 | + sp:subject _:b24 |
| 262 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowToDate> ; | 390 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowToDate> ; |
| 263 | sp:predicate rdf:type ; | 391 | sp:predicate rdf:type ; |
| 264 | - sp:subject _:b2 | 392 | + sp:subject _:b24 |
| 265 | - ] [ sp:object _:b2 ; | 393 | + ] [ sp:object _:b24 ; |
| 266 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | 394 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; |
| 267 | sp:subject | 395 | sp:subject |
| 268 | [ sp:varName "productionFlowToDate"^^xsd:string | 396 | [ sp:varName "productionFlowToDate"^^xsd:string |
| ... | @@ -271,7 +399,7 @@ namingSystem not processed"""^^xsd:string ; | ... | @@ -271,7 +399,7 @@ namingSystem not processed"""^^xsd:string ; |
| 271 | [ sp:varName "productRef"^^xsd:string | 399 | [ sp:varName "productRef"^^xsd:string |
| 272 | ] ; | 400 | ] ; |
| 273 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 401 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 274 | - sp:subject _:b2 | 402 | + sp:subject _:b24 |
| 275 | ]) ; | 403 | ]) ; |
| 276 | sp:where ([ sp:object spin:_this ; | 404 | sp:where ([ sp:object spin:_this ; |
| 277 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 405 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| ... | @@ -343,15 +471,6 @@ namingSystem not processed"""^^xsd:string ; | ... | @@ -343,15 +471,6 @@ namingSystem not processed"""^^xsd:string ; |
| 343 | ]) | 471 | ]) |
| 344 | ] [ rdf:type sp:Bind ; | 472 | ] [ rdf:type sp:Bind ; |
| 345 | sp:expression | 473 | sp:expression |
| 346 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 347 | - sp:arg1 [ sp:varName "flowName"^^xsd:string | ||
| 348 | - ] | ||
| 349 | - ] ; | ||
| 350 | - sp:variable | ||
| 351 | - [ sp:varName "normalizedFlowName"^^xsd:string | ||
| 352 | - ] | ||
| 353 | - ] [ rdf:type sp:Bind ; | ||
| 354 | - sp:expression | ||
| 355 | [ rdf:type ep-dpr-spin-lib:selectProductType ; | 474 | [ rdf:type ep-dpr-spin-lib:selectProductType ; |
| 356 | sp:arg1 [ sp:varName "productKind"^^xsd:string | 475 | sp:arg1 [ sp:varName "productKind"^^xsd:string |
| 357 | ] | 476 | ] |
| ... | @@ -380,6 +499,15 @@ namingSystem not processed"""^^xsd:string ; | ... | @@ -380,6 +499,15 @@ namingSystem not processed"""^^xsd:string ; |
| 380 | ] | 499 | ] |
| 381 | ] [ rdf:type sp:Bind ; | 500 | ] [ rdf:type sp:Bind ; |
| 382 | sp:expression | 501 | sp:expression |
| 502 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 503 | + sp:arg1 [ sp:varName "flowName"^^xsd:string | ||
| 504 | + ] | ||
| 505 | + ] ; | ||
| 506 | + sp:variable | ||
| 507 | + [ sp:varName "normalizedFlowName"^^xsd:string | ||
| 508 | + ] | ||
| 509 | + ] [ rdf:type sp:Bind ; | ||
| 510 | + sp:expression | ||
| 383 | [ rdf:type ep-dpr-spin-lib:buildProductFlowURI ; | 511 | [ rdf:type ep-dpr-spin-lib:buildProductFlowURI ; |
| 384 | sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string | 512 | sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string |
| 385 | ] ; | 513 | ] ; |
| ... | @@ -393,125 +521,7 @@ namingSystem not processed"""^^xsd:string ; | ... | @@ -393,125 +521,7 @@ namingSystem not processed"""^^xsd:string ; |
| 393 | ] ; | 521 | ] ; |
| 394 | spin:rule | 522 | spin:rule |
| 395 | [ rdf:type sp:Construct ; | 523 | [ rdf:type sp:Construct ; |
| 396 | - rdfs:comment "STEP 20105 record the temporal parts of product flows"^^xsd:string ; | 524 | + rdfs:comment "STEP 20103b record the related facility - only its kind is specified"^^xsd:string ; |
| 397 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductFlow> ; | ||
| 398 | - sp:predicate rdf:type ; | ||
| 399 | - sp:subject _:b3 | ||
| 400 | - ] [ sp:object _:b4 ; | ||
| 401 | - sp:predicate rdf:type ; | ||
| 402 | - sp:subject _:b3 | ||
| 403 | - ] [ sp:object _:b5 ; | ||
| 404 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 405 | - sp:subject _:b3 | ||
| 406 | - ] [ sp:object _:b6 ; | ||
| 407 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 408 | - sp:subject _:b3 | ||
| 409 | - ] [ sp:object _:b7 ; | ||
| 410 | - sp:predicate _:b8 ; | ||
| 411 | - sp:subject _:b3 | ||
| 412 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
| 413 | - sp:predicate rdf:type ; | ||
| 414 | - sp:subject _:b7 | ||
| 415 | - ] [ sp:object _:b9 ; | ||
| 416 | - sp:predicate _:b10 ; | ||
| 417 | - sp:subject _:b7 | ||
| 418 | - ] [ sp:object _:b11 ; | ||
| 419 | - sp:predicate _:b8 ; | ||
| 420 | - sp:subject _:b3 | ||
| 421 | - ] [ sp:object _:b12 ; | ||
| 422 | - sp:predicate rdf:type ; | ||
| 423 | - sp:subject _:b11 | ||
| 424 | - ] [ sp:object _:b13 ; | ||
| 425 | - sp:predicate _:b14 ; | ||
| 426 | - sp:subject _:b11 | ||
| 427 | - ]) ; | ||
| 428 | - sp:where ([ sp:object _:b15 ; | ||
| 429 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#standardTempPresRef> ; | ||
| 430 | - sp:subject spin:_this | ||
| 431 | - ] [ sp:object _:b16 ; | ||
| 432 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 433 | - sp:subject spin:_this | ||
| 434 | - ] [ sp:object _:b17 ; | ||
| 435 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 436 | - sp:subject _:b16 | ||
| 437 | - ] [ sp:object _:b18 ; | ||
| 438 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ; | ||
| 439 | - sp:subject _:b17 | ||
| 440 | - ] [ sp:object _:b18 ; | ||
| 441 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 442 | - sp:subject _:b5 | ||
| 443 | - ] [ sp:object | ||
| 444 | - [ sp:varName "productKind"^^xsd:string | ||
| 445 | - ] ; | ||
| 446 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 447 | - sp:subject _:b18 | ||
| 448 | - ] [ sp:object _:b19 ; | ||
| 449 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; | ||
| 450 | - sp:subject _:b18 | ||
| 451 | - ] [ sp:object _:b20 ; | ||
| 452 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 453 | - sp:subject _:b19 | ||
| 454 | - ] [ sp:object _:b6 ; | ||
| 455 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | ||
| 456 | - sp:subject _:b19 | ||
| 457 | - ] [ rdf:type sp:Optional ; | ||
| 458 | - sp:elements ([ sp:object _:b21 ; | ||
| 459 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; | ||
| 460 | - sp:subject _:b19 | ||
| 461 | - ] [ sp:object _:b9 ; | ||
| 462 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 463 | - sp:subject _:b21 | ||
| 464 | - ] [ sp:object _:b22 ; | ||
| 465 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
| 466 | - sp:subject _:b21 | ||
| 467 | - ]) | ||
| 468 | - ] [ rdf:type sp:Optional ; | ||
| 469 | - sp:elements ([ sp:object _:b23 ; | ||
| 470 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; | ||
| 471 | - sp:subject _:b19 | ||
| 472 | - ] [ sp:object _:b13 ; | ||
| 473 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 474 | - sp:subject _:b23 | ||
| 475 | - ] [ sp:object _:b24 ; | ||
| 476 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
| 477 | - sp:subject _:b23 | ||
| 478 | - ]) | ||
| 479 | - ] [ rdf:type sp:Bind ; | ||
| 480 | - sp:expression | ||
| 481 | - [ rdf:type ep-dpr-spin-lib:selectRelationshipToMeasure ; | ||
| 482 | - sp:arg1 _:b20 | ||
| 483 | - ] ; | ||
| 484 | - sp:variable _:b8 | ||
| 485 | - ] [ rdf:type sp:Bind ; | ||
| 486 | - sp:expression | ||
| 487 | - [ rdf:type ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ; | ||
| 488 | - sp:arg1 _:b20 | ||
| 489 | - ] ; | ||
| 490 | - sp:variable _:b4 | ||
| 491 | - ] [ rdf:type sp:Bind ; | ||
| 492 | - sp:expression | ||
| 493 | - [ rdf:type ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ; | ||
| 494 | - sp:arg1 _:b15 | ||
| 495 | - ] ; | ||
| 496 | - sp:variable _:b12 | ||
| 497 | - ] [ rdf:type sp:Bind ; | ||
| 498 | - sp:expression | ||
| 499 | - [ rdf:type ep-dpr-spin-lib:selectVolumeScale ; | ||
| 500 | - sp:arg1 _:b22 | ||
| 501 | - ] ; | ||
| 502 | - sp:variable _:b10 | ||
| 503 | - ] [ rdf:type sp:Bind ; | ||
| 504 | - sp:expression | ||
| 505 | - [ rdf:type ep-dpr-spin-lib:selectVolumeScale ; | ||
| 506 | - sp:arg1 _:b24 | ||
| 507 | - ] ; | ||
| 508 | - sp:variable _:b14 | ||
| 509 | - ]) | ||
| 510 | - ] ; | ||
| 511 | - spin:rule | ||
| 512 | - [ rdf:type sp:Construct ; | ||
| 513 | - rdfs:comment """STEP 20103b record the related facility | ||
| 514 | -nothing is done with the facilityParent1 or facilityParent2 of the related facility"""^^xsd:string ; | ||
| 515 | sp:templates ([ sp:object _:b25 ; | 525 | sp:templates ([ sp:object _:b25 ; |
| 516 | sp:predicate _:b26 ; | 526 | sp:predicate _:b26 ; |
| 517 | sp:subject _:b27 | 527 | sp:subject _:b27 |
| ... | @@ -535,41 +545,24 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil | ... | @@ -535,41 +545,24 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil |
| 535 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ; | 545 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ; |
| 536 | sp:subject _:b30 | 546 | sp:subject _:b30 |
| 537 | ] [ sp:object _:b34 ; | 547 | ] [ sp:object _:b34 ; |
| 538 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 548 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 539 | sp:subject _:b33 | 549 | sp:subject _:b33 |
| 540 | - ] [ rdf:type sp:Optional ; | ||
| 541 | - sp:elements ([ sp:object _:b35 ; | ||
| 542 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 543 | - sp:subject _:b33 | ||
| 544 | - ]) | ||
| 545 | ] [ rdf:type sp:Bind ; | 550 | ] [ rdf:type sp:Bind ; |
| 546 | sp:expression | 551 | sp:expression |
| 547 | [ rdf:type ep-spin-lib:normalizeString ; | 552 | [ rdf:type ep-spin-lib:normalizeString ; |
| 548 | sp:arg1 _:b31 | 553 | sp:arg1 _:b31 |
| 549 | ] ; | 554 | ] ; |
| 550 | - sp:variable _:b36 | 555 | + sp:variable _:b35 |
| 551 | ] [ rdf:type sp:Bind ; | 556 | ] [ rdf:type sp:Bind ; |
| 552 | sp:expression | 557 | sp:expression |
| 553 | [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | 558 | [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; |
| 554 | - sp:arg1 _:b36 | 559 | + sp:arg1 _:b35 |
| 555 | ] ; | 560 | ] ; |
| 556 | sp:variable _:b27 | 561 | sp:variable _:b27 |
| 557 | ] [ rdf:type sp:Bind ; | 562 | ] [ rdf:type sp:Bind ; |
| 558 | sp:expression | 563 | sp:expression |
| 559 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 560 | - sp:arg1 _:b34 | ||
| 561 | - ] ; | ||
| 562 | - sp:variable _:b37 | ||
| 563 | - ] [ rdf:type sp:Bind ; | ||
| 564 | - sp:expression | ||
| 565 | - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 566 | - sp:arg1 _:b37 | ||
| 567 | - ] ; | ||
| 568 | - sp:variable _:b25 | ||
| 569 | - ] [ rdf:type sp:Bind ; | ||
| 570 | - sp:expression | ||
| 571 | [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | 564 | [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; |
| 572 | - sp:arg1 _:b35 | 565 | + sp:arg1 _:b34 |
| 573 | ] ; | 566 | ] ; |
| 574 | sp:variable _:b28 | 567 | sp:variable _:b28 |
| 575 | ] [ rdf:type sp:Bind ; | 568 | ] [ rdf:type sp:Bind ; |
| ... | @@ -582,143 +575,253 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil | ... | @@ -582,143 +575,253 @@ nothing is done with the facilityParent1 or facilityParent2 of the related facil |
| 582 | ] ; | 575 | ] ; |
| 583 | spin:rule | 576 | spin:rule |
| 584 | [ rdf:type sp:Construct ; | 577 | [ rdf:type sp:Construct ; |
| 585 | - rdfs:comment """STEP 20102 Record the Facility that has the flows | 578 | + rdfs:comment "STEP 20103a record the flows"^^xsd:string ; |
| 586 | -Nothing is done with the namingSystem!"""^^xsd:string ; | 579 | + sp:templates ([ sp:object |
| 587 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 580 | + [ sp:varName "productionFacility"^^xsd:string |
| 581 | + ] ; | ||
| 582 | + sp:predicate | ||
| 583 | + [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string | ||
| 584 | + ] ; | ||
| 585 | + sp:subject | ||
| 586 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 587 | + ] | ||
| 588 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 589 | + sp:predicate rdf:type ; | ||
| 590 | + sp:subject | ||
| 591 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 592 | + ] | ||
| 593 | + ] [ sp:object | ||
| 594 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
| 595 | + ] ; | ||
| 596 | + sp:predicate rdf:type ; | ||
| 597 | + sp:subject | ||
| 598 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 599 | + ] | ||
| 600 | + ] [ sp:object | ||
| 601 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
| 602 | + ] ; | ||
| 588 | sp:predicate rdf:type ; | 603 | sp:predicate rdf:type ; |
| 589 | - sp:subject _:b38 | 604 | + sp:subject |
| 590 | - ] [ sp:object _:b39 ; | 605 | + [ sp:varName "productionFlow"^^xsd:string |
| 606 | + ] | ||
| 607 | + ] [ sp:object | ||
| 608 | + [ sp:varName "flowName"^^xsd:string | ||
| 609 | + ] ; | ||
| 610 | + sp:predicate rdfs:label ; | ||
| 611 | + sp:subject | ||
| 612 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 613 | + ] | ||
| 614 | + ] [ sp:object | ||
| 615 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 616 | + ] ; | ||
| 617 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 618 | + sp:subject _:b36 | ||
| 619 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
| 591 | sp:predicate rdf:type ; | 620 | sp:predicate rdf:type ; |
| 592 | - sp:subject _:b38 | 621 | + sp:subject _:b36 |
| 622 | + ] [ sp:object _:b36 ; | ||
| 623 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | ||
| 624 | + sp:subject | ||
| 625 | + [ sp:varName "productionFlowsToDate"^^xsd:string | ||
| 626 | + ] | ||
| 627 | + ] [ sp:object | ||
| 628 | + [ sp:varName "flowRef"^^xsd:string | ||
| 629 | + ] ; | ||
| 630 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 631 | + sp:subject _:b36 | ||
| 593 | ]) ; | 632 | ]) ; |
| 594 | - sp:where ([ sp:object _:b40 ; | 633 | + sp:where ([ sp:object spin:_this ; |
| 634 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 635 | + sp:subject | ||
| 636 | + [ sp:varName "dailyProductionFlows"^^xsd:string | ||
| 637 | + ] | ||
| 638 | + ] [ sp:object | ||
| 639 | + [ sp:varName "productionFlowsToDate"^^xsd:string | ||
| 640 | + ] ; | ||
| 641 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 642 | + sp:subject | ||
| 643 | + [ sp:varName "dailyProductionFlows"^^xsd:string | ||
| 644 | + ] | ||
| 645 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
| 646 | + sp:predicate rdf:type ; | ||
| 647 | + sp:subject | ||
| 648 | + [ sp:varName "productionFlowsToDate"^^xsd:string | ||
| 649 | + ] | ||
| 650 | + ] [ sp:object | ||
| 651 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 652 | + ] ; | ||
| 595 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | 653 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; |
| 596 | sp:subject spin:_this | 654 | sp:subject spin:_this |
| 597 | - ] [ sp:object _:b41 ; | 655 | + ] [ sp:object |
| 656 | + [ sp:varName "facilityNameRef"^^xsd:string | ||
| 657 | + ] ; | ||
| 598 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 658 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 599 | - sp:subject _:b40 | 659 | + sp:subject |
| 600 | - ] [ sp:object _:b42 ; | 660 | + [ sp:varName "facilityRef"^^xsd:string |
| 661 | + ] | ||
| 662 | + ] [ sp:object | ||
| 663 | + [ sp:varName "facilityName"^^xsd:string | ||
| 664 | + ] ; | ||
| 601 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 665 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 602 | - sp:subject _:b41 | 666 | + sp:subject |
| 667 | + [ sp:varName "facilityNameRef"^^xsd:string | ||
| 668 | + ] | ||
| 669 | + ] [ sp:object | ||
| 670 | + [ sp:varName "flowRef"^^xsd:string | ||
| 671 | + ] ; | ||
| 672 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 673 | + sp:subject | ||
| 674 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 675 | + ] | ||
| 676 | + ] [ sp:object | ||
| 677 | + [ sp:varName "flowName"^^xsd:string | ||
| 678 | + ] ; | ||
| 679 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 680 | + sp:subject | ||
| 681 | + [ sp:varName "flowRef"^^xsd:string | ||
| 682 | + ] | ||
| 683 | + ] [ sp:object | ||
| 684 | + [ sp:varName "flowKind"^^xsd:string | ||
| 685 | + ] ; | ||
| 686 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 687 | + sp:subject | ||
| 688 | + [ sp:varName "flowRef"^^xsd:string | ||
| 689 | + ] | ||
| 690 | + ] [ sp:object | ||
| 691 | + [ sp:varName "flowDirection"^^xsd:string | ||
| 692 | + ] ; | ||
| 693 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | ||
| 694 | + sp:subject | ||
| 695 | + [ sp:varName "flowRef"^^xsd:string | ||
| 696 | + ] | ||
| 603 | ] [ rdf:type sp:Optional ; | 697 | ] [ rdf:type sp:Optional ; |
| 604 | sp:elements ([ sp:object | 698 | sp:elements ([ sp:object |
| 605 | - [ sp:varName "facilityNamingSystem"^^xsd:string | 699 | + [ sp:varName "flowQualifier"^^xsd:string |
| 606 | ] ; | 700 | ] ; |
| 607 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | 701 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; |
| 608 | - sp:subject _:b41 | 702 | + sp:subject |
| 609 | - ]) | 703 | + [ sp:varName "flowRef"^^xsd:string |
| 610 | - ] [ rdf:type sp:Optional ; | 704 | + ] |
| 611 | - sp:elements ([ sp:object _:b43 ; | ||
| 612 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 613 | - sp:subject _:b41 | ||
| 614 | ]) | 705 | ]) |
| 615 | ] [ rdf:type sp:Bind ; | 706 | ] [ rdf:type sp:Bind ; |
| 616 | sp:expression | 707 | sp:expression |
| 617 | [ rdf:type ep-spin-lib:normalizeString ; | 708 | [ rdf:type ep-spin-lib:normalizeString ; |
| 618 | - sp:arg1 _:b42 | 709 | + sp:arg1 [ sp:varName "facilityName"^^xsd:string |
| 710 | + ] | ||
| 619 | ] ; | 711 | ] ; |
| 620 | - sp:variable _:b44 | 712 | + sp:variable |
| 713 | + [ sp:varName "normalizedFacilityName"^^xsd:string | ||
| 714 | + ] | ||
| 621 | ] [ rdf:type sp:Bind ; | 715 | ] [ rdf:type sp:Bind ; |
| 622 | sp:expression | 716 | sp:expression |
| 623 | [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | 717 | [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; |
| 624 | - sp:arg1 _:b44 | 718 | + sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string |
| 719 | + ] | ||
| 625 | ] ; | 720 | ] ; |
| 626 | - sp:variable _:b38 | 721 | + sp:variable |
| 722 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 723 | + ] | ||
| 627 | ] [ rdf:type sp:Bind ; | 724 | ] [ rdf:type sp:Bind ; |
| 628 | sp:expression | 725 | sp:expression |
| 629 | - [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | 726 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 630 | - sp:arg1 _:b43 | 727 | + sp:arg1 [ sp:varName "flowName"^^xsd:string |
| 728 | + ] | ||
| 631 | ] ; | 729 | ] ; |
| 632 | - sp:variable _:b39 | 730 | + sp:variable |
| 633 | - ]) | 731 | + [ sp:varName "normalizedFlowName"^^xsd:string |
| 634 | - ] ; | 732 | + ] |
| 635 | - spin:rule | ||
| 636 | - [ rdf:type sp:Construct ; | ||
| 637 | - rdfs:comment "STEP 20103b record the related facility - only its kind is specified"^^xsd:string ; | ||
| 638 | - sp:templates ([ sp:object _:b45 ; | ||
| 639 | - sp:predicate _:b46 ; | ||
| 640 | - sp:subject _:b47 | ||
| 641 | - ] [ sp:object _:b48 ; | ||
| 642 | - sp:predicate rdf:type ; | ||
| 643 | - sp:subject _:b45 | ||
| 644 | - ]) ; | ||
| 645 | - sp:where ([ sp:object _:b49 ; | ||
| 646 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 647 | - sp:subject spin:_this | ||
| 648 | - ] [ sp:object _:b50 ; | ||
| 649 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 650 | - sp:subject _:b49 | ||
| 651 | - ] [ sp:object _:b51 ; | ||
| 652 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 653 | - sp:subject _:b50 | ||
| 654 | - ] [ sp:object _:b52 ; | ||
| 655 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | ||
| 656 | - sp:subject _:b50 | ||
| 657 | - ] [ sp:object _:b53 ; | ||
| 658 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#relatedFacilityRef> ; | ||
| 659 | - sp:subject _:b50 | ||
| 660 | - ] [ sp:object _:b54 ; | ||
| 661 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 662 | - sp:subject _:b53 | ||
| 663 | ] [ rdf:type sp:Bind ; | 733 | ] [ rdf:type sp:Bind ; |
| 664 | sp:expression | 734 | sp:expression |
| 665 | - [ rdf:type ep-spin-lib:normalizeString ; | 735 | + [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; |
| 666 | - sp:arg1 _:b51 | 736 | + sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string |
| 737 | + ] | ||
| 667 | ] ; | 738 | ] ; |
| 668 | - sp:variable _:b55 | 739 | + sp:variable |
| 740 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 741 | + ] | ||
| 669 | ] [ rdf:type sp:Bind ; | 742 | ] [ rdf:type sp:Bind ; |
| 670 | sp:expression | 743 | sp:expression |
| 671 | - [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | 744 | + [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ; |
| 672 | - sp:arg1 _:b55 | 745 | + sp:arg1 [ sp:varName "flowKind"^^xsd:string |
| 746 | + ] | ||
| 673 | ] ; | 747 | ] ; |
| 674 | - sp:variable _:b47 | 748 | + sp:variable |
| 749 | + [ sp:varName "productionFlowPurposeType"^^xsd:string | ||
| 750 | + ] | ||
| 675 | ] [ rdf:type sp:Bind ; | 751 | ] [ rdf:type sp:Bind ; |
| 676 | sp:expression | 752 | sp:expression |
| 677 | - [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | 753 | + [ rdf:type ep-dpr-spin-lib:selectProductionFlowDefinitionType ; |
| 678 | - sp:arg1 _:b54 | 754 | + sp:arg1 [ sp:varName "flowQualifier"^^xsd:string |
| 755 | + ] | ||
| 679 | ] ; | 756 | ] ; |
| 680 | - sp:variable _:b48 | 757 | + sp:variable |
| 758 | + [ sp:varName "productionFlowDefinitionType"^^xsd:string | ||
| 759 | + ] | ||
| 681 | ] [ rdf:type sp:Bind ; | 760 | ] [ rdf:type sp:Bind ; |
| 682 | sp:expression | 761 | sp:expression |
| 683 | - [ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ; | 762 | + [ rdf:type ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ; |
| 684 | - sp:arg1 _:b52 | 763 | + sp:arg1 [ sp:varName "flowDirection"^^xsd:string |
| 764 | + ] | ||
| 685 | ] ; | 765 | ] ; |
| 686 | - sp:variable _:b46 | 766 | + sp:variable |
| 767 | + [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string | ||
| 768 | + ] | ||
| 687 | ]) | 769 | ]) |
| 688 | ] . | 770 | ] . |
| 689 | 771 | ||
| 690 | -_:b46 | 772 | +_:b11 |
| 773 | + sp:varName "relatedFacility"^^xsd:string . | ||
| 774 | + | ||
| 775 | +_:b12 | ||
| 691 | sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string . | 776 | sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string . |
| 692 | 777 | ||
| 693 | -_:b47 | 778 | +_:b13 |
| 694 | sp:varName "productionFlow"^^xsd:string . | 779 | sp:varName "productionFlow"^^xsd:string . |
| 695 | 780 | ||
| 696 | -_:b48 | 781 | +_:b14 |
| 697 | sp:varName "relatedFacilityType"^^xsd:string . | 782 | sp:varName "relatedFacilityType"^^xsd:string . |
| 698 | 783 | ||
| 699 | -_:b49 | 784 | +_:b15 |
| 700 | sp:varName "facilityRef"^^xsd:string . | 785 | sp:varName "facilityRef"^^xsd:string . |
| 701 | 786 | ||
| 702 | -_:b50 | 787 | +_:b16 |
| 703 | sp:varName "flowRef"^^xsd:string . | 788 | sp:varName "flowRef"^^xsd:string . |
| 704 | 789 | ||
| 705 | -_:b51 | 790 | +_:b17 |
| 706 | sp:varName "flowName"^^xsd:string . | 791 | sp:varName "flowName"^^xsd:string . |
| 707 | 792 | ||
| 708 | -_:b52 | 793 | +_:b18 |
| 709 | sp:varName "flowDirection"^^xsd:string . | 794 | sp:varName "flowDirection"^^xsd:string . |
| 710 | 795 | ||
| 711 | -_:b53 | 796 | +_:b19 |
| 712 | sp:varName "relatedFacilityRef"^^xsd:string . | 797 | sp:varName "relatedFacilityRef"^^xsd:string . |
| 713 | 798 | ||
| 714 | -_:b54 | 799 | +_:b20 |
| 800 | + sp:varName "relatedFacilityName"^^xsd:string . | ||
| 801 | + | ||
| 802 | +_:b21 | ||
| 715 | sp:varName "relatedFacilityKind"^^xsd:string . | 803 | sp:varName "relatedFacilityKind"^^xsd:string . |
| 716 | 804 | ||
| 717 | -_:b55 | 805 | +_:b22 |
| 718 | sp:varName "normalizedFlowName"^^xsd:string . | 806 | sp:varName "normalizedFlowName"^^xsd:string . |
| 719 | 807 | ||
| 720 | -_:b25 | 808 | +_:b23 |
| 721 | - sp:varName "relatedFacility"^^xsd:string . | 809 | + sp:varName "normalizedRelatedFacilityName"^^xsd:string . |
| 810 | + | ||
| 811 | +_:b4 sp:varName "productionFacility"^^xsd:string . | ||
| 812 | + | ||
| 813 | +_:b5 sp:varName "productionFacilityType"^^xsd:string . | ||
| 814 | + | ||
| 815 | +_:b6 sp:varName "facilityRef"^^xsd:string . | ||
| 816 | + | ||
| 817 | +_:b7 sp:varName "facilityNameRef"^^xsd:string . | ||
| 818 | + | ||
| 819 | +_:b8 sp:varName "facilityName"^^xsd:string . | ||
| 820 | + | ||
| 821 | +_:b9 sp:varName "facilityKind"^^xsd:string . | ||
| 822 | + | ||
| 823 | +_:b10 | ||
| 824 | + sp:varName "normalizedFacilityName"^^xsd:string . | ||
| 722 | 825 | ||
| 723 | _:b26 | 826 | _:b26 |
| 724 | sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string . | 827 | sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string . |
| ... | @@ -745,86 +848,7 @@ _:b33 | ... | @@ -745,86 +848,7 @@ _:b33 |
| 745 | sp:varName "relatedFacilityRef"^^xsd:string . | 848 | sp:varName "relatedFacilityRef"^^xsd:string . |
| 746 | 849 | ||
| 747 | _:b34 | 850 | _:b34 |
| 748 | - sp:varName "relatedFacilityName"^^xsd:string . | ||
| 749 | - | ||
| 750 | -_:b35 | ||
| 751 | sp:varName "relatedFacilityKind"^^xsd:string . | 851 | sp:varName "relatedFacilityKind"^^xsd:string . |
| 752 | 852 | ||
| 753 | -_:b36 | 853 | +_:b35 |
| 754 | sp:varName "normalizedFlowName"^^xsd:string . | 854 | sp:varName "normalizedFlowName"^^xsd:string . |
| 755 | - | ||
| 756 | -_:b37 | ||
| 757 | - sp:varName "normalizedRelatedFacilityName"^^xsd:string . | ||
| 758 | - | ||
| 759 | -_:b4 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | ||
| 760 | - | ||
| 761 | -_:b5 sp:varName "productFlowToDate"^^xsd:string . | ||
| 762 | - | ||
| 763 | -_:b6 sp:varName "endTime"^^xsd:string . | ||
| 764 | - | ||
| 765 | -_:b8 sp:varName "relationshipToMeasure"^^xsd:string . | ||
| 766 | - | ||
| 767 | -_:b9 sp:varName "realVolume"^^xsd:string . | ||
| 768 | - | ||
| 769 | -_:b10 | ||
| 770 | - sp:varName "volumeScale"^^xsd:string . | ||
| 771 | - | ||
| 772 | -_:b12 | ||
| 773 | - sp:varName "volumeStdType"^^xsd:string . | ||
| 774 | - | ||
| 775 | -_:b13 | ||
| 776 | - sp:varName "realVolumeStd"^^xsd:string . | ||
| 777 | - | ||
| 778 | -_:b14 | ||
| 779 | - sp:varName "volumeStdScale"^^xsd:string . | ||
| 780 | - | ||
| 781 | -_:b15 | ||
| 782 | - sp:varName "standardTempPres"^^xsd:string . | ||
| 783 | - | ||
| 784 | -_:b16 | ||
| 785 | - sp:varName "facilityRef"^^xsd:string . | ||
| 786 | - | ||
| 787 | -_:b17 | ||
| 788 | - sp:varName "flowRef"^^xsd:string . | ||
| 789 | - | ||
| 790 | -_:b18 | ||
| 791 | - sp:varName "productRef"^^xsd:string . | ||
| 792 | - | ||
| 793 | -_:b19 | ||
| 794 | - sp:varName "periodRef"^^xsd:string . | ||
| 795 | - | ||
| 796 | -_:b20 | ||
| 797 | - sp:varName "periodKindRef"^^xsd:string . | ||
| 798 | - | ||
| 799 | -_:b21 | ||
| 800 | - sp:varName "volumeRef"^^xsd:string . | ||
| 801 | - | ||
| 802 | -_:b22 | ||
| 803 | - sp:varName "uomVolume"^^xsd:string . | ||
| 804 | - | ||
| 805 | -_:b23 | ||
| 806 | - sp:varName "volumeStdRef"^^xsd:string . | ||
| 807 | - | ||
| 808 | -_:b24 | ||
| 809 | - sp:varName "uomVolumeStd"^^xsd:string . | ||
| 810 | - | ||
| 811 | -_:b38 | ||
| 812 | - sp:varName "productionFacility"^^xsd:string . | ||
| 813 | - | ||
| 814 | -_:b39 | ||
| 815 | - sp:varName "productionFacilityType"^^xsd:string . | ||
| 816 | - | ||
| 817 | -_:b40 | ||
| 818 | - sp:varName "facilityRef"^^xsd:string . | ||
| 819 | - | ||
| 820 | -_:b41 | ||
| 821 | - sp:varName "facilityNameRef"^^xsd:string . | ||
| 822 | - | ||
| 823 | -_:b42 | ||
| 824 | - sp:varName "facilityName"^^xsd:string . | ||
| 825 | - | ||
| 826 | -_:b43 | ||
| 827 | - sp:varName "facilityKind"^^xsd:string . | ||
| 828 | - | ||
| 829 | -_:b44 | ||
| 830 | - sp:varName "normalizedFacilityName"^^xsd:string . | ... | ... |
| 1 | # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector | 1 | # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector |
| 2 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
| 3 | +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 | ||
| 3 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 | 4 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 |
| 4 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0 | 5 | # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0 |
| 5 | 6 | ||
| 6 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . | 7 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . |
| 7 | @prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> . | 8 | @prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> . |
| 9 | +@prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . | ||
| 8 | @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . | 10 | @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . |
| 9 | @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . | 11 | @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . |
| 10 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 12 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| ... | @@ -17,5 +19,5 @@ | ... | @@ -17,5 +19,5 @@ |
| 17 | 19 | ||
| 18 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> | 20 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> |
| 19 | rdf:type owl:Ontology ; | 21 | rdf:type owl:Ontology ; |
| 20 | - owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> ; | 22 | + owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> ; |
| 21 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| ... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
| 5 | # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib | 5 | # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib |
| 6 | 6 | ||
| 7 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . | 7 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . |
| 8 | +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | ||
| 8 | @prefix arg: <http://spinrdf.org/arg#> . | 9 | @prefix arg: <http://spinrdf.org/arg#> . |
| 9 | @prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . | 10 | @prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . |
| 10 | @prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . | 11 | @prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . |
| ... | @@ -21,8 +22,916 @@ | ... | @@ -21,8 +22,916 @@ |
| 21 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> | 22 | <http://www.epim.no/schemas/mprml/1#A_Global-Objects> |
| 22 | spin:rule | 23 | spin:rule |
| 23 | [ rdf:type sp:Construct ; | 24 | [ rdf:type sp:Construct ; |
| 24 | - rdfs:comment "STEP 20103a record the flows"^^xsd:string ; | 25 | + rdfs:comment """STEP 20104 record the product flows - unlike for the DPR the flow name is not used to construct the ProductionFlow URI |
| 26 | +namingSystem not processed"""^^xsd:string ; | ||
| 25 | sp:templates ([ sp:object | 27 | sp:templates ([ sp:object |
| 28 | + [ sp:varName "productFlow"^^xsd:string | ||
| 29 | + ] ; | ||
| 30 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
| 31 | + sp:subject | ||
| 32 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 33 | + ] | ||
| 34 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | ||
| 35 | + sp:predicate rdf:type ; | ||
| 36 | + sp:subject | ||
| 37 | + [ sp:varName "productFlow"^^xsd:string | ||
| 38 | + ] | ||
| 39 | + ] [ sp:object | ||
| 40 | + [ sp:varName "productType"^^xsd:string | ||
| 41 | + ] ; | ||
| 42 | + sp:predicate rdf:type ; | ||
| 43 | + sp:subject | ||
| 44 | + [ sp:varName "productFlow"^^xsd:string | ||
| 45 | + ] | ||
| 46 | + ] [ sp:object | ||
| 47 | + [ sp:varName "productFlow"^^xsd:string | ||
| 48 | + ] ; | ||
| 49 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 50 | + sp:subject _:b1 | ||
| 51 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowToDate> ; | ||
| 52 | + sp:predicate rdf:type ; | ||
| 53 | + sp:subject _:b1 | ||
| 54 | + ] [ sp:object _:b1 ; | ||
| 55 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
| 56 | + sp:subject | ||
| 57 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 58 | + ] | ||
| 59 | + ] [ sp:object | ||
| 60 | + [ sp:varName "productRef"^^xsd:string | ||
| 61 | + ] ; | ||
| 62 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 63 | + sp:subject _:b1 | ||
| 64 | + ]) ; | ||
| 65 | + sp:where ([ sp:object | ||
| 66 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 67 | + ] ; | ||
| 68 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 69 | + sp:subject spin:_this | ||
| 70 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 71 | + sp:predicate rdf:type ; | ||
| 72 | + sp:subject | ||
| 73 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 74 | + ] | ||
| 75 | + ] [ sp:object | ||
| 76 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 77 | + ] ; | ||
| 78 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
| 79 | + sp:subject | ||
| 80 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 81 | + ] | ||
| 82 | + ] [ sp:object | ||
| 83 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 84 | + ] ; | ||
| 85 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 86 | + sp:subject | ||
| 87 | + [ sp:varName "productionFlowsToDate"^^xsd:string | ||
| 88 | + ] | ||
| 89 | + ] [ sp:object | ||
| 90 | + [ sp:varName "flowRef"^^xsd:string | ||
| 91 | + ] ; | ||
| 92 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; | ||
| 93 | + sp:subject | ||
| 94 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 95 | + ] | ||
| 96 | + ] [ sp:object | ||
| 97 | + [ sp:varName "productRef"^^xsd:string | ||
| 98 | + ] ; | ||
| 99 | + sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ; | ||
| 100 | + sp:subject | ||
| 101 | + [ sp:varName "flowRef"^^xsd:string | ||
| 102 | + ] | ||
| 103 | + ] [ sp:object | ||
| 104 | + [ sp:varName "flowRef"^^xsd:string | ||
| 105 | + ] ; | ||
| 106 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 107 | + sp:subject | ||
| 108 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 109 | + ] | ||
| 110 | + ] [ sp:object | ||
| 111 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 112 | + ] ; | ||
| 113 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 114 | + sp:subject | ||
| 115 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 116 | + ] | ||
| 117 | + ] [ sp:object | ||
| 118 | + [ sp:varName "productKind"^^xsd:string | ||
| 119 | + ] ; | ||
| 120 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 121 | + sp:subject | ||
| 122 | + [ sp:varName "productRef"^^xsd:string | ||
| 123 | + ] | ||
| 124 | + ] [ rdf:type sp:Optional ; | ||
| 125 | + sp:elements ([ sp:object | ||
| 126 | + [ sp:varName "productNameRef"^^xsd:string | ||
| 127 | + ] ; | ||
| 128 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | ||
| 129 | + sp:subject | ||
| 130 | + [ sp:varName "productRef"^^xsd:string | ||
| 131 | + ] | ||
| 132 | + ] [ sp:object | ||
| 133 | + [ sp:varName "productFlowName"^^xsd:string | ||
| 134 | + ] ; | ||
| 135 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 136 | + sp:subject | ||
| 137 | + [ sp:varName "productNameRef"^^xsd:string | ||
| 138 | + ] | ||
| 139 | + ]) | ||
| 140 | + ] [ rdf:type sp:Bind ; | ||
| 141 | + sp:expression | ||
| 142 | + [ rdf:type ep-mpr-spin-lib:selectProductType ; | ||
| 143 | + sp:arg1 [ sp:varName "productKind"^^xsd:string | ||
| 144 | + ] | ||
| 145 | + ] ; | ||
| 146 | + sp:variable | ||
| 147 | + [ sp:varName "productType"^^xsd:string | ||
| 148 | + ] | ||
| 149 | + ] [ rdf:type sp:Bind ; | ||
| 150 | + sp:expression | ||
| 151 | + [ rdf:type spl:object ; | ||
| 152 | + sp:arg1 [ sp:varName "productType"^^xsd:string | ||
| 153 | + ] ; | ||
| 154 | + sp:arg2 rdfs:label | ||
| 155 | + ] ; | ||
| 156 | + sp:variable | ||
| 157 | + [ sp:varName "productTypeName"^^xsd:string | ||
| 158 | + ] | ||
| 159 | + ] [ rdf:type sp:Bind ; | ||
| 160 | + sp:expression | ||
| 161 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 162 | + sp:arg1 [ sp:varName "productTypeName"^^xsd:string | ||
| 163 | + ] | ||
| 164 | + ] ; | ||
| 165 | + sp:variable | ||
| 166 | + [ sp:varName "normalizedProductTypeName"^^xsd:string | ||
| 167 | + ] | ||
| 168 | + ] [ rdf:type sp:Bind ; | ||
| 169 | + sp:expression | ||
| 170 | + [ rdf:type afn:localname ; | ||
| 171 | + sp:arg1 [ sp:varName "flowRef"^^xsd:string | ||
| 172 | + ] | ||
| 173 | + ] ; | ||
| 174 | + sp:variable | ||
| 175 | + [ sp:varName "localname"^^xsd:string | ||
| 176 | + ] | ||
| 177 | + ] [ rdf:type sp:Bind ; | ||
| 178 | + sp:expression | ||
| 179 | + [ rdf:type ep-dpr-spin-lib:buildProductFlowURI ; | ||
| 180 | + sp:arg1 [ sp:varName "localname"^^xsd:string | ||
| 181 | + ] ; | ||
| 182 | + sp:arg2 [ sp:varName "normalizedProductTypeName"^^xsd:string | ||
| 183 | + ] | ||
| 184 | + ] ; | ||
| 185 | + sp:variable | ||
| 186 | + [ sp:varName "productFlow"^^xsd:string | ||
| 187 | + ] | ||
| 188 | + ]) | ||
| 189 | + ] ; | ||
| 190 | + spin:rule | ||
| 191 | + [ rdf:type sp:Construct ; | ||
| 192 | + rdfs:comment """STEP 20105 record the temporal parts of product flows | ||
| 193 | +period/kind is optional, but is assumed mandatory here. This is because it is not clear how to obtain the default value which is the period of the report. | ||
| 194 | +There are several different ways of specifying the time of the period. Temporarily, only dTimStart and dTimEnd are supported."""^^xsd:string ; | ||
| 195 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#TemporalPartOfAProductFlow> ; | ||
| 196 | + sp:predicate rdf:type ; | ||
| 197 | + sp:subject _:b2 | ||
| 198 | + ] [ sp:object | ||
| 199 | + [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string | ||
| 200 | + ] ; | ||
| 201 | + sp:predicate rdf:type ; | ||
| 202 | + sp:subject _:b2 | ||
| 203 | + ] [ sp:object | ||
| 204 | + [ sp:varName "productFlowToDate"^^xsd:string | ||
| 205 | + ] ; | ||
| 206 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 207 | + sp:subject _:b2 | ||
| 208 | + ] [ sp:object | ||
| 209 | + [ sp:varName "dTimStart"^^xsd:string | ||
| 210 | + ] ; | ||
| 211 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
| 212 | + sp:subject _:b2 | ||
| 213 | + ] [ sp:object | ||
| 214 | + [ sp:varName "dTimEnd"^^xsd:string | ||
| 215 | + ] ; | ||
| 216 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 217 | + sp:subject _:b2 | ||
| 218 | + ] [ sp:object | ||
| 219 | + [ sp:varName "periodRef"^^xsd:string | ||
| 220 | + ] ; | ||
| 221 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 222 | + sp:subject _:b2 | ||
| 223 | + ]) ; | ||
| 224 | + sp:where ([ sp:object | ||
| 225 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 226 | + ] ; | ||
| 227 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 228 | + sp:subject spin:_this | ||
| 229 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 230 | + sp:predicate rdf:type ; | ||
| 231 | + sp:subject | ||
| 232 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 233 | + ] | ||
| 234 | + ] [ sp:object | ||
| 235 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 236 | + ] ; | ||
| 237 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
| 238 | + sp:subject | ||
| 239 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 240 | + ] | ||
| 241 | + ] [ sp:object | ||
| 242 | + [ sp:varName "flowRef"^^xsd:string | ||
| 243 | + ] ; | ||
| 244 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; | ||
| 245 | + sp:subject | ||
| 246 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 247 | + ] | ||
| 248 | + ] [ sp:object | ||
| 249 | + [ sp:varName "productRef"^^xsd:string | ||
| 250 | + ] ; | ||
| 251 | + sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ; | ||
| 252 | + sp:subject | ||
| 253 | + [ sp:varName "flowRef"^^xsd:string | ||
| 254 | + ] | ||
| 255 | + ] [ sp:object | ||
| 256 | + [ sp:varName "productRef"^^xsd:string | ||
| 257 | + ] ; | ||
| 258 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 259 | + sp:subject | ||
| 260 | + [ sp:varName "productFlowToDate"^^xsd:string | ||
| 261 | + ] | ||
| 262 | + ] [ sp:object | ||
| 263 | + [ sp:varName "periodRef"^^xsd:string | ||
| 264 | + ] ; | ||
| 265 | + sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ; | ||
| 266 | + sp:subject | ||
| 267 | + [ sp:varName "productRef"^^xsd:string | ||
| 268 | + ] | ||
| 269 | + ] [ sp:object | ||
| 270 | + [ sp:varName "periodKindRef"^^xsd:string | ||
| 271 | + ] ; | ||
| 272 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 273 | + sp:subject | ||
| 274 | + [ sp:varName "periodRef"^^xsd:string | ||
| 275 | + ] | ||
| 276 | + ] [ rdf:type sp:Optional ; | ||
| 277 | + sp:elements ([ sp:object | ||
| 278 | + [ sp:varName "dTimEnd"^^xsd:string | ||
| 279 | + ] ; | ||
| 280 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ; | ||
| 281 | + sp:subject | ||
| 282 | + [ sp:varName "periodRef"^^xsd:string | ||
| 283 | + ] | ||
| 284 | + ]) | ||
| 285 | + ] [ rdf:type sp:Optional ; | ||
| 286 | + sp:elements ([ sp:object | ||
| 287 | + [ sp:varName "date"^^xsd:string | ||
| 288 | + ] ; | ||
| 289 | + sp:predicate <http://www.epim.no/schemas/mprml/1#date> ; | ||
| 290 | + sp:subject | ||
| 291 | + [ sp:varName "periodRef"^^xsd:string | ||
| 292 | + ] | ||
| 293 | + ]) | ||
| 294 | + ] [ rdf:type sp:Optional ; | ||
| 295 | + sp:elements ([ sp:object | ||
| 296 | + [ sp:varName "dTimStart"^^xsd:string | ||
| 297 | + ] ; | ||
| 298 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | ||
| 299 | + sp:subject | ||
| 300 | + [ sp:varName "periodRef"^^xsd:string | ||
| 301 | + ] | ||
| 302 | + ] [ rdf:type sp:Optional ; | ||
| 303 | + sp:elements ([ sp:object | ||
| 304 | + [ sp:varName "dTimEnd"^^xsd:string | ||
| 305 | + ] ; | ||
| 306 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ; | ||
| 307 | + sp:subject | ||
| 308 | + [ sp:varName "periodRef"^^xsd:string | ||
| 309 | + ] | ||
| 310 | + ]) | ||
| 311 | + ]) | ||
| 312 | + ] [ rdf:type sp:Optional ; | ||
| 313 | + sp:elements ([ sp:object | ||
| 314 | + [ sp:varName "dateStart"^^xsd:string | ||
| 315 | + ] ; | ||
| 316 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ; | ||
| 317 | + sp:subject | ||
| 318 | + [ sp:varName "periodRef"^^xsd:string | ||
| 319 | + ] | ||
| 320 | + ] [ rdf:type sp:Optional ; | ||
| 321 | + sp:elements ([ sp:object | ||
| 322 | + [ sp:varName "dateEnd"^^xsd:string | ||
| 323 | + ] ; | ||
| 324 | + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ; | ||
| 325 | + sp:subject | ||
| 326 | + [ sp:varName "periodRef"^^xsd:string | ||
| 327 | + ] | ||
| 328 | + ]) | ||
| 329 | + ]) | ||
| 330 | + ] [ rdf:type sp:Bind ; | ||
| 331 | + sp:expression | ||
| 332 | + [ rdf:type ep-mpr-spin-lib:selectTemporalPartOfAFlowDurationType ; | ||
| 333 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
| 334 | + ] | ||
| 335 | + ] ; | ||
| 336 | + sp:variable | ||
| 337 | + [ sp:varName "temporalPartOfAFlowDurationType"^^xsd:string | ||
| 338 | + ] | ||
| 339 | + ]) | ||
| 340 | + ] ; | ||
| 341 | + spin:rule | ||
| 342 | + [ rdf:type sp:Construct ; | ||
| 343 | + rdfs:comment "STEP 20106 This step (not in the DPR) is there because there can be multiple volumeValue elements"^^xsd:string ; | ||
| 344 | + sp:templates ([ sp:object _:b3 ; | ||
| 345 | + sp:predicate | ||
| 346 | + [ sp:varName "relationshipToMeasure"^^xsd:string | ||
| 347 | + ] ; | ||
| 348 | + sp:subject | ||
| 349 | + [ sp:varName "temporalPartOfAProductFlow"^^xsd:string | ||
| 350 | + ] | ||
| 351 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ; | ||
| 352 | + sp:predicate rdf:type ; | ||
| 353 | + sp:subject _:b3 | ||
| 354 | + ] [ sp:object _:b4 ; | ||
| 355 | + sp:predicate rdf:type ; | ||
| 356 | + sp:subject _:b3 | ||
| 357 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
| 358 | + sp:predicate rdf:type ; | ||
| 359 | + sp:subject _:b4 | ||
| 360 | + ] [ sp:object | ||
| 361 | + [ sp:varName "realVolume"^^xsd:string | ||
| 362 | + ] ; | ||
| 363 | + sp:predicate | ||
| 364 | + [ sp:varName "volumeScale"^^xsd:string | ||
| 365 | + ] ; | ||
| 366 | + sp:subject _:b4 | ||
| 367 | + ] [ sp:object _:b5 ; | ||
| 368 | + sp:predicate rdf:type ; | ||
| 369 | + sp:subject _:b3 | ||
| 370 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
| 371 | + sp:predicate rdf:type ; | ||
| 372 | + sp:subject _:b5 | ||
| 373 | + ] [ sp:object | ||
| 374 | + [ sp:varName "realTemp"^^xsd:string | ||
| 375 | + ] ; | ||
| 376 | + sp:predicate | ||
| 377 | + [ sp:varName "temperatureScale"^^xsd:string | ||
| 378 | + ] ; | ||
| 379 | + sp:subject _:b5 | ||
| 380 | + ] [ sp:object _:b6 ; | ||
| 381 | + sp:predicate rdf:type ; | ||
| 382 | + sp:subject _:b3 | ||
| 383 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
| 384 | + sp:predicate rdf:type ; | ||
| 385 | + sp:subject _:b6 | ||
| 386 | + ] [ sp:object | ||
| 387 | + [ sp:varName "realPres"^^xsd:string | ||
| 388 | + ] ; | ||
| 389 | + sp:predicate | ||
| 390 | + [ sp:varName "pressureScale"^^xsd:string | ||
| 391 | + ] ; | ||
| 392 | + sp:subject _:b6 | ||
| 393 | + ]) ; | ||
| 394 | + sp:where ([ sp:object | ||
| 395 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 396 | + ] ; | ||
| 397 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 398 | + sp:subject spin:_this | ||
| 399 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 400 | + sp:predicate rdf:type ; | ||
| 401 | + sp:subject | ||
| 402 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 403 | + ] | ||
| 404 | + ] [ sp:object | ||
| 405 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 406 | + ] ; | ||
| 407 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
| 408 | + sp:subject | ||
| 409 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 410 | + ] | ||
| 411 | + ] [ sp:object | ||
| 412 | + [ sp:varName "flowRef"^^xsd:string | ||
| 413 | + ] ; | ||
| 414 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; | ||
| 415 | + sp:subject | ||
| 416 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 417 | + ] | ||
| 418 | + ] [ sp:object | ||
| 419 | + [ sp:varName "productRef"^^xsd:string | ||
| 420 | + ] ; | ||
| 421 | + sp:predicate <http://www.epim.no/schemas/mprml/1#productRef> ; | ||
| 422 | + sp:subject | ||
| 423 | + [ sp:varName "flowRef"^^xsd:string | ||
| 424 | + ] | ||
| 425 | + ] [ sp:object | ||
| 426 | + [ sp:varName "productRef"^^xsd:string | ||
| 427 | + ] ; | ||
| 428 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 429 | + sp:subject | ||
| 430 | + [ sp:varName "productFlowToDate"^^xsd:string | ||
| 431 | + ] | ||
| 432 | + ] [ sp:object | ||
| 433 | + [ sp:varName "periodRef"^^xsd:string | ||
| 434 | + ] ; | ||
| 435 | + sp:predicate <http://www.epim.no/schemas/mprml/1#periodRef> ; | ||
| 436 | + sp:subject | ||
| 437 | + [ sp:varName "productRef"^^xsd:string | ||
| 438 | + ] | ||
| 439 | + ] [ sp:object | ||
| 440 | + [ sp:varName "periodKindRef"^^xsd:string | ||
| 441 | + ] ; | ||
| 442 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 443 | + sp:subject | ||
| 444 | + [ sp:varName "periodRef"^^xsd:string | ||
| 445 | + ] | ||
| 446 | + ] [ sp:object | ||
| 447 | + [ sp:varName "periodRef"^^xsd:string | ||
| 448 | + ] ; | ||
| 449 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 450 | + sp:subject | ||
| 451 | + [ sp:varName "temporalPartOfAProductFlow"^^xsd:string | ||
| 452 | + ] | ||
| 453 | + ] [ sp:object | ||
| 454 | + [ sp:varName "volumeValueRef"^^xsd:string | ||
| 455 | + ] ; | ||
| 456 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeValueRef> ; | ||
| 457 | + sp:subject | ||
| 458 | + [ sp:varName "periodRef"^^xsd:string | ||
| 459 | + ] | ||
| 460 | + ] [ sp:object | ||
| 461 | + [ sp:varName "volumeRef"^^xsd:string | ||
| 462 | + ] ; | ||
| 463 | + sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ; | ||
| 464 | + sp:subject | ||
| 465 | + [ sp:varName "volumeValueRef"^^xsd:string | ||
| 466 | + ] | ||
| 467 | + ] [ sp:object | ||
| 468 | + [ sp:varName "realVolume"^^xsd:string | ||
| 469 | + ] ; | ||
| 470 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 471 | + sp:subject | ||
| 472 | + [ sp:varName "volumeRef"^^xsd:string | ||
| 473 | + ] | ||
| 474 | + ] [ sp:object | ||
| 475 | + [ sp:varName "uomVolume"^^xsd:string | ||
| 476 | + ] ; | ||
| 477 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ; | ||
| 478 | + sp:subject | ||
| 479 | + [ sp:varName "volumeRef"^^xsd:string | ||
| 480 | + ] | ||
| 481 | + ] [ rdf:type sp:Optional ; | ||
| 482 | + sp:elements ([ sp:object | ||
| 483 | + [ sp:varName "tempRef"^^xsd:string | ||
| 484 | + ] ; | ||
| 485 | + sp:predicate <http://www.epim.no/schemas/mprml/1#tempRef> ; | ||
| 486 | + sp:subject | ||
| 487 | + [ sp:varName "volumeValueRef"^^xsd:string | ||
| 488 | + ] | ||
| 489 | + ] [ sp:object | ||
| 490 | + [ sp:varName "realTemp"^^xsd:string | ||
| 491 | + ] ; | ||
| 492 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 493 | + sp:subject | ||
| 494 | + [ sp:varName "tempRef"^^xsd:string | ||
| 495 | + ] | ||
| 496 | + ] [ sp:object | ||
| 497 | + [ sp:varName "uomTemp"^^xsd:string | ||
| 498 | + ] ; | ||
| 499 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ; | ||
| 500 | + sp:subject | ||
| 501 | + [ sp:varName "tempRef"^^xsd:string | ||
| 502 | + ] | ||
| 503 | + ]) | ||
| 504 | + ] [ rdf:type sp:Optional ; | ||
| 505 | + sp:elements ([ sp:object | ||
| 506 | + [ sp:varName "presRef"^^xsd:string | ||
| 507 | + ] ; | ||
| 508 | + sp:predicate <http://www.epim.no/schemas/mprml/1#presRef> ; | ||
| 509 | + sp:subject | ||
| 510 | + [ sp:varName "volumeValueRef"^^xsd:string | ||
| 511 | + ] | ||
| 512 | + ] [ sp:object | ||
| 513 | + [ sp:varName "realPres"^^xsd:string | ||
| 514 | + ] ; | ||
| 515 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 516 | + sp:subject | ||
| 517 | + [ sp:varName "presRef"^^xsd:string | ||
| 518 | + ] | ||
| 519 | + ] [ sp:object | ||
| 520 | + [ sp:varName "uomPres"^^xsd:string | ||
| 521 | + ] ; | ||
| 522 | + sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ; | ||
| 523 | + sp:subject | ||
| 524 | + [ sp:varName "presRef"^^xsd:string | ||
| 525 | + ] | ||
| 526 | + ]) | ||
| 527 | + ] [ rdf:type sp:Bind ; | ||
| 528 | + sp:expression | ||
| 529 | + [ rdf:type ep-mpr-spin-lib:selectRelationshipToMeasure ; | ||
| 530 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
| 531 | + ] | ||
| 532 | + ] ; | ||
| 533 | + sp:variable | ||
| 534 | + [ sp:varName "relationshipToMeasure"^^xsd:string | ||
| 535 | + ] | ||
| 536 | + ] [ rdf:type sp:Bind ; | ||
| 537 | + sp:expression | ||
| 538 | + [ rdf:type ep-mpr-spin-lib:selectVolumeScale ; | ||
| 539 | + sp:arg1 [ sp:varName "uomVolume"^^xsd:string | ||
| 540 | + ] | ||
| 541 | + ] ; | ||
| 542 | + sp:variable | ||
| 543 | + [ sp:varName "volumeScale"^^xsd:string | ||
| 544 | + ] | ||
| 545 | + ] [ rdf:type sp:Bind ; | ||
| 546 | + sp:expression | ||
| 547 | + [ rdf:type ep-mpr-spin-lib:selectTemperatureScale ; | ||
| 548 | + sp:arg1 [ sp:varName "uomTemp"^^xsd:string | ||
| 549 | + ] | ||
| 550 | + ] ; | ||
| 551 | + sp:variable | ||
| 552 | + [ sp:varName "temperatureScale"^^xsd:string | ||
| 553 | + ] | ||
| 554 | + ] [ rdf:type sp:Bind ; | ||
| 555 | + sp:expression | ||
| 556 | + [ rdf:type ep-mpr-spin-lib:selectPressureScale ; | ||
| 557 | + sp:arg1 [ sp:varName "uomPres"^^xsd:string | ||
| 558 | + ] | ||
| 559 | + ] ; | ||
| 560 | + sp:variable | ||
| 561 | + [ sp:varName "pressureScale"^^xsd:string | ||
| 562 | + ] | ||
| 563 | + ]) | ||
| 564 | + ] ; | ||
| 565 | + spin:rule | ||
| 566 | + [ rdf:type sp:Construct ; | ||
| 567 | + rdfs:comment """STEP 20103b record the related facility - a neutral link is provided in case there is no direction. | ||
| 568 | +nothing is done with the facilityParent1 or facilityParent2 of the related facility"""^^xsd:string ; | ||
| 569 | + sp:templates ([ sp:object | ||
| 570 | + [ sp:varName "relatedFacility"^^xsd:string | ||
| 571 | + ] ; | ||
| 572 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
| 573 | + sp:subject | ||
| 574 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 575 | + ] | ||
| 576 | + ] [ sp:object | ||
| 577 | + [ sp:varName "relatedFacility"^^xsd:string | ||
| 578 | + ] ; | ||
| 579 | + sp:predicate | ||
| 580 | + [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string | ||
| 581 | + ] ; | ||
| 582 | + sp:subject | ||
| 583 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 584 | + ] | ||
| 585 | + ] [ sp:object | ||
| 586 | + [ sp:varName "relatedFacilityType"^^xsd:string | ||
| 587 | + ] ; | ||
| 588 | + sp:predicate rdf:type ; | ||
| 589 | + sp:subject | ||
| 590 | + [ sp:varName "relatedFacility"^^xsd:string | ||
| 591 | + ] | ||
| 592 | + ]) ; | ||
| 593 | + sp:where ([ sp:object | ||
| 594 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 595 | + ] ; | ||
| 596 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 597 | + sp:subject spin:_this | ||
| 598 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 599 | + sp:predicate rdf:type ; | ||
| 600 | + sp:subject | ||
| 601 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 602 | + ] | ||
| 603 | + ] [ sp:object | ||
| 604 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 605 | + ] ; | ||
| 606 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
| 607 | + sp:subject | ||
| 608 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 609 | + ] | ||
| 610 | + ] [ sp:object | ||
| 611 | + [ sp:varName "flowRef"^^xsd:string | ||
| 612 | + ] ; | ||
| 613 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; | ||
| 614 | + sp:subject | ||
| 615 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 616 | + ] | ||
| 617 | + ] [ rdf:type sp:Optional ; | ||
| 618 | + sp:elements ([ sp:object | ||
| 619 | + [ sp:varName "flowDirection"^^xsd:string | ||
| 620 | + ] ; | ||
| 621 | + sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ; | ||
| 622 | + sp:subject | ||
| 623 | + [ sp:varName "flowRef"^^xsd:string | ||
| 624 | + ] | ||
| 625 | + ]) | ||
| 626 | + ] [ sp:object | ||
| 627 | + [ sp:varName "relatedFacilityRef"^^xsd:string | ||
| 628 | + ] ; | ||
| 629 | + sp:predicate <http://www.epim.no/schemas/mprml/1#relatedFacilityRef> ; | ||
| 630 | + sp:subject | ||
| 631 | + [ sp:varName "flowRef"^^xsd:string | ||
| 632 | + ] | ||
| 633 | + ] [ sp:object | ||
| 634 | + [ sp:varName "relatedFacilityNameRef"^^xsd:string | ||
| 635 | + ] ; | ||
| 636 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | ||
| 637 | + sp:subject | ||
| 638 | + [ sp:varName "relatedFacilityRef"^^xsd:string | ||
| 639 | + ] | ||
| 640 | + ] [ sp:object | ||
| 641 | + [ sp:varName "relatedFacilityName"^^xsd:string | ||
| 642 | + ] ; | ||
| 643 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 644 | + sp:subject | ||
| 645 | + [ sp:varName "relatedFacilityNameRef"^^xsd:string | ||
| 646 | + ] | ||
| 647 | + ] [ rdf:type sp:Optional ; | ||
| 648 | + sp:elements ([ sp:object | ||
| 649 | + [ sp:varName "relatedFacilityNamingSystem"^^xsd:string | ||
| 650 | + ] ; | ||
| 651 | + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; | ||
| 652 | + sp:subject | ||
| 653 | + [ sp:varName "relatedFacilityNameRef"^^xsd:string | ||
| 654 | + ] | ||
| 655 | + ]) | ||
| 656 | + ] [ rdf:type sp:Optional ; | ||
| 657 | + sp:elements ([ sp:object | ||
| 658 | + [ sp:varName "relatedFacilityKind"^^xsd:string | ||
| 659 | + ] ; | ||
| 660 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 661 | + sp:subject | ||
| 662 | + [ sp:varName "relatedFacilityNameRef"^^xsd:string | ||
| 663 | + ] | ||
| 664 | + ]) | ||
| 665 | + ] [ rdf:type sp:Bind ; | ||
| 666 | + sp:expression | ||
| 667 | + [ rdf:type afn:localname ; | ||
| 668 | + sp:arg1 [ sp:varName "flowRef"^^xsd:string | ||
| 669 | + ] | ||
| 670 | + ] ; | ||
| 671 | + sp:variable | ||
| 672 | + [ sp:varName "localname"^^xsd:string | ||
| 673 | + ] | ||
| 674 | + ] [ rdf:type sp:Bind ; | ||
| 675 | + sp:expression | ||
| 676 | + [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | ||
| 677 | + sp:arg1 [ sp:varName "localname"^^xsd:string | ||
| 678 | + ] | ||
| 679 | + ] ; | ||
| 680 | + sp:variable | ||
| 681 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 682 | + ] | ||
| 683 | + ] [ rdf:type sp:Bind ; | ||
| 684 | + sp:expression | ||
| 685 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 686 | + sp:arg1 [ sp:varName "relatedFacilityName"^^xsd:string | ||
| 687 | + ] | ||
| 688 | + ] ; | ||
| 689 | + sp:variable | ||
| 690 | + [ sp:varName "normalizedRelatedFacilityName"^^xsd:string | ||
| 691 | + ] | ||
| 692 | + ] [ rdf:type sp:Bind ; | ||
| 693 | + sp:expression | ||
| 694 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 695 | + sp:arg1 [ sp:varName "normalizedRelatedFacilityName"^^xsd:string | ||
| 696 | + ] | ||
| 697 | + ] ; | ||
| 698 | + sp:variable | ||
| 699 | + [ sp:varName "relatedFacility"^^xsd:string | ||
| 700 | + ] | ||
| 701 | + ] [ rdf:type sp:Bind ; | ||
| 702 | + sp:expression | ||
| 703 | + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; | ||
| 704 | + sp:arg1 [ sp:varName "relatedFacilityKind"^^xsd:string | ||
| 705 | + ] | ||
| 706 | + ] ; | ||
| 707 | + sp:variable | ||
| 708 | + [ sp:varName "relatedFacilityType"^^xsd:string | ||
| 709 | + ] | ||
| 710 | + ] [ rdf:type sp:Bind ; | ||
| 711 | + sp:expression | ||
| 712 | + [ rdf:type ep-mpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ; | ||
| 713 | + sp:arg1 [ sp:varName "flowDirection"^^xsd:string | ||
| 714 | + ] | ||
| 715 | + ] ; | ||
| 716 | + sp:variable | ||
| 717 | + [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string | ||
| 718 | + ] | ||
| 719 | + ]) | ||
| 720 | + ] ; | ||
| 721 | + spin:rule | ||
| 722 | + [ rdf:type sp:Construct ; | ||
| 723 | + rdfs:comment "STEP 20103c record the related facility - only its kind is specified"^^xsd:string ; | ||
| 724 | + sp:templates ([ sp:object | ||
| 725 | + [ sp:varName "relatedFacility"^^xsd:string | ||
| 726 | + ] ; | ||
| 727 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
| 728 | + sp:subject | ||
| 729 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 730 | + ] | ||
| 731 | + ] [ sp:object _:b7 ; | ||
| 732 | + sp:predicate | ||
| 733 | + [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string | ||
| 734 | + ] ; | ||
| 735 | + sp:subject | ||
| 736 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 737 | + ] | ||
| 738 | + ] [ sp:object | ||
| 739 | + [ sp:varName "relatedFacilityType"^^xsd:string | ||
| 740 | + ] ; | ||
| 741 | + sp:predicate rdf:type ; | ||
| 742 | + sp:subject _:b7 | ||
| 743 | + ]) ; | ||
| 744 | + sp:where ([ sp:object | ||
| 745 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 746 | + ] ; | ||
| 747 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 748 | + sp:subject spin:_this | ||
| 749 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 750 | + sp:predicate rdf:type ; | ||
| 751 | + sp:subject | ||
| 752 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 753 | + ] | ||
| 754 | + ] [ sp:object | ||
| 755 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 756 | + ] ; | ||
| 757 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
| 758 | + sp:subject | ||
| 759 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 760 | + ] | ||
| 761 | + ] [ sp:object | ||
| 762 | + [ sp:varName "flowRef"^^xsd:string | ||
| 763 | + ] ; | ||
| 764 | + sp:predicate <http://www.epim.no/schemas/mprml/1#flowRef> ; | ||
| 765 | + sp:subject | ||
| 766 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 767 | + ] | ||
| 768 | + ] [ sp:object | ||
| 769 | + [ sp:varName "flowDirection"^^xsd:string | ||
| 770 | + ] ; | ||
| 771 | + sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ; | ||
| 772 | + sp:subject | ||
| 773 | + [ sp:varName "flowRef"^^xsd:string | ||
| 774 | + ] | ||
| 775 | + ] [ sp:object | ||
| 776 | + [ sp:varName "relatedFacilityRef"^^xsd:string | ||
| 777 | + ] ; | ||
| 778 | + sp:predicate <http://www.epim.no/schemas/mprml/1#relatedFacilityRef> ; | ||
| 779 | + sp:subject | ||
| 780 | + [ sp:varName "flowRef"^^xsd:string | ||
| 781 | + ] | ||
| 782 | + ] [ sp:object | ||
| 783 | + [ sp:varName "relatedFacilityKind"^^xsd:string | ||
| 784 | + ] ; | ||
| 785 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 786 | + sp:subject | ||
| 787 | + [ sp:varName "relatedFacilityRef"^^xsd:string | ||
| 788 | + ] | ||
| 789 | + ] [ rdf:type sp:Bind ; | ||
| 790 | + sp:expression | ||
| 791 | + [ rdf:type afn:localname ; | ||
| 792 | + sp:arg1 [ sp:varName "flowRef"^^xsd:string | ||
| 793 | + ] | ||
| 794 | + ] ; | ||
| 795 | + sp:variable | ||
| 796 | + [ sp:varName "localname"^^xsd:string | ||
| 797 | + ] | ||
| 798 | + ] [ rdf:type sp:Bind ; | ||
| 799 | + sp:expression | ||
| 800 | + [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | ||
| 801 | + sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string | ||
| 802 | + ] | ||
| 803 | + ] ; | ||
| 804 | + sp:variable | ||
| 805 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 806 | + ] | ||
| 807 | + ] [ rdf:type sp:Bind ; | ||
| 808 | + sp:expression | ||
| 809 | + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; | ||
| 810 | + sp:arg1 [ sp:varName "relatedFacilityKind"^^xsd:string | ||
| 811 | + ] | ||
| 812 | + ] ; | ||
| 813 | + sp:variable | ||
| 814 | + [ sp:varName "relatedFacilityType"^^xsd:string | ||
| 815 | + ] | ||
| 816 | + ] [ rdf:type sp:Bind ; | ||
| 817 | + sp:expression | ||
| 818 | + [ rdf:type ep-mpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ; | ||
| 819 | + sp:arg1 [ sp:varName "flowDirection"^^xsd:string | ||
| 820 | + ] | ||
| 821 | + ] ; | ||
| 822 | + sp:variable | ||
| 823 | + [ sp:varName "productionFlowDirectionInverseRelationshipType"^^xsd:string | ||
| 824 | + ] | ||
| 825 | + ]) | ||
| 826 | + ] ; | ||
| 827 | + spin:rule | ||
| 828 | + [ rdf:type sp:Construct ; | ||
| 829 | + rdfs:comment """STEP 20102 Record the Facility that has the flows | ||
| 830 | +Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 831 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 832 | + sp:predicate rdf:type ; | ||
| 833 | + sp:subject | ||
| 834 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 835 | + ] | ||
| 836 | + ] [ sp:object | ||
| 837 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
| 838 | + ] ; | ||
| 839 | + sp:predicate rdf:type ; | ||
| 840 | + sp:subject | ||
| 841 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 842 | + ] | ||
| 843 | + ]) ; | ||
| 844 | + sp:where ([ sp:object | ||
| 845 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 846 | + ] ; | ||
| 847 | + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 848 | + sp:subject spin:_this | ||
| 849 | + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 850 | + sp:predicate rdf:type ; | ||
| 851 | + sp:subject | ||
| 852 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 853 | + ] | ||
| 854 | + ] [ sp:object | ||
| 855 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 856 | + ] ; | ||
| 857 | + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
| 858 | + sp:subject | ||
| 859 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 860 | + ] | ||
| 861 | + ] [ sp:object | ||
| 862 | + [ sp:varName "facilityNameRef"^^xsd:string | ||
| 863 | + ] ; | ||
| 864 | + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | ||
| 865 | + sp:subject | ||
| 866 | + [ sp:varName "facilityRef"^^xsd:string | ||
| 867 | + ] | ||
| 868 | + ] [ sp:object | ||
| 869 | + [ sp:varName "facilityName"^^xsd:string | ||
| 870 | + ] ; | ||
| 871 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 872 | + sp:subject | ||
| 873 | + [ sp:varName "facilityNameRef"^^xsd:string | ||
| 874 | + ] | ||
| 875 | + ] [ rdf:type sp:Optional ; | ||
| 876 | + sp:elements ([ sp:object | ||
| 877 | + [ sp:varName "facilityNamingSystem"^^xsd:string | ||
| 878 | + ] ; | ||
| 879 | + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; | ||
| 880 | + sp:subject | ||
| 881 | + [ sp:varName "facilityNameRef"^^xsd:string | ||
| 882 | + ] | ||
| 883 | + ]) | ||
| 884 | + ] [ rdf:type sp:Optional ; | ||
| 885 | + sp:elements ([ sp:object | ||
| 886 | + [ sp:varName "facilityKind"^^xsd:string | ||
| 887 | + ] ; | ||
| 888 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 889 | + sp:subject | ||
| 890 | + [ sp:varName "facilityNameRef"^^xsd:string | ||
| 891 | + ] | ||
| 892 | + ]) | ||
| 893 | + ] [ rdf:type sp:Bind ; | ||
| 894 | + sp:expression | ||
| 895 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 896 | + sp:arg1 [ sp:varName "facilityName"^^xsd:string | ||
| 897 | + ] | ||
| 898 | + ] ; | ||
| 899 | + sp:variable | ||
| 900 | + [ sp:varName "normalizedFacilityName"^^xsd:string | ||
| 901 | + ] | ||
| 902 | + ] [ rdf:type sp:Bind ; | ||
| 903 | + sp:expression | ||
| 904 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 905 | + sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string | ||
| 906 | + ] | ||
| 907 | + ] ; | ||
| 908 | + sp:variable | ||
| 909 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 910 | + ] | ||
| 911 | + ] [ rdf:type sp:Bind ; | ||
| 912 | + sp:expression | ||
| 913 | + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; | ||
| 914 | + sp:arg1 [ sp:varName "facilityKind"^^xsd:string | ||
| 915 | + ] | ||
| 916 | + ] ; | ||
| 917 | + sp:variable | ||
| 918 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
| 919 | + ] | ||
| 920 | + ]) | ||
| 921 | + ] ; | ||
| 922 | + spin:rule | ||
| 923 | + [ rdf:type sp:Construct ; | ||
| 924 | + rdfs:comment """STEP 20103a record the flows | ||
| 925 | +The corresponding STEP for the DPR relies upon a flow name. For the MPR, the flow name is optional :(. | ||
| 926 | +The corresponding STEP for the DPR relies upon a direction, to link the flow to the productionFacility. Her a neutral link has been provided as well. Without a direction the relationship will be the same as for a relatedFacility."""^^xsd:string ; | ||
| 927 | + sp:templates ([ sp:object | ||
| 928 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 929 | + ] ; | ||
| 930 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
| 931 | + sp:subject | ||
| 932 | + [ sp:varName "productionFlow"^^xsd:string | ||
| 933 | + ] | ||
| 934 | + ] [ sp:object | ||
| 26 | [ sp:varName "productionFacility"^^xsd:string | 935 | [ sp:varName "productionFacility"^^xsd:string |
| 27 | ] ; | 936 | ] ; |
| 28 | sp:predicate | 937 | sp:predicate |
| ... | @@ -61,11 +970,11 @@ | ... | @@ -61,11 +970,11 @@ |
| 61 | [ sp:varName "productionFlow"^^xsd:string | 970 | [ sp:varName "productionFlow"^^xsd:string |
| 62 | ] ; | 971 | ] ; |
| 63 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 972 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 64 | - sp:subject _:b1 | 973 | + sp:subject _:b8 |
| 65 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | 974 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; |
| 66 | sp:predicate rdf:type ; | 975 | sp:predicate rdf:type ; |
| 67 | - sp:subject _:b1 | 976 | + sp:subject _:b8 |
| 68 | - ] [ sp:object _:b1 ; | 977 | + ] [ sp:object _:b8 ; |
| 69 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | 978 | sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; |
| 70 | sp:subject | 979 | sp:subject |
| 71 | [ sp:varName "productionFlowsToDate"^^xsd:string | 980 | [ sp:varName "productionFlowsToDate"^^xsd:string |
| ... | @@ -74,7 +983,7 @@ | ... | @@ -74,7 +983,7 @@ |
| 74 | [ sp:varName "flowRef"^^xsd:string | 983 | [ sp:varName "flowRef"^^xsd:string |
| 75 | ] ; | 984 | ] ; |
| 76 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 985 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 77 | - sp:subject _:b1 | 986 | + sp:subject _:b8 |
| 78 | ]) ; | 987 | ]) ; |
| 79 | sp:where ([ sp:object | 988 | sp:where ([ sp:object |
| 80 | [ sp:varName "productVolumeRef"^^xsd:string | 989 | [ sp:varName "productVolumeRef"^^xsd:string |
| ... | @@ -133,13 +1042,15 @@ | ... | @@ -133,13 +1042,15 @@ |
| 133 | sp:subject | 1042 | sp:subject |
| 134 | [ sp:varName "facilityRef"^^xsd:string | 1043 | [ sp:varName "facilityRef"^^xsd:string |
| 135 | ] | 1044 | ] |
| 136 | - ] [ sp:object | 1045 | + ] [ rdf:type sp:Optional ; |
| 137 | - [ sp:varName "flowName"^^xsd:string | 1046 | + sp:elements ([ sp:object |
| 138 | - ] ; | 1047 | + [ sp:varName "flowName"^^xsd:string |
| 139 | - sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; | 1048 | + ] ; |
| 140 | - sp:subject | 1049 | + sp:predicate <http://www.epim.no/schemas/mprml/1#name> ; |
| 141 | - [ sp:varName "flowRef"^^xsd:string | 1050 | + sp:subject |
| 142 | - ] | 1051 | + [ sp:varName "flowRef"^^xsd:string |
| 1052 | + ] | ||
| 1053 | + ]) | ||
| 143 | ] [ sp:object | 1054 | ] [ sp:object |
| 144 | [ sp:varName "flowKind"^^xsd:string | 1055 | [ sp:varName "flowKind"^^xsd:string |
| 145 | ] ; | 1056 | ] ; |
| ... | @@ -147,13 +1058,15 @@ | ... | @@ -147,13 +1058,15 @@ |
| 147 | sp:subject | 1058 | sp:subject |
| 148 | [ sp:varName "flowRef"^^xsd:string | 1059 | [ sp:varName "flowRef"^^xsd:string |
| 149 | ] | 1060 | ] |
| 150 | - ] [ sp:object | 1061 | + ] [ rdf:type sp:Optional ; |
| 151 | - [ sp:varName "flowDirection"^^xsd:string | 1062 | + sp:elements ([ sp:object |
| 152 | - ] ; | 1063 | + [ sp:varName "flowDirection"^^xsd:string |
| 153 | - sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ; | 1064 | + ] ; |
| 154 | - sp:subject | 1065 | + sp:predicate <http://www.epim.no/schemas/mprml/1#directionRef> ; |
| 155 | - [ sp:varName "flowRef"^^xsd:string | 1066 | + sp:subject |
| 156 | - ] | 1067 | + [ sp:varName "flowRef"^^xsd:string |
| 1068 | + ] | ||
| 1069 | + ]) | ||
| 157 | ] [ rdf:type sp:Optional ; | 1070 | ] [ rdf:type sp:Optional ; |
| 158 | sp:elements ([ sp:object | 1071 | sp:elements ([ sp:object |
| 159 | [ sp:varName "flowQualifier"^^xsd:string | 1072 | [ sp:varName "flowQualifier"^^xsd:string |
| ... | @@ -183,17 +1096,17 @@ | ... | @@ -183,17 +1096,17 @@ |
| 183 | ] | 1096 | ] |
| 184 | ] [ rdf:type sp:Bind ; | 1097 | ] [ rdf:type sp:Bind ; |
| 185 | sp:expression | 1098 | sp:expression |
| 186 | - [ rdf:type ep-spin-lib:normalizeString ; | 1099 | + [ rdf:type afn:localname ; |
| 187 | - sp:arg1 [ sp:varName "flowName"^^xsd:string | 1100 | + sp:arg1 [ sp:varName "flowRef"^^xsd:string |
| 188 | ] | 1101 | ] |
| 189 | ] ; | 1102 | ] ; |
| 190 | sp:variable | 1103 | sp:variable |
| 191 | - [ sp:varName "normalizedFlowName"^^xsd:string | 1104 | + [ sp:varName "localname"^^xsd:string |
| 192 | ] | 1105 | ] |
| 193 | ] [ rdf:type sp:Bind ; | 1106 | ] [ rdf:type sp:Bind ; |
| 194 | sp:expression | 1107 | sp:expression |
| 195 | [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | 1108 | [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; |
| 196 | - sp:arg1 [ sp:varName "normalizedFlowName"^^xsd:string | 1109 | + sp:arg1 [ sp:varName "localname"^^xsd:string |
| 197 | ] | 1110 | ] |
| 198 | ] ; | 1111 | ] ; |
| 199 | sp:variable | 1112 | sp:variable |
| ... | @@ -227,104 +1140,9 @@ | ... | @@ -227,104 +1140,9 @@ |
| 227 | [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string | 1140 | [ sp:varName "productionFlowDirectionRelationshipType"^^xsd:string |
| 228 | ] | 1141 | ] |
| 229 | ]) | 1142 | ]) |
| 230 | - ] ; | ||
| 231 | - spin:rule | ||
| 232 | - [ rdf:type sp:Construct ; | ||
| 233 | - rdfs:comment """STEP 20102 Record the Facility that has the flows | ||
| 234 | -Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 235 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 236 | - sp:predicate rdf:type ; | ||
| 237 | - sp:subject | ||
| 238 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 239 | - ] | ||
| 240 | - ] [ sp:object | ||
| 241 | - [ sp:varName "productionFacilityType"^^xsd:string | ||
| 242 | - ] ; | ||
| 243 | - sp:predicate rdf:type ; | ||
| 244 | - sp:subject | ||
| 245 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 246 | - ] | ||
| 247 | - ]) ; | ||
| 248 | - sp:where ([ sp:object | ||
| 249 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 250 | - ] ; | ||
| 251 | - sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ; | ||
| 252 | - sp:subject spin:_this | ||
| 253 | - ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ; | ||
| 254 | - sp:predicate rdf:type ; | ||
| 255 | - sp:subject | ||
| 256 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 257 | - ] | ||
| 258 | - ] [ sp:object | ||
| 259 | - [ sp:varName "facilityRef"^^xsd:string | ||
| 260 | - ] ; | ||
| 261 | - sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ; | ||
| 262 | - sp:subject | ||
| 263 | - [ sp:varName "productVolumeRef"^^xsd:string | ||
| 264 | - ] | ||
| 265 | - ] [ sp:object | ||
| 266 | - [ sp:varName "facilityNameRef"^^xsd:string | ||
| 267 | - ] ; | ||
| 268 | - sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ; | ||
| 269 | - sp:subject | ||
| 270 | - [ sp:varName "facilityRef"^^xsd:string | ||
| 271 | - ] | ||
| 272 | - ] [ sp:object | ||
| 273 | - [ sp:varName "facilityName"^^xsd:string | ||
| 274 | - ] ; | ||
| 275 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 276 | - sp:subject | ||
| 277 | - [ sp:varName "facilityNameRef"^^xsd:string | ||
| 278 | - ] | ||
| 279 | - ] [ rdf:type sp:Optional ; | ||
| 280 | - sp:elements ([ sp:object | ||
| 281 | - [ sp:varName "facilityNamingSystem"^^xsd:string | ||
| 282 | - ] ; | ||
| 283 | - sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ; | ||
| 284 | - sp:subject | ||
| 285 | - [ sp:varName "facilityNameRef"^^xsd:string | ||
| 286 | - ] | ||
| 287 | - ]) | ||
| 288 | - ] [ rdf:type sp:Optional ; | ||
| 289 | - sp:elements ([ sp:object | ||
| 290 | - [ sp:varName "facilityKind"^^xsd:string | ||
| 291 | - ] ; | ||
| 292 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 293 | - sp:subject | ||
| 294 | - [ sp:varName "facilityNameRef"^^xsd:string | ||
| 295 | - ] | ||
| 296 | - ]) | ||
| 297 | - ] [ rdf:type sp:Bind ; | ||
| 298 | - sp:expression | ||
| 299 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 300 | - sp:arg1 [ sp:varName "facilityName"^^xsd:string | ||
| 301 | - ] | ||
| 302 | - ] ; | ||
| 303 | - sp:variable | ||
| 304 | - [ sp:varName "normalizedFacilityName"^^xsd:string | ||
| 305 | - ] | ||
| 306 | - ] [ rdf:type sp:Bind ; | ||
| 307 | - sp:expression | ||
| 308 | - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 309 | - sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string | ||
| 310 | - ] | ||
| 311 | - ] ; | ||
| 312 | - sp:variable | ||
| 313 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 314 | - ] | ||
| 315 | - ] [ rdf:type sp:Bind ; | ||
| 316 | - sp:expression | ||
| 317 | - [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; | ||
| 318 | - sp:arg1 [ sp:varName "facilityKind"^^xsd:string | ||
| 319 | - ] | ||
| 320 | - ] ; | ||
| 321 | - sp:variable | ||
| 322 | - [ sp:varName "productionFacilityType"^^xsd:string | ||
| 323 | - ] | ||
| 324 | - ]) | ||
| 325 | ] . | 1143 | ] . |
| 326 | 1144 | ||
| 327 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> | 1145 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> |
| 328 | rdf:type owl:Ontology ; | 1146 | rdf:type owl:Ontology ; |
| 329 | - owl:imports <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ; | 1147 | + owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ; |
| 330 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1148 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
-
Please register or login to post a comment