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
# 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/ep/schema/flow#WholeLifeFlow>
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 {
?report ep-report:reportOn ?temporalpartofaproductionfacility .
?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility .
?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility .
GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
?productionfacility rdf:type ep-fac:Field .
?productionfacility npd:name ?reportedFieldName .
?productionfacility npd:name ?reportedFieldName . }
}}"
>
......@@ -34,10 +35,11 @@ WHERE {
?reportIssueActivity ep-report:issuedReport ?report .
?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState .
?submittingFieldState ep-core:temporalPartOf ?submittingField .
?submittingField npd:name ?submittingFieldName .
GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
?submittingField npd:name ?submittingFieldName . }
} }</h2>
<h3>Format Last Modified 2013-08-12</h3>
<!-- <ui:forEach ui:resultSet="{#
SELECT
......
......@@ -8,8 +8,9 @@ WHERE {
?report ep-report:reportOn ?temporalpartofaproductionfacility .
?temporalpartofaproductionfacility rdf:type ep-fac:TemporalPartOfAProductionFacility .
?temporalpartofaproductionfacility ep-core:temporalPartOf ?productionfacility .
?productionfacility rdf:type ep-fac:Field .
?productionfacility npd:name ?reportedFieldName .
GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
?productionfacility rdf:type ep-fac:Field .
?productionfacility npd:name ?reportedFieldName . }
}}"
>
......@@ -30,7 +31,8 @@ WHERE {
?reportIssueActivity ep-report:issuedReport ?report .
?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState .
?submittingFieldState ep-core:temporalPartOf ?submittingField .
?submittingField npd:name ?submittingFieldName .
GRAPH &lt;http://www.reportinghub.no/np/data/npd&gt; {
?submittingField npd:name ?submittingFieldName . }
} }</h2>
......
......@@ -10,7 +10,7 @@ YTTERGRYTA 4973114 YTTERGRYTA mpr:RF_field NPD YTTGYT_SALEABLE_PRODUCTION Ytterg
SGARD 43765 SGARD mpr:RF_field NPD ASG_ALLOCATED_TANKLIFT sgard allocated tanker lifting lifted by tanker mpr:RF_hydrocarbonaccounting mpr:FQ_saleable
SGARD 43765 MIKKEL mpr:RF_field NPD MIKKEL_ALLOCATED_INVENTORY_TOT Mikkel total allocated inventory mpr:RF_inventory mpr:FQ_allocated
SGARD 43765 MORVIN mpr:RF_field NPD MORVIN_ALLOCATED_INVENTORY_TOT Morvin allocated inventory mpr:RF_inventory mpr:FQ_allocated
SGARD 43765 SGARD mpr:RF_field-group NPD ASG_INVENTORY sgard inventory mpr:RF_inventory mpr:FQ_allocated
SGARD 43765 SGARD mpr:RF_field-group STATOIL ASG_INVENTORY sgard inventory mpr:RF_inventory mpr:FQ_allocated
SGARD 43765 SGARD mpr:RF_field NPD ASG_ALLOCATED_INVENTORY_TOT sgard total allocated inventory mpr:RF_inventory mpr:FQ_allocated
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
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 @@
sp:subject
[ sp:varName "flowuri"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowuri"^^xsd:string
]
] [ sp:object
[ sp:varName "npdfield"^^xsd:string
] ;
......@@ -142,6 +147,11 @@
sp:subject
[ sp:varName "flowuri"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeInventory> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowuri"^^xsd:string
]
] [ sp:object
[ sp:varName "npdfield"^^xsd:string
] ;
......
......@@ -24,4 +24,6 @@
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] .
] ;
inference:completeMode
"true"^^xsd:boolean .
......
# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/data/erh
# imports: http://www.reportinghub.no/ep/spin/prod-property
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://www.reportinghub.no/np/data/npd
@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> .
@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
@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#> .
@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#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest>
rdf:type owl:Ontology ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# 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#> .
[] 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 .