Showing
69 changed files
with
1455 additions
and
527 deletions
test/Readme.txt
0 → 100755
test/RunSparqlQuery.exe
0 → 100755
No preview for this file type
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5g-gas-givenField-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5g-gas-givenField-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
test/config/input.json
0 → 100755
1 | +{ | ||
2 | + "companies": [ | ||
3 | + { | ||
4 | + "name": "statoil", | ||
5 | + "username":"tu128", | ||
6 | + "password":"ERHpw028", | ||
7 | + "DPR2": { | ||
8 | + "reportType": "DPR2", | ||
9 | + "fieldId": "1854729", | ||
10 | + "fromDate": "2011-12-25", | ||
11 | + "toDate": "2012-03-01" | ||
12 | + }, | ||
13 | + "MPRG": { | ||
14 | + "fieldId": "43765", | ||
15 | + "fromDate": "2011-12-01", | ||
16 | + "toDate": "2012-02-01" | ||
17 | + } | ||
18 | + }, | ||
19 | + { | ||
20 | + "name": "dong", | ||
21 | + "username":"tu145", | ||
22 | + "password":"ERHpw045", | ||
23 | + "DPR2": { | ||
24 | + "fieldId": "18081500", | ||
25 | + "fromDate": "2012-02-01", | ||
26 | + "toDate": "2012-03-01" | ||
27 | + }, | ||
28 | + "MPRG": { | ||
29 | + "fieldId": "18081500", | ||
30 | + "fromDate": "2012-01-01", | ||
31 | + "toDate": "2012-03-01" | ||
32 | + } | ||
33 | + } | ||
34 | + ] | ||
35 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
test/erh.jar
0 → 100644
No preview for this file type
test/queries/2d.qr.SPARQL11-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | + | ||
4 | +SELECT ?fieldName ?productKind ?startDate ?endDate ?density ?densityUnit ?mass ?massUnit ?volume ?volumenUnit | ||
5 | +WHERE { | ||
6 | + ?field a erhi:Field; | ||
7 | + erhi:npdid "18081500"; | ||
8 | + erhi:npdname ?fieldName. | ||
9 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
10 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
11 | + ?flow erhi:hasProduct ?flowProduct. | ||
12 | + ?flowProduct erhi:hasProductKind .?productKind. | ||
13 | + ?flowProduct erhi:productStartAt ?startDate. | ||
14 | + ?flowProduct erhi:productEndAt ?endDate. | ||
15 | + OPTIONAL { | ||
16 | + ?flowProduct erhi:hasDensity ?density; | ||
17 | + erhi:hasDensityUnit ?densityUnit. | ||
18 | + } | ||
19 | + OPTIONAL { | ||
20 | + ?flowProduct erhi:hasMass ?mass; | ||
21 | + erhi:hasMassUnit ?masUnit. | ||
22 | + } | ||
23 | + OPTIONAL { | ||
24 | + ?flowProduct erhi:hasVolume ?volume; | ||
25 | + erhi:hasVolumeUnit ?volumeUnit. | ||
26 | + } | ||
27 | + VALUES ?productKind {"oil net" "water" "gas"} | ||
28 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
test/queries/4b.qr.SPARQL11-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?productKind ?startAt ?endAt | ||
6 | + ((?mass*?percentageOfShare/100) as ?myMass) ?massUnit ((?volume*?percentageOfShare/100) as ?myVolume) ?volumeUnit | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdid "18081500"; | ||
18 | + erhi:npdname ?fieldName. | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endDate. | ||
24 | + ?flowProduct erhi:hasProductKind ?productKind. | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + VALUES ?productKind {"oil net" "water" "gas"} | ||
34 | +} |
test/queries/5c-allProduct-allField-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?productKind (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName. | ||
18 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
19 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
20 | + ?flow erhi:hasProduct ?flowProduct. | ||
21 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
22 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
23 | + ?flowProduct erhi:hasProductKind ?productKind. | ||
24 | + | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + | ||
35 | + FILTER (?startProductDate > "2012-02-01"^^xsd:date && ?endProductDate < "2012-03-25"^^xsd:date) | ||
36 | +} | ||
37 | +group by ?fieldName ?productKind ?volumeUnit |
test/queries/5c-allProduct-givenField-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?productKind (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName; | ||
18 | + erhi:npdid "18081500". | ||
19 | + | ||
20 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
21 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
22 | + ?flow erhi:hasProduct ?flowProduct. | ||
23 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
24 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
25 | + ?flowProduct erhi:hasProductKind ?productKind. | ||
26 | + | ||
27 | + OPTIONAL { | ||
28 | + ?flowProduct erhi:hasMass ?mass; | ||
29 | + erhi:hasMassUnit ?massUnit. | ||
30 | + } | ||
31 | + OPTIONAL { | ||
32 | + ?flowProduct erhi:hasVolume ?volume; | ||
33 | + erhi:hasVolumeUnit ?volumeUnit. | ||
34 | + } | ||
35 | + | ||
36 | + | ||
37 | + FILTER (?startProductDate > "2012-02-01"^^xsd:date && ?endProductDate < "2012-03-25"^^xsd:date) | ||
38 | +} | ||
39 | +group by ?fieldName ?productKind ?volumeUnit | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
test/queries/5c-oilnet-allField-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName. | ||
18 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
19 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
20 | + ?flow erhi:hasProduct ?flowProduct. | ||
21 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
22 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
23 | + ?flowProduct erhi:hasProductKind "oil net". | ||
24 | + OPTIONAL { | ||
25 | + ?flowProduct erhi:hasMass ?mass; | ||
26 | + erhi:hasMassUnit ?massUnit. | ||
27 | + } | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct erhi:hasVolume ?volume; | ||
30 | + erhi:hasVolumeUnit ?volumeUnit. | ||
31 | + } | ||
32 | + | ||
33 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
34 | + FILTER (?startProductDate > "2012-02-01"^^xsd:date && ?endProductDate < "2012-03-25"^^xsd:date) | ||
35 | +} | ||
36 | +group by ?fieldName ?volumeUnit |
test/queries/5c-oilnet-givenField-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName; | ||
18 | + erhi:npdid "18081500". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasProductKind "oil net". | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
35 | + FILTER (?startProductDate > "2012-02-01"^^xsd:date && ?endProductDate < "2012-03-25"^^xsd:date) | ||
36 | +} | ||
37 | +group by ?fieldName ?volumeUnit |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName; | ||
18 | + erhi:npdid "18081500". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasProductKind "oil net". | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + FILTER (?startProductDate > "2012-02-01"^^xsd:date && ?endProductDate < "2012-03-25"^^xsd:date) | ||
35 | +} | ||
36 | +group by ?fieldName ?volumeUnit |
test/queries/5d-allProduct-givenField-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | + | ||
6 | +SELECT ?licenceShare ?field ?licenceNpdID ?flow ?percentageOfShare ?productKind ?startProductDate ?endProductDate ?density ?densityUnit ?mass ((?mass*?percentageOfShare/100) as ?myMass) ?massUnit ?volume ((?volume*?percentageOfShare/100) as ?myVolume) ?volumeUnit | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + | ||
14 | + ?licenceOwner erhi:npdid "4070011". | ||
15 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
16 | + ?licence erhi:ownsField ?field . | ||
17 | + | ||
18 | + ?field a erhi:Field; | ||
19 | + erhi:npdid "18081500". | ||
20 | + | ||
21 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
22 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
23 | + ?flow erhi:hasProduct ?flowProduct. | ||
24 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
25 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
26 | + ?flowProduct erhi:hasTimePeriod "Daily". | ||
27 | + ?flowProduct | ||
28 | + erhi:hasProductKind ?productKind. | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasMass ?mass; | ||
31 | + erhi:hasMassUnit ?massUnit. | ||
32 | + } | ||
33 | + OPTIONAL { | ||
34 | + ?flowProduct erhi:hasVolume ?volume; | ||
35 | + erhi:hasVolumeUnit ?volumeUnit. | ||
36 | + } | ||
37 | + | ||
38 | +} |
test/queries/5d-oilnet-givenField-D.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | + | ||
6 | +SELECT ?licenceShare ?field ?licenceNpdID ?flow ?percentageOfShare ?startProductDate ?endProductDate ?density ?densityUnit ?mass ((?mass*?percentageOfShare/100) as ?myMass) ?massUnit ?volume ((?volume*?percentageOfShare/100) as ?myVolume) ?volumeUnit | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + | ||
14 | + ?licenceOwner erhi:npdid "4070011". | ||
15 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
16 | + ?licence erhi:ownsField ?field . | ||
17 | + | ||
18 | + ?field a erhi:Field; | ||
19 | + erhi:npdid "18081500". | ||
20 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
21 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
22 | + ?flow erhi:hasProduct ?flowProduct. | ||
23 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
24 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
25 | + ?flowProduct erhi:hasTimePeriod "Daily". | ||
26 | + ?flowProduct | ||
27 | + erhi:hasProductKind "oil net". | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct erhi:hasMass ?mass; | ||
30 | + erhi:hasMassUnit ?massUnit. | ||
31 | + } | ||
32 | + OPTIONAL { | ||
33 | + ?flowProduct erhi:hasVolume ?volume; | ||
34 | + erhi:hasVolumeUnit ?volumeUnit. | ||
35 | + } | ||
36 | + | ||
37 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
38 | +} |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?productKind (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdid "43765"; | ||
18 | + erhi:npdname ?fieldName. | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind ?productKind. | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + | ||
36 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate < "2012-06-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?productKind ?volumeUnit |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?productKind (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdid "43765"; | ||
18 | + erhi:npdname ?fieldName. | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind ?productKind. | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + | ||
36 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?startProductDate < "2012-06-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?productKind ?volumeUnit |
test/queries/5g-allProduct-givenField-M.Dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?productKind (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdid "18081500"; | ||
18 | + erhi:npdname ?fieldName. | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind ?productKind. | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + | ||
36 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?endProductDate < "2012-04-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?productKind ?volumeUnit |
test/queries/5g-gas-givenField-M.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName; | ||
18 | + erhi:npdid "18081500". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind "gas". | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
36 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate < "2012-03-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?volumeUnit | ||
39 | + |
test/queries/5g-gas-givenField-M.statoil
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName; | ||
18 | + erhi:npdid "43765". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind "gas". | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
36 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate < "2012-03-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?volumeUnit | ||
39 | + |
test/queries/5g-oilnet-allField-M.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName. | ||
18 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
19 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
20 | + ?flow erhi:hasProduct ?flowProduct. | ||
21 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
22 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
23 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
24 | + ?flowProduct erhi:hasProductKind "oil net". | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + | ||
35 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?endProductDate < "2012-03-30"^^xsd:date) | ||
36 | +} | ||
37 | +group by ?fieldName ?volumeUnit |
test/queries/5g-oilnet-allField-M.statoil
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName. | ||
18 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
19 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
20 | + ?flow erhi:hasProduct ?flowProduct. | ||
21 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
22 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
23 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
24 | + ?flowProduct erhi:hasProductKind "oil net". | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + | ||
35 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?endProductDate < "2012-03-30"^^xsd:date) | ||
36 | +} | ||
37 | +group by ?fieldName ?volumeUnit |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName. | ||
18 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
19 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
20 | + ?flow erhi:hasProduct ?flowProduct. | ||
21 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
22 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
23 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
24 | + ?flowProduct erhi:hasProductKind "oil net". | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
35 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate < "2012-03-30"^^xsd:date) | ||
36 | +} | ||
37 | +group by ?fieldName ?volumeUnit |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName. | ||
18 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
19 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
20 | + ?flow erhi:hasProduct ?flowProduct. | ||
21 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
22 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
23 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
24 | + ?flowProduct erhi:hasProductKind "oil net". | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
35 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate < "2012-03-30"^^xsd:date) | ||
36 | +} | ||
37 | +group by ?fieldName ?volumeUnit |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdid "43765"; | ||
18 | + erhi:npdname ?fieldName. | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind "oil net". | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + | ||
36 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?endProductDate < "2012-06-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?volumeUnit | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
test/queries/5g-oilnet-givenField-M.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName; | ||
18 | + erhi:npdid "18081500". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind "oil net". | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
36 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate < "2012-06-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?volumeUnit | ||
39 | + |
test/queries/5g-oilnet-givenField-M.statoil
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName (sum(?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName; | ||
18 | + erhi:npdid "43765". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + ?flowProduct erhi:hasProductKind "oil net". | ||
26 | + OPTIONAL { | ||
27 | + ?flowProduct erhi:hasMass ?mass; | ||
28 | + erhi:hasMassUnit ?massUnit. | ||
29 | + } | ||
30 | + OPTIONAL { | ||
31 | + ?flowProduct erhi:hasVolume ?volume; | ||
32 | + erhi:hasVolumeUnit ?volumeUnit. | ||
33 | + } | ||
34 | + | ||
35 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
36 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate < "2012-06-30"^^xsd:date) | ||
37 | +} | ||
38 | +group by ?fieldName ?volumeUnit | ||
39 | + |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ((?volume*?percentageOfShare/100) as ?my_Total_Volume) ?volumeUnit | ||
6 | + | ||
7 | +WHERE { | ||
8 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
9 | + ?licence erhi:npdname ?licenceName . | ||
10 | + ?licence erhi:npdid ?licenceNpdID . | ||
11 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
12 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + ?field a erhi:Field; | ||
17 | + erhi:npdname ?fieldName. | ||
18 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
19 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
20 | + ?flow erhi:hasProduct ?flowProduct. | ||
21 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
22 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
23 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
24 | + ?flowProduct erhi:hasProductKind "oil net". | ||
25 | + OPTIONAL { | ||
26 | + ?flowProduct erhi:hasMass ?mass; | ||
27 | + erhi:hasMassUnit ?massUnit. | ||
28 | + } | ||
29 | + OPTIONAL { | ||
30 | + ?flowProduct erhi:hasVolume ?volume; | ||
31 | + erhi:hasVolumeUnit ?volumeUnit. | ||
32 | + } | ||
33 | + | ||
34 | + | ||
35 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?endProductDate < "2012-03-30"^^xsd:date) | ||
36 | +} |
test/queries/6b-gas-givenField-M.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?volume ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?field a erhi:Field; | ||
8 | + erhi:npdid "18081500"; | ||
9 | + erhi:npdname ?fieldName. | ||
10 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
11 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
12 | + ?flow erhi:hasProduct ?flowProduct. | ||
13 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
14 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
15 | + | ||
16 | + ?flowProduct erhi:hasProductKind "gas". | ||
17 | + | ||
18 | + OPTIONAL { | ||
19 | + ?flowProduct erhi:hasMass ?mass; | ||
20 | + erhi:hasMassUnit ?massUnit. | ||
21 | + } | ||
22 | + OPTIONAL { | ||
23 | + ?flowProduct erhi:hasVolume ?volume; | ||
24 | + erhi:hasVolumeUnit ?volumeUnit. | ||
25 | + } | ||
26 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?startProductDate <= "2012-02-01"^^xsd:date) | ||
27 | +} |
test/queries/6b-gas-givenField-M.statoil
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?volume ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?field a erhi:Field; | ||
8 | + erhi:npdid "43765"; | ||
9 | + erhi:npdname ?fieldName. | ||
10 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
11 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
12 | + ?flow erhi:hasProduct ?flowProduct. | ||
13 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
14 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
15 | + | ||
16 | + ?flowProduct erhi:hasProductKind "gas". | ||
17 | + | ||
18 | + OPTIONAL { | ||
19 | + ?flowProduct erhi:hasMass ?mass; | ||
20 | + erhi:hasMassUnit ?massUnit. | ||
21 | + } | ||
22 | + OPTIONAL { | ||
23 | + ?flowProduct erhi:hasVolume ?volume; | ||
24 | + erhi:hasVolumeUnit ?volumeUnit. | ||
25 | + } | ||
26 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?startProductDate <= "2012-02-01"^^xsd:date) | ||
27 | +} |
test/queries/6b-oilnet-givenField-M.statoil
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?volume ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?field a erhi:Field; | ||
8 | + erhi:npdid "43765"; | ||
9 | + erhi:npdname ?fieldName. | ||
10 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
11 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
12 | + ?flow erhi:hasProduct ?flowProduct. | ||
13 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
14 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
15 | + | ||
16 | + ?flowProduct erhi:hasProductKind "oil net". | ||
17 | + | ||
18 | + OPTIONAL { | ||
19 | + ?flowProduct erhi:hasMass ?mass; | ||
20 | + erhi:hasMassUnit ?massUnit. | ||
21 | + } | ||
22 | + OPTIONAL { | ||
23 | + ?flowProduct erhi:hasVolume ?volume; | ||
24 | + erhi:hasVolumeUnit ?volumeUnit. | ||
25 | + } | ||
26 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?startProductDate <= "2012-02-01"^^xsd:date) | ||
27 | +} |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?fieldName ?volume ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?field a erhi:Field; | ||
8 | + erhi:npdid "43765"; | ||
9 | + erhi:npdname ?fieldName. | ||
10 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
11 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
12 | + ?flow erhi:hasProduct ?flowProduct. | ||
13 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
14 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
15 | + | ||
16 | + ?flowProduct erhi:hasProductKind "oil net". | ||
17 | + | ||
18 | + OPTIONAL { | ||
19 | + ?flowProduct erhi:hasMass ?mass; | ||
20 | + erhi:hasMassUnit ?massUnit. | ||
21 | + } | ||
22 | + OPTIONAL { | ||
23 | + ?flowProduct erhi:hasVolume ?volume; | ||
24 | + erhi:hasVolumeUnit ?volumeUnit. | ||
25 | + } | ||
26 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?startProductDate <= "2012-02-01"^^xsd:date) | ||
27 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
28 | +} |
test/queries/7b-oilnet-givenField-M.dong
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?licenceShare ?field ?licenceNpdID ?flow ?percentageOfShare ?startProductDate ?endProductDate ?density ?densityUnit ?mass ((?mass*?percentageOfShare/100) as ?myMass) ?massUnit ?volume ((?volume*?percentageOfShare/100) as ?myVolume) ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
8 | + ?licence erhi:npdname ?licenceName . | ||
9 | + ?licence erhi:npdid ?licenceNpdID . | ||
10 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
11 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
12 | + | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + | ||
17 | + ?field a erhi:Field; | ||
18 | + erhi:npdid "18081500". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + | ||
26 | + ?flowProduct | ||
27 | + erhi:hasProductKind "oil net". | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct | ||
30 | + erhi:hasDensity ?density; | ||
31 | + erhi:hasDensityUnit ?densityUnit. | ||
32 | + } | ||
33 | + OPTIONAL { | ||
34 | + ?flowProduct | ||
35 | + erhi:hasMass ?mass; | ||
36 | + erhi:hasMassUnit ?massUnit. | ||
37 | + } | ||
38 | + OPTIONAL { | ||
39 | + ?flowProduct | ||
40 | + erhi:hasVolume ?volume; | ||
41 | + erhi:hasVolumeUnit ?volumeUnit. | ||
42 | + } | ||
43 | + | ||
44 | + | ||
45 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate <= "2012-05-31"^^xsd:date) | ||
46 | + | ||
47 | +} |
test/queries/7b-oilnet-givenField-M.statoil
0 → 100755
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?licenceShare ?field ?licenceNpdID ?flow ?percentageOfShare ?startProductDate ?endProductDate ?density ?densityUnit ?mass ((?mass*?percentageOfShare/100) as ?myMass) ?massUnit ?volume ((?volume*?percentageOfShare/100) as ?myVolume) ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
8 | + ?licence erhi:npdname ?licenceName . | ||
9 | + ?licence erhi:npdid ?licenceNpdID . | ||
10 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
11 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
12 | + | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + | ||
17 | + ?field a erhi:Field; | ||
18 | + erhi:npdid "43765". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + | ||
26 | + ?flowProduct | ||
27 | + erhi:hasProductKind "oil net". | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct | ||
30 | + erhi:hasDensity ?density; | ||
31 | + erhi:hasDensityUnit ?densityUnit. | ||
32 | + } | ||
33 | + OPTIONAL { | ||
34 | + ?flowProduct | ||
35 | + erhi:hasMass ?mass; | ||
36 | + erhi:hasMassUnit ?massUnit. | ||
37 | + } | ||
38 | + OPTIONAL { | ||
39 | + ?flowProduct | ||
40 | + erhi:hasVolume ?volume; | ||
41 | + erhi:hasVolumeUnit ?volumeUnit. | ||
42 | + } | ||
43 | + | ||
44 | + FILTER (?startProductDate >= "2011-12-01"^^xsd:date && ?endProductDate <= "2012-05-31"^^xsd:date) | ||
45 | + | ||
46 | +} |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?licenceShare ?field ?licenceNpdID ?flow ?percentageOfShare ?startProductDate ?endProductDate ?density ?densityUnit ?mass ((?mass*?percentageOfShare/100) as ?myMass) ?massUnit ?volume ((?volume*?percentageOfShare/100) as ?myVolume) ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
8 | + ?licence erhi:npdname ?licenceName . | ||
9 | + ?licence erhi:npdid ?licenceNpdID . | ||
10 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
11 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
12 | + | ||
13 | + ?licenceOwner erhi:npdid "4070011". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + | ||
17 | + ?field a erhi:Field; | ||
18 | + erhi:npdid "18081500". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + | ||
26 | + ?flowProduct | ||
27 | + erhi:hasProductKind "oil net". | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct | ||
30 | + erhi:hasDensity ?density; | ||
31 | + erhi:hasDensityUnit ?densityUnit. | ||
32 | + } | ||
33 | + OPTIONAL { | ||
34 | + ?flowProduct | ||
35 | + erhi:hasMass ?mass; | ||
36 | + erhi:hasMassUnit ?massUnit. | ||
37 | + } | ||
38 | + OPTIONAL { | ||
39 | + ?flowProduct | ||
40 | + erhi:hasVolume ?volume; | ||
41 | + erhi:hasVolumeUnit ?volumeUnit. | ||
42 | + } | ||
43 | + | ||
44 | + | ||
45 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
46 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?endProductDate <= "2012-05-31"^^xsd:date) | ||
47 | + | ||
48 | +} |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?licenceShare ?field ?licenceNpdID ?flow ?percentageOfShare ?startProductDate ?endProductDate ?density ?densityUnit ?mass ((?mass*?percentageOfShare/100) as ?myMass) ?massUnit ?volume ((?volume*?percentageOfShare/100) as ?myVolume) ?volumeUnit | ||
6 | +WHERE { | ||
7 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
8 | + ?licence erhi:npdname ?licenceName . | ||
9 | + ?licence erhi:npdid ?licenceNpdID . | ||
10 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
11 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
12 | + | ||
13 | + ?licenceOwner erhi:npdid "17237817". | ||
14 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
15 | + ?licence erhi:ownsField ?field . | ||
16 | + | ||
17 | + ?field a erhi:Field; | ||
18 | + erhi:npdid "43765". | ||
19 | + ?flow erhi:flowIntoOrOutOf ?field; | ||
20 | + a erhi:AllocatedFlow, erhi:ProductionExploitation. | ||
21 | + ?flow erhi:hasProduct ?flowProduct. | ||
22 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
23 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
24 | + ?flowProduct erhi:hasTimePeriod "Monthly". | ||
25 | + | ||
26 | + ?flowProduct | ||
27 | + erhi:hasProductKind "oil net". | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct | ||
30 | + erhi:hasDensity ?density; | ||
31 | + erhi:hasDensityUnit ?densityUnit. | ||
32 | + } | ||
33 | + OPTIONAL { | ||
34 | + ?flowProduct | ||
35 | + erhi:hasMass ?mass; | ||
36 | + erhi:hasMassUnit ?massUnit. | ||
37 | + } | ||
38 | + OPTIONAL { | ||
39 | + ?flowProduct | ||
40 | + erhi:hasVolume ?volume; | ||
41 | + erhi:hasVolumeUnit ?volumeUnit. | ||
42 | + } | ||
43 | + | ||
44 | + | ||
45 | + FILTER NOT EXISTS {?licenceShare erhi:npdEndDate ?endDate}. | ||
46 | + FILTER (?startProductDate >= "2012-01-01"^^xsd:date && ?endProductDate <= "2012-05-31"^^xsd:date) | ||
47 | + | ||
48 | +} |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?licence ?fieldName ?wellboreName ?flow ?startProductDate ?endProductDate ?density ?densityUnit ?mass ?massUnit ?volume ?volumeUnit ?bhp_value ?bhp_unit ?bht_value ?bht_unit ?whp_value ?whp_unit ?wht_value ?wht_unit ?wellboreStatus | ||
6 | +WHERE { | ||
7 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
8 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
9 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
10 | + | ||
11 | + ?licenceOwner erhi:npdid "4070011". | ||
12 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
13 | + ?licence erhi:ownsField ?field . | ||
14 | + | ||
15 | + ?field | ||
16 | + erhi:npdname ?fieldName; | ||
17 | + erhi:hasWellbore ?wellbore. | ||
18 | + | ||
19 | + ?wellbore erhi:npdname ?wellboreName. | ||
20 | + | ||
21 | + ?flow erhi:flowIntoOrOutOf ?wellbore. | ||
22 | + ?flow a erhi:InjectionFlow, erhi:AllocatedFlow . | ||
23 | + | ||
24 | + ?flow erhi:hasProduct ?flowProduct. | ||
25 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
26 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
27 | + ?flowProduct erhi:hasTimePeriod "Daily". | ||
28 | + | ||
29 | + ?flowProduct | ||
30 | + erhi:hasProductKind "gas". | ||
31 | + OPTIONAL { | ||
32 | + ?flowProduct erhi:hasDensity ?density; | ||
33 | + erhi:hasDensityUnit ?densityUnit. | ||
34 | + } | ||
35 | + | ||
36 | + OPTIONAL { | ||
37 | + ?flowProduct erhi:hasMass ?mass; | ||
38 | + erhi:hasMassUnit ?massUnit. | ||
39 | + } | ||
40 | + | ||
41 | + OPTIONAL { | ||
42 | + ?flowProduct erhi:hasVolume ?volume; | ||
43 | + erhi:hasVolumeUnit ?volumeUnit. | ||
44 | + } | ||
45 | + | ||
46 | + OPTIONAL { | ||
47 | + ?flow erhi:wellboreBottomholePressureValue ?bhp_value. | ||
48 | + ?flow erhi:wellboreBottomholePressureUnit ?bhp_unit. | ||
49 | + } | ||
50 | + | ||
51 | + OPTIONAL { | ||
52 | + ?flow erhi:wellboreBottomholeTemperatureValue ?bht_value. | ||
53 | + ?flow erhi:wellboreBottomholeTemperatureUnit ?bht_unit. | ||
54 | + } | ||
55 | + | ||
56 | + OPTIONAL { | ||
57 | + ?flow erhi:wellboreWellheadPressureValue ?whp_value. | ||
58 | + ?flow erhi:wellboreWellheadPressureUnit ?whp_unit. | ||
59 | + } | ||
60 | + | ||
61 | + OPTIONAL { | ||
62 | + ?flow erhi:wellboreWellheadTemperatureValue ?wht_value. | ||
63 | + ?flow erhi:wellboreWellheadTemperatureUnit ?wht_unit. | ||
64 | + } | ||
65 | + | ||
66 | + OPTIONAL { | ||
67 | + ?flow erhi:wellboreChockeSizeValue ?chokeSize_value. | ||
68 | + ?flow erhi:wellboreChockeSizeUnit ?chokeSize_unit. | ||
69 | + } | ||
70 | + | ||
71 | + OPTIONAL { | ||
72 | + ?flow erhi:wellboreStatus ?wellboreStatus. | ||
73 | + } | ||
74 | + | ||
75 | + | ||
76 | + FILTER (?startProductDate > "2012-02-25"^^xsd:date) | ||
77 | + FILTER (?endProductDate < "2012-03-10"^^xsd:date) | ||
78 | +} | ||
79 | +limit 5 |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?licence ?wellboreName ?flow ?startProductDate ?endProductDate ?density ?densityUnit ?mass ?massUnit ?volume ?volumeUnit ?bhp_value ?bhp_unit ?bht_value ?bht_unit ?whp_value ?whp_unit ?wht_value ?wht_unit ?wellboreStatus | ||
6 | +WHERE { | ||
7 | + ?licence rdf:type erhi:LicenceOrBaa . | ||
8 | + ?licenceShare erhi:licenceOrBaaShared ?licence. | ||
9 | + ?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner. | ||
10 | + | ||
11 | + ?licenceOwner erhi:npdid "4070011". | ||
12 | + ?licenceShare erhi:percentageOfShare ?percentageOfShare. | ||
13 | + ?licence erhi:ownsField ?field . | ||
14 | + | ||
15 | + ?field | ||
16 | + erhi:npdid "18081500"; | ||
17 | + erhi:hasWellbore ?wellbore. | ||
18 | + | ||
19 | + ?wellbore erhi:npdname ?wellboreName. | ||
20 | + | ||
21 | + ?flow erhi:flowIntoOrOutOf ?wellbore. | ||
22 | + ?flow a erhi:InjectionFlow, erhi:AllocatedFlow . | ||
23 | + | ||
24 | + ?flow erhi:hasProduct ?flowProduct. | ||
25 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
26 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
27 | + ?flowProduct erhi:hasTimePeriod "Daily". | ||
28 | + | ||
29 | + ?flowProduct | ||
30 | + erhi:hasProductKind "gas". | ||
31 | + OPTIONAL { | ||
32 | + ?flowProduct erhi:hasDensity ?density; | ||
33 | + erhi:hasDensityUnit ?densityUnit. | ||
34 | + } | ||
35 | + | ||
36 | + OPTIONAL { | ||
37 | + ?flowProduct erhi:hasMass ?mass; | ||
38 | + erhi:hasMassUnit ?massUnit. | ||
39 | + } | ||
40 | + | ||
41 | + OPTIONAL { | ||
42 | + ?flowProduct erhi:hasVolume ?volume; | ||
43 | + erhi:hasVolumeUnit ?volumeUnit. | ||
44 | + } | ||
45 | + | ||
46 | + OPTIONAL { | ||
47 | + ?flow erhi:wellboreBottomholePressureValue ?bhp_value. | ||
48 | + ?flow erhi:wellboreBottomholePressureUnit ?bhp_unit. | ||
49 | + } | ||
50 | + | ||
51 | + OPTIONAL { | ||
52 | + ?flow erhi:wellboreBottomholeTemperatureValue ?bht_value. | ||
53 | + ?flow erhi:wellboreBottomholeTemperatureUnit ?bht_unit. | ||
54 | + } | ||
55 | + | ||
56 | + OPTIONAL { | ||
57 | + ?flow erhi:wellboreWellheadPressureValue ?whp_value. | ||
58 | + ?flow erhi:wellboreWellheadPressureUnit ?whp_unit. | ||
59 | + } | ||
60 | + | ||
61 | + OPTIONAL { | ||
62 | + ?flow erhi:wellboreWellheadTemperatureValue ?wht_value. | ||
63 | + ?flow erhi:wellboreWellheadTemperatureUnit ?wht_unit. | ||
64 | + } | ||
65 | + | ||
66 | + OPTIONAL { | ||
67 | + ?flow erhi:wellboreChockeSizeValue ?chokeSize_value. | ||
68 | + ?flow erhi:wellboreChockeSizeUnit ?chokeSize_unit. | ||
69 | + } | ||
70 | + | ||
71 | + OPTIONAL { | ||
72 | + ?flow erhi:wellboreStatus ?wellboreStatus. | ||
73 | + } | ||
74 | + | ||
75 | + | ||
76 | + FILTER (?startProductDate > "2012-02-25"^^xsd:date) | ||
77 | + FILTER (?endProductDate < "2012-03-10"^^xsd:date) | ||
78 | + | ||
79 | +} |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?wellboreName ?flow ?startProductDate ?endProductDate ?density ?densityUnit ?mass ?massUnit ?volume ?volumeUnit ?bhp_value ?bhp_unit ?bht_value ?bht_unit ?whp_value ?whp_unit ?wht_value ?wht_unit ?wellboreStatus | ||
6 | +WHERE { | ||
7 | + ?wellbore a erhi:Wellbore ; | ||
8 | + erhi:npdname ?wellboreName ; | ||
9 | + erhi:npdid "6469". | ||
10 | + | ||
11 | + | ||
12 | + ?flow erhi:flowIntoOrOutOf ?wellbore. | ||
13 | + ?flow a erhi:InjectionFlow, erhi:AllocatedFlow . | ||
14 | + | ||
15 | + | ||
16 | + ?flow erhi:hasProduct ?flowProduct. | ||
17 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
18 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
19 | + ?flowProduct erhi:hasTimePeriod "Daily". | ||
20 | + | ||
21 | + ?flowProduct | ||
22 | + erhi:hasProductKind "gas". | ||
23 | + OPTIONAL { | ||
24 | + ?flowProduct erhi:hasDensity ?density; | ||
25 | + erhi:hasDensityUnit ?densityUnit. | ||
26 | + } | ||
27 | + | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct erhi:hasMass ?mass; | ||
30 | + erhi:hasMassUnit ?massUnit. | ||
31 | + } | ||
32 | + | ||
33 | + OPTIONAL { | ||
34 | + ?flowProduct erhi:hasVolume ?volume; | ||
35 | + erhi:hasVolumeUnit ?volumeUnit. | ||
36 | + } | ||
37 | + | ||
38 | + OPTIONAL { | ||
39 | + ?flow erhi:wellboreBottomholePressureValue ?bhp_value. | ||
40 | + ?flow erhi:wellboreBottomholePressureUnit ?bhp_unit. | ||
41 | + } | ||
42 | + | ||
43 | + OPTIONAL { | ||
44 | + ?flow erhi:wellboreBottomholeTemperatureValue ?bht_value. | ||
45 | + ?flow erhi:wellboreBottomholeTemperatureUnit ?bht_unit. | ||
46 | + } | ||
47 | + | ||
48 | + OPTIONAL { | ||
49 | + ?flow erhi:wellboreWellheadPressureValue ?whp_value. | ||
50 | + ?flow erhi:wellboreWellheadPressureUnit ?whp_unit. | ||
51 | + } | ||
52 | + | ||
53 | + OPTIONAL { | ||
54 | + ?flow erhi:wellboreWellheadTemperatureValue ?wht_value. | ||
55 | + ?flow erhi:wellboreWellheadTemperatureUnit ?wht_unit. | ||
56 | + } | ||
57 | + | ||
58 | + OPTIONAL { | ||
59 | + ?flow erhi:wellboreChockeSizeValue ?chokeSize_value. | ||
60 | + ?flow erhi:wellboreChockeSizeUnit ?chokeSize_unit. | ||
61 | + } | ||
62 | + | ||
63 | + OPTIONAL { | ||
64 | + ?flow erhi:wellboreStatus ?wellboreStatus. | ||
65 | + } | ||
66 | + | ||
67 | + | ||
68 | + FILTER (?startProductDate > "2012-02-25"^^xsd:date) | ||
69 | + FILTER (?endProductDate < "2012-03-10"^^xsd:date) | ||
70 | + | ||
71 | +} |
1 | +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
2 | +PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#> | ||
3 | +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
4 | + | ||
5 | +SELECT ?wellboreName ?flow ?startProductDate ?endProductDate ?density ?densityUnit ?mass ?massUnit ?volume ?volumeUnit ?bhp_value ?bhp_unit ?bht_value ?bht_unit ?whp_value ?whp_unit ?wht_value ?wht_unit ?wellboreStatus | ||
6 | +WHERE { | ||
7 | + ?wellbore a erhi:Wellbore ; | ||
8 | + erhi:npdname ?wellboreName ; | ||
9 | + erhi:npdid "6469". | ||
10 | + | ||
11 | + | ||
12 | + ?flow erhi:flowIntoOrOutOf ?wellbore. | ||
13 | + ?flow a erhi:ProductionFlow, erhi:AllocatedFlow . | ||
14 | + | ||
15 | + | ||
16 | + ?flow erhi:hasProduct ?flowProduct. | ||
17 | + ?flowProduct erhi:productStartAt ?startProductDate. | ||
18 | + ?flowProduct erhi:productEndAt ?endProductDate. | ||
19 | + ?flowProduct erhi:hasTimePeriod "Daily". | ||
20 | + | ||
21 | + ?flowProduct | ||
22 | + erhi:hasProductKind "gas". | ||
23 | + OPTIONAL { | ||
24 | + ?flowProduct erhi:hasDensity ?density; | ||
25 | + erhi:hasDensityUnit ?densityUnit. | ||
26 | + } | ||
27 | + | ||
28 | + OPTIONAL { | ||
29 | + ?flowProduct erhi:hasMass ?mass; | ||
30 | + erhi:hasMassUnit ?massUnit. | ||
31 | + } | ||
32 | + | ||
33 | + OPTIONAL { | ||
34 | + ?flowProduct erhi:hasVolume ?volume; | ||
35 | + erhi:hasVolumeUnit ?volumeUnit. | ||
36 | + } | ||
37 | + | ||
38 | + OPTIONAL { | ||
39 | + ?flow erhi:wellboreBottomholePressureValue ?bhp_value. | ||
40 | + ?flow erhi:wellboreBottomholePressureUnit ?bhp_unit. | ||
41 | + } | ||
42 | + | ||
43 | + OPTIONAL { | ||
44 | + ?flow erhi:wellboreBottomholeTemperatureValue ?bht_value. | ||
45 | + ?flow erhi:wellboreBottomholeTemperatureUnit ?bht_unit. | ||
46 | + } | ||
47 | + | ||
48 | + OPTIONAL { | ||
49 | + ?flow erhi:wellboreWellheadPressureValue ?whp_value. | ||
50 | + ?flow erhi:wellboreWellheadPressureUnit ?whp_unit. | ||
51 | + } | ||
52 | + | ||
53 | + OPTIONAL { | ||
54 | + ?flow erhi:wellboreWellheadTemperatureValue ?wht_value. | ||
55 | + ?flow erhi:wellboreWellheadTemperatureUnit ?wht_unit. | ||
56 | + } | ||
57 | + | ||
58 | + OPTIONAL { | ||
59 | + ?flow erhi:wellboreChockeSizeValue ?chokeSize_value. | ||
60 | + ?flow erhi:wellboreChockeSizeUnit ?chokeSize_unit. | ||
61 | + } | ||
62 | + | ||
63 | + OPTIONAL { | ||
64 | + ?flow erhi:wellboreStatus ?wellboreStatus. | ||
65 | + } | ||
66 | + | ||
67 | + | ||
68 | + FILTER (?startProductDate > "2012-02-25"^^xsd:date) | ||
69 | + FILTER (?endProductDate < "2012-03-10"^^xsd:date) | ||
70 | + | ||
71 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/10b.qr.SPARQL11-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/10b.qr.SPARQL11-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/10c.qr.SPARQL11-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/10c.qr.SPARQL11-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/2d.qr.SPARQL11-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/2d.qr.SPARQL11-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/4b.qr.SPARQL11-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/4b.qr.SPARQL11-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/4c.qr.SPARQL11-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/4c.qr.SPARQL11-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5a.qr.SPARQL11-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5a.qr.SPARQL11-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5b.qr.SPARQL11-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5b.qr.SPARQL11-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5c-allProduct-allField-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5c-allProduct-allField-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5c-allProduct-givenField-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5c-allProduct-givenField-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5c-oilnet-allField-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5c-oilnet-allField-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5c-oilnet-givenField-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5c-oilnet-givenField-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5d-allProduct-givenField-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5d-allProduct-givenField-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5d-oilnet-givenField-D.statoil-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5d-oilnet-givenField-D.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2011-12-25"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5g-allProduct-givenField-M-asgard.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5g-allProduct-givenField-M-asgard.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5g-gas-givenField-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5g-gas-givenField-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5g-oilnet-allField-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5g-oilnet-allField-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5g-oilnet-allField-activeLicence-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5g-oilnet-allField-activeLicence-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5g-oilnet-givenField-M-asgard.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5g-oilnet-givenField-M-asgard.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/5g-oilnet-givenField-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/5g-oilnet-givenField-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/6b-gas-givenField-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/6b-gas-givenField-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/6b-oilnet-givenField-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/6b-oilnet-givenField-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
test/queries/config/6b-oilnet-givenField-activeLicence-M.modified.statoil-MPRG.json
deleted
100644 → 0
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/6b-oilnet-givenField-activeLicence-M.modified.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/6b-oilnet-givenField-activeLicence-M.modified.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/6b-oilnet-givenField-activeLicence-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/6b-oilnet-givenField-activeLicence-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/7b-oilnet-givenField-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/7b-oilnet-givenField-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu128", | ||
4 | - "password":"ERHpw028", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/7b-oilnet-givenField-activeLicence-M.statoil-MPRG.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/7b-oilnet-givenField-activeLicence-M.statoil", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"1854729"}, | ||
10 | - {"name":"reportType","value":"MPRG"}, | ||
11 | - {"name":"fromDate","value":"2011-12-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-06-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
test/queries/config/8a-gas-allWellbore-allField-injectionAllocated-D.dong-DPR2.json
deleted
100644 → 0
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu145", | ||
4 | - "password":"ERHpw045", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/8a-gas-allWellbore-allField-injectionAllocated-D.dong-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/8a-gas-allWellbore-allField-injectionAllocated-D.dong", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"18081500"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2012-02-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
test/queries/config/8a-gas-allWellbore-givenField-injectionAllocated-D.dong-DPR2.json
deleted
100644 → 0
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu145", | ||
4 | - "password":"ERHpw045", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/8a-gas-allWellbore-givenField-injectionAllocated-D.dong-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/8a-gas-allWellbore-givenField-injectionAllocated-D.dong", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"18081500"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2012-02-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu145", | ||
4 | - "password":"ERHpw045", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/8a-gas-givenWellbore-injectionAllocated-D.dong-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/8a-gas-givenWellbore-injectionAllocated-D.dong", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"18081500"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2012-02-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu145", | ||
4 | - "password":"ERHpw045", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/8b-gas-givenWellbore-productionAllocated-D.dong-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/8b-gas-givenWellbore-productionAllocated-D.dong", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"18081500"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2012-02-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
1 | -{ | ||
2 | - "serverUrl":"https://ws-test.reportinghub.no/resources/parameterized-query", | ||
3 | - "user":"tu145", | ||
4 | - "password":"ERHpw045", | ||
5 | - "outputFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/output/8c.qr.SPARQL11-D.dong-DPR2.txt", | ||
6 | - "sparqlQueryFile":"/Volumes/DATA/gitlab/ERHTest/test/queries/8c.qr.SPARQL11-D.dong", | ||
7 | - "params": | ||
8 | - [ | ||
9 | - {"name":"NPDId","value":"18081500"}, | ||
10 | - {"name":"reportType","value":"DPR2"}, | ||
11 | - {"name":"fromDate","value":"2012-02-01"}, | ||
12 | - {"name":"NPDType","value":"FIELD"}, | ||
13 | - {"name":"endDate","value":"2012-03-01"} | ||
14 | - ] | ||
15 | -} | ||
16 | - | ||
17 | - |
-
Please register or login to post a comment