Showing
12 changed files
with
51 additions
and
87 deletions
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
... | @@ -43,6 +43,9 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ | ... | @@ -43,6 +43,9 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ |
43 | ] ; | 43 | ] ; |
44 | sp:predicate rdf:type ; | 44 | sp:predicate rdf:type ; |
45 | sp:subject _:b1 | 45 | sp:subject _:b1 |
46 | + ] [ sp:object "20201" ; | ||
47 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
48 | + sp:subject _:b1 | ||
46 | ] [ sp:object | 49 | ] [ sp:object |
47 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | 50 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string |
48 | ] ; | 51 | ] ; |
... | @@ -109,12 +112,14 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ | ... | @@ -109,12 +112,14 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ |
109 | sp:subject | 112 | sp:subject |
110 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | 113 | [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string |
111 | ] | 114 | ] |
112 | - ] [ sp:object | 115 | + ] [ rdf:type sp:Bind ; |
113 | - [ sp:varName "reportingFacilityType"^^xsd:string | 116 | + sp:expression |
117 | + [ rdf:type ep-mpr-spin-lib:selectRDFTypes ; | ||
118 | + sp:arg1 [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | ||
119 | + ] | ||
114 | ] ; | 120 | ] ; |
115 | - sp:predicate rdf:type ; | 121 | + sp:variable |
116 | - sp:subject | 122 | + [ sp:varName "reportingFacilityType"^^xsd:string |
117 | - [ sp:varName "facilityAtWhichFlowIsMeasured"^^xsd:string | ||
118 | ] | 123 | ] |
119 | ]) | 124 | ]) |
120 | ] ; | 125 | ] ; |
... | @@ -124,12 +129,18 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ | ... | @@ -124,12 +129,18 @@ removed - where ?reportingFacilityType a ep-prodfac:ReportingFacilityType ."""^^ |
124 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 129 | sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
125 | sp:predicate rdf:type ; | 130 | sp:predicate rdf:type ; |
126 | sp:subject _:b2 | 131 | sp:subject _:b2 |
132 | + ] [ sp:object "20202" ; | ||
133 | + sp:predicate rdfs:comment ; | ||
134 | + sp:subject _:b2 | ||
127 | ] [ sp:object _:b3 ; | 135 | ] [ sp:object _:b3 ; |
128 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 136 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
129 | sp:subject _:b2 | 137 | sp:subject _:b2 |
130 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 138 | ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
131 | sp:predicate rdf:type ; | 139 | sp:predicate rdf:type ; |
132 | sp:subject _:b3 | 140 | sp:subject _:b3 |
141 | + ] [ sp:object "20202" ; | ||
142 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
143 | + sp:subject _:b3 | ||
133 | ] [ sp:object | 144 | ] [ sp:object |
134 | [ sp:varName "facilityRef"^^xsd:string | 145 | [ sp:varName "facilityRef"^^xsd:string |
135 | ] ; | 146 | ] ; |
... | @@ -475,6 +486,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -475,6 +486,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
475 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 486 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
476 | sp:predicate rdf:type ; | 487 | sp:predicate rdf:type ; |
477 | sp:subject _:b5 | 488 | sp:subject _:b5 |
489 | + ] [ sp:object "20301a" ; | ||
490 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
491 | + sp:subject _:b5 | ||
478 | ] [ sp:object | 492 | ] [ sp:object |
479 | [ sp:varName "wholeLifeProductionFlow"^^xsd:string | 493 | [ sp:varName "wholeLifeProductionFlow"^^xsd:string |
480 | ] ; | 494 | ] ; |
... | @@ -1297,6 +1311,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -1297,6 +1311,9 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
1297 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; | 1311 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; |
1298 | sp:predicate rdf:type ; | 1312 | sp:predicate rdf:type ; |
1299 | sp:subject _:b7 | 1313 | sp:subject _:b7 |
1314 | + ] [ sp:object "20303a" ; | ||
1315 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
1316 | + sp:subject _:b7 | ||
1300 | ] [ sp:object | 1317 | ] [ sp:object |
1301 | [ sp:varName "wholeLifeProductionInventory"^^xsd:string | 1318 | [ sp:varName "wholeLifeProductionInventory"^^xsd:string |
1302 | ] ; | 1319 | ] ; |
... | @@ -1732,6 +1749,11 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -1732,6 +1749,11 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
1732 | sp:subject | 1749 | sp:subject |
1733 | [ sp:varName "temporalPartOfAProductionInventory"^^xsd:string | 1750 | [ sp:varName "temporalPartOfAProductionInventory"^^xsd:string |
1734 | ] | 1751 | ] |
1752 | + ] [ sp:object "20303e" ; | ||
1753 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
1754 | + sp:subject | ||
1755 | + [ sp:varName "temporalPartOfAProductionInventory"^^xsd:string | ||
1756 | + ] | ||
1735 | ] [ sp:object | 1757 | ] [ sp:object |
1736 | [ sp:varName "temporalPartDurationType"^^xsd:string | 1758 | [ sp:varName "temporalPartDurationType"^^xsd:string |
1737 | ] ; | 1759 | ] ; |
... | @@ -2352,6 +2374,12 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -2352,6 +2374,12 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
2352 | sp:subject | 2374 | sp:subject |
2353 | [ sp:varName "facilityOfMeasurement"^^xsd:string | 2375 | [ sp:varName "facilityOfMeasurement"^^xsd:string |
2354 | ] | 2376 | ] |
2377 | + ] [ sp:object "20330" ; | ||
2378 | + sp:predicate rdfs:comment ; | ||
2379 | + sp:subject _:b11 | ||
2380 | + ] [ sp:object "20330" ; | ||
2381 | + sp:predicate rdfs:comment ; | ||
2382 | + sp:subject _:b12 | ||
2355 | ]) ; | 2383 | ]) ; |
2356 | sp:where ([ sp:object | 2384 | sp:where ([ sp:object |
2357 | [ sp:varName "productVolumeRef"^^xsd:string | 2385 | [ sp:varName "productVolumeRef"^^xsd:string |
... | @@ -2832,6 +2860,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu | ... | @@ -2832,6 +2860,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu |
2832 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | 2860 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; |
2833 | sp:predicate rdf:type ; | 2861 | sp:predicate rdf:type ; |
2834 | sp:subject _:b13 | 2862 | sp:subject _:b13 |
2863 | + ] [ sp:object "20400e" ; | ||
2864 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
2865 | + sp:subject _:b13 | ||
2835 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 2866 | ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
2836 | sp:predicate rdf:type ; | 2867 | sp:predicate rdf:type ; |
2837 | sp:subject _:b13 | 2868 | sp:subject _:b13 |
... | @@ -3370,6 +3401,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu | ... | @@ -3370,6 +3401,9 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu |
3370 | ] ; | 3401 | ] ; |
3371 | sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 3402 | sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
3372 | sp:subject _:b14 | 3403 | sp:subject _:b14 |
3404 | + ] [ sp:object "20401e" ; | ||
3405 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#fromRule> ; | ||
3406 | + sp:subject _:b14 | ||
3373 | ] [ sp:object | 3407 | ] [ sp:object |
3374 | [ sp:varName "intervalStart"^^xsd:string | 3408 | [ sp:varName "intervalStart"^^xsd:string |
3375 | ] ; | 3409 | ] ; |
... | @@ -4779,6 +4813,13 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu | ... | @@ -4779,6 +4813,13 @@ BIND (ep-dpr-spin-lib:buildProductFlowURI(?productionFlowName, ?productFlowURISu |
4779 | ]) | 4813 | ]) |
4780 | ] . | 4814 | ] . |
4781 | 4815 | ||
4816 | +ep-mpr-spin-lib:selectRDFTypes | ||
4817 | + spin:constraint | ||
4818 | + [ rdf:type spl:Argument ; | ||
4819 | + spl:predicate sp:arg1 ; | ||
4820 | + spl:valueType owl:Thing | ||
4821 | + ] . | ||
4822 | + | ||
4782 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> | 4823 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> |
4783 | rdf:type owl:Ontology ; | 4824 | rdf:type owl:Ontology ; |
4784 | 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> ; | 4825 | 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> ; | ... | ... |
1 | -# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoERHFacts | ||
2 | -# imports: http://spinrdf.org/spin | ||
3 | -# imports: http://www.epim.no/schemas/mprml/1 | ||
4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/erhfacts | ||
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-NoERHFacts#> . | ||
10 | -@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . | ||
11 | -@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#> . | ||
12 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
13 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
14 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
15 | -@prefix sp: <http://spinrdf.org/sp#> . | ||
16 | -@prefix spin: <http://spinrdf.org/spin#> . | ||
17 | -@prefix spl: <http://spinrdf.org/spl#> . | ||
18 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
19 | - | ||
20 | -<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoERHFacts> | ||
21 | - rdf:type owl:Ontology ; | ||
22 | - 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> ; | ||
23 | - 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 | - ] . |
... | @@ -8,6 +8,7 @@ | ... | @@ -8,6 +8,7 @@ |
8 | 8 | ||
9 | @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts#> . | 9 | @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoFacts#> . |
10 | @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . | 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#> . | ||
11 | @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#> . | 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#> . |
12 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 13 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
13 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 14 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ... | ... |
... | @@ -15,4 +15,6 @@ | ... | @@ -15,4 +15,6 @@ |
15 | <http://spinrdf.org/spin#topSPINOptions> | 15 | <http://spinrdf.org/spin#topSPINOptions> |
16 | "singlePass" ; | 16 | "singlePass" ; |
17 | composite:index "0"^^xsd:int | 17 | composite:index "0"^^xsd:int |
18 | - ] . | 18 | + ] ; |
19 | + inference:completeMode | ||
20 | + "true"^^xsd:boolean . | ... | ... |
1 | -# baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoNPDFacts | ||
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 | - | ||
8 | -@prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoNPDFacts#> . | ||
9 | -@prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . | ||
10 | -@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#> . | ||
11 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
12 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
13 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
14 | -@prefix sp: <http://spinrdf.org/sp#> . | ||
15 | -@prefix spin: <http://spinrdf.org/spin#> . | ||
16 | -@prefix spl: <http://spinrdf.org/spl#> . | ||
17 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
18 | - | ||
19 | -<http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest-NoNPDFacts> | ||
20 | - rdf:type owl:Ontology ; | ||
21 | - 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> ; | ||
22 | - 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 | - ] . |
... | @@ -8,6 +8,7 @@ | ... | @@ -8,6 +8,7 @@ |
8 | 8 | ||
9 | @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> . | 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#> . | 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#> . | ||
11 | @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#> . | 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#> . |
12 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 13 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
13 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 14 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ... | ... |
-
Please register or login to post a comment