David Price

Added GRAPH npd to SWP HTML for MPRG and MPRPG, regen up ERH facts

Showing 19 changed files with 24 additions and 65 deletions
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/ep/schema/flow#WholeLifeFlow>
13 - forms:keyProperties (<http://www.reportinghub.no/ep/schema/erhfacts#id>) .
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
...@@ -8,8 +8,9 @@ WHERE { ...@@ -8,8 +8,9 @@ WHERE {
8 ?report ep-report:reportOn ?temporalpartofaproductionfacility . 8 ?report ep-report:reportOn ?temporalpartofaproductionfacility .
9 ?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility . 9 ?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility .
10 ?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility . 10 ?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility .
11 + GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
11 ?productionfacility rdf:type ep-fac:Field . 12 ?productionfacility rdf:type ep-fac:Field .
12 - ?productionfacility npd:name ?reportedFieldName . 13 + ?productionfacility npd:name ?reportedFieldName . }
13 }}" 14 }}"
14 > 15 >
15 16
...@@ -34,10 +35,11 @@ WHERE { ...@@ -34,10 +35,11 @@ WHERE {
34 ?reportIssueActivity ep-report:issuedReport ?report . 35 ?reportIssueActivity ep-report:issuedReport ?report .
35 ?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState . 36 ?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState .
36 ?submittingFieldState ep-core:temporalPartOf ?submittingField . 37 ?submittingFieldState ep-core:temporalPartOf ?submittingField .
37 -?submittingField npd:name ?submittingFieldName . 38 +GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
39 +?submittingField npd:name ?submittingFieldName . }
38 40
39 } }</h2> 41 } }</h2>
40 -<h3>Format Last Modified 2013-08-12</h3> 42 +
41 43
42 <!-- <ui:forEach ui:resultSet="{# 44 <!-- <ui:forEach ui:resultSet="{#
43 SELECT 45 SELECT
......
...@@ -8,8 +8,9 @@ WHERE { ...@@ -8,8 +8,9 @@ WHERE {
8 ?report ep-report:reportOn ?temporalpartofaproductionfacility . 8 ?report ep-report:reportOn ?temporalpartofaproductionfacility .
9 ?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility . 9 ?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility .
10 ?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility . 10 ?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility .
11 - ?productionfacility rdf:type ep-fac:Field . 11 + GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
12 - ?productionfacility npd:name ?reportedFieldName . 12 + ?productionfacility rdf:type ep-fac:Field .
13 + ?productionfacility npd:name ?reportedFieldName . }
13 }}" 14 }}"
14 15
15 > 16 >
...@@ -30,7 +31,8 @@ WHERE { ...@@ -30,7 +31,8 @@ WHERE {
30 ?reportIssueActivity ep-report:issuedReport ?report . 31 ?reportIssueActivity ep-report:issuedReport ?report .
31 ?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState . 32 ?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState .
32 ?submittingFieldState ep-core:temporalPartOf ?submittingField . 33 ?submittingFieldState ep-core:temporalPartOf ?submittingField .
33 -?submittingField npd:name ?submittingFieldName . 34 +GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
35 +?submittingField npd:name ?submittingFieldName . }
34 36
35 } }</h2> 37 } }</h2>
36 38
......
...@@ -10,7 +10,7 @@ YTTERGRYTA 4973114 YTTERGRYTA mpr:RF_field NPD YTTGYT_SALEABLE_PRODUCTION Ytterg ...@@ -10,7 +10,7 @@ YTTERGRYTA 4973114 YTTERGRYTA mpr:RF_field NPD YTTGYT_SALEABLE_PRODUCTION Ytterg
10 SGARD 43765 SGARD mpr:RF_field NPD ASG_ALLOCATED_TANKLIFT sgard allocated tanker lifting lifted by tanker mpr:RF_hydrocarbonaccounting mpr:FQ_saleable 10 SGARD 43765 SGARD mpr:RF_field NPD ASG_ALLOCATED_TANKLIFT sgard allocated tanker lifting lifted by tanker mpr:RF_hydrocarbonaccounting mpr:FQ_saleable
11 SGARD 43765 MIKKEL mpr:RF_field NPD MIKKEL_ALLOCATED_INVENTORY_TOT Mikkel total allocated inventory mpr:RF_inventory mpr:FQ_allocated 11 SGARD 43765 MIKKEL mpr:RF_field NPD MIKKEL_ALLOCATED_INVENTORY_TOT Mikkel total allocated inventory mpr:RF_inventory mpr:FQ_allocated
12 SGARD 43765 MORVIN mpr:RF_field NPD MORVIN_ALLOCATED_INVENTORY_TOT Morvin allocated inventory mpr:RF_inventory mpr:FQ_allocated 12 SGARD 43765 MORVIN mpr:RF_field NPD MORVIN_ALLOCATED_INVENTORY_TOT Morvin allocated inventory mpr:RF_inventory mpr:FQ_allocated
13 -SGARD 43765 SGARD mpr:RF_field-group NPD ASG_INVENTORY sgard inventory mpr:RF_inventory mpr:FQ_allocated 13 +SGARD 43765 SGARD mpr:RF_field-group STATOIL ASG_INVENTORY sgard inventory mpr:RF_inventory mpr:FQ_allocated
14 SGARD 43765 SGARD mpr:RF_field NPD ASG_ALLOCATED_INVENTORY_TOT sgard total allocated inventory mpr:RF_inventory mpr:FQ_allocated 14 SGARD 43765 SGARD mpr:RF_field NPD ASG_ALLOCATED_INVENTORY_TOT sgard total allocated inventory mpr:RF_inventory mpr:FQ_allocated
15 SGARD 43765 6506/12-H-4 H mpr:RF_wellbore NPD ASG_WB_12H4_H_ALLOCATED_PROD_VOLUMES 6506/12-H-4 H allocated production volumes mpr:RF_production mpr:FQ_allocated 15 SGARD 43765 6506/12-H-4 H mpr:RF_wellbore NPD ASG_WB_12H4_H_ALLOCATED_PROD_VOLUMES 6506/12-H-4 H allocated production volumes mpr:RF_production mpr:FQ_allocated
16 SGARD 43765 6506/12-M-1 H mpr:RF_wellbore NPD ASG_WB_12M1_H_ALLOCATED_PROD_VOLUMES 6506/12-M-1 H allocated production volumes mpr:RF_production mpr:FQ_allocated 16 SGARD 43765 6506/12-M-1 H mpr:RF_wellbore NPD ASG_WB_12M1_H_ALLOCATED_PROD_VOLUMES 6506/12-M-1 H allocated production volumes mpr:RF_production mpr:FQ_allocated
......
...@@ -33,6 +33,11 @@ ...@@ -33,6 +33,11 @@
33 sp:subject 33 sp:subject
34 [ sp:varName "flowuri"^^xsd:string 34 [ sp:varName "flowuri"^^xsd:string
35 ] 35 ]
36 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeFlow> ;
37 + sp:predicate rdf:type ;
38 + sp:subject
39 + [ sp:varName "flowuri"^^xsd:string
40 + ]
36 ] [ sp:object 41 ] [ sp:object
37 [ sp:varName "npdfield"^^xsd:string 42 [ sp:varName "npdfield"^^xsd:string
38 ] ; 43 ] ;
...@@ -142,6 +147,11 @@ ...@@ -142,6 +147,11 @@
142 sp:subject 147 sp:subject
143 [ sp:varName "flowuri"^^xsd:string 148 [ sp:varName "flowuri"^^xsd:string
144 ] 149 ]
150 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeInventory> ;
151 + sp:predicate rdf:type ;
152 + sp:subject
153 + [ sp:varName "flowuri"^^xsd:string
154 + ]
145 ] [ sp:object 155 ] [ sp:object
146 [ sp:varName "npdfield"^^xsd:string 156 [ sp:varName "npdfield"^^xsd:string
147 ] ; 157 ] ;
......
...@@ -24,4 +24,6 @@ ...@@ -24,4 +24,6 @@
24 <http://spinrdf.org/spin#topSPINOptions> 24 <http://spinrdf.org/spin#topSPINOptions>
25 "singlePass" ; 25 "singlePass" ;
26 composite:index "0"^^xsd:int 26 composite:index "0"^^xsd:int
27 - ] . 27 + ] ;
28 + inference:completeMode
29 + "true"^^xsd:boolean .
......
1 -# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest
2 -# imports: http://spinrdf.org/spin
3 -# imports: http://www.epim.no/schemas/mprml/1
4 -# imports: http://www.reportinghub.no/data/erh
5 -# imports: http://www.reportinghub.no/ep/spin/prod-property
6 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
7 -# imports: http://www.reportinghub.no/np/data/npd
8 -
9 -@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> .
10 -@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
11 -@prefix TRYM-MONTH_2012-02-01_final-mprg: <file:///www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/tqedits/TRYM-MONTH_2012-02-01_final-mprg.xml#> .
12 -@prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> .
13 -@prefix owl: <http://www.w3.org/2002/07/owl#> .
14 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
15 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
16 -@prefix sp: <http://spinrdf.org/sp#> .
17 -@prefix spin: <http://spinrdf.org/spin#> .
18 -@prefix spl: <http://spinrdf.org/spl#> .
19 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
20 -
21 -<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest>
22 - rdf:type owl:Ontology ;
23 - owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/data/erh> , <http://www.reportinghub.no/ep/spin/prod-property> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://www.reportinghub.no/np/data/npd> ;
24 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
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 -[] rdf:type inference:Configuration ;
13 - composite:child
14 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 - <http://spinrdf.org/spin#topSPINOptions>
16 - "singlePass" ;
17 - composite:index "0"^^xsd:int
18 - ] ;
19 - inference:completeMode
20 - "true"^^xsd:boolean .