David Price

Rebuilt erh facts from MPR G and DPR 2 files with flowIntoOutOf for NPD things

Showing 25 changed files with 139 additions and 137 deletions
...@@ -224,7 +224,7 @@ ep-flow:EstimatedFlow ...@@ -224,7 +224,7 @@ ep-flow:EstimatedFlow
224 rdfs:subClassOf ep-flow:Flow . 224 rdfs:subClassOf ep-flow:Flow .
225 225
226 ep-flow:ExportFlow 226 ep-flow:ExportFlow
227 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 227 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
228 rdfs:comment "flow that leaves a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ; 228 rdfs:comment "flow that leaves a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ;
229 rdfs:label "export"^^xsd:string ; 229 rdfs:label "export"^^xsd:string ;
230 rdfs:subClassOf ep-flow:Flow . 230 rdfs:subClassOf ep-flow:Flow .
...@@ -254,49 +254,49 @@ ep-flow:Flow ...@@ -254,49 +254,49 @@ ep-flow:Flow
254 rdfs:subClassOf ep-core:PhysicalThing . 254 rdfs:subClassOf ep-core:PhysicalThing .
255 255
256 ep-flow:FlowAtInstant 256 ep-flow:FlowAtInstant
257 - rdf:type owl:Class ; 257 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
258 rdfs:comment "flow that is at an instant in time"^^xsd:string ; 258 rdfs:comment "flow that is at an instant in time"^^xsd:string ;
259 rdfs:label "flow at instant"^^xsd:string ; 259 rdfs:label "flow at instant"^^xsd:string ;
260 rdfs:subClassOf ep-flow:Flow . 260 rdfs:subClassOf ep-flow:Flow .
261 261
262 ep-flow:FlowDuringDay 262 ep-flow:FlowDuringDay
263 - rdf:type owl:Class ; 263 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
264 rdfs:comment "flow that is during a day"^^xsd:string ; 264 rdfs:comment "flow that is during a day"^^xsd:string ;
265 rdfs:label "flow during day"^^xsd:string ; 265 rdfs:label "flow during day"^^xsd:string ;
266 rdfs:subClassOf ep-flow:FlowDuringPeriod . 266 rdfs:subClassOf ep-flow:FlowDuringPeriod .
267 267
268 ep-flow:FlowDuringMonth 268 ep-flow:FlowDuringMonth
269 - rdf:type owl:Class ; 269 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
270 rdfs:comment "flow that is during a month"^^xsd:string ; 270 rdfs:comment "flow that is during a month"^^xsd:string ;
271 rdfs:label "flow during month"^^xsd:string ; 271 rdfs:label "flow during month"^^xsd:string ;
272 rdfs:subClassOf ep-flow:FlowDuringPeriod . 272 rdfs:subClassOf ep-flow:FlowDuringPeriod .
273 273
274 ep-flow:FlowDuringMonthToDate 274 ep-flow:FlowDuringMonthToDate
275 - rdf:type owl:Class ; 275 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
276 rdfs:comment "flow that exists from the beginning of a month to a point in time within it"^^xsd:string ; 276 rdfs:comment "flow that exists from the beginning of a month to a point in time within it"^^xsd:string ;
277 rdfs:label "flow during month to date"^^xsd:string ; 277 rdfs:label "flow during month to date"^^xsd:string ;
278 rdfs:subClassOf ep-flow:FlowDuringPeriod . 278 rdfs:subClassOf ep-flow:FlowDuringPeriod .
279 279
280 ep-flow:FlowDuringPeriod 280 ep-flow:FlowDuringPeriod
281 - rdf:type owl:Class ; 281 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
282 rdfs:comment "flow that is during a period of time"^^xsd:string ; 282 rdfs:comment "flow that is during a period of time"^^xsd:string ;
283 rdfs:label "flow during period"^^xsd:string ; 283 rdfs:label "flow during period"^^xsd:string ;
284 rdfs:subClassOf ep-flow:Flow . 284 rdfs:subClassOf ep-flow:Flow .
285 285
286 ep-flow:FlowDuringWeek 286 ep-flow:FlowDuringWeek
287 - rdf:type owl:Class ; 287 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
288 rdfs:comment "flow that is during a week"^^xsd:string ; 288 rdfs:comment "flow that is during a week"^^xsd:string ;
289 rdfs:label "flow during week"^^xsd:string ; 289 rdfs:label "flow during week"^^xsd:string ;
290 rdfs:subClassOf ep-flow:FlowDuringPeriod . 290 rdfs:subClassOf ep-flow:FlowDuringPeriod .
291 291
292 ep-flow:FlowDuringYear 292 ep-flow:FlowDuringYear
293 - rdf:type owl:Class ; 293 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
294 rdfs:comment "flow that is during a year"^^xsd:string ; 294 rdfs:comment "flow that is during a year"^^xsd:string ;
295 rdfs:label "flow during year"^^xsd:string ; 295 rdfs:label "flow during year"^^xsd:string ;
296 rdfs:subClassOf ep-flow:FlowDuringPeriod . 296 rdfs:subClassOf ep-flow:FlowDuringPeriod .
297 297
298 ep-flow:FlowDuringYearToDate 298 ep-flow:FlowDuringYearToDate
299 - rdf:type owl:Class ; 299 + rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
300 rdfs:comment "flow that exists from the beginning of a year to a point in time within it"^^xsd:string ; 300 rdfs:comment "flow that exists from the beginning of a year to a point in time within it"^^xsd:string ;
301 rdfs:label "flow during year to date"^^xsd:string ; 301 rdfs:label "flow during year to date"^^xsd:string ;
302 rdfs:subClassOf ep-flow:FlowDuringPeriod . 302 rdfs:subClassOf ep-flow:FlowDuringPeriod .
...@@ -344,7 +344,7 @@ ep-flow:ForecastFlow-standard ...@@ -344,7 +344,7 @@ ep-flow:ForecastFlow-standard
344 rdfs:subClassOf ep-flow:ForecastFlow . 344 rdfs:subClassOf ep-flow:ForecastFlow .
345 345
346 ep-flow:GasLiftFlow 346 ep-flow:GasLiftFlow
347 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 347 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
348 rdfs:comment "injection flow into a producing well to reduce the hydrostataic pressure of the fluid column. The resulting reduction in bottom hole pressure allows the reservoir liquids to flow. (source: MPR-XSD)"^^xsd:string ; 348 rdfs:comment "injection flow into a producing well to reduce the hydrostataic pressure of the fluid column. The resulting reduction in bottom hole pressure allows the reservoir liquids to flow. (source: MPR-XSD)"^^xsd:string ;
349 rdfs:label "gas lift flow"^^xsd:string ; 349 rdfs:label "gas lift flow"^^xsd:string ;
350 rdfs:subClassOf ep-flow:InjectionFlow . 350 rdfs:subClassOf ep-flow:InjectionFlow .
...@@ -356,13 +356,13 @@ ep-flow:GrossProductFlow ...@@ -356,13 +356,13 @@ ep-flow:GrossProductFlow
356 rdfs:subClassOf ep-flow:ProductFlow . 356 rdfs:subClassOf ep-flow:ProductFlow .
357 357
358 ep-flow:HydrocarbonAccountingFlow 358 ep-flow:HydrocarbonAccountingFlow
359 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 359 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
360 rdfs:comment "flow that is an accounting of all of the fluids into and out of Stock (i.e., Inventory) which includes all storage facilities at a site including fluid within a pipeline (source: MPR-XSD)"^^xsd:string ; 360 rdfs:comment "flow that is an accounting of all of the fluids into and out of Stock (i.e., Inventory) which includes all storage facilities at a site including fluid within a pipeline (source: MPR-XSD)"^^xsd:string ;
361 rdfs:label "hydrocarbon accounting"^^xsd:string ; 361 rdfs:label "hydrocarbon accounting"^^xsd:string ;
362 rdfs:subClassOf ep-flow:Flow . 362 rdfs:subClassOf ep-flow:Flow .
363 363
364 ep-flow:ImportFlow 364 ep-flow:ImportFlow
365 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 365 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
366 rdfs:comment "flow that enters a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ; 366 rdfs:comment "flow that enters a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ;
367 rdfs:label "import"^^xsd:string ; 367 rdfs:label "import"^^xsd:string ;
368 rdfs:subClassOf ep-flow:Flow . 368 rdfs:subClassOf ep-flow:Flow .
...@@ -434,7 +434,7 @@ ep-flow:NominatedFlow ...@@ -434,7 +434,7 @@ ep-flow:NominatedFlow
434 rdfs:subClassOf ep-flow:Flow . 434 rdfs:subClassOf ep-flow:Flow .
435 435
436 ep-flow:OverboardFlow 436 ep-flow:OverboardFlow
437 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 437 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
438 rdfs:comment "flow that is overboard into the sea (source: MPR-XSD)"^^xsd:string ; 438 rdfs:comment "flow that is overboard into the sea (source: MPR-XSD)"^^xsd:string ;
439 rdfs:label "overboard"^^xsd:string ; 439 rdfs:label "overboard"^^xsd:string ;
440 rdfs:subClassOf ep-flow:Flow . 440 rdfs:subClassOf ep-flow:Flow .
...@@ -530,7 +530,7 @@ ep-flow:ProductMaterialType ...@@ -530,7 +530,7 @@ ep-flow:ProductMaterialType
530 rdfs:subClassOf owl:Class . 530 rdfs:subClassOf owl:Class .
531 531
532 ep-flow:ProductionExploitation 532 ep-flow:ProductionExploitation
533 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 533 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
534 rdfs:comment "flow that is exploited from a reservoir. This is independent of any disposition. (source: MPR-XSD)"^^xsd:string ; 534 rdfs:comment "flow that is exploited from a reservoir. This is independent of any disposition. (source: MPR-XSD)"^^xsd:string ;
535 rdfs:label "production exploitation"^^xsd:string ; 535 rdfs:label "production exploitation"^^xsd:string ;
536 rdfs:subClassOf ep-flow:Flow . 536 rdfs:subClassOf ep-flow:Flow .
...@@ -671,6 +671,10 @@ ep-flow:TemporalPartDurationType ...@@ -671,6 +671,10 @@ ep-flow:TemporalPartDurationType
671 rdfs:label "temporal part duration type"^^xsd:string ; 671 rdfs:label "temporal part duration type"^^xsd:string ;
672 rdfs:subClassOf owl:Class . 672 rdfs:subClassOf owl:Class .
673 673
674 +ep-flow:TemporalPartOfAFlowDurationType
675 + rdf:type rdfs:Class ;
676 + rdfs:subClassOf owl:Class .
677 +
674 ep-flow:ValueAdjustedFlow 678 ep-flow:ValueAdjustedFlow
675 rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ; 679 rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
676 rdfs:comment "flow that <not documented in XSD>"^^xsd:string ; 680 rdfs:comment "flow that <not documented in XSD>"^^xsd:string ;
...@@ -834,7 +838,7 @@ ep-flow:horizontalDirectionAzimuth ...@@ -834,7 +838,7 @@ ep-flow:horizontalDirectionAzimuth
834 rdfs:range ep-core:PlaneAngle . 838 rdfs:range ep-core:PlaneAngle .
835 839
836 ep-flow:massAtAccountingInstant 840 ep-flow:massAtAccountingInstant
837 - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; 841 + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
838 rdfs:comment "mass that is at the accounting instant for an inventory during a period"^^xsd:string ; 842 rdfs:comment "mass that is at the accounting instant for an inventory during a period"^^xsd:string ;
839 rdfs:domain ep-flow:Inventory ; 843 rdfs:domain ep-flow:Inventory ;
840 rdfs:label "mass at accounting instant"^^xsd:string ; 844 rdfs:label "mass at accounting instant"^^xsd:string ;
......
...@@ -102,7 +102,7 @@ mpr-tables:Cargo ...@@ -102,7 +102,7 @@ mpr-tables:Cargo
102 sp:subject 102 sp:subject
103 [ sp:varName "productionFlowWhole"^^xsd:string 103 [ sp:varName "productionFlowWhole"^^xsd:string
104 ] 104 ]
105 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ; 105 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow> ;
106 sp:predicate rdf:type ; 106 sp:predicate rdf:type ;
107 sp:subject 107 sp:subject
108 [ sp:varName "productionFlowWhole"^^xsd:string 108 [ sp:varName "productionFlowWhole"^^xsd:string
...@@ -608,7 +608,7 @@ mpr-tables:CargoOwnership ...@@ -608,7 +608,7 @@ mpr-tables:CargoOwnership
608 sp:subject 608 sp:subject
609 [ sp:varName "productionFlowWhole"^^xsd:string 609 [ sp:varName "productionFlowWhole"^^xsd:string
610 ] 610 ]
611 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ; 611 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow> ;
612 sp:predicate rdf:type ; 612 sp:predicate rdf:type ;
613 sp:subject 613 sp:subject
614 [ sp:varName "productionFlowWhole"^^xsd:string 614 [ sp:varName "productionFlowWhole"^^xsd:string
...@@ -1216,7 +1216,7 @@ mpr-tables:GasSales ...@@ -1216,7 +1216,7 @@ mpr-tables:GasSales
1216 sp:subject 1216 sp:subject
1217 [ sp:varName "productionFlowWhole"^^xsd:string 1217 [ sp:varName "productionFlowWhole"^^xsd:string
1218 ] 1218 ]
1219 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ; 1219 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowToSale> ;
1220 sp:predicate rdf:type ; 1220 sp:predicate rdf:type ;
1221 sp:subject 1221 sp:subject
1222 [ sp:varName "productionFlowWhole"^^xsd:string 1222 [ sp:varName "productionFlowWhole"^^xsd:string
...@@ -2009,14 +2009,14 @@ mpr-tables:ProductionFlowsAll ...@@ -2009,14 +2009,14 @@ mpr-tables:ProductionFlowsAll
2009 ] 2009 ]
2010 ]) 2010 ])
2011 ] [ rdf:type sp:NotExists ; 2011 ] [ rdf:type sp:NotExists ;
2012 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ; 2012 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow> ;
2013 sp:predicate rdf:type ; 2013 sp:predicate rdf:type ;
2014 sp:subject 2014 sp:subject
2015 [ sp:varName "productionFlowWhole"^^xsd:string 2015 [ sp:varName "productionFlowWhole"^^xsd:string
2016 ] 2016 ]
2017 ]) 2017 ])
2018 ] [ rdf:type sp:NotExists ; 2018 ] [ rdf:type sp:NotExists ;
2019 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ; 2019 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowToSale> ;
2020 sp:predicate rdf:type ; 2020 sp:predicate rdf:type ;
2021 sp:subject 2021 sp:subject
2022 [ sp:varName "productionFlowWhole"^^xsd:string 2022 [ sp:varName "productionFlowWhole"^^xsd:string
...@@ -3893,7 +3893,7 @@ mpr-tables:WellProductionFlows ...@@ -3893,7 +3893,7 @@ mpr-tables:WellProductionFlows
3893 [ sp:varName "productionFlowWhole"^^xsd:string 3893 [ sp:varName "productionFlowWhole"^^xsd:string
3894 ] 3894 ]
3895 ] [ rdf:type sp:NotExists ; 3895 ] [ rdf:type sp:NotExists ;
3896 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ; 3896 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowToSale> ;
3897 sp:predicate rdf:type ; 3897 sp:predicate rdf:type ;
3898 sp:subject 3898 sp:subject
3899 [ sp:varName "productionFlowWhole"^^xsd:string 3899 [ sp:varName "productionFlowWhole"^^xsd:string
......
This diff is collapsed. Click to expand it.
1 @prefix tables: <http://topbraid.org/tables#> . 1 @prefix tables: <http://topbraid.org/tables#> .
2 2
3 -<file:///www.reportinghub.no/test/flow_facts/data/asgard-flow-facts.tsv.semtables> 3 +<file:///www.reportinghub.no/test/flow_facts/data/asgard-dpr2-flow-fact-ss.tsv.semtables>
4 a <http://www.w3.org/2002/07/owl#Ontology> ; 4 a <http://www.w3.org/2002/07/owl#Ontology> ;
5 - tables:imports <file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema> ; 5 + tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
6 <http://www.w3.org/2002/07/owl#imports> 6 <http://www.w3.org/2002/07/owl#imports>
7 <http://topbraid.org/tables> . 7 <http://topbraid.org/tables> .
......
1 @prefix tables: <http://topbraid.org/tables#> . 1 @prefix tables: <http://topbraid.org/tables#> .
2 2
3 -<file:///www.reportinghub.no/test/flow_facts/data/flow-fact-updated.tsv.semtables> 3 +<file:///www.reportinghub.no/test/flow_facts/data/asgard-mprg-flow-fact-ss.tsv.semtables>
4 a <http://www.w3.org/2002/07/owl#Ontology> ; 4 a <http://www.w3.org/2002/07/owl#Ontology> ;
5 - tables:imports <http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2> ; 5 + tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
6 <http://www.w3.org/2002/07/owl#imports> 6 <http://www.w3.org/2002/07/owl#imports>
7 <http://topbraid.org/tables> . 7 <http://topbraid.org/tables> .
......
1 +# baseURI: http://www.reportinghub.no/test/flow_facts/data/flow-fact-collector
2 +# imports: file:///www.reportinghub.no/test/flow_facts/data/asgard-dpr2-flow-fact-ss.tsv
3 +# imports: file:///www.reportinghub.no/test/flow_facts/data/asgard-mprg-flow-fact-ss.tsv
4 +# imports: file:///www.reportinghub.no/test/flow_facts/data/trym-dpr2-flow-fact-ss.tsv
5 +# imports: file:///www.reportinghub.no/test/flow_facts/data/trym-mprg-flow-fact-ss.tsv
6 +
7 +@prefix flow-fact-collector: <http://www.reportinghub.no/test/flow_facts/data/flow-fact-collector#> .
8 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
9 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +<http://www.reportinghub.no/test/flow_facts/data/flow-fact-collector>
14 + rdf:type owl:Ontology ;
15 + owl:imports <file:///www.reportinghub.no/test/flow_facts/data/asgard-dpr2-flow-fact-ss.tsv> , <file:///www.reportinghub.no/test/flow_facts/data/asgard-mprg-flow-fact-ss.tsv> , <file:///www.reportinghub.no/test/flow_facts/data/trym-dpr2-flow-fact-ss.tsv> , <file:///www.reportinghub.no/test/flow_facts/data/trym-mprg-flow-fact-ss.tsv> ;
16 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 -# baseURI: file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema
2 -# imports: http://topbraid.org/tables
3 -
4 -@prefix owl: <http://www.w3.org/2002/07/owl#> .
5 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7 -@prefix ss: <file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema#> .
8 -@prefix tables: <http://topbraid.org/tables#> .
9 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
10 -
11 -<file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema>
12 - rdf:type owl:Ontology ;
13 - owl:imports <http://topbraid.org/tables> .
14 -
15 -ss:FieldNPDName
16 - rdf:type owl:DatatypeProperty ;
17 - rdfs:domain ss:flow-facts ;
18 - rdfs:label "FieldNPDName"^^xsd:string ;
19 - rdfs:range xsd:string ;
20 - tables:columnIndex "0"^^xsd:int .
21 -
22 -ss:fieldNPDID
23 - rdf:type owl:DatatypeProperty ;
24 - rdfs:domain ss:flow-facts ;
25 - rdfs:label "FieldNPDID" ;
26 - rdfs:range xsd:string ;
27 - tables:columnIndex "1"^^xsd:int .
28 -
29 -ss:flow-facts
30 - rdf:type owl:Class ;
31 - rdfs:label "flow-facts"^^xsd:string ;
32 - tables:sheetIndex "0"^^xsd:int .
33 -
34 -ss:flowKind
35 - rdf:type owl:DatatypeProperty ;
36 - rdfs:domain ss:flow-facts ;
37 - rdfs:label "FlowKind" ;
38 - rdfs:range xsd:string ;
39 - tables:columnIndex "4"^^xsd:int .
40 -
41 -ss:flowName
42 - rdf:type owl:DatatypeProperty ;
43 - rdfs:domain ss:flow-facts ;
44 - rdfs:label "FlowName" ;
45 - rdfs:range xsd:string ;
46 - tables:columnIndex "3"^^xsd:int .
47 -
48 -ss:flowQualifier
49 - rdf:type owl:DatatypeProperty ;
50 - rdfs:domain ss:flow-facts ;
51 - rdfs:label "FlowQualifier" ;
52 - rdfs:range xsd:string ;
53 - tables:columnIndex "5"^^xsd:int .
54 -
55 -ss:flowUID
56 - rdf:type owl:DatatypeProperty ;
57 - rdfs:domain ss:flow-facts ;
58 - rdfs:label "FlowUID" ;
59 - rdfs:range xsd:string ;
60 - tables:columnIndex "2"^^xsd:int .
1 +[FieldNPDName] FieldNPDID FlowInOutFacilityName FlowInOutFacilityType FlowInOutFacilityNameSystem FlowUID FlowName FlowKind FlowQualifier
2 +TRYM 18081500 3/7-A-1 AH mpr:RF_wellbore NPD TRY_WB_A1_AH_ALLOCATED_PROD_VOLUMES 3/7-A-1 AH allocated production volumes mpr:RF_production mpr:FQ_allocated
3 +TRYM 18081500 3/7-A-1 AH mpr:RF_wellbore NPD TRY_WB_A1_AH_ALLOCATED_INJ_VOLUMES 3/7-A-1 AH allocated injection volumes mpr:RF_injection mpr:FQ_allocated
4 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_GAS_INJECTION_TOT Trym injected gas mpr:RF_injection mpr:FQ_allocated
5 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_CHEMICAL_INJECTION Trym injection of chemicals mpr:RF_injection mpr:FQ_measured
6 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_FISCAL_FIELD_VOLUMES Trym measured total volumes mpr:RF_production mpr:FQ_metered-fiscal
7 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FUEL_DRILLING Trym consumed drilling fuel mpr:RF_consume-fuel mpr:FQ_allocated
8 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FUEL_WAT_INJ Trym consumed water injection fuel mpr:RF_consume-fuel mpr:FQ_allocated
9 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_SALEABLE_PRODUCTION Trym saleable volumes mpr:RF_production mpr:FQ_saleable
10 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FLARE_EXCESS Trym consumed excess flare mpr:RF_consume-flare mpr:FQ_allocated
11 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_ALLOCATED_PRODUCTION Trym allocated volumes mpr:RF_production mpr:FQ_allocated
12 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FLARE_TOT Trym consumed flare excluding excess flare mpr:RF_consume-flare mpr:FQ_allocated
13 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FUEL_TOT Trym consumed total fuel mpr:RF_consume-fuel mpr:FQ_allocated
14 +TRYM 18081500 3/7-A-2 H mpr:RF_wellbore NPD TRY_WB_A2_H_ALLOCATED_INJ_VOLUMES 3/7-A-2 H allocated injection volumes mpr:RF_injection mpr:FQ_allocated
15 +TRYM 18081500 3/7-A-2 H mpr:RF_wellbore NPD TRY_WB_A2_H_ALLOCATED_PROD_VOLUMES 3/7-A-2 H allocated production volumes mpr:RF_production mpr:FQ_allocated
16 +TRYM 18081500 Fiscal metering station 1 mpr:RF_flowmeter DONG TRY_MPM1_FISCAL_VOLUMES Trym MPM1 measured volumes mpr:RF_production mpr:FQ_metered-fiscal
17 +TRYM 18081500 TRYM compressor D32 mpr:RF_compressor DONG TRY_COMPRESSOR_D32_VOLUMES Trym compressor D32 measured volumes mpr:RF_production mpr:FQ_metered-fiscal
18 +TRYM 18081500 TRYM compressor D34 mpr:RF_compressor DONG TRY_COMPRESSOR_D34_VOLUMES Trym compressor D34 measured volumes mpr:RF_production mpr:FQ_metered-fiscal
19 +TRYM 18081500 MPD2 mpr:RF_flowmeter DONG TRY_MPM2_FISCAL_VOLUMES Trym MPM2 measured volumes mpr:RF_production mpr:FQ_metered-fiscal
20 +TRYM 18081500 MPD5 mpr:RF_flowmeter DONG TRY_MPD5_FISCAL_VOLUMES Trym MPD5 measured volumes mpr:RF_production mpr:FQ_metered-fiscal
1 +@prefix tables: <http://topbraid.org/tables#> .
2 +
3 +<file:///www.reportinghub.no/test/flow_facts/data/trym-dpr2-flow-fact-ss.tsv.semtables>
4 + a <http://www.w3.org/2002/07/owl#Ontology> ;
5 + tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
6 + <http://www.w3.org/2002/07/owl#imports>
7 + <http://topbraid.org/tables> .
1 -@prefix tables: <http://topbraid.org/tables#> .
2 -
3 -<file:///www.reportinghub.no/test/flow_facts/data/trym-flow-facts.xls.semtables>
4 - a <http://www.w3.org/2002/07/owl#Ontology> ;
5 - tables:imports <file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema> ;
6 - <http://www.w3.org/2002/07/owl#imports>
7 - <http://topbraid.org/tables> .
1 +[FieldNPDName] FieldNPDID FlowInOutFacilityName FlowInOutFacilityType FlowInOutFacilityNameSystem FlowUID FlowName FlowKind FlowQualifier
2 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_ALLOCATED_PRODUCTION Trym allocated volumes mpr:RF_production mpr:FQ_allocated
3 +TRYM 18081500 TRYM mpr:RF_field NPD TRY_SALEABLE_PRODUCTION Trym saleable volumes mpr:RF_production mpr:FQ_saleable
4 +TRYM 18081500 3/7-A-1 AH mpr:RF_wellbore NPD TRY_WB_7A1_AH_ALLOCATED_PROD_VOLUMES 3/7-A-1 AH allocated production volumes mpr:RF_production mpr:FQ_allocated
5 +TRYM 18081500 3/7-A-2 H mpr:RF_wellbore NPD TRY_WB_7A2_H_ALLOCATED_PROD_VOLUMES 3/7-A-2 H allocated production volumes mpr:RF_production mpr:FQ_allocated
6 +TRYM 18081500 FREDERICIA mpr:RF_terminal NPD FRED_ALLOCATED_HYDROCOUNT Fredericia allocated hydrocarbon counting lifted by tanker mpr:RF_hydrocarbonaccounting mpr:FQ_allocated
7 +TRYM 18081500 FREDERICIA mpr:RF_terminal NPD FRED_ALLLOCATED_INVENTORY Fredericia allocated inventory volumes mpr:RF_inventory mpr:FQ_allocated
8 +TRYM 18081500 NYBRO mpr:RF_terminal NPD NYBRO_ALLOCATED_GAS_SALES Nybro allocated gas sales mpr:RF_sale mpr:FQ_allocated
1 +@prefix tables: <http://topbraid.org/tables#> .
2 +
3 +<file:///www.reportinghub.no/test/flow_facts/data/trym-mprg-flow-fact-ss.tsv.semtables>
4 + a <http://www.w3.org/2002/07/owl#Ontology> ;
5 + tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
6 + <http://www.w3.org/2002/07/owl#imports>
7 + <http://topbraid.org/tables> .
1 -# baseURI: http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2 1 +# baseURI: http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema
2 # imports: http://topbraid.org/tables 2 # imports: http://topbraid.org/tables
3 3
4 @prefix owl: <http://www.w3.org/2002/07/owl#> . 4 @prefix owl: <http://www.w3.org/2002/07/owl#> .
5 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 5 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 6 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7 -@prefix ss: <http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2#> . 7 +@prefix ss: <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#> .
8 @prefix tables: <http://topbraid.org/tables#> . 8 @prefix tables: <http://topbraid.org/tables#> .
9 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 9 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
10 10
11 -<http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2> 11 +<http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema>
12 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
13 owl:imports <http://topbraid.org/tables> . 13 owl:imports <http://topbraid.org/tables> .
14 14
15 ss:FieldNPDName 15 ss:FieldNPDName
16 rdf:type owl:DatatypeProperty ; 16 rdf:type owl:DatatypeProperty ;
17 - rdfs:domain ss:flow-fact ; 17 + rdfs:domain ss:fact ;
18 rdfs:label "[FieldNPDName]" ; 18 rdfs:label "[FieldNPDName]" ;
19 rdfs:range xsd:string ; 19 rdfs:range xsd:string ;
20 tables:columnIndex "0"^^xsd:int . 20 tables:columnIndex "0"^^xsd:int .
21 21
22 +ss:fact
23 + rdf:type owl:Class ;
24 + rdfs:label "fact"^^xsd:string ;
25 + tables:sheetIndex "0"^^xsd:int .
26 +
22 ss:fieldNPDID 27 ss:fieldNPDID
23 rdf:type owl:DatatypeProperty ; 28 rdf:type owl:DatatypeProperty ;
24 - rdfs:domain ss:flow-fact ; 29 + rdfs:domain ss:fact ;
25 rdfs:label "FieldNPDID" ; 30 rdfs:label "FieldNPDID" ;
26 rdfs:range xsd:string ; 31 rdfs:range xsd:string ;
27 tables:columnIndex "1"^^xsd:int . 32 tables:columnIndex "1"^^xsd:int .
28 33
29 -ss:flow-fact
30 - rdf:type owl:Class ;
31 - rdfs:label "flow-fact-updated" ;
32 - tables:sheetIndex "0"^^xsd:int .
33 -
34 ss:flowInOutFacilityName 34 ss:flowInOutFacilityName
35 rdf:type owl:DatatypeProperty ; 35 rdf:type owl:DatatypeProperty ;
36 - rdfs:domain ss:flow-fact ; 36 + rdfs:domain ss:fact ;
37 rdfs:label "FlowInOutFacilityName" ; 37 rdfs:label "FlowInOutFacilityName" ;
38 rdfs:range xsd:string ; 38 rdfs:range xsd:string ;
39 tables:columnIndex "2"^^xsd:int . 39 tables:columnIndex "2"^^xsd:int .
40 40
41 ss:flowInOutFacilityNameSystem 41 ss:flowInOutFacilityNameSystem
42 rdf:type owl:DatatypeProperty ; 42 rdf:type owl:DatatypeProperty ;
43 - rdfs:domain ss:flow-fact ; 43 + rdfs:domain ss:fact ;
44 rdfs:label "FlowInOutFacilityNameSystem" ; 44 rdfs:label "FlowInOutFacilityNameSystem" ;
45 rdfs:range xsd:string ; 45 rdfs:range xsd:string ;
46 + tables:columnIndex "4"^^xsd:int .
47 +
48 +ss:flowInOutFacilityType
49 + rdf:type owl:DatatypeProperty ;
50 + rdfs:domain ss:fact ;
51 + rdfs:label "FlowInOutFacilityType" ;
52 + rdfs:range xsd:string ;
46 tables:columnIndex "3"^^xsd:int . 53 tables:columnIndex "3"^^xsd:int .
47 54
48 ss:flowKind 55 ss:flowKind
49 rdf:type owl:DatatypeProperty ; 56 rdf:type owl:DatatypeProperty ;
50 - rdfs:domain ss:flow-fact ; 57 + rdfs:domain ss:fact ;
51 rdfs:label "FlowKind" ; 58 rdfs:label "FlowKind" ;
52 rdfs:range xsd:string ; 59 rdfs:range xsd:string ;
53 - tables:columnIndex "6"^^xsd:int . 60 + tables:columnIndex "7"^^xsd:int .
54 61
55 ss:flowName 62 ss:flowName
56 rdf:type owl:DatatypeProperty ; 63 rdf:type owl:DatatypeProperty ;
57 - rdfs:domain ss:flow-fact ; 64 + rdfs:domain ss:fact ;
58 rdfs:label "FlowName" ; 65 rdfs:label "FlowName" ;
59 rdfs:range xsd:string ; 66 rdfs:range xsd:string ;
60 - tables:columnIndex "5"^^xsd:int . 67 + tables:columnIndex "6"^^xsd:int .
61 68
62 ss:flowQualifier 69 ss:flowQualifier
63 rdf:type owl:DatatypeProperty ; 70 rdf:type owl:DatatypeProperty ;
64 - rdfs:domain ss:flow-fact ; 71 + rdfs:domain ss:fact ;
65 rdfs:label "FlowQualifier" ; 72 rdfs:label "FlowQualifier" ;
66 rdfs:range xsd:string ; 73 rdfs:range xsd:string ;
67 - tables:columnIndex "7"^^xsd:int . 74 + tables:columnIndex "8"^^xsd:int .
68 75
69 ss:flowUID 76 ss:flowUID
70 rdf:type owl:DatatypeProperty ; 77 rdf:type owl:DatatypeProperty ;
71 - rdfs:domain ss:flow-fact ; 78 + rdfs:domain ss:fact ;
72 rdfs:label "FlowUID" ; 79 rdfs:label "FlowUID" ;
73 rdfs:range xsd:string ; 80 rdfs:range xsd:string ;
74 - tables:columnIndex "4"^^xsd:int . 81 + tables:columnIndex "5"^^xsd:int .
......
1 -# baseURI: null
2 -
3 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 -@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 -@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 visual: <http://topbraid.org/visual#> .
10 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 -
12 -<http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2#flow-fact>
13 - forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2#flowInOutFacilityName> <http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2#flowInOutFacilityNameSystem>) .
14 -
15 -[] rdf:type inference:Configuration ;
16 - composite:child
17 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
18 - <http://spinrdf.org/spin#topSPINOptions>
19 - "singlePass" ;
20 - composite:index "0"^^xsd:int
21 - ] .
...@@ -9,12 +9,19 @@ ...@@ -9,12 +9,19 @@
9 @prefix visual: <http://topbraid.org/visual#> . 9 @prefix visual: <http://topbraid.org/visual#> .
10 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 10 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 11
12 +<http://www.reportinghub.no/ep/schema/facility#SubSurfaceFixedFacility>
13 + forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/np/schema/npd#name>) .
14 +
15 +<http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility>
16 + forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/np/schema/npd#name>) .
17 +
18 +<http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#fact>
19 + forms:keyProperties (<http://www.reportinghub.no/np/schema/npd#name> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#flowInOutFacilityType> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#flowInOutFacilityName> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#flowKind> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#flowQualifier> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#flowName> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#flowUID> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#FieldNPDName> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#flowInOutFacilityNameSystem> <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#fieldNPDID>) .
20 +
12 [] rdf:type inference:Configuration ; 21 [] rdf:type inference:Configuration ;
13 composite:child 22 composite:child
14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 23 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 <http://spinrdf.org/spin#topSPINOptions> 24 <http://spinrdf.org/spin#topSPINOptions>
16 "singlePass" ; 25 "singlePass" ;
17 composite:index "0"^^xsd:int 26 composite:index "0"^^xsd:int
18 - ] ; 27 + ] .
19 - inference:completeMode
20 - "true"^^xsd:boolean .
......
1 +# baseURI: http://www.reportinghub.no/test/flow_facts/transform/mprxml-read
2 +# imports: http://www.epim.no/schemas/mprml/1
3 +
4 +@prefix mprxml-read: <http://www.reportinghub.no/test/flow_facts/transform/mprxml-read#> .
5 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
6 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
7 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
9 +
10 +<http://www.reportinghub.no/test/flow_facts/transform/mprxml-read>
11 + rdf:type owl:Ontology ;
12 + owl:imports <http://www.epim.no/schemas/mprml/1> ;
13 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 -SELECT ?FieldNPDName ?FieldNPDID ?FlowInOutFacilityName ?FlowInOutFacilityNameSystem ?FlowUID ?FlowName ?FlowKind ?FlowQualifier 1 +SELECT ?FieldNPDName ?FieldNPDID ?FlowInOutFacilityName ?FlowInOutFacilityType ?FlowInOutFacilityNameSystem ?FlowUID ?FlowName ?FlowKind ?FlowQualifier
2 WHERE { 2 WHERE {
3 ?obj_productvolume rdf:type mpr:Obj_productVolume . 3 ?obj_productvolume rdf:type mpr:Obj_productVolume .
4 ?obj_productvolume mpr:facilityRef ?cs_productvolumefacility . 4 ?obj_productvolume mpr:facilityRef ?cs_productvolumefacility .
...@@ -13,6 +13,7 @@ WHERE { ...@@ -13,6 +13,7 @@ WHERE {
13 ?cs_productvolumefacility mpr:nameRef ?cs_productvolumefacilityname. 13 ?cs_productvolumefacility mpr:nameRef ?cs_productvolumefacilityname.
14 ?cs_productvolumefacilityname mpr:namingSystem ?FlowInOutFacilityNameSystem . 14 ?cs_productvolumefacilityname mpr:namingSystem ?FlowInOutFacilityNameSystem .
15 ?cs_productvolumefacilityname dtype:value ?FlowInOutFacilityName . 15 ?cs_productvolumefacilityname dtype:value ?FlowInOutFacilityName .
16 + ?cs_productvolumefacilityname mpr:kindRef ?FlowInOutFacilityType .
16 17
17 ?cs_productvolumefacility mpr:flowRef ?cs_productvolumeflow . 18 ?cs_productvolumefacility mpr:flowRef ?cs_productvolumeflow .
18 ?cs_productvolumeflow rdf:type mpr:Cs_productVolumeFlow . 19 ?cs_productvolumeflow rdf:type mpr:Cs_productVolumeFlow .
......