MonkeyChap

Few fixes to mappings - still not got water cleansing working though - amount of…

… oil property won't set
# Saved by TopBraid on Fri Oct 14 20:23:54 BST 2011
# Saved by TopBraid on Fri Oct 14 21:14:36 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/dpr/productionOperations
# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
......@@ -991,6 +991,9 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#oilInWater> ;
sp:subject _:b124
] [ sp:object _:b129 ;
sp:predicate _:b130 ;
sp:subject _:b128
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SpecificMass> ;
sp:predicate rdf:type ;
sp:subject _:b128
]) ;
......@@ -998,24 +1001,24 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs
sp:expression
[ rdf:type spif:generateUUID
] ;
sp:variable _:b130
sp:variable _:b131
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/waterCleaningQuality/{?1}" ;
sp:arg2 _:b130
sp:arg2 _:b131
] ;
sp:variable _:b119
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:generateUUID
] ;
sp:variable _:b131
sp:variable _:b132
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/{?1}" ;
sp:arg2 _:b131
sp:arg2 _:b132
] ;
sp:variable _:b124
] [ rdf:type sp:Optional ;
......@@ -1037,15 +1040,13 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs
sp:subject spin:_this
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b132 ;
sp:elements ([ sp:object _:b133 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#amountOfOilRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "oilAmountVal"^^xsd:string
] ;
] [ sp:object _:b129 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b132
] [ sp:object _:b133 ;
sp:subject _:b133
] [ sp:object _:b134 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject
[ sp:varName "oilAmounrRef"^^xsd:string
......@@ -1053,83 +1054,81 @@ Need functions to generate facility URIs - also need their temporal parts"""^^xs
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ;
sp:arg1 _:b133
sp:arg1 _:b134
] ;
sp:variable _:b127
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:generateUUID
] ;
sp:variable _:b134
sp:variable _:b135
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/amountOfOil/{?1}" ;
sp:arg2 _:b134
sp:arg2 _:b135
] ;
sp:variable _:b126
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b135 ;
sp:elements ([ sp:object _:b136 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#oilInWaterProducedRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "owVal"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b135
] [ sp:object
[ sp:varName "owUOM"^^xsd:string
] ;
sp:subject _:b136
] [ sp:object _:b137 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
sp:subject _:b135
sp:subject _:b136
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectMassConcentrationScale ;
sp:arg1 _:b133
sp:arg1 _:b137
] ;
sp:variable _:b129
sp:variable _:b130
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:generateUUID
] ;
sp:variable _:b136
sp:variable _:b138
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/amountOfOil/{?1}" ;
sp:arg2 _:b136
sp:arg1 "https://www.reportinghub.no/ep/data/waterSample/oilInWater/{?1}" ;
sp:arg2 _:b138
] ;
sp:variable _:b128
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b137 ;
sp:elements ([ sp:object _:b139 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionActivityRef> ;
sp:subject _:b138
sp:subject _:b140
] [ sp:object spin:_this ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#waterCleaningQualityRef> ;
sp:subject _:b137
] [ sp:object _:b139 ;
sp:subject _:b139
] [ sp:object _:b141 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject _:b138
] [ sp:object _:b140 ;
sp:subject _:b140
] [ sp:object _:b142 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b139
] [ sp:object _:b138 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
sp:subject _:b141
] [ sp:object _:b142 ;
] [ sp:object _:b140 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationReportRef> ;
sp:subject _:b143
] [ sp:object _:b144 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:subject _:b141
] [ sp:object _:b143 ;
sp:subject _:b143
] [ sp:object _:b145 ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:subject _:b141
sp:subject _:b143
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ;
sp:arg1 _:b140 ;
sp:arg2 _:b142 ;
sp:arg3 _:b143
sp:arg1 _:b142 ;
sp:arg2 _:b144 ;
sp:arg3 _:b145
] ;
sp:variable _:b122
])
......@@ -1370,81 +1369,6 @@ _:b117
_:b118
sp:varName "endDate"^^xsd:string .
_:b119
sp:varName "epWaterClean"^^xsd:string .
_:b120
sp:varName "startTime"^^xsd:string .
_:b121
sp:varName "endTime"^^xsd:string .
_:b122
sp:varName "epInstProdOpAct"^^xsd:string .
_:b123
sp:varName "samplePoint"^^xsd:string .
_:b124
sp:varName "epWaterSample"^^xsd:string .
_:b125
sp:varName "phVal"^^xsd:string .
_:b126
sp:varName "epOilAmount"^^xsd:string .
_:b127
sp:varName "epOilAmountUOM"^^xsd:string .
_:b128
sp:varName "epOilInWater"^^xsd:string .
_:b129
sp:varName "epOwUOM"^^xsd:string .
_:b130
sp:varName "UUID"^^xsd:string .
_:b131
sp:varName "wsUUID"^^xsd:string .
_:b132
sp:varName "oilAmountRef"^^xsd:string .
_:b133
sp:varName "oilAmountUOM"^^xsd:string .
_:b134
sp:varName "oaUUID"^^xsd:string .
_:b135
sp:varName "oilInWaterRef"^^xsd:string .
_:b136
sp:varName "owUUID"^^xsd:string .
_:b137
sp:varName "prodAct"^^xsd:string .
_:b138
sp:varName "instRep"^^xsd:string .
_:b139
sp:varName "installation"^^xsd:string .
_:b140
sp:varName "installName"^^xsd:string .
_:b141
sp:varName "parentRep"^^xsd:string .
_:b142
sp:varName "startDate"^^xsd:string .
_:b143
sp:varName "endDate"^^xsd:string .
_:b55
sp:varName "beds"^^xsd:string .
......@@ -1549,3 +1473,84 @@ _:b2 sp:varName "epDailyProdAct"^^xsd:string .
_:b8 sp:varName "epAnnualProdAct"^^xsd:string .
_:b9 sp:varName "epProdActToDate"^^xsd:string .
_:b131
sp:varName "UUID"^^xsd:string .
_:b119
sp:varName "epWaterClean"^^xsd:string .
_:b132
sp:varName "wsUUID"^^xsd:string .
_:b124
sp:varName "epWaterSample"^^xsd:string .
_:b121
sp:varName "endTime"^^xsd:string .
_:b120
sp:varName "startTime"^^xsd:string .
_:b123
sp:varName "samplePoint"^^xsd:string .
_:b125
sp:varName "phVal"^^xsd:string .
_:b133
sp:varName "oilAmountRef"^^xsd:string .
_:b129
sp:varName "oilAmountVal"^^xsd:string .
_:b134
sp:varName "oilAmountUOM"^^xsd:string .
_:b127
sp:varName "epOilAmountUOM"^^xsd:string .
_:b135
sp:varName "oaUUID"^^xsd:string .
_:b126
sp:varName "epOilAmount"^^xsd:string .
_:b136
sp:varName "oilInWaterRef"^^xsd:string .
_:b137
sp:varName "owUOM"^^xsd:string .
_:b130
sp:varName "epOwUOM"^^xsd:string .
_:b138
sp:varName "owUUID"^^xsd:string .
_:b128
sp:varName "epOilInWater"^^xsd:string .
_:b140
sp:varName "instRep"^^xsd:string .
_:b139
sp:varName "prodAct"^^xsd:string .
_:b141
sp:varName "installation"^^xsd:string .
_:b142
sp:varName "installName"^^xsd:string .
_:b143
sp:varName "parentRep"^^xsd:string .
_:b144
sp:varName "startDate"^^xsd:string .
_:b145
sp:varName "endDate"^^xsd:string .
_:b122
sp:varName "epInstProdOpAct"^^xsd:string .
......
# Saved by TopBraid on Fri Oct 14 20:23:54 BST 2011
# Saved by TopBraid on Fri Oct 14 21:14:36 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......