Showing
9 changed files
with
1668 additions
and
143 deletions
| ... | @@ -10,141 +10,146 @@ | ... | @@ -10,141 +10,146 @@ |
| 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:CarbonDioxideGasFlow |
| 32 | - rdf:type ep-flow:ProductType , owl:Class ; | 32 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 33 | rdfs:label "carbon dioxide gas flow"^^xsd:string ; | 33 | rdfs:label "carbon dioxide gas flow"^^xsd:string ; |
| 34 | rdfs:subClassOf ep-flow:Flow . | 34 | rdfs:subClassOf ep-flow:Flow . |
| 35 | 35 | ||
| 36 | ep-flow:CarbonMonoxideGasFlow | 36 | ep-flow:CarbonMonoxideGasFlow |
| 37 | - rdf:type ep-flow:ProductType , owl:Class ; | 37 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 38 | rdfs:label "carbon monoxide gas flow"^^xsd:string ; | 38 | rdfs:label "carbon monoxide gas flow"^^xsd:string ; |
| 39 | rdfs:subClassOf ep-flow:Flow . | 39 | rdfs:subClassOf ep-flow:Flow . |
| 40 | 40 | ||
| 41 | ep-flow:ChemicalFlow | 41 | ep-flow:ChemicalFlow |
| 42 | - rdf:type ep-flow:ProductType , owl:Class ; | 42 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 43 | rdfs:label "chemical flow"^^xsd:string ; | 43 | rdfs:label "chemical flow"^^xsd:string ; |
| 44 | rdfs:subClassOf ep-flow:Flow . | 44 | rdfs:subClassOf ep-flow:Flow . |
| 45 | 45 | ||
| 46 | ep-flow:CondensateFlow | 46 | ep-flow:CondensateFlow |
| 47 | - rdf:type ep-flow:ProductType , owl:Class ; | 47 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 48 | rdfs:label "condensate flow"^^xsd:string ; | 48 | rdfs:label "condensate flow"^^xsd:string ; |
| 49 | rdfs:subClassOf ep-flow:Flow . | 49 | rdfs:subClassOf ep-flow:Flow . |
| 50 | 50 | ||
| 51 | ep-flow:ConstraintFlow | 51 | ep-flow:ConstraintFlow |
| 52 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 52 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
| 53 | rdfs:label "constraint flow"^^xsd:string ; | 53 | rdfs:label "constraint flow"^^xsd:string ; |
| 54 | rdfs:subClassOf ep-flow:Flow . | 54 | rdfs:subClassOf ep-flow:Flow . |
| 55 | 55 | ||
| 56 | ep-flow:Consume | 56 | ep-flow:Consume |
| 57 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 57 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 58 | rdfs:label "consume"^^xsd:string ; | 58 | rdfs:label "consume"^^xsd:string ; |
| 59 | rdfs:subClassOf ep-flow:Flow . | 59 | rdfs:subClassOf ep-flow:Flow . |
| 60 | 60 | ||
| 61 | ep-flow:Consume-HPflare | 61 | ep-flow:Consume-HPflare |
| 62 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 62 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 63 | rdfs:label "consume - HP flare"^^xsd:string ; | 63 | rdfs:label "consume - HP flare"^^xsd:string ; |
| 64 | rdfs:subClassOf ep-flow:Consume-flare . | 64 | rdfs:subClassOf ep-flow:Consume-flare . |
| 65 | 65 | ||
| 66 | ep-flow:Consume-LPflare | 66 | ep-flow:Consume-LPflare |
| 67 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 67 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 68 | rdfs:label "consume - LP flare"^^xsd:string ; | 68 | rdfs:label "consume - LP flare"^^xsd:string ; |
| 69 | rdfs:subClassOf ep-flow:Consume-flare . | 69 | rdfs:subClassOf ep-flow:Consume-flare . |
| 70 | 70 | ||
| 71 | ep-flow:Consume-blackstart | 71 | ep-flow:Consume-blackstart |
| 72 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 72 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 73 | rdfs:label "consume - blackstart"^^xsd:string ; | 73 | rdfs:label "consume - blackstart"^^xsd:string ; |
| 74 | rdfs:subClassOf ep-flow:Consume . | 74 | rdfs:subClassOf ep-flow:Consume . |
| 75 | 75 | ||
| 76 | ep-flow:Consume-compressor | 76 | ep-flow:Consume-compressor |
| 77 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 77 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 78 | rdfs:label "consume - compressor"^^xsd:string ; | 78 | rdfs:label "consume - compressor"^^xsd:string ; |
| 79 | rdfs:subClassOf ep-flow:Consume . | 79 | rdfs:subClassOf ep-flow:Consume . |
| 80 | 80 | ||
| 81 | ep-flow:Consume-emitted | 81 | ep-flow:Consume-emitted |
| 82 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 82 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 83 | rdfs:label "consume - emitted"^^xsd:string ; | 83 | rdfs:label "consume - emitted"^^xsd:string ; |
| 84 | rdfs:subClassOf ep-flow:Consume . | 84 | rdfs:subClassOf ep-flow:Consume . |
| 85 | 85 | ||
| 86 | ep-flow:Consume-flare | 86 | ep-flow:Consume-flare |
| 87 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 87 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 88 | rdfs:label "consume - flare"^^xsd:string ; | 88 | rdfs:label "consume - flare"^^xsd:string ; |
| 89 | rdfs:subClassOf ep-flow:Consume . | 89 | rdfs:subClassOf ep-flow:Consume . |
| 90 | 90 | ||
| 91 | ep-flow:Consume-fuel | 91 | ep-flow:Consume-fuel |
| 92 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 92 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 93 | rdfs:label "consume - fuel"^^xsd:string ; | 93 | rdfs:label "consume - fuel"^^xsd:string ; |
| 94 | rdfs:subClassOf ep-flow:Consume . | 94 | rdfs:subClassOf ep-flow:Consume . |
| 95 | 95 | ||
| 96 | ep-flow:Consume-noncompressor | 96 | ep-flow:Consume-noncompressor |
| 97 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 97 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 98 | rdfs:label "consume - non-compressor"^^xsd:string ; | 98 | rdfs:label "consume - non-compressor"^^xsd:string ; |
| 99 | rdfs:subClassOf ep-flow:Consume . | 99 | rdfs:subClassOf ep-flow:Consume . |
| 100 | 100 | ||
| 101 | ep-flow:Consume-venting | 101 | ep-flow:Consume-venting |
| 102 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 102 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 103 | rdfs:label "consume - venting"^^xsd:string ; | 103 | rdfs:label "consume - venting"^^xsd:string ; |
| 104 | rdfs:subClassOf ep-flow:Consume . | 104 | rdfs:subClassOf ep-flow:Consume . |
| 105 | 105 | ||
| 106 | ep-flow:CuttingsFlow | 106 | ep-flow:CuttingsFlow |
| 107 | - rdf:type owl:Class , ep-flow:ProductType ; | 107 | + rdf:type ep-flow:ProductType , owl:Class ; |
| 108 | rdfs:label "cuttings flow"^^xsd:string ; | 108 | rdfs:label "cuttings flow"^^xsd:string ; |
| 109 | rdfs:subClassOf ep-flow:Flow . | 109 | rdfs:subClassOf ep-flow:Flow . |
| 110 | 110 | ||
| 111 | +ep-flow:DailyProductionFlow | ||
| 112 | + rdf:type owl:Class ; | ||
| 113 | + rdfs:label "daily production flow"^^xsd:string ; | ||
| 114 | + rdfs:subClassOf ep-flow:TemporalPartOfAProductionFlow . | ||
| 115 | + | ||
| 111 | ep-flow:DerivedFlow | 116 | ep-flow:DerivedFlow |
| 112 | - rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; | 117 | + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; |
| 113 | rdfs:label "derived flow"^^xsd:string ; | 118 | rdfs:label "derived flow"^^xsd:string ; |
| 114 | rdfs:subClassOf ep-flow:Flow . | 119 | rdfs:subClassOf ep-flow:Flow . |
| 115 | 120 | ||
| 116 | ep-flow:DieselFlow | 121 | ep-flow:DieselFlow |
| 117 | - rdf:type ep-flow:ProductType , owl:Class ; | 122 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 118 | rdfs:label "diesel flow"^^xsd:string ; | 123 | rdfs:label "diesel flow"^^xsd:string ; |
| 119 | rdfs:subClassOf ep-flow:Flow . | 124 | rdfs:subClassOf ep-flow:Flow . |
| 120 | 125 | ||
| 121 | ep-flow:EstimatedFlow | 126 | ep-flow:EstimatedFlow |
| 122 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 127 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 123 | rdfs:label "estimated flow"^^xsd:string ; | 128 | rdfs:label "estimated flow"^^xsd:string ; |
| 124 | rdfs:subClassOf ep-flow:Flow . | 129 | rdfs:subClassOf ep-flow:Flow . |
| 125 | 130 | ||
| 126 | ep-flow:Ethane-componentFlow | 131 | ep-flow:Ethane-componentFlow |
| 127 | - rdf:type ep-flow:ProductType , owl:Class ; | 132 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 128 | rdfs:label "ethane - component flow"^^xsd:string ; | 133 | rdfs:label "ethane - component flow"^^xsd:string ; |
| 129 | rdfs:subClassOf ep-flow:Flow . | 134 | rdfs:subClassOf ep-flow:Flow . |
| 130 | 135 | ||
| 131 | ep-flow:Export | 136 | ep-flow:Export |
| 132 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 137 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 133 | rdfs:label "export"^^xsd:string ; | 138 | rdfs:label "export"^^xsd:string ; |
| 134 | rdfs:subClassOf ep-flow:Flow . | 139 | rdfs:subClassOf ep-flow:Flow . |
| 135 | 140 | ||
| 136 | ep-flow:Export-nominated | 141 | ep-flow:Export-nominated |
| 137 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 142 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 138 | rdfs:label "export nominated"^^xsd:string ; | 143 | rdfs:label "export nominated"^^xsd:string ; |
| 139 | rdfs:subClassOf ep-flow:Export . | 144 | rdfs:subClassOf ep-flow:Export . |
| 140 | 145 | ||
| 141 | ep-flow:Export-requested | 146 | ep-flow:Export-requested |
| 142 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 147 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 143 | rdfs:label "export requested"^^xsd:string ; | 148 | rdfs:label "export requested"^^xsd:string ; |
| 144 | rdfs:subClassOf ep-flow:Export . | 149 | rdfs:subClassOf ep-flow:Export . |
| 145 | 150 | ||
| 146 | ep-flow:Export-shortfall | 151 | ep-flow:Export-shortfall |
| 147 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 152 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 148 | rdfs:label "export shortfall"^^xsd:string ; | 153 | rdfs:label "export shortfall"^^xsd:string ; |
| 149 | rdfs:subClassOf ep-flow:Export . | 154 | rdfs:subClassOf ep-flow:Export . |
| 150 | 155 | ||
| ... | @@ -154,32 +159,32 @@ ep-flow:Flow | ... | @@ -154,32 +159,32 @@ ep-flow:Flow |
| 154 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 159 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 155 | 160 | ||
| 156 | ep-flow:FlowDuringDay | 161 | ep-flow:FlowDuringDay |
| 157 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 162 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
| 158 | rdfs:label "flow during day"^^xsd:string ; | 163 | rdfs:label "flow during day"^^xsd:string ; |
| 159 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 164 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 160 | 165 | ||
| 161 | ep-flow:FlowDuringMonth | 166 | ep-flow:FlowDuringMonth |
| 162 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 167 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 163 | rdfs:label "flow during month"^^xsd:string ; | 168 | rdfs:label "flow during month"^^xsd:string ; |
| 164 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 169 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 165 | 170 | ||
| 166 | ep-flow:FlowDuringMonthToDate | 171 | ep-flow:FlowDuringMonthToDate |
| 167 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 172 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 168 | rdfs:label "flow during month to date"^^xsd:string ; | 173 | rdfs:label "flow during month to date"^^xsd:string ; |
| 169 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 174 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 170 | 175 | ||
| 171 | ep-flow:FlowDuringWeek | 176 | ep-flow:FlowDuringWeek |
| 172 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 177 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 173 | rdfs:label "flow during week"^^xsd:string ; | 178 | rdfs:label "flow during week"^^xsd:string ; |
| 174 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 179 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 175 | 180 | ||
| 176 | ep-flow:FlowDuringYear | 181 | ep-flow:FlowDuringYear |
| 177 | - rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; | 182 | + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; |
| 178 | rdfs:label "flow during year"^^xsd:string ; | 183 | rdfs:label "flow during year"^^xsd:string ; |
| 179 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 184 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 180 | 185 | ||
| 181 | ep-flow:FlowDuringYearToDate | 186 | ep-flow:FlowDuringYearToDate |
| 182 | - rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ; | 187 | + rdf:type owl:Class , ep-flow:TemporalPartOfAFlowDurationType ; |
| 183 | rdfs:label "flow during year to date"^^xsd:string ; | 188 | rdfs:label "flow during year to date"^^xsd:string ; |
| 184 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 189 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 185 | 190 | ||
| ... | @@ -199,97 +204,97 @@ ep-flow:FlowOfMaterial | ... | @@ -199,97 +204,97 @@ ep-flow:FlowOfMaterial |
| 199 | rdfs:subClassOf ep-flow:Flow . | 204 | rdfs:subClassOf ep-flow:Flow . |
| 200 | 205 | ||
| 201 | ep-flow:Gas-componentInOilFlow | 206 | ep-flow:Gas-componentInOilFlow |
| 202 | - rdf:type ep-flow:ProductType , owl:Class ; | 207 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 203 | rdfs:label "gas - component in oil flow"^^xsd:string ; | 208 | rdfs:label "gas - component in oil flow"^^xsd:string ; |
| 204 | rdfs:subClassOf ep-flow:Flow . | 209 | rdfs:subClassOf ep-flow:Flow . |
| 205 | 210 | ||
| 206 | ep-flow:Gas-richFlow | 211 | ep-flow:Gas-richFlow |
| 207 | - rdf:type ep-flow:ProductType , owl:Class ; | 212 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 208 | rdfs:label "gas - rich flow"^^xsd:string ; | 213 | rdfs:label "gas - rich flow"^^xsd:string ; |
| 209 | rdfs:subClassOf ep-flow:Flow . | 214 | rdfs:subClassOf ep-flow:Flow . |
| 210 | 215 | ||
| 211 | ep-flow:GasFlow | 216 | ep-flow:GasFlow |
| 212 | - rdf:type ep-flow:ProductType , owl:Class ; | 217 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 213 | rdfs:label "gas flow"^^xsd:string ; | 218 | rdfs:label "gas flow"^^xsd:string ; |
| 214 | rdfs:subClassOf ep-flow:Flow . | 219 | rdfs:subClassOf ep-flow:Flow . |
| 215 | 220 | ||
| 216 | ep-flow:Gaslift | 221 | ep-flow:Gaslift |
| 217 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 222 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 218 | rdfs:label "gas lift"^^xsd:string ; | 223 | rdfs:label "gas lift"^^xsd:string ; |
| 219 | rdfs:subClassOf ep-flow:Flow . | 224 | rdfs:subClassOf ep-flow:Flow . |
| 220 | 225 | ||
| 221 | ep-flow:I-butane-componentFlow | 226 | ep-flow:I-butane-componentFlow |
| 222 | - rdf:type ep-flow:ProductType , owl:Class ; | 227 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 223 | rdfs:label "i-butane - component flow"^^xsd:string ; | 228 | rdfs:label "i-butane - component flow"^^xsd:string ; |
| 224 | rdfs:subClassOf ep-flow:Flow . | 229 | rdfs:subClassOf ep-flow:Flow . |
| 225 | 230 | ||
| 226 | ep-flow:Import | 231 | ep-flow:Import |
| 227 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 232 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 228 | rdfs:label "import"^^xsd:string ; | 233 | rdfs:label "import"^^xsd:string ; |
| 229 | rdfs:subClassOf ep-flow:Flow . | 234 | rdfs:subClassOf ep-flow:Flow . |
| 230 | 235 | ||
| 231 | ep-flow:Injection | 236 | ep-flow:Injection |
| 232 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 237 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 233 | rdfs:label "injection"^^xsd:string ; | 238 | rdfs:label "injection"^^xsd:string ; |
| 234 | rdfs:subClassOf ep-flow:Flow . | 239 | rdfs:subClassOf ep-flow:Flow . |
| 235 | 240 | ||
| 236 | ep-flow:Inventory | 241 | ep-flow:Inventory |
| 237 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 242 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 238 | rdfs:label "inventory"^^xsd:string ; | 243 | rdfs:label "inventory"^^xsd:string ; |
| 239 | rdfs:subClassOf ep-flow:Flow . | 244 | rdfs:subClassOf ep-flow:Flow . |
| 240 | 245 | ||
| 241 | ep-flow:MeasuredFlow | 246 | ep-flow:MeasuredFlow |
| 242 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 247 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 243 | rdfs:label "measured flow"^^xsd:string ; | 248 | rdfs:label "measured flow"^^xsd:string ; |
| 244 | rdfs:subClassOf ep-flow:Flow . | 249 | rdfs:subClassOf ep-flow:Flow . |
| 245 | 250 | ||
| 246 | ep-flow:N-butane-componentFlow | 251 | ep-flow:N-butane-componentFlow |
| 247 | - rdf:type ep-flow:ProductType , owl:Class ; | 252 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 248 | rdfs:label "n-butane - component flow"^^xsd:string ; | 253 | rdfs:label "n-butane - component flow"^^xsd:string ; |
| 249 | rdfs:subClassOf ep-flow:Flow . | 254 | rdfs:subClassOf ep-flow:Flow . |
| 250 | 255 | ||
| 251 | ep-flow:NGL-componentInGasFlow | 256 | ep-flow:NGL-componentInGasFlow |
| 252 | - rdf:type ep-flow:ProductType , owl:Class ; | 257 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 253 | rdfs:label "NGL - component in gas flow"^^xsd:string ; | 258 | rdfs:label "NGL - component in gas flow"^^xsd:string ; |
| 254 | rdfs:subClassOf ep-flow:Flow . | 259 | rdfs:subClassOf ep-flow:Flow . |
| 255 | 260 | ||
| 256 | ep-flow:NaturalGasLiquidFlow | 261 | ep-flow:NaturalGasLiquidFlow |
| 257 | - rdf:type ep-flow:ProductType , owl:Class ; | 262 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 258 | rdfs:label "natural gas liquid flow"^^xsd:string ; | 263 | rdfs:label "natural gas liquid flow"^^xsd:string ; |
| 259 | rdfs:subClassOf ep-flow:Flow . | 264 | rdfs:subClassOf ep-flow:Flow . |
| 260 | 265 | ||
| 261 | ep-flow:NitrogenOxideGasFlow | 266 | ep-flow:NitrogenOxideGasFlow |
| 262 | - rdf:type ep-flow:ProductType , owl:Class ; | 267 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 263 | rdfs:label "nitrogen oxide gas flow"^^xsd:string ; | 268 | rdfs:label "nitrogen oxide gas flow"^^xsd:string ; |
| 264 | rdfs:subClassOf ep-flow:Flow . | 269 | rdfs:subClassOf ep-flow:Flow . |
| 265 | 270 | ||
| 266 | ep-flow:Oil-componentInWaterFlow | 271 | ep-flow:Oil-componentInWaterFlow |
| 267 | - rdf:type ep-flow:ProductType , owl:Class ; | 272 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 268 | rdfs:label "oil - component in water flow"^^xsd:string ; | 273 | rdfs:label "oil - component in water flow"^^xsd:string ; |
| 269 | rdfs:subClassOf ep-flow:Flow . | 274 | rdfs:subClassOf ep-flow:Flow . |
| 270 | 275 | ||
| 271 | ep-flow:Oil-netFlow | 276 | ep-flow:Oil-netFlow |
| 272 | - rdf:type ep-flow:ProductType , owl:Class ; | 277 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 273 | rdfs:label "oil - net flow"^^xsd:string ; | 278 | rdfs:label "oil - net flow"^^xsd:string ; |
| 274 | rdfs:subClassOf ep-flow:Flow . | 279 | rdfs:subClassOf ep-flow:Flow . |
| 275 | 280 | ||
| 276 | ep-flow:OilAndGasFlow | 281 | ep-flow:OilAndGasFlow |
| 277 | - rdf:type ep-flow:ProductType , owl:Class ; | 282 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 278 | rdfs:label "oil and gas flow"^^xsd:string ; | 283 | rdfs:label "oil and gas flow"^^xsd:string ; |
| 279 | rdfs:subClassOf ep-flow:Flow . | 284 | rdfs:subClassOf ep-flow:Flow . |
| 280 | 285 | ||
| 281 | ep-flow:OilFlow | 286 | ep-flow:OilFlow |
| 282 | - rdf:type owl:Class , ep-flow:ProductType ; | 287 | + rdf:type ep-flow:ProductType , owl:Class ; |
| 283 | rdfs:label "oil flow"^^xsd:string ; | 288 | rdfs:label "oil flow"^^xsd:string ; |
| 284 | rdfs:subClassOf ep-flow:Flow . | 289 | rdfs:subClassOf ep-flow:Flow . |
| 285 | 290 | ||
| 286 | ep-flow:OleicFlow | 291 | ep-flow:OleicFlow |
| 287 | - rdf:type ep-flow:ProductType , owl:Class ; | 292 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 288 | rdfs:label "oleic flow"^^xsd:string ; | 293 | rdfs:label "oleic flow"^^xsd:string ; |
| 289 | rdfs:subClassOf ep-flow:Flow . | 294 | rdfs:subClassOf ep-flow:Flow . |
| 290 | 295 | ||
| 291 | ep-flow:Overboard | 296 | ep-flow:Overboard |
| 292 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 297 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 293 | rdfs:label "overboard"^^xsd:string ; | 298 | rdfs:label "overboard"^^xsd:string ; |
| 294 | rdfs:subClassOf ep-flow:Flow . | 299 | rdfs:subClassOf ep-flow:Flow . |
| 295 | 300 | ||
| ... | @@ -309,7 +314,7 @@ ep-flow:ProductType | ... | @@ -309,7 +314,7 @@ ep-flow:ProductType |
| 309 | rdfs:subClassOf owl:Class . | 314 | rdfs:subClassOf owl:Class . |
| 310 | 315 | ||
| 311 | ep-flow:Production | 316 | ep-flow:Production |
| 312 | - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | 317 | + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ; |
| 313 | rdfs:label "production"^^xsd:string ; | 318 | rdfs:label "production"^^xsd:string ; |
| 314 | rdfs:subClassOf ep-flow:Flow . | 319 | rdfs:subClassOf ep-flow:Flow . |
| 315 | 320 | ||
| ... | @@ -349,22 +354,22 @@ ep-flow:ProductionTestWellHeadFlow | ... | @@ -349,22 +354,22 @@ ep-flow:ProductionTestWellHeadFlow |
| 349 | rdfs:subClassOf ep-flow:Flow . | 354 | rdfs:subClassOf ep-flow:Flow . |
| 350 | 355 | ||
| 351 | ep-flow:Propane-componentFlow | 356 | ep-flow:Propane-componentFlow |
| 352 | - rdf:type ep-flow:ProductType , owl:Class ; | 357 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 353 | rdfs:label "propane - component flow"^^xsd:string ; | 358 | rdfs:label "propane - component flow"^^xsd:string ; |
| 354 | rdfs:subClassOf ep-flow:Flow . | 359 | rdfs:subClassOf ep-flow:Flow . |
| 355 | 360 | ||
| 356 | ep-flow:QuotaFlow | 361 | ep-flow:QuotaFlow |
| 357 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 362 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 358 | rdfs:label "quota flow"^^xsd:string ; | 363 | rdfs:label "quota flow"^^xsd:string ; |
| 359 | rdfs:subClassOf ep-flow:Flow . | 364 | rdfs:subClassOf ep-flow:Flow . |
| 360 | 365 | ||
| 361 | ep-flow:SandFlow | 366 | ep-flow:SandFlow |
| 362 | - rdf:type ep-flow:ProductType , owl:Class ; | 367 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 363 | rdfs:label "sand flow"^^xsd:string ; | 368 | rdfs:label "sand flow"^^xsd:string ; |
| 364 | rdfs:subClassOf ep-flow:Flow . | 369 | rdfs:subClassOf ep-flow:Flow . |
| 365 | 370 | ||
| 366 | ep-flow:SimulatedFlow | 371 | ep-flow:SimulatedFlow |
| 367 | - rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ; | 372 | + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; |
| 368 | rdfs:label "simulated flow"^^xsd:string ; | 373 | rdfs:label "simulated flow"^^xsd:string ; |
| 369 | rdfs:subClassOf ep-flow:Flow . | 374 | rdfs:subClassOf ep-flow:Flow . |
| 370 | 375 | ||
| ... | @@ -389,27 +394,27 @@ ep-flow:TemporalPartOfAProductionFlow | ... | @@ -389,27 +394,27 @@ ep-flow:TemporalPartOfAProductionFlow |
| 389 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . | 394 | rdfs:subClassOf ep-flow:TemporalPartOfAFlow . |
| 390 | 395 | ||
| 391 | ep-flow:VapourFlow | 396 | ep-flow:VapourFlow |
| 392 | - rdf:type ep-flow:ProductType , owl:Class ; | 397 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 393 | rdfs:label "vapour flow"^^xsd:string ; | 398 | rdfs:label "vapour flow"^^xsd:string ; |
| 394 | rdfs:subClassOf ep-flow:Flow . | 399 | rdfs:subClassOf ep-flow:Flow . |
| 395 | 400 | ||
| 396 | ep-flow:Water-dischargeFlow | 401 | ep-flow:Water-dischargeFlow |
| 397 | - rdf:type ep-flow:ProductType , owl:Class ; | 402 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 398 | rdfs:label "water - discharge flow"^^xsd:string ; | 403 | rdfs:label "water - discharge flow"^^xsd:string ; |
| 399 | rdfs:subClassOf ep-flow:Flow . | 404 | rdfs:subClassOf ep-flow:Flow . |
| 400 | 405 | ||
| 401 | ep-flow:Water-processedFlow | 406 | ep-flow:Water-processedFlow |
| 402 | - rdf:type ep-flow:ProductType , owl:Class ; | 407 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 403 | rdfs:label "water - processed flow"^^xsd:string ; | 408 | rdfs:label "water - processed flow"^^xsd:string ; |
| 404 | rdfs:subClassOf ep-flow:Flow . | 409 | rdfs:subClassOf ep-flow:Flow . |
| 405 | 410 | ||
| 406 | ep-flow:WaterFlow | 411 | ep-flow:WaterFlow |
| 407 | - rdf:type ep-flow:ProductType , owl:Class ; | 412 | + rdf:type owl:Class , ep-flow:ProductType ; |
| 408 | rdfs:label "water flow"^^xsd:string ; | 413 | rdfs:label "water flow"^^xsd:string ; |
| 409 | rdfs:subClassOf ep-flow:Flow . | 414 | rdfs:subClassOf ep-flow:Flow . |
| 410 | 415 | ||
| 411 | ep-flow:dailyAverageAmountOfMaterial | 416 | ep-flow:dailyAverageAmountOfMaterial |
| 412 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 417 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
| 413 | rdfs:label "daily average amount of material"^^xsd:string ; | 418 | rdfs:label "daily average amount of material"^^xsd:string ; |
| 414 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | 419 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . |
| 415 | 420 | ||
| ... | @@ -454,6 +459,6 @@ ep-flow:hasNetworkPart | ... | @@ -454,6 +459,6 @@ ep-flow:hasNetworkPart |
| 454 | rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> . | 459 | rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> . |
| 455 | 460 | ||
| 456 | ep-flow:totalAmountOfMaterial | 461 | ep-flow:totalAmountOfMaterial |
| 457 | - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | 462 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; |
| 458 | rdfs:label "total amount of material"^^xsd:string ; | 463 | rdfs:label "total amount of material"^^xsd:string ; |
| 459 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | 464 | rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> . | ... | ... |
| 1 | -# Saved by TopBraid on Tue Oct 11 17:12:54 BST 2011 | ||
| 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography | 1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 2 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
| ... | @@ -12,20 +11,20 @@ | ... | @@ -12,20 +11,20 @@ |
| 12 | 11 | ||
| 13 | <http://www.reportinghub.no/ep/schema/1.0/geography> | 12 | <http://www.reportinghub.no/ep/schema/1.0/geography> |
| 14 | rdf:type owl:Ontology ; | 13 | rdf:type owl:Ontology ; |
| 15 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ; | 14 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; |
| 16 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 17 | 16 | ||
| 18 | ep-geo:Country | 17 | ep-geo:Country |
| 19 | - rdf:type ep-fac:ProductionFacilityType , owl:Class ; | 18 | + rdf:type owl:Class , ep-fac:ProductionFacilityType ; |
| 20 | rdfs:label "country"^^xsd:string ; | 19 | rdfs:label "country"^^xsd:string ; |
| 21 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 20 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 22 | - owl:disjointWith ep-geo:County , ep-geo:State . | 21 | + owl:disjointWith ep-geo:State , ep-geo:County . |
| 23 | 22 | ||
| 24 | ep-geo:County | 23 | ep-geo:County |
| 25 | - rdf:type ep-fac:ProductionFacilityType , owl:Class ; | 24 | + rdf:type owl:Class , ep-fac:ProductionFacilityType ; |
| 26 | rdfs:label "county"^^xsd:string ; | 25 | rdfs:label "county"^^xsd:string ; |
| 27 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 26 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 28 | - owl:disjointWith ep-geo:State , ep-geo:Country . | 27 | + owl:disjointWith ep-geo:Country , ep-geo:State . |
| 29 | 28 | ||
| 30 | ep-geo:PartOfTheSurfaceOfTheEarth | 29 | ep-geo:PartOfTheSurfaceOfTheEarth |
| 31 | rdf:type owl:Class ; | 30 | rdf:type owl:Class ; |
| ... | @@ -33,13 +32,19 @@ ep-geo:PartOfTheSurfaceOfTheEarth | ... | @@ -33,13 +32,19 @@ ep-geo:PartOfTheSurfaceOfTheEarth |
| 33 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | 32 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . |
| 34 | 33 | ||
| 35 | ep-geo:State | 34 | ep-geo:State |
| 36 | - rdf:type ep-fac:ProductionFacilityType , owl:Class ; | 35 | + rdf:type owl:Class , ep-fac:ProductionFacilityType ; |
| 37 | rdfs:label "state"^^xsd:string ; | 36 | rdfs:label "state"^^xsd:string ; |
| 38 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 37 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 39 | - owl:disjointWith ep-geo:County , ep-geo:Country . | 38 | + owl:disjointWith ep-geo:Country , ep-geo:County . |
| 40 | 39 | ||
| 41 | ep-geo:locatedWithin | 40 | ep-geo:locatedWithin |
| 42 | rdf:type owl:ObjectProperty ; | 41 | rdf:type owl:ObjectProperty ; |
| 43 | rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | 42 | rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; |
| 44 | rdfs:label "located within"^^xsd:string ; | 43 | rdfs:label "located within"^^xsd:string ; |
| 45 | rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | 44 | rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . |
| 45 | + | ||
| 46 | +ep-geo:nominallyLocatedAt | ||
| 47 | + rdf:type owl:ObjectProperty ; | ||
| 48 | + rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | ||
| 49 | + rdfs:label "nominally located at"^^xsd:string ; | ||
| 50 | + rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | ... | ... |
This diff could not be displayed because it is too large.
| 1 | -# Saved by TopBraid on Fri Oct 14 18:36:52 BST 2011 | 1 | +# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report |
| 2 | -# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report | 2 | +# imports: http://www.reportinghub.no/ep/schema/1.0/report |
| 3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 3 | +# imports: http://www.reportinghub.no/np/schema/1.0/npd |
| 4 | -# imports: http://www.reportinghub.no/np/schema/1.0/npd | 4 | + |
| 5 | - | 5 | +@prefix ep-prodreport: <http://www.reportinghub.no/ep/schema/production-report#> . |
| 6 | -@prefix ep-prodreport: <http://www.reportinghub.no/ep/schema/production-report#> . | 6 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 7 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 8 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 8 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 9 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | + |
| 11 | - | 11 | +<http://www.reportinghub.no/ep/schema/1.0/production-report> |
| 12 | -<http://www.reportinghub.no/ep/schema/1.0/production-report> | 12 | + rdf:type owl:Ontology ; |
| 13 | - rdf:type owl:Ontology ; | 13 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ; |
| 14 | - owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ; | 14 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 15 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | + |
| 16 | - | 16 | +ep-prodreport:DailyProductVolumeReport |
| 17 | -ep-prodreport:DailyProductionReport | 17 | + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; |
| 18 | - rdf:type owl:Class ; | 18 | + rdfs:label "daily product volume report"^^xsd:string ; |
| 19 | - rdfs:label "Daily Production Report"^^xsd:string ; | 19 | + rdfs:subClassOf ep-prodreport:DailyProductionReport . |
| 20 | - rdfs:subClassOf ep-prodreport:ProductionReport . | 20 | + |
| 21 | - | 21 | +ep-prodreport:DailyProductionReport |
| 22 | -ep-prodreport:MonthlyProductionReport | 22 | + rdf:type owl:Class ; |
| 23 | - rdf:type owl:Class ; | 23 | + rdfs:label "Daily Production Report"^^xsd:string ; |
| 24 | - rdfs:label "Monthly Production Report"^^xsd:string ; | 24 | + rdfs:subClassOf ep-prodreport:ProductionReport . |
| 25 | - rdfs:subClassOf ep-prodreport:ProductionReport . | 25 | + |
| 26 | - | 26 | +ep-prodreport:MonthlyProductionReport |
| 27 | -ep-prodreport:ProductionReport | 27 | + rdf:type owl:Class ; |
| 28 | - rdf:type owl:Class ; | 28 | + rdfs:label "Monthly Production Report"^^xsd:string ; |
| 29 | - rdfs:label "Production Report"^^xsd:string ; | 29 | + rdfs:subClassOf ep-prodreport:ProductionReport . |
| 30 | - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> . | 30 | + |
| 31 | - | 31 | +ep-prodreport:ProductVolumeReport |
| 32 | -ep-prodreport:ReportAliasIdentifier | 32 | + rdf:type owl:Class ; |
| 33 | - rdf:type owl:Class ; | 33 | + rdfs:label "product volume report"^^xsd:string ; |
| 34 | - rdfs:subClassOf owl:Thing ; | 34 | + rdfs:subClassOf ep-prodreport:ProductionReport . |
| 35 | - rdfs:subClassOf | 35 | + |
| 36 | - [ rdf:type owl:Restriction ; | 36 | +ep-prodreport:ProductVolumeReportPeriodType |
| 37 | - owl:minCardinality "1"^^xsd:nonNegativeInteger ; | 37 | + rdf:type rdfs:Class ; |
| 38 | - owl:onProperty ep-prodreport:aliasName | 38 | + rdfs:label "product volume report period type"^^xsd:string ; |
| 39 | - ] ; | 39 | + rdfs:subClassOf owl:Class . |
| 40 | - rdfs:subClassOf | 40 | + |
| 41 | - [ rdf:type owl:Restriction ; | 41 | +ep-prodreport:ProductionReport |
| 42 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 42 | + rdf:type owl:Class ; |
| 43 | - owl:onProperty ep-prodreport:aliasOwner | 43 | + rdfs:label "Production Report"^^xsd:string ; |
| 44 | - ] ; | 44 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> . |
| 45 | - rdfs:subClassOf | 45 | + |
| 46 | - [ rdf:type owl:Restriction ; | 46 | +ep-prodreport:ReportAliasIdentifier |
| 47 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 47 | + rdf:type owl:Class ; |
| 48 | - owl:onProperty ep-prodreport:isAliasFor | 48 | + rdfs:subClassOf owl:Thing ; |
| 49 | - ] . | 49 | + rdfs:subClassOf |
| 50 | - | 50 | + [ rdf:type owl:Restriction ; |
| 51 | -ep-prodreport:aliasName | 51 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 52 | - rdf:type owl:DatatypeProperty ; | 52 | + owl:onProperty ep-prodreport:isAliasFor |
| 53 | - rdfs:range xsd:string . | 53 | + ] ; |
| 54 | - | 54 | + rdfs:subClassOf |
| 55 | -ep-prodreport:aliasOwner | 55 | + [ rdf:type owl:Restriction ; |
| 56 | - rdf:type owl:ObjectProperty ; | 56 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 57 | - rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . | 57 | + owl:onProperty ep-prodreport:aliasOwner |
| 58 | - | 58 | + ] ; |
| 59 | -ep-prodreport:dateCoveredByReport | 59 | + rdfs:subClassOf |
| 60 | - rdf:type owl:DatatypeProperty ; | 60 | + [ rdf:type owl:Restriction ; |
| 61 | - rdfs:domain ep-prodreport:DailyProductionReport ; | 61 | + owl:minCardinality "1"^^xsd:nonNegativeInteger ; |
| 62 | - rdfs:range xsd:date . | 62 | + owl:onProperty ep-prodreport:aliasName |
| 63 | - | 63 | + ] . |
| 64 | -ep-prodreport:disclaimer | 64 | + |
| 65 | - rdf:type rdf:Property ; | 65 | +ep-prodreport:ReportType |
| 66 | - rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ; | 66 | + rdf:type rdfs:Class ; |
| 67 | - rdfs:range xsd:string . | 67 | + rdfs:label "report type"^^xsd:string ; |
| 68 | - | 68 | + rdfs:subClassOf owl:Class . |
| 69 | -ep-prodreport:isAliasFor | 69 | + |
| 70 | - rdf:type owl:ObjectProperty ; | 70 | +ep-prodreport:aliasName |
| 71 | - rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . | 71 | + rdf:type owl:DatatypeProperty ; |
| 72 | + rdfs:range xsd:string . | ||
| 73 | + | ||
| 74 | +ep-prodreport:aliasOwner | ||
| 75 | + rdf:type owl:ObjectProperty ; | ||
| 76 | + rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . | ||
| 77 | + | ||
| 78 | +ep-prodreport:dateCoveredByReport | ||
| 79 | + rdf:type owl:DatatypeProperty ; | ||
| 80 | + rdfs:domain ep-prodreport:DailyProductionReport ; | ||
| 81 | + rdfs:range xsd:date . | ||
| 82 | + | ||
| 83 | +ep-prodreport:disclaimer | ||
| 84 | + rdf:type rdf:Property ; | ||
| 85 | + rdfs:domain <http://www.reportinghub.no/ep/schema/report#Report> ; | ||
| 86 | + rdfs:range xsd:string . | ||
| 87 | + | ||
| 88 | +ep-prodreport:isAliasFor | ||
| 89 | + rdf:type owl:ObjectProperty ; | ||
| 90 | + rdfs:range <http://www.reportinghub.no/np/schema/npd#Individual> . | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| 1 | +# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011 | ||
| 2 | +# baseURI: null | ||
| 3 | + | ||
| 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
| 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
| 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
| 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 10 | +@prefix visual: <http://topbraid.org/visual#> . | ||
| 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 12 | + | ||
| 13 | +[] rdf:type inference:Configuration ; | ||
| 14 | + composite:child | ||
| 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
| 16 | + composite:index "0"^^xsd:int | ||
| 17 | + ] . |
| 1 | +# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport | ||
| 2 | +# imports: http://spinrdf.org/spin | ||
| 3 | +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | ||
| 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/facility | ||
| 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-core | ||
| 7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility | ||
| 8 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
| 9 | +# imports: http://www.witsml.org/schemas/131/addendum/combo | ||
| 10 | + | ||
| 11 | +@prefix : <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport#> . | ||
| 12 | +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | ||
| 13 | +@prefix arg: <http://spinrdf.org/arg#> . | ||
| 14 | +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . | ||
| 15 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 16 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 17 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 18 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 19 | +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | ||
| 20 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
| 21 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
| 22 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
| 23 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
| 24 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 25 | + | ||
| 26 | +<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> | ||
| 27 | + rdf:type owl:Ontology ; | ||
| 28 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ; | ||
| 29 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 30 | + | ||
| 31 | +<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite> | ||
| 32 | + spin:rule | ||
| 33 | + [ rdf:type sp:Construct ; | ||
| 34 | + rdfs:comment "STEP 20006a Set the geographic context - installation or context facility exist"^^xsd:string ; | ||
| 35 | + sp:templates ([ sp:object _:b1 ; | ||
| 36 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
| 37 | + sp:subject | ||
| 38 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 39 | + ] | ||
| 40 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#PointInSpace> ; | ||
| 41 | + sp:predicate rdf:type ; | ||
| 42 | + sp:subject _:b1 | ||
| 43 | + ] [ sp:object | ||
| 44 | + [ sp:varName "field"^^xsd:string | ||
| 45 | + ] ; | ||
| 46 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
| 47 | + sp:subject _:b1 | ||
| 48 | + ] [ sp:object | ||
| 49 | + [ sp:varName "country"^^xsd:string | ||
| 50 | + ] ; | ||
| 51 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
| 52 | + sp:subject _:b1 | ||
| 53 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; | ||
| 54 | + sp:predicate rdf:type ; | ||
| 55 | + sp:subject | ||
| 56 | + [ sp:varName "country"^^xsd:string | ||
| 57 | + ] | ||
| 58 | + ] [ sp:object | ||
| 59 | + [ sp:varName "countryName"^^xsd:string | ||
| 60 | + ] ; | ||
| 61 | + sp:predicate rdfs:label ; | ||
| 62 | + sp:subject | ||
| 63 | + [ sp:varName "country"^^xsd:string | ||
| 64 | + ] | ||
| 65 | + ] [ sp:object | ||
| 66 | + [ sp:varName "state"^^xsd:string | ||
| 67 | + ] ; | ||
| 68 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
| 69 | + sp:subject _:b1 | ||
| 70 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; | ||
| 71 | + sp:predicate rdf:type ; | ||
| 72 | + sp:subject | ||
| 73 | + [ sp:varName "state"^^xsd:string | ||
| 74 | + ] | ||
| 75 | + ] [ sp:object | ||
| 76 | + [ sp:varName "stateName"^^xsd:string | ||
| 77 | + ] ; | ||
| 78 | + sp:predicate rdfs:label ; | ||
| 79 | + sp:subject | ||
| 80 | + [ sp:varName "state"^^xsd:string | ||
| 81 | + ] | ||
| 82 | + ] [ sp:object | ||
| 83 | + [ sp:varName "comment"^^xsd:string | ||
| 84 | + ] ; | ||
| 85 | + sp:predicate rdfs:comment ; | ||
| 86 | + sp:subject _:b1 | ||
| 87 | + ]) ; | ||
| 88 | + sp:where ([ sp:object | ||
| 89 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 90 | + ] ; | ||
| 91 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 92 | + sp:subject spin:_this | ||
| 93 | + ] [ sp:object | ||
| 94 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 95 | + ] ; | ||
| 96 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 97 | + sp:subject | ||
| 98 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 99 | + ] | ||
| 100 | + ] [ sp:object | ||
| 101 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 102 | + ] ; | ||
| 103 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
| 104 | + sp:subject | ||
| 105 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 106 | + ] | ||
| 107 | + ] [ rdf:type sp:Optional ; | ||
| 108 | + sp:elements ([ sp:object | ||
| 109 | + [ sp:varName "fieldRef"^^xsd:string | ||
| 110 | + ] ; | ||
| 111 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fieldRef> ; | ||
| 112 | + sp:subject | ||
| 113 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 114 | + ] | ||
| 115 | + ] [ sp:object | ||
| 116 | + [ sp:varName "fieldName"^^xsd:string | ||
| 117 | + ] ; | ||
| 118 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 119 | + sp:subject | ||
| 120 | + [ sp:varName "fieldRef"^^xsd:string | ||
| 121 | + ] | ||
| 122 | + ]) | ||
| 123 | + ] [ rdf:type sp:Optional ; | ||
| 124 | + sp:elements ([ sp:object | ||
| 125 | + [ sp:varName "countryName"^^xsd:string | ||
| 126 | + ] ; | ||
| 127 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#country> ; | ||
| 128 | + sp:subject | ||
| 129 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 130 | + ] | ||
| 131 | + ]) | ||
| 132 | + ] [ rdf:type sp:Optional ; | ||
| 133 | + sp:elements ([ sp:object | ||
| 134 | + [ sp:varName "stateName"^^xsd:string | ||
| 135 | + ] ; | ||
| 136 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#state> ; | ||
| 137 | + sp:subject | ||
| 138 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 139 | + ] | ||
| 140 | + ]) | ||
| 141 | + ] [ rdf:type sp:Optional ; | ||
| 142 | + sp:elements ([ sp:object | ||
| 143 | + [ sp:varName "comment"^^xsd:string | ||
| 144 | + ] ; | ||
| 145 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ; | ||
| 146 | + sp:subject | ||
| 147 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 148 | + ] | ||
| 149 | + ]) | ||
| 150 | + ] [ rdf:type sp:Optional ; | ||
| 151 | + sp:elements ([ sp:object | ||
| 152 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 153 | + ] ; | ||
| 154 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
| 155 | + sp:subject | ||
| 156 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 157 | + ] | ||
| 158 | + ]) | ||
| 159 | + ] [ sp:object | ||
| 160 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 161 | + ] ; | ||
| 162 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 163 | + sp:subject | ||
| 164 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 165 | + ] | ||
| 166 | + ] [ sp:object | ||
| 167 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 168 | + ] ; | ||
| 169 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 170 | + sp:subject | ||
| 171 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 172 | + ] | ||
| 173 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 174 | + sp:predicate rdf:type ; | ||
| 175 | + sp:subject | ||
| 176 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 177 | + ] | ||
| 178 | + ] [ sp:object | ||
| 179 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 180 | + ] ; | ||
| 181 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 182 | + sp:subject | ||
| 183 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 184 | + ] | ||
| 185 | + ] [ rdf:type sp:Bind ; | ||
| 186 | + sp:expression | ||
| 187 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 188 | + sp:arg1 [ sp:varName "fieldName"^^xsd:string | ||
| 189 | + ] | ||
| 190 | + ] ; | ||
| 191 | + sp:variable | ||
| 192 | + [ sp:varName "normalizedFieldName"^^xsd:string | ||
| 193 | + ] | ||
| 194 | + ] [ rdf:type sp:Bind ; | ||
| 195 | + sp:expression | ||
| 196 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 197 | + sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string | ||
| 198 | + ] | ||
| 199 | + ] ; | ||
| 200 | + sp:variable | ||
| 201 | + [ sp:varName "field"^^xsd:string | ||
| 202 | + ] | ||
| 203 | + ] [ rdf:type sp:Bind ; | ||
| 204 | + sp:expression | ||
| 205 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 206 | + sp:arg1 [ sp:varName "countryName"^^xsd:string | ||
| 207 | + ] | ||
| 208 | + ] ; | ||
| 209 | + sp:variable | ||
| 210 | + [ sp:varName "normalizedCountryName"^^xsd:string | ||
| 211 | + ] | ||
| 212 | + ] [ rdf:type sp:Bind ; | ||
| 213 | + sp:expression | ||
| 214 | + [ rdf:type ep-dpr-spin-lib:buildCountryURI ; | ||
| 215 | + sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string | ||
| 216 | + ] | ||
| 217 | + ] ; | ||
| 218 | + sp:variable | ||
| 219 | + [ sp:varName "country"^^xsd:string | ||
| 220 | + ] | ||
| 221 | + ] [ rdf:type sp:Bind ; | ||
| 222 | + sp:expression | ||
| 223 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 224 | + sp:arg1 [ sp:varName "stateName"^^xsd:string | ||
| 225 | + ] | ||
| 226 | + ] ; | ||
| 227 | + sp:variable | ||
| 228 | + [ sp:varName "normalizedStateName"^^xsd:string | ||
| 229 | + ] | ||
| 230 | + ] [ rdf:type sp:Bind ; | ||
| 231 | + sp:expression | ||
| 232 | + [ rdf:type ep-dpr-spin-lib:buildStateURI ; | ||
| 233 | + sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string | ||
| 234 | + ] | ||
| 235 | + ] ; | ||
| 236 | + sp:variable | ||
| 237 | + [ sp:varName "state"^^xsd:string | ||
| 238 | + ] | ||
| 239 | + ]) | ||
| 240 | + ] ; | ||
| 241 | + spin:rule | ||
| 242 | + [ rdf:type sp:Construct ; | ||
| 243 | + rdfs:comment "STEP 20006b Set the geographic context- installation or context facility do not exist"^^xsd:string ; | ||
| 244 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 245 | + sp:predicate rdf:type ; | ||
| 246 | + sp:subject _:b2 | ||
| 247 | + ] [ sp:object _:b3 ; | ||
| 248 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 249 | + sp:subject _:b2 | ||
| 250 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 251 | + sp:predicate rdf:type ; | ||
| 252 | + sp:subject _:b3 | ||
| 253 | + ] [ sp:object | ||
| 254 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 255 | + ] ; | ||
| 256 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 257 | + sp:subject _:b2 | ||
| 258 | + ] [ sp:object _:b4 ; | ||
| 259 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
| 260 | + sp:subject _:b3 | ||
| 261 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-core#PointInSpace> ; | ||
| 262 | + sp:predicate rdf:type ; | ||
| 263 | + sp:subject _:b4 | ||
| 264 | + ] [ sp:object | ||
| 265 | + [ sp:varName "field"^^xsd:string | ||
| 266 | + ] ; | ||
| 267 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
| 268 | + sp:subject _:b4 | ||
| 269 | + ] [ sp:object | ||
| 270 | + [ sp:varName "country"^^xsd:string | ||
| 271 | + ] ; | ||
| 272 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
| 273 | + sp:subject | ||
| 274 | + [] | ||
| 275 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; | ||
| 276 | + sp:predicate rdf:type ; | ||
| 277 | + sp:subject | ||
| 278 | + [ sp:varName "country"^^xsd:string | ||
| 279 | + ] | ||
| 280 | + ] [ sp:object | ||
| 281 | + [ sp:varName "countryName"^^xsd:string | ||
| 282 | + ] ; | ||
| 283 | + sp:predicate rdfs:label ; | ||
| 284 | + sp:subject | ||
| 285 | + [ sp:varName "country"^^xsd:string | ||
| 286 | + ] | ||
| 287 | + ] [ sp:object | ||
| 288 | + [ sp:varName "state"^^xsd:string | ||
| 289 | + ] ; | ||
| 290 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | ||
| 291 | + sp:subject _:b4 | ||
| 292 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; | ||
| 293 | + sp:predicate rdf:type ; | ||
| 294 | + sp:subject | ||
| 295 | + [ sp:varName "state"^^xsd:string | ||
| 296 | + ] | ||
| 297 | + ] [ sp:object | ||
| 298 | + [ sp:varName "stateName"^^xsd:string | ||
| 299 | + ] ; | ||
| 300 | + sp:predicate rdfs:label ; | ||
| 301 | + sp:subject | ||
| 302 | + [ sp:varName "state"^^xsd:string | ||
| 303 | + ] | ||
| 304 | + ] [ sp:object | ||
| 305 | + [ sp:varName "comment"^^xsd:string | ||
| 306 | + ] ; | ||
| 307 | + sp:predicate rdfs:comment ; | ||
| 308 | + sp:subject _:b4 | ||
| 309 | + ]) ; | ||
| 310 | + sp:where ([ sp:object | ||
| 311 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 312 | + ] ; | ||
| 313 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 314 | + sp:subject spin:_this | ||
| 315 | + ] [ sp:object | ||
| 316 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 317 | + ] ; | ||
| 318 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 319 | + sp:subject | ||
| 320 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 321 | + ] | ||
| 322 | + ] [ sp:object | ||
| 323 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 324 | + ] ; | ||
| 325 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
| 326 | + sp:subject | ||
| 327 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 328 | + ] | ||
| 329 | + ] [ rdf:type sp:Optional ; | ||
| 330 | + sp:elements ([ sp:object | ||
| 331 | + [ sp:varName "fieldRef"^^xsd:string | ||
| 332 | + ] ; | ||
| 333 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fieldRef> ; | ||
| 334 | + sp:subject | ||
| 335 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 336 | + ] | ||
| 337 | + ] [ sp:object | ||
| 338 | + [ sp:varName "fieldName"^^xsd:string | ||
| 339 | + ] ; | ||
| 340 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 341 | + sp:subject | ||
| 342 | + [ sp:varName "fieldRef"^^xsd:string | ||
| 343 | + ] | ||
| 344 | + ]) | ||
| 345 | + ] [ rdf:type sp:Optional ; | ||
| 346 | + sp:elements ([ sp:object | ||
| 347 | + [ sp:varName "countryName"^^xsd:string | ||
| 348 | + ] ; | ||
| 349 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#country> ; | ||
| 350 | + sp:subject | ||
| 351 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 352 | + ] | ||
| 353 | + ]) | ||
| 354 | + ] [ rdf:type sp:Optional ; | ||
| 355 | + sp:elements ([ sp:object | ||
| 356 | + [ sp:varName "stateName"^^xsd:string | ||
| 357 | + ] ; | ||
| 358 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#state> ; | ||
| 359 | + sp:subject | ||
| 360 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 361 | + ] | ||
| 362 | + ]) | ||
| 363 | + ] [ rdf:type sp:Optional ; | ||
| 364 | + sp:elements ([ sp:object | ||
| 365 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 366 | + ] ; | ||
| 367 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
| 368 | + sp:subject | ||
| 369 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 370 | + ] | ||
| 371 | + ]) | ||
| 372 | + ] [ rdf:type sp:Optional ; | ||
| 373 | + sp:elements ([ sp:object | ||
| 374 | + [ sp:varName "comment"^^xsd:string | ||
| 375 | + ] ; | ||
| 376 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ; | ||
| 377 | + sp:subject | ||
| 378 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 379 | + ] | ||
| 380 | + ]) | ||
| 381 | + ] [ rdf:type sp:Optional ; | ||
| 382 | + sp:elements ([ sp:object | ||
| 383 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 384 | + ] ; | ||
| 385 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
| 386 | + sp:subject | ||
| 387 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 388 | + ] | ||
| 389 | + ]) | ||
| 390 | + ] [ sp:object | ||
| 391 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 392 | + ] ; | ||
| 393 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 394 | + sp:subject | ||
| 395 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 396 | + ] | ||
| 397 | + ] [ rdf:type sp:NotExists ; | ||
| 398 | + sp:elements ([ sp:object | ||
| 399 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 400 | + ] ; | ||
| 401 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 402 | + sp:subject | ||
| 403 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 404 | + ] | ||
| 405 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 406 | + sp:predicate rdf:type ; | ||
| 407 | + sp:subject | ||
| 408 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 409 | + ] | ||
| 410 | + ] [ sp:object | ||
| 411 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 412 | + ] ; | ||
| 413 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 414 | + sp:subject | ||
| 415 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 416 | + ] | ||
| 417 | + ]) | ||
| 418 | + ] [ rdf:type sp:Bind ; | ||
| 419 | + sp:expression | ||
| 420 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 421 | + sp:arg1 [ sp:varName "fieldName"^^xsd:string | ||
| 422 | + ] | ||
| 423 | + ] ; | ||
| 424 | + sp:variable | ||
| 425 | + [ sp:varName "normalizedFieldName"^^xsd:string | ||
| 426 | + ] | ||
| 427 | + ] [ rdf:type sp:Bind ; | ||
| 428 | + sp:expression | ||
| 429 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 430 | + sp:arg1 [ sp:varName "normalizedFieldName"^^xsd:string | ||
| 431 | + ] | ||
| 432 | + ] ; | ||
| 433 | + sp:variable | ||
| 434 | + [ sp:varName "field"^^xsd:string | ||
| 435 | + ] | ||
| 436 | + ] [ rdf:type sp:Bind ; | ||
| 437 | + sp:expression | ||
| 438 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 439 | + sp:arg1 [ sp:varName "countryName"^^xsd:string | ||
| 440 | + ] | ||
| 441 | + ] ; | ||
| 442 | + sp:variable | ||
| 443 | + [ sp:varName "normalizedCountryName"^^xsd:string | ||
| 444 | + ] | ||
| 445 | + ] [ rdf:type sp:Bind ; | ||
| 446 | + sp:expression | ||
| 447 | + [ rdf:type ep-dpr-spin-lib:buildCountryURI ; | ||
| 448 | + sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string | ||
| 449 | + ] | ||
| 450 | + ] ; | ||
| 451 | + sp:variable | ||
| 452 | + [ sp:varName "country"^^xsd:string | ||
| 453 | + ] | ||
| 454 | + ] [ rdf:type sp:Bind ; | ||
| 455 | + sp:expression | ||
| 456 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 457 | + sp:arg1 [ sp:varName "stateName"^^xsd:string | ||
| 458 | + ] | ||
| 459 | + ] ; | ||
| 460 | + sp:variable | ||
| 461 | + [ sp:varName "normalizedStateName"^^xsd:string | ||
| 462 | + ] | ||
| 463 | + ] [ rdf:type sp:Bind ; | ||
| 464 | + sp:expression | ||
| 465 | + [ rdf:type ep-dpr-spin-lib:buildStateURI ; | ||
| 466 | + sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string | ||
| 467 | + ] | ||
| 468 | + ] ; | ||
| 469 | + sp:variable | ||
| 470 | + [ sp:varName "state"^^xsd:string | ||
| 471 | + ] | ||
| 472 | + ]) | ||
| 473 | + ] ; | ||
| 474 | + spin:rule | ||
| 475 | + [ rdf:type sp:Construct ; | ||
| 476 | + rdfs:comment "STEP 20002a Record the end date-time"^^xsd:string ; | ||
| 477 | + sp:templates ([ sp:object | ||
| 478 | + [ sp:varName "dTimStart"^^xsd:string | ||
| 479 | + ] ; | ||
| 480 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
| 481 | + sp:subject | ||
| 482 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 483 | + ] | ||
| 484 | + ] [ sp:object | ||
| 485 | + [ sp:varName "dTimEnd"^^xsd:string | ||
| 486 | + ] ; | ||
| 487 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 488 | + sp:subject | ||
| 489 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 490 | + ] | ||
| 491 | + ] [ sp:object | ||
| 492 | + [ sp:varName "dTimEnd"^^xsd:string | ||
| 493 | + ] ; | ||
| 494 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 495 | + sp:subject | ||
| 496 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 497 | + ] | ||
| 498 | + ]) ; | ||
| 499 | + sp:where ([ sp:object | ||
| 500 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 501 | + ] ; | ||
| 502 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 503 | + sp:subject spin:_this | ||
| 504 | + ] [ sp:object | ||
| 505 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 506 | + ] ; | ||
| 507 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 508 | + sp:subject | ||
| 509 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 510 | + ] | ||
| 511 | + ] [ sp:object | ||
| 512 | + [ sp:varName "dTimStart"^^xsd:string | ||
| 513 | + ] ; | ||
| 514 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | ||
| 515 | + sp:subject | ||
| 516 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 517 | + ] | ||
| 518 | + ] [ sp:object | ||
| 519 | + [ sp:varName "dTimEnd"^^xsd:string | ||
| 520 | + ] ; | ||
| 521 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | ||
| 522 | + sp:subject | ||
| 523 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 524 | + ] | ||
| 525 | + ] [ sp:object | ||
| 526 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 527 | + ] ; | ||
| 528 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 529 | + sp:subject | ||
| 530 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 531 | + ] | ||
| 532 | + ] [ sp:object | ||
| 533 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 534 | + ] ; | ||
| 535 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 536 | + sp:subject | ||
| 537 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 538 | + ] | ||
| 539 | + ]) | ||
| 540 | + ] ; | ||
| 541 | + spin:rule | ||
| 542 | + [ rdf:type sp:Construct ; | ||
| 543 | + rdfs:comment "STEP 20002b Record the end date"^^xsd:string ; | ||
| 544 | + sp:templates ([ sp:object | ||
| 545 | + [ sp:varName "dateStart"^^xsd:string | ||
| 546 | + ] ; | ||
| 547 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | ||
| 548 | + sp:subject | ||
| 549 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 550 | + ] | ||
| 551 | + ] [ sp:object | ||
| 552 | + [ sp:varName "dateEnd"^^xsd:string | ||
| 553 | + ] ; | ||
| 554 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 555 | + sp:subject | ||
| 556 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 557 | + ] | ||
| 558 | + ] [ sp:object | ||
| 559 | + [ sp:varName "dateEnd"^^xsd:string | ||
| 560 | + ] ; | ||
| 561 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 562 | + sp:subject | ||
| 563 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 564 | + ] | ||
| 565 | + ]) ; | ||
| 566 | + sp:where ([ sp:object | ||
| 567 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 568 | + ] ; | ||
| 569 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 570 | + sp:subject spin:_this | ||
| 571 | + ] [ sp:object | ||
| 572 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 573 | + ] ; | ||
| 574 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 575 | + sp:subject | ||
| 576 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 577 | + ] | ||
| 578 | + ] [ sp:object | ||
| 579 | + [ sp:varName "dateStart"^^xsd:string | ||
| 580 | + ] ; | ||
| 581 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | ||
| 582 | + sp:subject | ||
| 583 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 584 | + ] | ||
| 585 | + ] [ sp:object | ||
| 586 | + [ sp:varName "dateEnd"^^xsd:string | ||
| 587 | + ] ; | ||
| 588 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | ||
| 589 | + sp:subject | ||
| 590 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 591 | + ] | ||
| 592 | + ] [ sp:object | ||
| 593 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 594 | + ] ; | ||
| 595 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 596 | + sp:subject | ||
| 597 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 598 | + ] | ||
| 599 | + ] [ sp:object | ||
| 600 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 601 | + ] ; | ||
| 602 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 603 | + sp:subject | ||
| 604 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 605 | + ] | ||
| 606 | + ]) | ||
| 607 | + ] ; | ||
| 608 | + spin:rule | ||
| 609 | + [ rdf:type sp:Construct ; | ||
| 610 | + rdfs:comment "STEP 20008 Set the geographic context - offshore location - blockId"^^xsd:string ; | ||
| 611 | + sp:templates ([ sp:object | ||
| 612 | + [ sp:varName "blockId"^^xsd:string | ||
| 613 | + ] ; | ||
| 614 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreBlockId> ; | ||
| 615 | + sp:subject | ||
| 616 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 617 | + ] | ||
| 618 | + ]) ; | ||
| 619 | + sp:where ([ sp:object | ||
| 620 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 621 | + ] ; | ||
| 622 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 623 | + sp:subject spin:_this | ||
| 624 | + ] [ sp:object | ||
| 625 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 626 | + ] ; | ||
| 627 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 628 | + sp:subject | ||
| 629 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 630 | + ] | ||
| 631 | + ] [ sp:object | ||
| 632 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 633 | + ] ; | ||
| 634 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
| 635 | + sp:subject | ||
| 636 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 637 | + ] | ||
| 638 | + ] [ sp:object | ||
| 639 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 640 | + ] ; | ||
| 641 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
| 642 | + sp:subject | ||
| 643 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 644 | + ] | ||
| 645 | + ] [ sp:object | ||
| 646 | + [ sp:varName "blockId"^^xsd:string | ||
| 647 | + ] ; | ||
| 648 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#blockID> ; | ||
| 649 | + sp:subject | ||
| 650 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 651 | + ] | ||
| 652 | + ] [ sp:object | ||
| 653 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 654 | + ] ; | ||
| 655 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 656 | + sp:subject | ||
| 657 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 658 | + ] | ||
| 659 | + ] [ sp:object | ||
| 660 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 661 | + ] ; | ||
| 662 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 663 | + sp:subject | ||
| 664 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 665 | + ] | ||
| 666 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 667 | + sp:predicate rdf:type ; | ||
| 668 | + sp:subject | ||
| 669 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 670 | + ] | ||
| 671 | + ] [ sp:object | ||
| 672 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 673 | + ] ; | ||
| 674 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 675 | + sp:subject | ||
| 676 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 677 | + ] | ||
| 678 | + ] [ sp:object | ||
| 679 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 680 | + ] ; | ||
| 681 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
| 682 | + sp:subject | ||
| 683 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 684 | + ] | ||
| 685 | + ]) | ||
| 686 | + ] ; | ||
| 687 | + spin:rule | ||
| 688 | + [ rdf:type sp:Construct ; | ||
| 689 | + rdfs:comment "STEP 20001 Create the DailyProductVolumeReport, the DailyProductionFlow and the ProductionFlowToDate ."^^xsd:string ; | ||
| 690 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductVolumeReport> ; | ||
| 691 | + sp:predicate rdf:type ; | ||
| 692 | + sp:subject _:b5 | ||
| 693 | + ] [ sp:object | ||
| 694 | + [ sp:varName "dailyProductionReport"^^xsd:string | ||
| 695 | + ] ; | ||
| 696 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 697 | + sp:subject _:b5 | ||
| 698 | + ] [ sp:object | ||
| 699 | + [ sp:varName "name"^^xsd:string | ||
| 700 | + ] ; | ||
| 701 | + sp:predicate rdfs:label ; | ||
| 702 | + sp:subject _:b5 | ||
| 703 | + ] [ sp:object _:b6 ; | ||
| 704 | + sp:predicate rdf:type ; | ||
| 705 | + sp:subject _:b5 | ||
| 706 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ReportType> ; | ||
| 707 | + sp:predicate rdf:type ; | ||
| 708 | + sp:subject _:b6 | ||
| 709 | + ] [ sp:object | ||
| 710 | + [ sp:varName "kind"^^xsd:string | ||
| 711 | + ] ; | ||
| 712 | + sp:predicate rdfs:label ; | ||
| 713 | + sp:subject _:b6 | ||
| 714 | + ] [ sp:object | ||
| 715 | + [ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
| 716 | + ] ; | ||
| 717 | + sp:predicate rdf:type ; | ||
| 718 | + sp:subject _:b6 | ||
| 719 | + ] [ sp:object _:b7 ; | ||
| 720 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 721 | + sp:subject _:b5 | ||
| 722 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#DailyProductionFlow> ; | ||
| 723 | + sp:predicate rdf:type ; | ||
| 724 | + sp:subject _:b7 | ||
| 725 | + ] [ sp:object | ||
| 726 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 727 | + ] ; | ||
| 728 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 729 | + sp:subject _:b7 | ||
| 730 | + ] [ sp:object _:b8 ; | ||
| 731 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 732 | + sp:subject _:b7 | ||
| 733 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate> ; | ||
| 734 | + sp:predicate rdf:type ; | ||
| 735 | + sp:subject _:b8 | ||
| 736 | + ] [ sp:object | ||
| 737 | + [ sp:varName "title"^^xsd:string | ||
| 738 | + ] ; | ||
| 739 | + sp:predicate <http://purl.org/dc/elements/1.1/title> ; | ||
| 740 | + sp:subject _:b5 | ||
| 741 | + ]) ; | ||
| 742 | + sp:where ([ sp:object spin:_this ; | ||
| 743 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 744 | + sp:subject | ||
| 745 | + [ sp:varName "dailyProductionReport"^^xsd:string | ||
| 746 | + ] | ||
| 747 | + ] [ sp:object | ||
| 748 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 749 | + ] ; | ||
| 750 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 751 | + sp:subject spin:_this | ||
| 752 | + ] [ sp:object | ||
| 753 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 754 | + ] ; | ||
| 755 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 756 | + sp:subject | ||
| 757 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 758 | + ] | ||
| 759 | + ] [ sp:object | ||
| 760 | + [ sp:varName "name"^^xsd:string | ||
| 761 | + ] ; | ||
| 762 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 763 | + sp:subject | ||
| 764 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 765 | + ] | ||
| 766 | + ] [ rdf:type sp:Optional ; | ||
| 767 | + sp:elements ([ sp:object | ||
| 768 | + [ sp:varName "kind"^^xsd:string | ||
| 769 | + ] ; | ||
| 770 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kind> ; | ||
| 771 | + sp:subject | ||
| 772 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 773 | + ] | ||
| 774 | + ]) | ||
| 775 | + ] [ rdf:type sp:Optional ; | ||
| 776 | + sp:elements ([ sp:object | ||
| 777 | + [ sp:varName "periodKindRef"^^xsd:string | ||
| 778 | + ] ; | ||
| 779 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodKindRef> ; | ||
| 780 | + sp:subject | ||
| 781 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 782 | + ] | ||
| 783 | + ]) | ||
| 784 | + ] [ rdf:type sp:Optional ; | ||
| 785 | + sp:elements ([ sp:object | ||
| 786 | + [ sp:varName "titleRef"^^xsd:string | ||
| 787 | + ] ; | ||
| 788 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#titleRef> ; | ||
| 789 | + sp:subject | ||
| 790 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 791 | + ] | ||
| 792 | + ] [ sp:object | ||
| 793 | + [ sp:varName "title"^^xsd:string | ||
| 794 | + ] ; | ||
| 795 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 796 | + sp:subject | ||
| 797 | + [ sp:varName "titleRef"^^xsd:string | ||
| 798 | + ] | ||
| 799 | + ]) | ||
| 800 | + ] [ rdf:type sp:Bind ; | ||
| 801 | + sp:expression | ||
| 802 | + [ rdf:type ep-dpr-spin-lib:selectProductVolumeReportPeriodType ; | ||
| 803 | + sp:arg1 [ sp:varName "periodKindRef"^^xsd:string | ||
| 804 | + ] | ||
| 805 | + ] ; | ||
| 806 | + sp:variable | ||
| 807 | + [ sp:varName "productVolumeReportPeriodType"^^xsd:string | ||
| 808 | + ] | ||
| 809 | + ]) | ||
| 810 | + ] ; | ||
| 811 | + spin:rule | ||
| 812 | + [ rdf:type sp:Construct ; | ||
| 813 | + rdfs:comment "STEP 20007 Set the geographic context - offshore location"^^xsd:string ; | ||
| 814 | + sp:templates ([ sp:object | ||
| 815 | + [ sp:varName "quadrant"^^xsd:string | ||
| 816 | + ] ; | ||
| 817 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaQuadrantId> ; | ||
| 818 | + sp:subject | ||
| 819 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 820 | + ] | ||
| 821 | + ] [ sp:object | ||
| 822 | + [ sp:varName "blockSuffix"^^xsd:string | ||
| 823 | + ] ; | ||
| 824 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaBlockSuffixId> ; | ||
| 825 | + sp:subject | ||
| 826 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 827 | + ] | ||
| 828 | + ] [ sp:object | ||
| 829 | + [ sp:varName "areaName"^^xsd:string | ||
| 830 | + ] ; | ||
| 831 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasAreaName> ; | ||
| 832 | + sp:subject | ||
| 833 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 834 | + ] | ||
| 835 | + ] [ sp:object | ||
| 836 | + [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string | ||
| 837 | + ] ; | ||
| 838 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaAreaName> ; | ||
| 839 | + sp:subject | ||
| 840 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 841 | + ] | ||
| 842 | + ] [ sp:object | ||
| 843 | + [ sp:varName "commentOffshoreLocation"^^xsd:string | ||
| 844 | + ] ; | ||
| 845 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreLocationComment> ; | ||
| 846 | + sp:subject | ||
| 847 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 848 | + ] | ||
| 849 | + ]) ; | ||
| 850 | + sp:where ([ sp:object | ||
| 851 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 852 | + ] ; | ||
| 853 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 854 | + sp:subject spin:_this | ||
| 855 | + ] [ sp:object | ||
| 856 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 857 | + ] ; | ||
| 858 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 859 | + sp:subject | ||
| 860 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 861 | + ] | ||
| 862 | + ] [ sp:object | ||
| 863 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 864 | + ] ; | ||
| 865 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef> ; | ||
| 866 | + sp:subject | ||
| 867 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 868 | + ] | ||
| 869 | + ] [ sp:object | ||
| 870 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 871 | + ] ; | ||
| 872 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef> ; | ||
| 873 | + sp:subject | ||
| 874 | + [ sp:varName "geographicContextRef"^^xsd:string | ||
| 875 | + ] | ||
| 876 | + ] [ sp:object | ||
| 877 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string | ||
| 878 | + ] ; | ||
| 879 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#northSeaOffshoreRef> ; | ||
| 880 | + sp:subject | ||
| 881 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 882 | + ] | ||
| 883 | + ] [ sp:object | ||
| 884 | + [ sp:varName "quadrant"^^xsd:string | ||
| 885 | + ] ; | ||
| 886 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#quadrant> ; | ||
| 887 | + sp:subject | ||
| 888 | + [ sp:varName "northSeatOffshoreRef"^^xsd:string | ||
| 889 | + ] | ||
| 890 | + ] [ rdf:type sp:Optional ; | ||
| 891 | + sp:elements ([ sp:object | ||
| 892 | + [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string | ||
| 893 | + ] ; | ||
| 894 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#areaName> ; | ||
| 895 | + sp:subject | ||
| 896 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string | ||
| 897 | + ] | ||
| 898 | + ]) | ||
| 899 | + ] [ rdf:type sp:Optional ; | ||
| 900 | + sp:elements ([ sp:object | ||
| 901 | + [ sp:varName "blockSuffix"^^xsd:string | ||
| 902 | + ] ; | ||
| 903 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#blockSuffix> ; | ||
| 904 | + sp:subject | ||
| 905 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string | ||
| 906 | + ] | ||
| 907 | + ]) | ||
| 908 | + ] [ rdf:type sp:Optional ; | ||
| 909 | + sp:elements ([ sp:object | ||
| 910 | + [ sp:varName "areaName"^^xsd:string | ||
| 911 | + ] ; | ||
| 912 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#areaName> ; | ||
| 913 | + sp:subject | ||
| 914 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 915 | + ] | ||
| 916 | + ]) | ||
| 917 | + ] [ rdf:type sp:Optional ; | ||
| 918 | + sp:elements ([ sp:object | ||
| 919 | + [ sp:varName "commentOffshoreLocation"^^xsd:string | ||
| 920 | + ] ; | ||
| 921 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#comment> ; | ||
| 922 | + sp:subject | ||
| 923 | + [ sp:varName "offshoreLocationRef"^^xsd:string | ||
| 924 | + ] | ||
| 925 | + ]) | ||
| 926 | + ] [ sp:object | ||
| 927 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 928 | + ] ; | ||
| 929 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 930 | + sp:subject | ||
| 931 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 932 | + ] | ||
| 933 | + ] [ sp:object | ||
| 934 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 935 | + ] ; | ||
| 936 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 937 | + sp:subject | ||
| 938 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 939 | + ] | ||
| 940 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 941 | + sp:predicate rdf:type ; | ||
| 942 | + sp:subject | ||
| 943 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 944 | + ] | ||
| 945 | + ] [ sp:object | ||
| 946 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 947 | + ] ; | ||
| 948 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 949 | + sp:subject | ||
| 950 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 951 | + ] | ||
| 952 | + ] [ sp:object | ||
| 953 | + [ sp:varName "locationOfProductionFacility"^^xsd:string | ||
| 954 | + ] ; | ||
| 955 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | ||
| 956 | + sp:subject | ||
| 957 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 958 | + ] | ||
| 959 | + ]) | ||
| 960 | + ] ; | ||
| 961 | + spin:rule | ||
| 962 | + [ rdf:type sp:Construct ; | ||
| 963 | + rdfs:comment "STEP 20003 Set the installation"^^xsd:string ; | ||
| 964 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 965 | + sp:predicate rdf:type ; | ||
| 966 | + sp:subject _:b9 | ||
| 967 | + ] [ sp:object | ||
| 968 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 969 | + ] ; | ||
| 970 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 971 | + sp:subject _:b9 | ||
| 972 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 973 | + sp:predicate rdf:type ; | ||
| 974 | + sp:subject | ||
| 975 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 976 | + ] | ||
| 977 | + ] [ sp:object | ||
| 978 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
| 979 | + ] ; | ||
| 980 | + sp:predicate rdf:type ; | ||
| 981 | + sp:subject | ||
| 982 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 983 | + ] | ||
| 984 | + ] [ sp:object | ||
| 985 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 986 | + ] ; | ||
| 987 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 988 | + sp:subject _:b9 | ||
| 989 | + ]) ; | ||
| 990 | + sp:where ([ sp:object | ||
| 991 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 992 | + ] ; | ||
| 993 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 994 | + sp:subject spin:_this | ||
| 995 | + ] [ sp:object | ||
| 996 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 997 | + ] ; | ||
| 998 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 999 | + sp:subject | ||
| 1000 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1001 | + ] | ||
| 1002 | + ] [ sp:object | ||
| 1003 | + [ sp:varName "installationRef"^^xsd:string | ||
| 1004 | + ] ; | ||
| 1005 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ; | ||
| 1006 | + sp:subject | ||
| 1007 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1008 | + ] | ||
| 1009 | + ] [ sp:object | ||
| 1010 | + [ sp:varName "installationName"^^xsd:string | ||
| 1011 | + ] ; | ||
| 1012 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 1013 | + sp:subject | ||
| 1014 | + [ sp:varName "installationRef"^^xsd:string | ||
| 1015 | + ] | ||
| 1016 | + ] [ rdf:type sp:Optional ; | ||
| 1017 | + sp:elements ([ sp:object | ||
| 1018 | + [ sp:varName "installationKind"^^xsd:string | ||
| 1019 | + ] ; | ||
| 1020 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 1021 | + sp:subject | ||
| 1022 | + [ sp:varName "installationRef"^^xsd:string | ||
| 1023 | + ] | ||
| 1024 | + ]) | ||
| 1025 | + ] [ sp:object | ||
| 1026 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1027 | + ] ; | ||
| 1028 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 1029 | + sp:subject | ||
| 1030 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 1031 | + ] | ||
| 1032 | + ] [ sp:object | ||
| 1033 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1034 | + ] ; | ||
| 1035 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1036 | + sp:subject | ||
| 1037 | + [ sp:varName "dailyProductionFlow"^^xsd:string | ||
| 1038 | + ] | ||
| 1039 | + ] [ rdf:type sp:Bind ; | ||
| 1040 | + sp:expression | ||
| 1041 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 1042 | + sp:arg1 [ sp:varName "installationName"^^xsd:string | ||
| 1043 | + ] | ||
| 1044 | + ] ; | ||
| 1045 | + sp:variable | ||
| 1046 | + [ sp:varName "normalizedInstallationName"^^xsd:string | ||
| 1047 | + ] | ||
| 1048 | + ] [ rdf:type sp:Bind ; | ||
| 1049 | + sp:expression | ||
| 1050 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 1051 | + sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string | ||
| 1052 | + ] | ||
| 1053 | + ] ; | ||
| 1054 | + sp:variable | ||
| 1055 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1056 | + ] | ||
| 1057 | + ] [ rdf:type sp:Bind ; | ||
| 1058 | + sp:expression | ||
| 1059 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 1060 | + sp:arg1 [ sp:varName "installationKind"^^xsd:string | ||
| 1061 | + ] | ||
| 1062 | + ] ; | ||
| 1063 | + sp:variable | ||
| 1064 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
| 1065 | + ] | ||
| 1066 | + ]) | ||
| 1067 | + ] ; | ||
| 1068 | + spin:rule | ||
| 1069 | + [ rdf:type sp:Construct ; | ||
| 1070 | + rdfs:comment "STEP 20004b Set the context facility - installation does not exist"^^xsd:string ; | ||
| 1071 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 1072 | + sp:predicate rdf:type ; | ||
| 1073 | + sp:subject _:b10 | ||
| 1074 | + ] [ sp:object _:b11 ; | ||
| 1075 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1076 | + sp:subject _:b10 | ||
| 1077 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 1078 | + sp:predicate rdf:type ; | ||
| 1079 | + sp:subject _:b11 | ||
| 1080 | + ] [ sp:object | ||
| 1081 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1082 | + ] ; | ||
| 1083 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1084 | + sp:subject _:b10 | ||
| 1085 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 1086 | + sp:predicate rdf:type ; | ||
| 1087 | + sp:subject | ||
| 1088 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1089 | + ] | ||
| 1090 | + ] [ sp:object | ||
| 1091 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 1092 | + ] ; | ||
| 1093 | + sp:predicate rdf:type ; | ||
| 1094 | + sp:subject | ||
| 1095 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1096 | + ] | ||
| 1097 | + ] [ sp:object _:b11 ; | ||
| 1098 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 1099 | + sp:subject | ||
| 1100 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1101 | + ] | ||
| 1102 | + ]) ; | ||
| 1103 | + sp:where ([ sp:object | ||
| 1104 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1105 | + ] ; | ||
| 1106 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 1107 | + sp:subject spin:_this | ||
| 1108 | + ] [ sp:object | ||
| 1109 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1110 | + ] ; | ||
| 1111 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 1112 | + sp:subject | ||
| 1113 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1114 | + ] | ||
| 1115 | + ] [ sp:object | ||
| 1116 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1117 | + ] ; | ||
| 1118 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ; | ||
| 1119 | + sp:subject | ||
| 1120 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1121 | + ] | ||
| 1122 | + ] [ sp:object | ||
| 1123 | + [ sp:varName "contextFacilityName"^^xsd:string | ||
| 1124 | + ] ; | ||
| 1125 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 1126 | + sp:subject | ||
| 1127 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1128 | + ] | ||
| 1129 | + ] [ rdf:type sp:Optional ; | ||
| 1130 | + sp:elements ([ sp:object | ||
| 1131 | + [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 1132 | + ] ; | ||
| 1133 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 1134 | + sp:subject | ||
| 1135 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1136 | + ] | ||
| 1137 | + ]) | ||
| 1138 | + ] [ sp:object | ||
| 1139 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1140 | + ] ; | ||
| 1141 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 1142 | + sp:subject | ||
| 1143 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1144 | + ] | ||
| 1145 | + ] [ rdf:type sp:NotExists ; | ||
| 1146 | + sp:elements ([ sp:object | ||
| 1147 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1148 | + ] ; | ||
| 1149 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1150 | + sp:subject | ||
| 1151 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1152 | + ] | ||
| 1153 | + ] [ sp:object | ||
| 1154 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1155 | + ] ; | ||
| 1156 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1157 | + sp:subject | ||
| 1158 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1159 | + ] | ||
| 1160 | + ]) | ||
| 1161 | + ] [ rdf:type sp:Bind ; | ||
| 1162 | + sp:expression | ||
| 1163 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 1164 | + sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string | ||
| 1165 | + ] | ||
| 1166 | + ] ; | ||
| 1167 | + sp:variable | ||
| 1168 | + [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 1169 | + ] | ||
| 1170 | + ] [ rdf:type sp:Bind ; | ||
| 1171 | + sp:expression | ||
| 1172 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 1173 | + sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 1174 | + ] | ||
| 1175 | + ] ; | ||
| 1176 | + sp:variable | ||
| 1177 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1178 | + ] | ||
| 1179 | + ] [ rdf:type sp:Bind ; | ||
| 1180 | + sp:expression | ||
| 1181 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 1182 | + sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 1183 | + ] | ||
| 1184 | + ] ; | ||
| 1185 | + sp:variable | ||
| 1186 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 1187 | + ] | ||
| 1188 | + ]) | ||
| 1189 | + ] ; | ||
| 1190 | + spin:rule | ||
| 1191 | + [ rdf:type sp:Construct ; | ||
| 1192 | + rdfs:comment "STEP 20004a Set the context facility - installation exists"^^xsd:string ; | ||
| 1193 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 1194 | + sp:predicate rdf:type ; | ||
| 1195 | + sp:subject | ||
| 1196 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1197 | + ] | ||
| 1198 | + ] [ sp:object | ||
| 1199 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 1200 | + ] ; | ||
| 1201 | + sp:predicate rdf:type ; | ||
| 1202 | + sp:subject | ||
| 1203 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1204 | + ] | ||
| 1205 | + ] [ sp:object | ||
| 1206 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1207 | + ] ; | ||
| 1208 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 1209 | + sp:subject | ||
| 1210 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1211 | + ] | ||
| 1212 | + ]) ; | ||
| 1213 | + sp:where ([ sp:object | ||
| 1214 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1215 | + ] ; | ||
| 1216 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 1217 | + sp:subject spin:_this | ||
| 1218 | + ] [ sp:object | ||
| 1219 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1220 | + ] ; | ||
| 1221 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 1222 | + sp:subject | ||
| 1223 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1224 | + ] | ||
| 1225 | + ] [ sp:object | ||
| 1226 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1227 | + ] ; | ||
| 1228 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef> ; | ||
| 1229 | + sp:subject | ||
| 1230 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1231 | + ] | ||
| 1232 | + ] [ sp:object | ||
| 1233 | + [ sp:varName "contextFacilityName"^^xsd:string | ||
| 1234 | + ] ; | ||
| 1235 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 1236 | + sp:subject | ||
| 1237 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1238 | + ] | ||
| 1239 | + ] [ rdf:type sp:Optional ; | ||
| 1240 | + sp:elements ([ sp:object | ||
| 1241 | + [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 1242 | + ] ; | ||
| 1243 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 1244 | + sp:subject | ||
| 1245 | + [ sp:varName "contextFacilityRef"^^xsd:string | ||
| 1246 | + ] | ||
| 1247 | + ]) | ||
| 1248 | + ] [ sp:object | ||
| 1249 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1250 | + ] ; | ||
| 1251 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 1252 | + sp:subject | ||
| 1253 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1254 | + ] | ||
| 1255 | + ] [ sp:object | ||
| 1256 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1257 | + ] ; | ||
| 1258 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1259 | + sp:subject | ||
| 1260 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1261 | + ] | ||
| 1262 | + ] [ sp:object | ||
| 1263 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1264 | + ] ; | ||
| 1265 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1266 | + sp:subject | ||
| 1267 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1268 | + ] | ||
| 1269 | + ] [ rdf:type sp:Bind ; | ||
| 1270 | + sp:expression | ||
| 1271 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 1272 | + sp:arg1 [ sp:varName "contextFacilityName"^^xsd:string | ||
| 1273 | + ] | ||
| 1274 | + ] ; | ||
| 1275 | + sp:variable | ||
| 1276 | + [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 1277 | + ] | ||
| 1278 | + ] [ rdf:type sp:Bind ; | ||
| 1279 | + sp:expression | ||
| 1280 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 1281 | + sp:arg1 [ sp:varName "normalizedContextFacilityName"^^xsd:string | ||
| 1282 | + ] | ||
| 1283 | + ] ; | ||
| 1284 | + sp:variable | ||
| 1285 | + [ sp:varName "productionContextFacility"^^xsd:string | ||
| 1286 | + ] | ||
| 1287 | + ] [ rdf:type sp:Bind ; | ||
| 1288 | + sp:expression | ||
| 1289 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | ||
| 1290 | + sp:arg1 [ sp:varName "contextFacilityKind"^^xsd:string | ||
| 1291 | + ] | ||
| 1292 | + ] ; | ||
| 1293 | + sp:variable | ||
| 1294 | + [ sp:varName "productionContextFacilityType"^^xsd:string | ||
| 1295 | + ] | ||
| 1296 | + ]) | ||
| 1297 | + ] ; | ||
| 1298 | + spin:rule | ||
| 1299 | + [ rdf:type sp:Construct ; | ||
| 1300 | + rdfs:comment """STEP 20005a Set the facility operator- installation or context facility exist | ||
| 1301 | +role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ||
| 1302 | + sp:templates ([ sp:object | ||
| 1303 | + [ sp:varName "operator"^^xsd:string | ||
| 1304 | + ] ; | ||
| 1305 | + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | ||
| 1306 | + sp:subject | ||
| 1307 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1308 | + ] | ||
| 1309 | + ]) ; | ||
| 1310 | + sp:where ([ sp:object | ||
| 1311 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1312 | + ] ; | ||
| 1313 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 1314 | + sp:subject spin:_this | ||
| 1315 | + ] [ sp:object | ||
| 1316 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1317 | + ] ; | ||
| 1318 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 1319 | + sp:subject | ||
| 1320 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1321 | + ] | ||
| 1322 | + ] [ sp:object | ||
| 1323 | + [ sp:varName "operatorRef"^^xsd:string | ||
| 1324 | + ] ; | ||
| 1325 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ; | ||
| 1326 | + sp:subject | ||
| 1327 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1328 | + ] | ||
| 1329 | + ] [ sp:object | ||
| 1330 | + [ sp:varName "operatorName"^^xsd:string | ||
| 1331 | + ] ; | ||
| 1332 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 1333 | + sp:subject | ||
| 1334 | + [ sp:varName "operatorRef"^^xsd:string | ||
| 1335 | + ] | ||
| 1336 | + ] [ sp:object | ||
| 1337 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1338 | + ] ; | ||
| 1339 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 1340 | + sp:subject | ||
| 1341 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1342 | + ] | ||
| 1343 | + ] [ sp:object | ||
| 1344 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1345 | + ] ; | ||
| 1346 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1347 | + sp:subject | ||
| 1348 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1349 | + ] | ||
| 1350 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 1351 | + sp:predicate rdf:type ; | ||
| 1352 | + sp:subject | ||
| 1353 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1354 | + ] | ||
| 1355 | + ] [ sp:object | ||
| 1356 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1357 | + ] ; | ||
| 1358 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1359 | + sp:subject | ||
| 1360 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1361 | + ] | ||
| 1362 | + ] [ rdf:type sp:Bind ; | ||
| 1363 | + sp:expression | ||
| 1364 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 1365 | + sp:arg1 [ sp:varName "operatorName"^^xsd:string | ||
| 1366 | + ] | ||
| 1367 | + ] ; | ||
| 1368 | + sp:variable | ||
| 1369 | + [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 1370 | + ] | ||
| 1371 | + ] [ rdf:type sp:Bind ; | ||
| 1372 | + sp:expression | ||
| 1373 | + [ rdf:type rhspin:companyById ; | ||
| 1374 | + arg:id [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 1375 | + ] | ||
| 1376 | + ] ; | ||
| 1377 | + sp:variable | ||
| 1378 | + [ sp:varName "operator"^^xsd:string | ||
| 1379 | + ] | ||
| 1380 | + ]) | ||
| 1381 | + ] ; | ||
| 1382 | + spin:rule | ||
| 1383 | + [ rdf:type sp:Construct ; | ||
| 1384 | + rdfs:comment """STEP 20005b Set the facility operator- installation or context facility do not exist | ||
| 1385 | +role is ignored, because it is implicitly \"operator\""""^^xsd:string ; | ||
| 1386 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 1387 | + sp:predicate rdf:type ; | ||
| 1388 | + sp:subject _:b12 | ||
| 1389 | + ] [ sp:object _:b13 ; | ||
| 1390 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1391 | + sp:subject _:b12 | ||
| 1392 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 1393 | + sp:predicate rdf:type ; | ||
| 1394 | + sp:subject _:b13 | ||
| 1395 | + ] [ sp:object | ||
| 1396 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1397 | + ] ; | ||
| 1398 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1399 | + sp:subject _:b12 | ||
| 1400 | + ] [ sp:object | ||
| 1401 | + [ sp:varName "operator"^^xsd:string | ||
| 1402 | + ] ; | ||
| 1403 | + sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ; | ||
| 1404 | + sp:subject _:b13 | ||
| 1405 | + ]) ; | ||
| 1406 | + sp:where ([ sp:object | ||
| 1407 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1408 | + ] ; | ||
| 1409 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ; | ||
| 1410 | + sp:subject spin:_this | ||
| 1411 | + ] [ sp:object | ||
| 1412 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1413 | + ] ; | ||
| 1414 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ; | ||
| 1415 | + sp:subject | ||
| 1416 | + [ sp:varName "productVolumeSet"^^xsd:string | ||
| 1417 | + ] | ||
| 1418 | + ] [ sp:object | ||
| 1419 | + [ sp:varName "operatorRef"^^xsd:string | ||
| 1420 | + ] ; | ||
| 1421 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ; | ||
| 1422 | + sp:subject | ||
| 1423 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1424 | + ] | ||
| 1425 | + ] [ sp:object | ||
| 1426 | + [ sp:varName "operatorName"^^xsd:string | ||
| 1427 | + ] ; | ||
| 1428 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 1429 | + sp:subject | ||
| 1430 | + [ sp:varName "operatorRef"^^xsd:string | ||
| 1431 | + ] | ||
| 1432 | + ] [ sp:object | ||
| 1433 | + [ sp:varName "productVolumeRef"^^xsd:string | ||
| 1434 | + ] ; | ||
| 1435 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 1436 | + sp:subject | ||
| 1437 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1438 | + ] | ||
| 1439 | + ] [ rdf:type sp:NotExists ; | ||
| 1440 | + sp:elements ([ sp:object | ||
| 1441 | + [ sp:varName "productionFlowToDate"^^xsd:string | ||
| 1442 | + ] ; | ||
| 1443 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1444 | + sp:subject | ||
| 1445 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1446 | + ] | ||
| 1447 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ; | ||
| 1448 | + sp:predicate rdf:type ; | ||
| 1449 | + sp:subject | ||
| 1450 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1451 | + ] | ||
| 1452 | + ] [ sp:object | ||
| 1453 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1454 | + ] ; | ||
| 1455 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1456 | + sp:subject | ||
| 1457 | + [ sp:varName "productionFacilityToDate"^^xsd:string | ||
| 1458 | + ] | ||
| 1459 | + ]) | ||
| 1460 | + ] [ rdf:type sp:Bind ; | ||
| 1461 | + sp:expression | ||
| 1462 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 1463 | + sp:arg1 [ sp:varName "operatorName"^^xsd:string | ||
| 1464 | + ] | ||
| 1465 | + ] ; | ||
| 1466 | + sp:variable | ||
| 1467 | + [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 1468 | + ] | ||
| 1469 | + ] [ rdf:type sp:Bind ; | ||
| 1470 | + sp:expression | ||
| 1471 | + [ rdf:type rhspin:companyById ; | ||
| 1472 | + arg:id [ sp:varName "normalizedOperatorName"^^xsd:string | ||
| 1473 | + ] | ||
| 1474 | + ] ; | ||
| 1475 | + sp:variable | ||
| 1476 | + [ sp:varName "operator"^^xsd:string | ||
| 1477 | + ] | ||
| 1478 | + ]) | ||
| 1479 | + ] . |
-
Please register or login to post a comment