David Price

Merge branch 'transformsteps'

This diff could not be displayed because it is too large.
......@@ -43,6 +43,9 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object "20201" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string
] ;
......@@ -109,12 +112,14 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^
sp:subject
[ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string
]
] [ sp:object
[ sp:varName "reportingFacilityType"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectRDFTypes ;
sp:arg1 [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string
]
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string
sp:variable
[ sp:varName "reportingFacilityType"^^xsd:string
]
])
] ;
......@@ -124,12 +129,18 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object "20202" ;
sp:predicate rdfs:comment ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object "20202" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
......@@ -475,6 +486,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object "20301a" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ;
sp:subject _:b5
] [ sp:object
[ sp:varName "wholeLifeProductionFlow"^^xsd:string
] ;
......@@ -1297,6 +1311,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object "20303a" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ;
sp:subject _:b7
] [ sp:object
[ sp:varName "wholeLifeProductionInventory"^^xsd:string
] ;
......@@ -1732,6 +1749,11 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
sp:subject
[ sp:varName "temporalPartOfAProductionInventory"^^xsd:string
]
] [ sp:object "20303e" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ;
sp:subject
[ sp:varName "temporalPartOfAProductionInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartDurationType"^^xsd:string
] ;
......@@ -2352,6 +2374,12 @@ Nothing is done with the namingSystem!"""^^xsd:string ;
sp:subject
[ sp:varName "facilityOfMeasurement"^^xsd:string
]
] [ sp:object "20330" ;
sp:predicate rdfs:comment ;
sp:subject _:b11
] [ sp:object "20330" ;
sp:predicate rdfs:comment ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
......@@ -2832,6 +2860,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object "20400e" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ;
sp:subject _:b13
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject _:b13
......@@ -3370,6 +3401,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b14
] [ sp:object "20401e" ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ;
sp:subject _:b14
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
......@@ -4779,6 +4813,13 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu
])
] .
ep-mpr-spin-lib:selectRDFTypes
spin:constraint
[ rdf:type spl:Argument ;
spl:predicate sp:arg1 ;
spl:valueType owl:Thing
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/erhfacts> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
......
# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoERHFacts
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/erhfacts
# 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-NoERHFacts#> .
@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
@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-NoERHFacts>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/erhfacts> , <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
] .
......@@ -8,6 +8,7 @@
@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts#> .
@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#> .
......
......@@ -15,4 +15,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-NoNPDFacts
# 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
@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoNPDFacts#> .
@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
@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-NoNPDFacts>
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> ;
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
] .
......@@ -8,6 +8,7 @@
@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#> .
......