David Leal

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

…. Made small addition to geography schema.
# Saved by TopBraid on Sun Dec 18 21:34:11 GMT 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/np/schema/1.0/npd
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> .
......@@ -14,11 +15,11 @@
<http://www.reportinghub.no/ep/schema/1.0/geography>
rdf:type owl:Ontology ;
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> ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:Area
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "Compressibility"^^xsd:string ;
rdfs:subClassOf owl:Class .
......@@ -38,22 +39,22 @@ ep-core:licenceBlockHasNpdPolygonPart
rdfs:subPropertyOf ep-core:hasPart .
ep-geo:AreaCoveredByBusinessArrangement
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdfs:label "A part of the earth recognised in a Business Arrangement"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:LicenceBlock , ep-geo:State , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:State , ep-geo:LicenceBlock .
ep-geo:Country
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdfs:label "country"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:State .
owl:disjointWith ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
ep-geo:County
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdfs:label "county"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:State , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
ep-geo:LicenceBlock
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
......@@ -62,10 +63,15 @@ ep-geo:LicenceBlock
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:Country , ep-geo:State , ep-geo:County , ep-geo:AreaCoveredByBusinessArrangement , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon .
ep-geo:OffshoreLocation
rdf:type owl:Class ;
rdfs:label "offshore location"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth .
ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon
rdf:type owl:Class ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:Country , ep-geo:State .
owl:disjointWith ep-geo:State , ep-geo:Country , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
ep-geo:PartOfTheSurfaceOfTheEarth
rdf:type owl:Class ;
......@@ -73,10 +79,10 @@ ep-geo:PartOfTheSurfaceOfTheEarth
rdfs:subClassOf ep-core:PhysicalObject .
ep-geo:State
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdfs:label "state"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement .
ep-geo:areaOnSurfaceOfEarth
rdf:type owl:ObjectProperty ;
......@@ -88,6 +94,31 @@ ep-geo:businessArrangementGoverningArea
rdfs:domain ep-geo:AreaCoveredByBusinessArrangement ;
rdfs:range <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea> .
ep-geo:hasAreaName
rdf:type owl:DatatypeProperty ;
rdfs:domain ep-geo:OffshoreLocation ;
rdfs:label "has area name"^^xsd:string .
ep-geo:hasNorthSeaAreaName
rdf:type owl:DatatypeProperty ;
rdfs:domain ep-geo:OffshoreLocation ;
rdfs:label "has North Sea area name"^^xsd:string .
ep-geo:hasNorthSeaBlockSuffixId
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-geo:OffshoreLocation ;
rdfs:label "has North Sea block suffix ID"^^xsd:string .
ep-geo:hasNorthSeaQuadrantId
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-geo:OffshoreLocation ;
rdfs:label "has North Sea quadrant ID"^^xsd:string .
ep-geo:hasOffshoreLocationComment
rdf:type owl:DatatypeProperty ;
rdfs:domain ep-geo:OffshoreLocation ;
rdfs:label "has offshore location comment"^^xsd:string .
ep-geo:locatedWithin
rdf:type owl:ObjectProperty ;
rdfs:domain ep-core:PhysicalThing ;
......
# Saved by TopBraid on Fri Dec 16 17:30:20 GMT 2011
# Saved by TopBraid on Sun Dec 18 18:59:30 GMT 2011
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/production
......@@ -49,7 +49,7 @@ sp:if
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
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> ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
......@@ -362,9 +362,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b13
......@@ -5518,22 +5516,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b28
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
......@@ -5613,6 +5595,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b28
])
] .
ep-dpr-spin-lib:selectTemperatureScale
......
# Saved by TopBraid on Fri Dec 16 17:30:20 GMT 2011
# Saved by TopBraid on Sun Dec 18 18:59:31 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Fri Dec 16 17:53:47 GMT 2011
# Saved by TopBraid on Sun Dec 18 21:07:10 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Tue Oct 25 15:26:03 BST 2011
# Saved by TopBraid on Sun Dec 18 21:17:35 GMT 2011
# baseURI: http://www.reportinghub.no/test/dpr/TEST_dpr-xml-ingest
# imports: http://www.reportinghub.no/np/data/npd
# imports: http://www.reportinghub.no/np/data/npd-alias-identifiers
......@@ -11,6 +11,7 @@
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix small_amount_of_product_volume_data: <file:///EPIM-Ontologies/www.reportinghub.no/test/dpr/testcase/small_amount_of_product_volume_data.xml#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
......
# Saved by TopBraid on Tue Oct 25 15:26:03 BST 2011
# Saved by TopBraid on Sun Dec 18 21:17:35 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......