Made test case. Minor fix of transform which was importing unnamed schema.
Showing
3 changed files
with
333 additions
and
3 deletions
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
3 | # imports: http://www.epim.no/schemas/mprml/1 | 3 | # imports: http://www.epim.no/schemas/mprml/1 |
4 | # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib | 4 | # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib |
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/unnamed | 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/erhfacts |
6 | # imports: http://www.reportinghub.no/ep/transform/transform-helper-schema | 6 | # imports: http://www.reportinghub.no/ep/transform/transform-helper-schema |
7 | 7 | ||
8 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1#> . | 8 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1#> . |
... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
17 | @prefix sp: <http://spinrdf.org/sp#> . | 17 | @prefix sp: <http://spinrdf.org/sp#> . |
18 | @prefix spin: <http://spinrdf.org/spin#> . | 18 | @prefix spin: <http://spinrdf.org/spin#> . |
19 | @prefix spl: <http://spinrdf.org/spl#> . | 19 | @prefix spl: <http://spinrdf.org/spl#> . |
20 | -@prefix unnamed: <http://www.reportinghub.no/ep/schema/1.0/unnamed#> . | 20 | +@prefix erhfacts: <http://www.reportinghub.no/ep/schema/1.0/erhfacts#> . |
21 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 21 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
22 | 22 | ||
23 | <http://www.epim.no/schemas/mprml/1#Cs_productVolumeFacility> | 23 | <http://www.epim.no/schemas/mprml/1#Cs_productVolumeFacility> |
... | @@ -1094,5 +1094,5 @@ | ... | @@ -1094,5 +1094,5 @@ |
1094 | 1094 | ||
1095 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1> | 1095 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1> |
1096 | rdf:type owl:Ontology ; | 1096 | rdf:type owl:Ontology ; |
1097 | - owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/unnamed> ; | 1097 | + owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/erhfacts> ; |
1098 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 1098 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
1 | +# baseURI: http://www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/test-results/triples/TRYM-MONTH_2012-02-01_final-mprg-inventory | ||
2 | +# imports: http://www.reportinghub.no/data/erh | ||
3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production | ||
4 | + | ||
5 | +@prefix TRYM-MONTH_2012-02-01_final-mprg-inventory: <http://www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/test-results/triples/TRYM-MONTH_2012-02-01_final-mprg-inventory#> . | ||
6 | +@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . | ||
7 | +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . | ||
8 | +@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> . | ||
9 | +@prefix ep-flow: <http://www.reportinghub.no/ep/schema/flow#> . | ||
10 | +@prefix ep-material: <http://www.reportinghub.no/ep/schema/material#> . | ||
11 | +@prefix ep-org: <http://www.reportinghub.no/ep/schema/organization#> . | ||
12 | +@prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> . | ||
13 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
14 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
15 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
16 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
17 | + | ||
18 | +<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY> | ||
19 | + ep-material:hasComponent | ||
20 | + <http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET$NET> . | ||
21 | + | ||
22 | +<http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET$NET> | ||
23 | + rdf:type ep-flow:ProductInventory , ep-flow:WholeLifeProductInventory . | ||
24 | + | ||
25 | +<http://www.reportinghub.no/np/data/npd/Facility-416595> | ||
26 | + rdf:type ep-fac:ProductionFacility . | ||
27 | + | ||
28 | +<http://www.reportinghub.no/np/data/npd/Field-18081500> | ||
29 | + rdf:type ep-fac:ProductionFacility . | ||
30 | + | ||
31 | +<http://www.reportinghub.no/test/mpr/testcase/epim-mpr-govt/PL147/test-results/triples/TRYM-MONTH_2012-02-01_final-mprg-inventory> | ||
32 | + rdf:type owl:Ontology ; | ||
33 | + owl:imports <http://www.reportinghub.no/data/erh> , <http://www.reportinghub.no/ep/schema/1.0/production> ; | ||
34 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
35 | + | ||
36 | +<https://www.reportinghub.no/ep/data/organization/DONG_EP_NORGE_AS> | ||
37 | + rdf:type ep-org:Organization ; | ||
38 | + ep-core:name "Dong E&P Norge AS"^^xsd:string . | ||
39 | + | ||
40 | +<https://www.reportinghub.no/ep/data/productionReport/FIELD-18081500$2012-02-01$2012-02-29> | ||
41 | + rdf:type ep-report:FinalVersionOfAReport , ep-report:MonthlyProductionReport , ep-report:MonthlyProductionReportGovernment , ep-report:ProductionReport , ep-report:Report , <https://www.reportinghub.no/ep/data/productionReportKind/COPEX> ; | ||
42 | + ep-core:name "TRYM"^^xsd:string ; | ||
43 | + ep-report:reportOn _:b1 ; | ||
44 | + ep-report:reportVersion | ||
45 | + "1.0"^^xsd:string . | ||
46 | + | ||
47 | +<https://www.reportinghub.no/ep/data/productionReportKind/COPEX> | ||
48 | + rdf:type ep-report:ProductionReportType ; | ||
49 | + rdfs:label "Copex"^^xsd:string ; | ||
50 | + rdfs:subClassOf ep-report:ProductionReport . | ||
51 | + | ||
52 | +[] rdf:type ep-core:MeasuredState , ep-core:ValidlyMeasuredState , ep-material:QuantityOfMaterial ; | ||
53 | + rdf:type | ||
54 | + [ rdf:type ep-core:Volume ; | ||
55 | + ep-core:metre3 "519.72"^^xsd:double | ||
56 | + ] ; | ||
57 | + ep-core:temporalPartOf | ||
58 | + [ rdf:type ep-material:Fluid , ep-material:QuantityOfMaterial , ep-material:QuantityOfMaterialInASpecifiedState ; | ||
59 | + rdf:type | ||
60 | + [ rdf:type ep-core:Temperature ; | ||
61 | + ep-core:celsius "15"^^xsd:double | ||
62 | + ] ; | ||
63 | + rdf:type | ||
64 | + [ rdf:type ep-core:Pressure ; | ||
65 | + ep-core:atm "1"^^xsd:double | ||
66 | + ] ; | ||
67 | + ep-core:temporalPartOf | ||
68 | + _:b2 ; | ||
69 | + ep-flow:grossCalorificValue | ||
70 | + [ rdf:type ep-core:EnergyPerVolume | ||
71 | + ] | ||
72 | + ] . | ||
73 | + | ||
74 | +[] rdf:type ep-core:MeasuredState , ep-core:ValidlyMeasuredState , ep-material:QuantityOfMaterial ; | ||
75 | + rdf:type | ||
76 | + [ rdf:type ep-core:Volume ; | ||
77 | + ep-core:metre3 "85.857744"^^xsd:double | ||
78 | + ] ; | ||
79 | + ep-core:temporalPartOf | ||
80 | + [ rdf:type ep-material:Fluid , ep-material:QuantityOfMaterial , ep-material:QuantityOfMaterialInASpecifiedState ; | ||
81 | + rdf:type | ||
82 | + [ rdf:type ep-core:Temperature ; | ||
83 | + ep-core:celsius "15"^^xsd:double | ||
84 | + ] ; | ||
85 | + rdf:type | ||
86 | + [ rdf:type ep-core:Pressure ; | ||
87 | + ep-core:atm "1"^^xsd:double | ||
88 | + ] ; | ||
89 | + ep-core:temporalPartOf | ||
90 | + [ rdf:type ep-material:QuantityOfMaterial ; | ||
91 | + rdf:type | ||
92 | + [ rdf:type ep-core:Mass ; | ||
93 | + ep-core:kilogram "10.66366"^^xsd:double | ||
94 | + ] ; | ||
95 | + ep-core:spatialPartOf | ||
96 | + _:b3 ; | ||
97 | + ep-org:owner | ||
98 | + [ rdf:type ep-org:Organization ; | ||
99 | + ep-core:temporalPartOf | ||
100 | + <http://www.reportinghub.no/np/data/npd/Company-4070011> | ||
101 | + ] | ||
102 | + ] ; | ||
103 | + ep-flow:grossCalorificValue | ||
104 | + [ rdf:type ep-core:EnergyPerVolume | ||
105 | + ] | ||
106 | + ] . | ||
107 | + | ||
108 | +[] rdf:type ep-core:MeasuredState , ep-core:ValidlyMeasuredState , ep-material:QuantityOfMaterial ; | ||
109 | + rdf:type | ||
110 | + [ rdf:type ep-core:Volume ; | ||
111 | + ep-core:metre3 "433.862256"^^xsd:double | ||
112 | + ] ; | ||
113 | + ep-core:temporalPartOf | ||
114 | + [ rdf:type ep-material:Fluid , ep-material:QuantityOfMaterial , ep-material:QuantityOfMaterialInASpecifiedState ; | ||
115 | + rdf:type | ||
116 | + [ rdf:type ep-core:Temperature ; | ||
117 | + ep-core:celsius "15"^^xsd:double | ||
118 | + ] ; | ||
119 | + rdf:type | ||
120 | + [ rdf:type ep-core:Pressure ; | ||
121 | + ep-core:atm "1"^^xsd:double | ||
122 | + ] ; | ||
123 | + ep-core:temporalPartOf | ||
124 | + [ rdf:type ep-material:QuantityOfMaterial ; | ||
125 | + rdf:type | ||
126 | + [ rdf:type ep-core:Mass ; | ||
127 | + ep-core:kilogram "53.88634"^^xsd:double | ||
128 | + ] ; | ||
129 | + ep-core:spatialPartOf | ||
130 | + _:b3 ; | ||
131 | + ep-org:owner | ||
132 | + [ rdf:type ep-org:Organization ; | ||
133 | + ep-core:temporalPartOf | ||
134 | + <http://www.reportinghub.no/np/data/npd/Company-4444493> | ||
135 | + ] | ||
136 | + ] ; | ||
137 | + ep-flow:grossCalorificValue | ||
138 | + [ rdf:type ep-core:EnergyPerVolume | ||
139 | + ] | ||
140 | + ] . | ||
141 | + | ||
142 | +[] rdf:type ep-material:Fluid , ep-material:QuantityOfMaterial ; | ||
143 | + rdf:type | ||
144 | + [ rdf:type ep-core:Density ; | ||
145 | + ep-core:kilogram_m-3 | ||
146 | + "756.03"^^xsd:double | ||
147 | + ] ; | ||
148 | + rdf:type | ||
149 | + [ rdf:type ep-core:Temperature ; | ||
150 | + ep-core:celsius "15"^^xsd:double | ||
151 | + ] ; | ||
152 | + rdf:type | ||
153 | + [ rdf:type ep-core:Pressure ; | ||
154 | + ep-core:atm "1"^^xsd:double | ||
155 | + ] ; | ||
156 | + ep-core:temporalPartOf | ||
157 | + _:b2 . | ||
158 | + | ||
159 | +_:b3 rdf:type ep-flow:ProductInventoryClosingBalance , ep-material:QuantityOfMaterial ; | ||
160 | + ep-core:partOf _:b2 . | ||
161 | + | ||
162 | +_:b2 rdf:type ep-core:PhysicalThingDuringOneMonth , ep-flow:ProductInventory ; | ||
163 | + ep-core:temporalPartOf | ||
164 | + _:b4 ; | ||
165 | + ep-flow:massAtAccountingInstant | ||
166 | + [ rdf:type ep-core:Mass ; | ||
167 | + ep-core:kilogram "64.55"^^xsd:double | ||
168 | + ] . | ||
169 | + | ||
170 | +_:b4 rdf:type ep-flow:Inventory , ep-flow:ProductInventory ; | ||
171 | + ep-core:temporalPartOf | ||
172 | + <http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY$OIL_NET$NET> . | ||
173 | + | ||
174 | +[] rdf:type ep-flow:Inventory , ep-flow:ProductionInventory ; | ||
175 | + ep-core:name "Fredericia allocated inventory volumes"^^xsd:string ; | ||
176 | + ep-core:temporalPartOf | ||
177 | + <http://www.reportinghub.no/data/erh/Field-18081500-Flow-FRED_ALLLOCATED_INVENTORY> ; | ||
178 | + ep-material:hasComponent | ||
179 | + _:b4 . | ||
180 | + | ||
181 | +[] rdf:type ep-fac:SurfaceFixedFacility , ep-fac:TemporalPartOfAProductionFacility ; | ||
182 | + ep-core:temporalPartOf | ||
183 | + <http://www.reportinghub.no/np/data/npd/Facility-416595> . | ||
184 | + | ||
185 | +_:b5 rdf:type ep-flow:ProductionInventoryCollectionToDate ; | ||
186 | + ep-activity:finishedAt | ||
187 | + "2012-02-29"^^xsd:date . | ||
188 | + | ||
189 | +_:b6 rdf:type ep-flow:ProductionInventoryCollection ; | ||
190 | + ep-activity:finishedAt | ||
191 | + "2012-02-29"^^xsd:date ; | ||
192 | + ep-activity:startedAt | ||
193 | + "2012-02-01"^^xsd:date ; | ||
194 | + ep-core:temporalPartOf | ||
195 | + _:b5 . | ||
196 | + | ||
197 | +[] rdf:type ep-report:ProductVolumeReport , ep-report:Report ; | ||
198 | + rdfs:comment "A whole life production flow has not been found with UID 'FRED_ALLLOCATED_INVENTORY' ." ; | ||
199 | + ep-core:name "TRYM"^^xsd:string ; | ||
200 | + ep-core:partOf <https://www.reportinghub.no/ep/data/productionReport/FIELD-18081500$2012-02-01$2012-02-29> ; | ||
201 | + ep-report:reportOn _:b6 , _:b1 . | ||
202 | + | ||
203 | +[] rdf:type ep-activity:IssueAReport ; | ||
204 | + ep-activity:issuedFrom | ||
205 | + [ rdf:type ep-fac:TemporalPartOfAProductionFacility ; | ||
206 | + ep-core:temporalPartOf | ||
207 | + <http://www.reportinghub.no/np/data/npd/Field-18081500> ; | ||
208 | + ep-fac:facilityOperator | ||
209 | + [ rdf:type ep-org:Organization ; | ||
210 | + ep-core:temporalPartOf | ||
211 | + <https://www.reportinghub.no/ep/data/organization/DONG_EP_NORGE_AS> | ||
212 | + ] | ||
213 | + ] ; | ||
214 | + ep-report:issuedReport | ||
215 | + <https://www.reportinghub.no/ep/data/productionReport/FIELD-18081500$2012-02-01$2012-02-29> . | ||
216 | + | ||
217 | +_:b1 rdf:type ep-fac:TemporalPartOfAProductionFacility ; | ||
218 | + ep-activity:existsWithin | ||
219 | + "2012"^^xsd:gYear ; | ||
220 | + ep-activity:finishedAt | ||
221 | + "2012-02-29"^^xsd:date ; | ||
222 | + ep-activity:startedAt | ||
223 | + "2012-02-01"^^xsd:date ; | ||
224 | + ep-core:hasSpatialPart | ||
225 | + _:b6 ; | ||
226 | + ep-core:temporalPartOf | ||
227 | + <http://www.reportinghub.no/np/data/npd/Field-18081500> ; | ||
228 | + ep-core:temporalPartOf | ||
229 | + [ rdf:type ep-fac:ProductionFacilityToDate ; | ||
230 | + ep-activity:finishedAt | ||
231 | + "2012-02-29"^^xsd:date ; | ||
232 | + ep-core:hasSpatialPart | ||
233 | + _:b5 ; | ||
234 | + ep-core:temporalPartOf | ||
235 | + <http://www.reportinghub.no/np/data/npd/Field-18081500> | ||
236 | + ] . |
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<objects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | + xmlns="http://www.epim.no/schemas/mprml/1" version="1.0(MPRML)"> | ||
4 | + <documentInfo> | ||
5 | + <DocumentName namingSystem="EC">TRYM February 2012</DocumentName> | ||
6 | + <DocumentAlias namingSystem="EC">TRYM Copex Report</DocumentAlias> | ||
7 | + <DocumentDate>2012-03-05T00:00:00.0Z</DocumentDate> | ||
8 | + <documentClass namingSystem="EC">Dong E&P Norge AS</documentClass> | ||
9 | + <documentClass namingSystem="EC">Copex</documentClass> | ||
10 | + <documentClass namingSystem="ERH">mprg</documentClass> | ||
11 | + <FileCreationInformation> | ||
12 | + | ||
13 | + <FileCreationDate>2012-03-15T00:00:00.0Z</FileCreationDate> | ||
14 | + | ||
15 | + <SoftwareName>Energy Components</SoftwareName> | ||
16 | + <FileCreator>Dong E&P Norge AS</FileCreator> | ||
17 | + <Comment>NA</Comment> | ||
18 | + </FileCreationInformation> | ||
19 | + <Owner>Dong E&P Norge AS</Owner> | ||
20 | + </documentInfo> | ||
21 | + <context xsi:type="obj_report"> | ||
22 | + <kind>Copex</kind> | ||
23 | + | ||
24 | + <title>TRYM</title> | ||
25 | + <date>2012-02-01</date> | ||
26 | + <dateEnd>2012-02-29</dateEnd> | ||
27 | + <month>2012-02</month> | ||
28 | + <year>2012</year> | ||
29 | + <reportVersion>1.0</reportVersion> | ||
30 | + <reportStatus>final</reportStatus> | ||
31 | + <installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation> | ||
32 | + <operator> | ||
33 | + <name>Dong E&P Norge AS</name> | ||
34 | + <role>Operating company</role> | ||
35 | + </operator> | ||
36 | + </context> | ||
37 | + <object xsi:type="obj_productVolume"> | ||
38 | + <name>TRYM</name> | ||
39 | + <installation kind="field" namingSystem="NPD" uidRef="18081500">TRYM</installation><facility> | ||
40 | + <name kind="terminal" namingSystem="NPD" uidRef="416595">FREDERICIA</name> | ||
41 | + | ||
42 | + | ||
43 | + <flow uid="FRED_ALLLOCATED_INVENTORY"> | ||
44 | + <name>Fredericia allocated inventory volumes</name> | ||
45 | + <kind>inventory</kind> | ||
46 | + <qualifier>allocated</qualifier> | ||
47 | + <product> | ||
48 | + <kind>oil - net</kind> | ||
49 | + <period> | ||
50 | + <kind>month</kind> | ||
51 | + <dateStart>2012-02-01</dateStart> | ||
52 | + <dateEnd>2012-02-29</dateEnd> | ||
53 | + <volumeValue> | ||
54 | + <volume uom="m3">519.72</volume> | ||
55 | + <temp uom="degC">15</temp> | ||
56 | + <pres uom="atm">1</pres> | ||
57 | + </volumeValue> | ||
58 | + | ||
59 | + <mass uom="kg">64.55</mass> | ||
60 | + | ||
61 | + <densityValue> | ||
62 | + <density uom="kg/m3">756.03</density> | ||
63 | + <temp uom="degC">15</temp> | ||
64 | + <pres uom="atm">1</pres> | ||
65 | + </densityValue> | ||
66 | + <balanceSet> | ||
67 | + <kind>closing balance</kind> | ||
68 | + <balanceDetail> | ||
69 | + <owner>DONG E&P Norge AS</owner> | ||
70 | + <volumeValue> | ||
71 | + <volume uom="m3">85.857744</volume> | ||
72 | + <temp uom="degC">15</temp> | ||
73 | + <pres uom="atm">1</pres> | ||
74 | + </volumeValue> | ||
75 | + <mass uom="kg">10.66366</mass> | ||
76 | + </balanceDetail><balanceDetail> | ||
77 | + <owner>Bayerngas Norge AS</owner> | ||
78 | + <volumeValue> | ||
79 | + <volume uom="m3">433.862256</volume> | ||
80 | + <temp uom="degC">15</temp> | ||
81 | + <pres uom="atm">1</pres> | ||
82 | + </volumeValue> | ||
83 | + <mass uom="kg">53.88634</mass> | ||
84 | + </balanceDetail> | ||
85 | + </balanceSet> | ||
86 | + </period> | ||
87 | + | ||
88 | + </product> | ||
89 | + </flow> | ||
90 | + | ||
91 | + | ||
92 | + </facility> | ||
93 | + </object> | ||
94 | +</objects> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment