David Leal

Completed productVolume/geographicContext

# 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
@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> .
@prefix ep-geo: <http://www.reportinghub.no/ep/schema/geography#> .
......@@ -11,48 +12,78 @@
<http://www.reportinghub.no/ep/schema/1.0/geography>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-geo:AreaCoveredByBusinessArrangement
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdfs:label "NPD Block"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:NpdPolygon , ep-geo:NpdBlock , ep-geo:Country , ep-geo:State , ep-geo:County .
owl:disjointWith ep-geo:County , ep-geo:State , ep-geo:Country , ep-geo:NpdBlock , ep-geo:NpdPolygon .
ep-geo:Country
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdfs:label "country"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:NpdBlock , ep-geo:NpdPolygon , ep-geo:County , ep-geo:State .
owl:disjointWith ep-geo:State , ep-geo:County , ep-geo:NpdPolygon , ep-geo:NpdBlock .
ep-geo:County
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdfs:label "county"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:NpdBlock , ep-geo:NpdPolygon , ep-geo:State , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:State , ep-geo:NpdPolygon , ep-geo:NpdBlock .
ep-geo:NpdBlock
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdfs:label "NPD Block"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:Country , ep-geo:State , ep-geo:County .
owl:disjointWith ep-geo:County , ep-geo:State , ep-geo:Country .
ep-geo:NpdPolygon
rdf:type owl:Class ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:State , ep-geo:NpdBlock , ep-geo:County , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:County , ep-geo:NpdBlock , ep-geo:State .
ep-geo:OffshoreLocation
rdf:type owl:Class ;
rdfs:label "offshore location"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth .
ep-geo:PartOfTheSurfaceOfTheEarth
rdf:type owl:Class ;
rdfs:label "part of the surface of the earth"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfARegionOfSpace> .
ep-geo:State
rdf:type ep-fac:ProductionFacilityType , owl:Class ;
rdf:type owl:Class , ep-fac:ProductionFacilityType ;
rdfs:label "state"^^xsd:string ;
rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
owl:disjointWith ep-geo:NpdBlock , ep-geo:NpdPolygon , ep-geo:County , ep-geo:Country .
owl:disjointWith ep-geo:Country , ep-geo:County , ep-geo:NpdPolygon , ep-geo:NpdBlock .
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 ;
rdfs:domain ep-geo:OffshoreLocation ;
rdfs:label "has North Sea block suffix ID"^^xsd:string .
ep-geo:hasNorthSeaQuadrantId
rdf:type owl:DatatypeProperty ;
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 ;
......
......@@ -48,7 +48,7 @@ sp:if
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
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: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:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
......@@ -152,6 +152,26 @@ arg2 is report end date"""^^xsd:string ;
])
] .
ep-dpr-spin-lib:buildBlockURI
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
rdfs:comment "arg1 is the block ID"^^xsd:string ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/block/" ;
sp:arg2 spin:_arg1
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
ep-dpr-spin-lib:buildCountryURI
rdf:type spin:Function ;
rdfs:label "build Country URI"^^xsd:string ;
......@@ -5470,6 +5490,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
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 _:b29
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
......@@ -5549,22 +5585,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
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 _:b29
])
] .
ep-dpr-spin-lib:selectTemperatureScale
......@@ -7093,89 +7113,89 @@ ep-dpr-spin-lib:selectWorkScale
])
] .
_:b32
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b31
sp:varName "volumeAtStdType"^^xsd:string .
_:b30
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b29
sp:varName "specificVolumeScale"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "safetyActivityType"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b27
sp:varName "relationshipToMeasure"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b26
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b21
sp:varName "productType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b19
_:b11
sp:varName "uri"^^xsd:string .
_:b18
_:b12
sp:varName "uri"^^xsd:string .
_:b17
_:b13
sp:varName "uri"^^xsd:string .
_:b16
_:b14
sp:varName "uri"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b14
_:b16
sp:varName "uri"^^xsd:string .
_:b13
_:b17
sp:varName "uri"^^xsd:string .
_:b12
_:b18
sp:varName "uri"^^xsd:string .
_:b11
_:b19
sp:varName "uri"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b21
sp:varName "productType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b26
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b27
sp:varName "relationshipToMeasure"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "safetyActivityType"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b29
sp:varName "specificVolumeScale"^^xsd:string .
_:b30
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b31
sp:varName "volumeAtStdType"^^xsd:string .
_:b32
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
......