David Price

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

Showing 25 changed files with 114 additions and 116 deletions
This diff could not be displayed because it is too large.
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 .
......