8a-gas-allWellbore-givenField-injectionAllocated-D.dong
2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX erhi: <http://www.reportinghub.no/erhi/schema/1.0/interface-model#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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
WHERE {
?licence rdf:type erhi:LicenceOrBaa .
?licenceShare erhi:licenceOrBaaShared ?licence.
?licenceShare erhi:licenceOrBaaShareHolder ?licenceOwner.
?licenceOwner erhi:npdid "4070011".
?licenceShare erhi:percentageOfShare ?percentageOfShare.
?licence erhi:ownsField ?field .
?field
erhi:npdid "18081500";
erhi:hasWellbore ?wellbore.
?wellbore erhi:npdname ?wellboreName.
?flow erhi:flowIntoOrOutOf ?wellbore.
?flow a erhi:InjectionFlow, erhi:AllocatedFlow .
?flow erhi:hasProduct ?flowProduct.
?flowProduct erhi:productStartAt ?startProductDate.
?flowProduct erhi:productEndAt ?endProductDate.
?flowProduct erhi:hasTimePeriod "Daily".
?flowProduct
erhi:hasProductKind "gas".
OPTIONAL {
?flowProduct erhi:hasDensity ?density;
erhi:hasDensityUnit ?densityUnit.
}
OPTIONAL {
?flowProduct erhi:hasMass ?mass;
erhi:hasMassUnit ?massUnit.
}
OPTIONAL {
?flowProduct erhi:hasVolume ?volume;
erhi:hasVolumeUnit ?volumeUnit.
}
OPTIONAL {
?flow erhi:wellboreBottomholePressureValue ?bhp_value.
?flow erhi:wellboreBottomholePressureUnit ?bhp_unit.
}
OPTIONAL {
?flow erhi:wellboreBottomholeTemperatureValue ?bht_value.
?flow erhi:wellboreBottomholeTemperatureUnit ?bht_unit.
}
OPTIONAL {
?flow erhi:wellboreWellheadPressureValue ?whp_value.
?flow erhi:wellboreWellheadPressureUnit ?whp_unit.
}
OPTIONAL {
?flow erhi:wellboreWellheadTemperatureValue ?wht_value.
?flow erhi:wellboreWellheadTemperatureUnit ?wht_unit.
}
OPTIONAL {
?flow erhi:wellboreChockeSizeValue ?chokeSize_value.
?flow erhi:wellboreChockeSizeUnit ?chokeSize_unit.
}
OPTIONAL {
?flow erhi:wellboreStatus ?wellboreStatus.
}
FILTER (?startProductDate > "2012-02-25"^^xsd:date)
FILTER (?endProductDate < "2012-03-10"^^xsd:date)
}