David Leal

Fixed Production facility, production flow and product flow URIs for DPR and MPR…

…. Made small addition to geography schema.
1 +# Saved by TopBraid on Sun Dec 18 21:34:11 GMT 2011
1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography
2 # imports: http://www.reportinghub.no/ep/schema/1.0/core 3 # imports: http://www.reportinghub.no/ep/schema/1.0/core
3 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 4 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
5 # imports: http://www.reportinghub.no/np/schema/1.0/npd 5 # imports: http://www.reportinghub.no/np/schema/1.0/npd
6 +# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
6 7
7 @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . 8 @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
8 @prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> . 9 @prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> .
...@@ -14,11 +15,11 @@ ...@@ -14,11 +15,11 @@
14 15
15 <http://www.reportinghub.no/ep/schema/1.0/geography> 16 <http://www.reportinghub.no/ep/schema/1.0/geography>
16 rdf:type owl:Ontology ; 17 rdf:type owl:Ontology ;
17 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; 18 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ;
18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
19 20
20 ep-core:Area 21 ep-core:Area
21 - rdf:type ep-core:PropertySpace , rdfs:Class ; 22 + rdf:type rdfs:Class , ep-core:PropertySpace ;
22 rdfs:label "Compressibility"^^xsd:string ; 23 rdfs:label "Compressibility"^^xsd:string ;
23 rdfs:subClassOf owl:Class . 24 rdfs:subClassOf owl:Class .
24 25
...@@ -38,22 +39,22 @@ ep-core:licenceBlockHasNpdPolygonPart ...@@ -38,22 +39,22 @@ ep-core:licenceBlockHasNpdPolygonPart
38 rdfs:subPropertyOf ep-core:hasPart . 39 rdfs:subPropertyOf ep-core:hasPart .
39 40
40 ep-geo:AreaCoveredByBusinessArrangement 41 ep-geo:AreaCoveredByBusinessArrangement
41 - rdf:type ep-fac:ProductionFacilityType , owl:Class ; 42 + rdf:type owl:Class , ep-fac:ProductionFacilityType ;
42 rdfs:label "A part of the earth recognised in a Business Arrangement"^^xsd:string ; 43 rdfs:label "A part of the earth recognised in a Business Arrangement"^^xsd:string ;
43 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 44 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
44 - owl:disjointWith ep-geo:LicenceBlock , ep-geo:State , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country . 45 + owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:State , ep-geo:LicenceBlock .
45 46
46 ep-geo:Country 47 ep-geo:Country
47 - rdf:type owl:Class , ep-fac:ProductionFacilityType ; 48 + rdf:type ep-fac:ProductionFacilityType , owl:Class ;
48 rdfs:label "country"^^xsd:string ; 49 rdfs:label "country"^^xsd:string ;
49 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 50 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
50 - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:State . 51 + owl:disjointWith ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
51 52
52 ep-geo:County 53 ep-geo:County
53 - rdf:type owl:Class , ep-fac:ProductionFacilityType ; 54 + rdf:type ep-fac:ProductionFacilityType , owl:Class ;
54 rdfs:label "county"^^xsd:string ; 55 rdfs:label "county"^^xsd:string ;
55 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 56 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
56 - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country . 57 + owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:State , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
57 58
58 ep-geo:LicenceBlock 59 ep-geo:LicenceBlock
59 rdf:type owl:Class , ep-fac:ProductionFacilityType ; 60 rdf:type owl:Class , ep-fac:ProductionFacilityType ;
...@@ -62,10 +63,15 @@ ep-geo:LicenceBlock ...@@ -62,10 +63,15 @@ ep-geo:LicenceBlock
62 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 63 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
63 owl:disjointWith ep-geo:Country , ep-geo:State , ep-geo:County , ep-geo:AreaCoveredByBusinessArrangement , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon . 64 owl:disjointWith ep-geo:Country , ep-geo:State , ep-geo:County , ep-geo:AreaCoveredByBusinessArrangement , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon .
64 65
66 +ep-geo:OffshoreLocation
67 + rdf:type owl:Class ;
68 + rdfs:label "offshore location"^^xsd:string ;
69 + rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth .
70 +
65 ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon 71 ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon
66 rdf:type owl:Class ; 72 rdf:type owl:Class ;
67 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 73 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
68 - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:Country , ep-geo:State . 74 + owl:disjointWith ep-geo:State , ep-geo:Country , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
69 75
70 ep-geo:PartOfTheSurfaceOfTheEarth 76 ep-geo:PartOfTheSurfaceOfTheEarth
71 rdf:type owl:Class ; 77 rdf:type owl:Class ;
...@@ -73,10 +79,10 @@ ep-geo:PartOfTheSurfaceOfTheEarth ...@@ -73,10 +79,10 @@ ep-geo:PartOfTheSurfaceOfTheEarth
73 rdfs:subClassOf ep-core:PhysicalObject . 79 rdfs:subClassOf ep-core:PhysicalObject .
74 80
75 ep-geo:State 81 ep-geo:State
76 - rdf:type owl:Class , ep-fac:ProductionFacilityType ; 82 + rdf:type ep-fac:ProductionFacilityType , owl:Class ;
77 rdfs:label "state"^^xsd:string ; 83 rdfs:label "state"^^xsd:string ;
78 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 84 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
79 - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country . 85 + owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
80 86
81 ep-geo:areaOnSurfaceOfEarth 87 ep-geo:areaOnSurfaceOfEarth
82 rdf:type owl:ObjectProperty ; 88 rdf:type owl:ObjectProperty ;
...@@ -88,6 +94,31 @@ ep-geo:businessArrangementGoverningArea ...@@ -88,6 +94,31 @@ ep-geo:businessArrangementGoverningArea
88 rdfs:domain ep-geo:AreaCoveredByBusinessArrangement ; 94 rdfs:domain ep-geo:AreaCoveredByBusinessArrangement ;
89 rdfs:range <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea> . 95 rdfs:range <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea> .
90 96
97 +ep-geo:hasAreaName
98 + rdf:type owl:DatatypeProperty ;
99 + rdfs:domain ep-geo:OffshoreLocation ;
100 + rdfs:label "has area name"^^xsd:string .
101 +
102 +ep-geo:hasNorthSeaAreaName
103 + rdf:type owl:DatatypeProperty ;
104 + rdfs:domain ep-geo:OffshoreLocation ;
105 + rdfs:label "has North Sea area name"^^xsd:string .
106 +
107 +ep-geo:hasNorthSeaBlockSuffixId
108 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
109 + rdfs:domain ep-geo:OffshoreLocation ;
110 + rdfs:label "has North Sea block suffix ID"^^xsd:string .
111 +
112 +ep-geo:hasNorthSeaQuadrantId
113 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
114 + rdfs:domain ep-geo:OffshoreLocation ;
115 + rdfs:label "has North Sea quadrant ID"^^xsd:string .
116 +
117 +ep-geo:hasOffshoreLocationComment
118 + rdf:type owl:DatatypeProperty ;
119 + rdfs:domain ep-geo:OffshoreLocation ;
120 + rdfs:label "has offshore location comment"^^xsd:string .
121 +
91 ep-geo:locatedWithin 122 ep-geo:locatedWithin
92 rdf:type owl:ObjectProperty ; 123 rdf:type owl:ObjectProperty ;
93 rdfs:domain ep-core:PhysicalThing ; 124 rdfs:domain ep-core:PhysicalThing ;
......
1 -# Saved by TopBraid on Fri Dec 16 17:30:20 GMT 2011 1 +# Saved by TopBraid on Sun Dec 18 18:59:30 GMT 2011
2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 # imports: http://www.reportinghub.no/ep/schema/1.0/production 4 # imports: http://www.reportinghub.no/ep/schema/1.0/production
...@@ -49,7 +49,7 @@ sp:if ...@@ -49,7 +49,7 @@ sp:if
49 49
50 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> 50 <http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
51 rdf:type owl:Ontology ; 51 rdf:type owl:Ontology ;
52 - 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> ; 52 + 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> ;
53 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 53 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
54 54
55 ep-dpr-spin-lib:BuildDailyProductionReportURI 55 ep-dpr-spin-lib:BuildDailyProductionReportURI
...@@ -362,9 +362,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -362,9 +362,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
362 [ rdf:type ep-spin-lib:buildURI ; 362 [ rdf:type ep-spin-lib:buildURI ;
363 sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ; 363 sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ;
364 sp:arg2 [ rdf:type fn:concat ; 364 sp:arg2 [ rdf:type fn:concat ;
365 - sp:arg1 spin:_arg1 ; 365 + sp:arg1 spin:_arg1
366 - sp:arg2 "$" ;
367 - sp:arg3 spin:_arg2
368 ] 366 ]
369 ] ; 367 ] ;
370 sp:variable _:b13 368 sp:variable _:b13
...@@ -5518,22 +5516,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION ...@@ -5518,22 +5516,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
5518 rdfs:subClassOf ep-dpr-spin-lib:Function ; 5516 rdfs:subClassOf ep-dpr-spin-lib:Function ;
5519 spin:body 5517 spin:body
5520 [ rdf:type sp:Select ; 5518 [ rdf:type sp:Select ;
5521 - sp:resultVariables (_:b28) ;
5522 - sp:where ([ rdf:type sp:Bind ;
5523 - sp:expression
5524 - [ rdf:type sp:if ;
5525 - sp:arg1 [ rdf:type sp:eq ;
5526 - sp:arg1 spin:_arg1 ;
5527 - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
5528 - ] ;
5529 - sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
5530 - sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5531 - ] ;
5532 - sp:variable _:b28
5533 - ])
5534 - ] ;
5535 - spin:body
5536 - [ rdf:type sp:Select ;
5537 sp:resultVariables ([ sp:varName "myVar"^^xsd:string 5519 sp:resultVariables ([ sp:varName "myVar"^^xsd:string
5538 ]) ; 5520 ]) ;
5539 sp:where ([ rdf:type sp:Bind ; 5521 sp:where ([ rdf:type sp:Bind ;
...@@ -5613,6 +5595,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION ...@@ -5613,6 +5595,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
5613 [ sp:varName "myVar"^^xsd:string 5595 [ sp:varName "myVar"^^xsd:string
5614 ] 5596 ]
5615 ]) 5597 ])
5598 + ] ;
5599 + spin:body
5600 + [ rdf:type sp:Select ;
5601 + sp:resultVariables (_:b28) ;
5602 + sp:where ([ rdf:type sp:Bind ;
5603 + sp:expression
5604 + [ rdf:type sp:if ;
5605 + sp:arg1 [ rdf:type sp:eq ;
5606 + sp:arg1 spin:_arg1 ;
5607 + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
5608 + ] ;
5609 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
5610 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
5611 + ] ;
5612 + sp:variable _:b28
5613 + ])
5616 ] . 5614 ] .
5617 5615
5618 ep-dpr-spin-lib:selectTemperatureScale 5616 ep-dpr-spin-lib:selectTemperatureScale
......
1 -# Saved by TopBraid on Fri Dec 16 17:30:20 GMT 2011 1 +# Saved by TopBraid on Sun Dec 18 18:59:31 GMT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -# Saved by TopBraid on Fri Dec 16 17:53:47 GMT 2011 1 +# Saved by TopBraid on Sun Dec 18 21:07:10 GMT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -# Saved by TopBraid on Tue Oct 25 15:26:03 BST 2011 1 +# Saved by TopBraid on Sun Dec 18 21:17:35 GMT 2011
2 # baseURI: http://www.reportinghub.no/test/dpr/TEST_dpr-xml-ingest 2 # baseURI: http://www.reportinghub.no/test/dpr/TEST_dpr-xml-ingest
3 # imports: http://www.reportinghub.no/np/data/npd 3 # imports: http://www.reportinghub.no/np/data/npd
4 # imports: http://www.reportinghub.no/np/data/npd-alias-identifiers 4 # imports: http://www.reportinghub.no/np/data/npd-alias-identifiers
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
11 @prefix owl: <http://www.w3.org/2002/07/owl#> . 11 @prefix owl: <http://www.w3.org/2002/07/owl#> .
12 @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#> .
13 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 13 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14 +@prefix small_amount_of_product_volume_data: <file:///EPIM-Ontologies/www.reportinghub.no/test/dpr/testcase/small_amount_of_product_volume_data.xml#> .
14 @prefix sp: <http://spinrdf.org/sp#> . 15 @prefix sp: <http://spinrdf.org/sp#> .
15 @prefix spin: <http://spinrdf.org/spin#> . 16 @prefix spin: <http://spinrdf.org/spin#> .
16 @prefix spl: <http://spinrdf.org/spl#> . 17 @prefix spl: <http://spinrdf.org/spl#> .
......
1 -# Saved by TopBraid on Tue Oct 25 15:26:03 BST 2011 1 +# Saved by TopBraid on Sun Dec 18 21:17:35 GMT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......