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
rdfs:subClassOf ep-flow:Flow .
ep-flow:ExportFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that leaves a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ;
rdfs:label "export"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -254,49 +254,49 @@ ep-flow:Flow
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:FlowAtInstant
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that is at an instant in time"^^xsd:string ;
rdfs:label "flow at instant"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:FlowDuringDay
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that is during a day"^^xsd:string ;
rdfs:label "flow during day"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringMonth
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that is during a month"^^xsd:string ;
rdfs:label "flow during month"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringMonthToDate
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that exists from the beginning of a month to a point in time within it"^^xsd:string ;
rdfs:label "flow during month to date"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringPeriod
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that is during a period of time"^^xsd:string ;
rdfs:label "flow during period"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:FlowDuringWeek
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that is during a week"^^xsd:string ;
rdfs:label "flow during week"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringYear
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that is during a year"^^xsd:string ;
rdfs:label "flow during year"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
ep-flow:FlowDuringYearToDate
rdf:type owl:Class ;
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
rdfs:comment "flow that exists from the beginning of a year to a point in time within it"^^xsd:string ;
rdfs:label "flow during year to date"^^xsd:string ;
rdfs:subClassOf ep-flow:FlowDuringPeriod .
......@@ -344,7 +344,7 @@ ep-flow:ForecastFlow-standard
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:GasLiftFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
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 ;
rdfs:label "gas lift flow"^^xsd:string ;
rdfs:subClassOf ep-flow:InjectionFlow .
......@@ -356,13 +356,13 @@ ep-flow:GrossProductFlow
rdfs:subClassOf ep-flow:ProductFlow .
ep-flow:HydrocarbonAccountingFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
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 ;
rdfs:label "hydrocarbon accounting"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ImportFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that enters a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ;
rdfs:label "import"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -434,7 +434,7 @@ ep-flow:NominatedFlow
rdfs:subClassOf ep-flow:Flow .
ep-flow:OverboardFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is overboard into the sea (source: MPR-XSD)"^^xsd:string ;
rdfs:label "overboard"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -530,7 +530,7 @@ ep-flow:ProductMaterialType
rdfs:subClassOf owl:Class .
ep-flow:ProductionExploitation
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is exploited from a reservoir. This is independent of any disposition. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "production exploitation"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -671,6 +671,10 @@ ep-flow:TemporalPartDurationType
rdfs:label "temporal part duration type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-flow:TemporalPartOfAFlowDurationType
rdf:type rdfs:Class ;
rdfs:subClassOf owl:Class .
ep-flow:ValueAdjustedFlow
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that <not documented in XSD>"^^xsd:string ;
......@@ -834,7 +838,7 @@ ep-flow:horizontalDirectionAzimuth
rdfs:range ep-core:PlaneAngle .
ep-flow:massAtAccountingInstant
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "mass that is at the accounting instant for an inventory during a period"^^xsd:string ;
rdfs:domain ep-flow:Inventory ;
rdfs:label "mass at accounting instant"^^xsd:string ;
......
......@@ -102,7 +102,7 @@ mpr-tables:Cargo
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
......@@ -608,7 +608,7 @@ mpr-tables:CargoOwnership
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
......@@ -1216,7 +1216,7 @@ mpr-tables:GasSales
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowToSale> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
......@@ -2009,14 +2009,14 @@ mpr-tables:ProductionFlowsAll
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowToSale> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
......@@ -3893,7 +3893,7 @@ mpr-tables:WellProductionFlows
[ sp:varName "productionFlowWhole"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowToSale> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
......
This diff is collapsed. Click to expand it.
@prefix tables: <http://topbraid.org/tables#> .
<file:///www.reportinghub.no/test/flow_facts/data/asgard-flow-facts.tsv.semtables>
<file:///www.reportinghub.no/test/flow_facts/data/asgard-dpr2-flow-fact-ss.tsv.semtables>
a <http://www.w3.org/2002/07/owl#Ontology> ;
tables:imports <file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema> ;
tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
<http://www.w3.org/2002/07/owl#imports>
<http://topbraid.org/tables> .
......
@prefix tables: <http://topbraid.org/tables#> .
<file:///www.reportinghub.no/test/flow_facts/data/flow-fact-updated.tsv.semtables>
<file:///www.reportinghub.no/test/flow_facts/data/asgard-mprg-flow-fact-ss.tsv.semtables>
a <http://www.w3.org/2002/07/owl#Ontology> ;
tables:imports <http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2> ;
tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
<http://www.w3.org/2002/07/owl#imports>
<http://topbraid.org/tables> .
......
# baseURI: http://www.reportinghub.no/test/flow_facts/data/flow-fact-collector
# imports: file:///www.reportinghub.no/test/flow_facts/data/asgard-dpr2-flow-fact-ss.tsv
# imports: file:///www.reportinghub.no/test/flow_facts/data/asgard-mprg-flow-fact-ss.tsv
# imports: file:///www.reportinghub.no/test/flow_facts/data/trym-dpr2-flow-fact-ss.tsv
# imports: file:///www.reportinghub.no/test/flow_facts/data/trym-mprg-flow-fact-ss.tsv
@prefix flow-fact-collector: <http://www.reportinghub.no/test/flow_facts/data/flow-fact-collector#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/test/flow_facts/data/flow-fact-collector>
rdf:type owl:Ontology ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema
# imports: http://topbraid.org/tables
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ss: <file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema#> .
@prefix tables: <http://topbraid.org/tables#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
ss:FieldNPDName
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-facts ;
rdfs:label "FieldNPDName"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
ss:fieldNPDID
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-facts ;
rdfs:label "FieldNPDID" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
ss:flow-facts
rdf:type owl:Class ;
rdfs:label "flow-facts"^^xsd:string ;
tables:sheetIndex "0"^^xsd:int .
ss:flowKind
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-facts ;
rdfs:label "FlowKind" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
ss:flowName
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-facts ;
rdfs:label "FlowName" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
ss:flowQualifier
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-facts ;
rdfs:label "FlowQualifier" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
ss:flowUID
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-facts ;
rdfs:label "FlowUID" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
[FieldNPDName] FieldNPDID FlowInOutFacilityName FlowInOutFacilityType FlowInOutFacilityNameSystem FlowUID FlowName FlowKind FlowQualifier
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
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
TRYM 18081500 TRYM mpr:RF_field NPD TRY_GAS_INJECTION_TOT Trym injected gas mpr:RF_injection mpr:FQ_allocated
TRYM 18081500 TRYM mpr:RF_field NPD TRY_CHEMICAL_INJECTION Trym injection of chemicals mpr:RF_injection mpr:FQ_measured
TRYM 18081500 TRYM mpr:RF_field NPD TRY_FISCAL_FIELD_VOLUMES Trym measured total volumes mpr:RF_production mpr:FQ_metered-fiscal
TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FUEL_DRILLING Trym consumed drilling fuel mpr:RF_consume-fuel mpr:FQ_allocated
TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FUEL_WAT_INJ Trym consumed water injection fuel mpr:RF_consume-fuel mpr:FQ_allocated
TRYM 18081500 TRYM mpr:RF_field NPD TRY_SALEABLE_PRODUCTION Trym saleable volumes mpr:RF_production mpr:FQ_saleable
TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FLARE_EXCESS Trym consumed excess flare mpr:RF_consume-flare mpr:FQ_allocated
TRYM 18081500 TRYM mpr:RF_field NPD TRY_ALLOCATED_PRODUCTION Trym allocated volumes mpr:RF_production mpr:FQ_allocated
TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FLARE_TOT Trym consumed flare excluding excess flare mpr:RF_consume-flare mpr:FQ_allocated
TRYM 18081500 TRYM mpr:RF_field NPD TRY_CONSUME_FUEL_TOT Trym consumed total fuel mpr:RF_consume-fuel mpr:FQ_allocated
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
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
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
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
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
TRYM 18081500 MPD2 mpr:RF_flowmeter DONG TRY_MPM2_FISCAL_VOLUMES Trym MPM2 measured volumes mpr:RF_production mpr:FQ_metered-fiscal
TRYM 18081500 MPD5 mpr:RF_flowmeter DONG TRY_MPD5_FISCAL_VOLUMES Trym MPD5 measured volumes mpr:RF_production mpr:FQ_metered-fiscal
@prefix tables: <http://topbraid.org/tables#> .
<file:///www.reportinghub.no/test/flow_facts/data/trym-dpr2-flow-fact-ss.tsv.semtables>
a <http://www.w3.org/2002/07/owl#Ontology> ;
tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
<http://www.w3.org/2002/07/owl#imports>
<http://topbraid.org/tables> .
@prefix tables: <http://topbraid.org/tables#> .
<file:///www.reportinghub.no/test/flow_facts/data/trym-flow-facts.xls.semtables>
a <http://www.w3.org/2002/07/owl#Ontology> ;
tables:imports <file:///www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema> ;
<http://www.w3.org/2002/07/owl#imports>
<http://topbraid.org/tables> .
[FieldNPDName] FieldNPDID FlowInOutFacilityName FlowInOutFacilityType FlowInOutFacilityNameSystem FlowUID FlowName FlowKind FlowQualifier
TRYM 18081500 TRYM mpr:RF_field NPD TRY_ALLOCATED_PRODUCTION Trym allocated volumes mpr:RF_production mpr:FQ_allocated
TRYM 18081500 TRYM mpr:RF_field NPD TRY_SALEABLE_PRODUCTION Trym saleable volumes mpr:RF_production mpr:FQ_saleable
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
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
TRYM 18081500 FREDERICIA mpr:RF_terminal NPD FRED_ALLOCATED_HYDROCOUNT Fredericia allocated hydrocarbon counting lifted by tanker mpr:RF_hydrocarbonaccounting mpr:FQ_allocated
TRYM 18081500 FREDERICIA mpr:RF_terminal NPD FRED_ALLLOCATED_INVENTORY Fredericia allocated inventory volumes mpr:RF_inventory mpr:FQ_allocated
TRYM 18081500 NYBRO mpr:RF_terminal NPD NYBRO_ALLOCATED_GAS_SALES Nybro allocated gas sales mpr:RF_sale mpr:FQ_allocated
@prefix tables: <http://topbraid.org/tables#> .
<file:///www.reportinghub.no/test/flow_facts/data/trym-mprg-flow-fact-ss.tsv.semtables>
a <http://www.w3.org/2002/07/owl#Ontology> ;
tables:imports <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema> ;
<http://www.w3.org/2002/07/owl#imports>
<http://topbraid.org/tables> .
# baseURI: http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2
# baseURI: http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema
# imports: http://topbraid.org/tables
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ss: <http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2#> .
@prefix ss: <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#> .
@prefix tables: <http://topbraid.org/tables#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2>
<http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
ss:FieldNPDName
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "[FieldNPDName]" ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
ss:fact
rdf:type owl:Class ;
rdfs:label "fact"^^xsd:string ;
tables:sheetIndex "0"^^xsd:int .
ss:fieldNPDID
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "FieldNPDID" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
ss:flow-fact
rdf:type owl:Class ;
rdfs:label "flow-fact-updated" ;
tables:sheetIndex "0"^^xsd:int .
ss:flowInOutFacilityName
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "FlowInOutFacilityName" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
ss:flowInOutFacilityNameSystem
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "FlowInOutFacilityNameSystem" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
ss:flowInOutFacilityType
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:fact ;
rdfs:label "FlowInOutFacilityType" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
ss:flowKind
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "FlowKind" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
tables:columnIndex "7"^^xsd:int .
ss:flowName
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "FlowName" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
tables:columnIndex "6"^^xsd:int .
ss:flowQualifier
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "FlowQualifier" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
tables:columnIndex "8"^^xsd:int .
ss:flowUID
rdf:type owl:DatatypeProperty ;
rdfs:domain ss:flow-fact ;
rdfs:domain ss:fact ;
rdfs:label "FlowUID" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
tables:columnIndex "5"^^xsd:int .
......
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/test/flow_facts/data/flow-facts-ss-schema2#flow-fact>
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>) .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] .
......@@ -9,12 +9,19 @@
@prefix visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/facility#SubSurfaceFixedFacility>
forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/np/schema/npd#name>) .
<http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility>
forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/np/schema/npd#name>) .
<http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#fact>
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>) .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean .
] .
......
# baseURI: http://www.reportinghub.no/test/flow_facts/transform/mprxml-read
# imports: http://www.epim.no/schemas/mprml/1
@prefix mprxml-read: <http://www.reportinghub.no/test/flow_facts/transform/mprxml-read#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/test/flow_facts/transform/mprxml-read>
rdf:type owl:Ontology ;
owl:imports <http://www.epim.no/schemas/mprml/1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
SELECT ?FieldNPDName ?FieldNPDID ?FlowInOutFacilityName ?FlowInOutFacilityNameSystem ?FlowUID ?FlowName ?FlowKind ?FlowQualifier
SELECT ?FieldNPDName ?FieldNPDID ?FlowInOutFacilityName ?FlowInOutFacilityType ?FlowInOutFacilityNameSystem ?FlowUID ?FlowName ?FlowKind ?FlowQualifier
WHERE {
?obj_productvolume rdf:type mpr:Obj_productVolume .
?obj_productvolume mpr:facilityRef ?cs_productvolumefacility .
......@@ -13,6 +13,7 @@ WHERE {
?cs_productvolumefacility mpr:nameRef ?cs_productvolumefacilityname.
?cs_productvolumefacilityname mpr:namingSystem ?FlowInOutFacilityNameSystem .
?cs_productvolumefacilityname dtype:value ?FlowInOutFacilityName .
?cs_productvolumefacilityname mpr:kindRef ?FlowInOutFacilityType .
?cs_productvolumefacility mpr:flowRef ?cs_productvolumeflow .
?cs_productvolumeflow rdf:type mpr:Cs_productVolumeFlow .
......