David Leal

First MPR transforms

...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
10 10
11 <http://www.reportinghub.no/ep/schema/1.0/production-report> 11 <http://www.reportinghub.no/ep/schema/1.0/production-report>
12 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
13 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ; 13 + owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 15
16 ep-prodreport:DailyProductVolumeReport 16 ep-prodreport:DailyProductVolumeReport
17 - rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ; 17 + rdf:type ep-prodreport:ProductVolumeReportPeriodType , owl:Class ;
18 rdfs:label "daily product volume report"^^xsd:string ; 18 rdfs:label "daily product volume report"^^xsd:string ;
19 rdfs:subClassOf ep-prodreport:DailyProductionReport . 19 rdfs:subClassOf ep-prodreport:DailyProductionReport .
20 20
...@@ -43,13 +43,18 @@ ep-prodreport:ProductionReport ...@@ -43,13 +43,18 @@ ep-prodreport:ProductionReport
43 rdfs:label "Production Report"^^xsd:string ; 43 rdfs:label "Production Report"^^xsd:string ;
44 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> . 44 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/report#Report> .
45 45
46 +ep-prodreport:ProductionReportKind
47 + rdf:type rdfs:Class ;
48 + rdfs:label "production report kind"^^xsd:string ;
49 + rdfs:subClassOf owl:Class .
50 +
46 ep-prodreport:ReportAliasIdentifier 51 ep-prodreport:ReportAliasIdentifier
47 rdf:type owl:Class ; 52 rdf:type owl:Class ;
48 rdfs:subClassOf owl:Thing ; 53 rdfs:subClassOf owl:Thing ;
49 rdfs:subClassOf 54 rdfs:subClassOf
50 [ rdf:type owl:Restriction ; 55 [ rdf:type owl:Restriction ;
51 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 56 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
52 - owl:onProperty ep-prodreport:isAliasFor 57 + owl:onProperty ep-prodreport:aliasName
53 ] ; 58 ] ;
54 rdfs:subClassOf 59 rdfs:subClassOf
55 [ rdf:type owl:Restriction ; 60 [ rdf:type owl:Restriction ;
...@@ -58,15 +63,10 @@ ep-prodreport:ReportAliasIdentifier ...@@ -58,15 +63,10 @@ ep-prodreport:ReportAliasIdentifier
58 ] ; 63 ] ;
59 rdfs:subClassOf 64 rdfs:subClassOf
60 [ rdf:type owl:Restriction ; 65 [ rdf:type owl:Restriction ;
61 - owl:minCardinality "1"^^xsd:nonNegativeInteger ; 66 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
62 - owl:onProperty ep-prodreport:aliasName 67 + owl:onProperty ep-prodreport:isAliasFor
63 ] . 68 ] .
64 69
65 -ep-prodreport:ReportType
66 - rdf:type rdfs:Class ;
67 - rdfs:label "report type"^^xsd:string ;
68 - rdfs:subClassOf owl:Class .
69 -
70 ep-prodreport:aliasName 70 ep-prodreport:aliasName
71 rdf:type owl:DatatypeProperty ; 71 rdf:type owl:DatatypeProperty ;
72 rdfs:range xsd:string . 72 rdfs:range xsd:string .
......
...@@ -48,7 +48,7 @@ sp:if ...@@ -48,7 +48,7 @@ sp:if
48 48
49 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> 49 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
50 rdf:type owl:Ontology ; 50 rdf:type owl:Ontology ;
51 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; 51 + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
52 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 52 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
53 53
54 ep-dpr-spin-lib:BuildDailyProductionReportURI 54 ep-dpr-spin-lib:BuildDailyProductionReportURI
...@@ -412,6 +412,28 @@ ep-dpr-spin-lib:buildProductionFlowsToDateURI ...@@ -412,6 +412,28 @@ ep-dpr-spin-lib:buildProductionFlowsToDateURI
412 ]) 412 ])
413 ] . 413 ] .
414 414
415 +ep-dpr-spin-lib:buildProductionReportKindURI
416 + rdf:type spin:Function ;
417 + rdfs:label "build ProductionReportKind URI"^^xsd:string ;
418 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
419 + spin:body
420 + [ rdf:type sp:Select ;
421 + sp:resultVariables ([ sp:varName "uri"^^xsd:string
422 + ]) ;
423 + sp:where ([ rdf:type sp:Bind ;
424 + sp:expression
425 + [ rdf:type ep-spin-lib:buildURI ;
426 + sp:arg1 "https://www.reportinghub.no/ep/data/productionReportKind/" ;
427 + sp:arg2 [ rdf:type fn:concat ;
428 + sp:arg1 spin:_arg1
429 + ]
430 + ] ;
431 + sp:variable
432 + [ sp:varName "uri"^^xsd:string
433 + ]
434 + ])
435 + ] .
436 +
415 ep-dpr-spin-lib:buildShipURI 437 ep-dpr-spin-lib:buildShipURI
416 rdf:type spin:Function ; 438 rdf:type spin:Function ;
417 rdfs:subClassOf ep-dpr-spin-lib:Function ; 439 rdfs:subClassOf ep-dpr-spin-lib:Function ;
...@@ -5490,22 +5512,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION ...@@ -5490,22 +5512,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
5490 rdfs:subClassOf ep-dpr-spin-lib:Function ; 5512 rdfs:subClassOf ep-dpr-spin-lib:Function ;
5491 spin:body 5513 spin:body
5492 [ rdf:type sp:Select ; 5514 [ rdf:type sp:Select ;
5493 - sp:resultVariables (_:b29) ;
5494 - sp:where ([ rdf:type sp:Bind ;
5495 - sp:expression
5496 - [ rdf:type sp:if ;
5497 - sp:arg1 [ rdf:type sp:eq ;
5498 - sp:arg1 spin:_arg1 ;
5499 - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
5500 - ] ;
5501 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
5502 - sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5503 - ] ;
5504 - sp:variable _:b29
5505 - ])
5506 - ] ;
5507 - spin:body
5508 - [ rdf:type sp:Select ;
5509 sp:resultVariables ([ sp:varName "myVar"^^xsd:string 5515 sp:resultVariables ([ sp:varName "myVar"^^xsd:string
5510 ]) ; 5516 ]) ;
5511 sp:where ([ rdf:type sp:Bind ; 5517 sp:where ([ rdf:type sp:Bind ;
...@@ -5585,6 +5591,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION ...@@ -5585,6 +5591,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
5585 [ sp:varName "myVar"^^xsd:string 5591 [ sp:varName "myVar"^^xsd:string
5586 ] 5592 ]
5587 ]) 5593 ])
5594 + ] ;
5595 + spin:body
5596 + [ rdf:type sp:Select ;
5597 + sp:resultVariables (_:b29) ;
5598 + sp:where ([ rdf:type sp:Bind ;
5599 + sp:expression
5600 + [ rdf:type sp:if ;
5601 + sp:arg1 [ rdf:type sp:eq ;
5602 + sp:arg1 spin:_arg1 ;
5603 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
5604 + ] ;
5605 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
5606 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5607 + ] ;
5608 + sp:variable _:b29
5609 + ])
5588 ] . 5610 ] .
5589 5611
5590 ep-dpr-spin-lib:selectTemperatureScale 5612 ep-dpr-spin-lib:selectTemperatureScale
...@@ -7113,89 +7135,89 @@ ep-dpr-spin-lib:selectWorkScale ...@@ -7113,89 +7135,89 @@ ep-dpr-spin-lib:selectWorkScale
7113 ]) 7135 ])
7114 ] . 7136 ] .
7115 7137
7116 -_:b1 sp:varName "uri"^^xsd:string . 7138 +_:b32
7139 + sp:varName "volumeFlowRateAtStdType"^^xsd:string .
7117 7140
7118 -_:b2 sp:varName "uri"^^xsd:string . 7141 +_:b31
7142 + sp:varName "volumeAtStdType"^^xsd:string .
7119 7143
7120 -_:b3 sp:varName "UUID"^^xsd:string . 7144 +_:b30
7145 + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
7121 7146
7122 -_:b4 sp:varName "uri"^^xsd:string . 7147 +_:b29
7148 + sp:varName "specificVolumeScale"^^xsd:string .
7123 7149
7124 -_:b5 sp:varName "uri"^^xsd:string . 7150 +_:b28
7151 + sp:varName "safetyActivityType"^^xsd:string .
7125 7152
7126 -_:b6 sp:varName "uri"^^xsd:string . 7153 +_:b27
7154 + sp:varName "relationshipToMeasure"^^xsd:string .
7127 7155
7128 -_:b7 sp:varName "uri"^^xsd:string . 7156 +_:b26
7157 + sp:varName "productionFlowPurposeType"^^xsd:string .
7129 7158
7130 -_:b8 sp:varName "uri"^^xsd:string . 7159 +_:b25
7160 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
7131 7161
7132 -_:b9 sp:varName "uri"^^xsd:string . 7162 +_:b24
7163 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
7133 7164
7134 -_:b10 7165 +_:b23
7135 - sp:varName "uri"^^xsd:string . 7166 + sp:varName "productionFlowDefinitionType"^^xsd:string .
7136 7167
7137 -_:b11 7168 +_:b22
7138 - sp:varName "uri"^^xsd:string . 7169 + sp:varName "productionFacilityType"^^xsd:string .
7139 7170
7140 -_:b12 7171 +_:b21
7141 - sp:varName "uri"^^xsd:string . 7172 + sp:varName "productType"^^xsd:string .
7142 7173
7143 -_:b13 7174 +_:b20
7175 + sp:varName "densityScale"^^xsd:string .
7176 +
7177 +_:b19
7144 sp:varName "uri"^^xsd:string . 7178 sp:varName "uri"^^xsd:string .
7145 7179
7146 -_:b14 7180 +_:b18
7147 sp:varName "uri"^^xsd:string . 7181 sp:varName "uri"^^xsd:string .
7148 7182
7149 -_:b15 7183 +_:b17
7150 sp:varName "uri"^^xsd:string . 7184 sp:varName "uri"^^xsd:string .
7151 7185
7152 _:b16 7186 _:b16
7153 sp:varName "uri"^^xsd:string . 7187 sp:varName "uri"^^xsd:string .
7154 7188
7155 -_:b17 7189 +_:b15
7156 sp:varName "uri"^^xsd:string . 7190 sp:varName "uri"^^xsd:string .
7157 7191
7158 -_:b18 7192 +_:b14
7159 sp:varName "uri"^^xsd:string . 7193 sp:varName "uri"^^xsd:string .
7160 7194
7161 -_:b19 7195 +_:b13
7162 sp:varName "uri"^^xsd:string . 7196 sp:varName "uri"^^xsd:string .
7163 7197
7164 -_:b20 7198 +_:b12
7165 - sp:varName "densityScale"^^xsd:string . 7199 + sp:varName "uri"^^xsd:string .
7166 -
7167 -_:b21
7168 - sp:varName "productType"^^xsd:string .
7169 7200
7170 -_:b22 7201 +_:b11
7171 - sp:varName "productionFacilityType"^^xsd:string . 7202 + sp:varName "uri"^^xsd:string .
7172 7203
7173 -_:b23 7204 +_:b10
7174 - sp:varName "productionFlowDefinitionType"^^xsd:string . 7205 + sp:varName "uri"^^xsd:string .
7175 7206
7176 -_:b24 7207 +_:b9 sp:varName "uri"^^xsd:string .
7177 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
7178 7208
7179 -_:b25 7209 +_:b8 sp:varName "uri"^^xsd:string .
7180 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
7181 7210
7182 -_:b26 7211 +_:b7 sp:varName "uri"^^xsd:string .
7183 - sp:varName "productionFlowPurposeType"^^xsd:string .
7184 7212
7185 -_:b27 7213 +_:b6 sp:varName "uri"^^xsd:string .
7186 - sp:varName "relationshipToMeasure"^^xsd:string .
7187 7214
7188 -_:b28 7215 +_:b5 sp:varName "uri"^^xsd:string .
7189 - sp:varName "safetyActivityType"^^xsd:string .
7190 7216
7191 -_:b29 7217 +_:b4 sp:varName "uri"^^xsd:string .
7192 - sp:varName "specificVolumeScale"^^xsd:string .
7193 7218
7194 -_:b30 7219 +_:b3 sp:varName "UUID"^^xsd:string .
7195 - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
7196 7220
7197 -_:b31 7221 +_:b2 sp:varName "uri"^^xsd:string .
7198 - sp:varName "volumeAtStdType"^^xsd:string .
7199 7222
7200 -_:b32 7223 +_:b1 sp:varName "uri"^^xsd:string .
7201 - sp:varName "volumeFlowRateAtStdType"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Oct 05 12:01:16 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector 1 # baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
3 -# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0
4 # imports: http://spinrdf.org/spin 2 # imports: http://spinrdf.org/spin
3 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0
4 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
5 5
6 @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . 6 @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
7 @prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> . 7 @prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> .
8 +@prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> .
9 +@prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
8 @prefix owl: <http://www.w3.org/2002/07/owl#> . 10 @prefix owl: <http://www.w3.org/2002/07/owl#> .
9 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 11 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 12 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
...@@ -15,5 +17,5 @@ ...@@ -15,5 +17,5 @@
15 17
16 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> 18 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
17 rdf:type owl:Ontology ; 19 rdf:type owl:Ontology ;
18 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0> ; 20 + owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 21 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Oct 05 12:01:16 BST 2011
2 # baseURI: null 1 # baseURI: null
3 2
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 3 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.epim.no/schemas/mprml/1
4 +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
5 +# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
6 +
7 +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
8 +@prefix arg: <http://spinrdf.org/arg#> .
9 +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
10 +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
11 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
12 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
13 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
14 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
16 +@prefix sp: <http://spinrdf.org/sp#> .
17 +@prefix spin: <http://spinrdf.org/spin#> .
18 +@prefix spl: <http://spinrdf.org/spl#> .
19 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
20 +
21 +<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
22 + spin:rule
23 + [ rdf:type sp:Construct ;
24 + rdfs:comment """STEP 20102 Record the Facility that has the flows
25 +Nothing is done with the namingSystem!"""^^xsd:string ;
26 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
27 + sp:predicate rdf:type ;
28 + sp:subject
29 + [ sp:varName "productionFacility"^^xsd:string
30 + ]
31 + ] [ sp:object
32 + [ sp:varName "productionFacilityType"^^xsd:string
33 + ] ;
34 + sp:predicate rdf:type ;
35 + sp:subject
36 + [ sp:varName "productionFacility"^^xsd:string
37 + ]
38 + ]) ;
39 + sp:where ([ sp:object
40 + [ sp:varName "productVolumeRef"^^xsd:string
41 + ] ;
42 + sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
43 + sp:subject spin:_this
44 + ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productVolume> ;
45 + sp:predicate rdf:type ;
46 + sp:subject
47 + [ sp:varName "productVolumeRef"^^xsd:string
48 + ]
49 + ] [ sp:object
50 + [ sp:varName "facilityRef"^^xsd:string
51 + ] ;
52 + sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
53 + sp:subject
54 + [ sp:varName "productVolumeRef"^^xsd:string
55 + ]
56 + ] [ sp:object
57 + [ sp:varName "facilityNameRef"^^xsd:string
58 + ] ;
59 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
60 + sp:subject
61 + [ sp:varName "facilityRef"^^xsd:string
62 + ]
63 + ] [ sp:object
64 + [ sp:varName "facilityName"^^xsd:string
65 + ] ;
66 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
67 + sp:subject
68 + [ sp:varName "facilityNameRef"^^xsd:string
69 + ]
70 + ] [ rdf:type sp:Optional ;
71 + sp:elements ([ sp:object
72 + [ sp:varName "facilityNamingSystem"^^xsd:string
73 + ] ;
74 + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
75 + sp:subject
76 + [ sp:varName "facilityNameRef"^^xsd:string
77 + ]
78 + ])
79 + ] [ rdf:type sp:Optional ;
80 + sp:elements ([ sp:object
81 + [ sp:varName "facilityKind"^^xsd:string
82 + ] ;
83 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
84 + sp:subject
85 + [ sp:varName "facilityNameRef"^^xsd:string
86 + ]
87 + ])
88 + ] [ rdf:type sp:Bind ;
89 + sp:expression
90 + [ rdf:type ep-spin-lib:normalizeString ;
91 + sp:arg1 [ sp:varName "facilityName"^^xsd:string
92 + ]
93 + ] ;
94 + sp:variable
95 + [ sp:varName "normalizedFacilityName"^^xsd:string
96 + ]
97 + ] [ rdf:type sp:Bind ;
98 + sp:expression
99 + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
100 + sp:arg1 [ sp:varName "normalizedFacilityName"^^xsd:string
101 + ]
102 + ] ;
103 + sp:variable
104 + [ sp:varName "productionFacility"^^xsd:string
105 + ]
106 + ] [ rdf:type sp:Bind ;
107 + sp:expression
108 + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
109 + sp:arg1 [ sp:varName "facilityKind"^^xsd:string
110 + ]
111 + ] ;
112 + sp:variable
113 + [ sp:varName "productionFacilityType"^^xsd:string
114 + ]
115 + ])
116 + ] .
117 +
118 +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0>
119 + rdf:type owl:Ontology ;
120 + owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ;
121 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
1 # baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest 1 # baseURI: http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest
2 +# imports: file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml
2 # imports: http://spinrdf.org/spin 3 # imports: http://spinrdf.org/spin
4 +# imports: http://www.epim.no/schemas/mprml/1
3 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector 5 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
4 # imports: http://www.reportinghub.no/np/data/npd 6 # imports: http://www.reportinghub.no/np/data/npd
5 7
6 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> . 8 @prefix : <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest#> .
7 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . 9 @prefix TRANSFORM_mpr-collector: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
10 +@prefix TRYM-volumes_2011-08-27_final: <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml#> .
8 @prefix owl: <http://www.w3.org/2002/07/owl#> . 11 @prefix owl: <http://www.w3.org/2002/07/owl#> .
9 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 13 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
...@@ -15,5 +18,5 @@ ...@@ -15,5 +18,5 @@
15 18
16 <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest> 19 <http://www.reportinghub.no/test/mpr/TEST_mpr-xml-ingest>
17 rdf:type owl:Ontology ; 20 rdf:type owl:Ontology ;
18 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://www.reportinghub.no/np/data/npd> ; 21 + owl:imports <file:///EPIM-Ontologies/www.reportinghub.no/test/mpr/testcase/DongEnergy/dpr-mprformat/TRYM-volumes_2011-08-27_final.xml> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> , <http://www.reportinghub.no/np/data/npd> , <http://www.epim.no/schemas/mprml/1> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 22 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
1 -<?xml version="1.0" encoding="UTF-8"?><objects version="1.0.0.0(PRODML)" xmlns="http://www.witsml.org/schemas/131" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 1 +<?xml version="1.0" encoding="UTF-8"?><objects version="1.0.0.0(PRODML)" xmlns="http://www.epim.no/schemas/mprml/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2 <context xsi:type="obj_report"> 2 <context xsi:type="obj_report">
3 <kind>Daily production report Trym</kind> 3 <kind>Daily production report Trym</kind>
4 <title>Daily production report Trym September 2011</title> 4 <title>Daily production report Trym September 2011</title>
......