David Leal

Unused classes deleted and comments added

This diff could not be displayed because it is too large.
......@@ -16,14 +16,6 @@
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-fac:Completion
rdf:type owl:Class ;
rdfs:comment "not used in either the MPR or the DDR - see ep-prodwell:WellCompletionEquipment"^^xsd:string ;
rdfs:label "completion"^^xsd:string ;
rdfs:subClassOf ep-fac:Facility ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/page/RDS8015624975"^^xsd:string .
ep-fac:Facility
rdf:type owl:Class ;
rdfs:comment "a physical object that is all or part of the life of something that is operated, maintained and refurbished over a long period, and that is regarded as a major asset"^^xsd:string ;
......@@ -71,6 +63,7 @@ ep-fac:Flowline
ep-fac:Flowline-production
rdf:type owl:Class ;
rdfs:comment "not used in the MPR"^^xsd:string ;
rdfs:label "flowline - production"^^xsd:string ;
rdfs:subClassOf ep-fac:Flowline .
......
......@@ -18,37 +18,18 @@
<http://www.reportinghub.no/ep/schema/equipment#ChokeValve>
rdfs:subClassOf ep-prodeqt:Valve .
<http://www.reportinghub.no/ep/schema/equipment#Controller-lift>
rdfs:subClassOf ep-prodeqt:Controller .
ep-prodeqt:BlockValve
rdf:type owl:Class ;
rdfs:comment "valve that is a block valve"^^xsd:string ;
rdfs:label "block valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:Controller
rdf:type owl:Class ;
rdfs:comment "equipment that is a single lift gas controller"^^xsd:string ;
rdfs:label "controller"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:DownHoleControlValve
rdf:type owl:Class ;
rdfs:comment "valve that is a down hole control valve"^^xsd:string ;
rdfs:label "down hole control valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:FlowLine
rdf:type owl:Class ;
rdfs:label "flow line"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:FlowLine-Production
rdf:type owl:Class ;
rdfs:label "flow line - production"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:FlowLine .
ep-prodeqt:FlowMeter
rdf:type owl:Class ;
rdfs:comment "equipment that is a flow meter"^^xsd:string ;
......@@ -62,7 +43,7 @@ ep-prodeqt:GasLiftChoke
ep-prodeqt:PressureMeter
rdf:type owl:Class ;
rdfs:comment "equipment that is a pressure meter"^^xsd:string ;
rdfs:comment "equipment item that is a pressure meter, consisting of the whole device and not just the sensor (source: MPR-XSD)"^^xsd:string ;
rdfs:label "pressure meter"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
......@@ -74,13 +55,13 @@ ep-prodeqt:RegulatingValve
ep-prodeqt:SleeveValve
rdf:type owl:Class ;
rdfs:comment "valve that is a sleeve valve"^^xsd:string ;
rdfs:comment "valve that is a tubing valve with a sliding sleeve to cover holes in the tubing, where all of the holes are covered to close the valve (source: MPR-XSD)"^^xsd:string ;
rdfs:label "sleeve valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:TemperatureMeter
rdf:type owl:Class ;
rdfs:comment "equipment that is a temperature meter"^^xsd:string ;
rdfs:comment "equipment item that is a temperature meter, consisting of the whole device and not just the sensor (source: MPR-XSD)"^^xsd:string ;
rdfs:label "temperature meter"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
......
......@@ -12,15 +12,12 @@
<http://www.reportinghub.no/ep/schema/1.0/production-facility>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <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/organization> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#Compressor>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Controller-lift>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/equipment#Manifold-injection>
rdf:type ep-prodfac:ReportingFacilityType .
......@@ -39,9 +36,6 @@
rdfs:label "cloud cover"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
<http://www.reportinghub.no/ep/schema/facility#Completion>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Field>
rdf:type ep-prodfac:ReportingFacilityType .
......@@ -79,56 +73,56 @@
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#averageHighestThirdWaveHeight>
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
rdfs:comment "length that is the average of the higher 1/3 of the wave heights passing during a sample period (typically 20 to 30 minutes) (source: MPR-XSD)"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "average highest third wave height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#averageWaveHeight>
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "length that is the average height of surface waves"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "average wave height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#cloudCeilingHeight>
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
rdfs:comment "length that is the height of the cloud ceiling"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#CloudCover> ;
rdfs:label "cloud ceiling height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#facilityOperator>
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:comment "organization that operates a facility"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "facility operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
<http://www.reportinghub.no/ep/schema/facility#maximumWaveHeight>
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "length that is the maximum height of surface waves"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "maximum wave height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#surfaceWavePeriod>
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:comment "time duration that is the period of surface waves"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "period"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
<http://www.reportinghub.no/ep/schema/facility#visibility>
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "length that is the maximum distance at which things can be seen through surrounding air"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
rdfs:label "visibility"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#windChillTemperature>
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "temperature that is the wind chill temperature of surrounding air"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
rdfs:label "wind chill temperature"^^xsd:string ;
......@@ -154,21 +148,21 @@ ep-prodfac:Boat
ep-prodfac:Field-area
rdf:type owl:Class ;
rdfs:comment "area of ground that is above a field"^^xsd:string ;
rdfs:label "field - area"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
rdfs:comment "part of the surface of the earth that is the area of ground above a field (source: MPR-XSD)"^^xsd:string ;
rdfs:label "field area"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> .
ep-prodfac:Field-group
rdf:type owl:Class ;
rdfs:comment "facility that is a set of fields"^^xsd:string ;
rdfs:comment "part of the surface of the earth that is a grouping of two or more selected petroleum fields for commercial reasons or other purposes (source: MPR-XSD)"^^xsd:string ;
rdfs:label "field - group"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> .
ep-prodfac:Field-part
rdf:type owl:Class ;
rdfs:comment "facility that is part of a field"^^xsd:string ;
rdfs:comment "part of the surface of the earth that is part of a petroleum field (source: MPR-XSD)"^^xsd:string ;
rdfs:label "field - part"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Field> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> .
ep-prodfac:Installation
rdf:type owl:Class ;
......@@ -280,7 +274,7 @@ ep-prodfac:numberOfPersonnelOnBoard
rdfs:range xsd:integer .
ep-prodfac:operatingTime
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:comment "time duration that is the operating time of a temporal part of a facility"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "operating time"^^xsd:string ;
......
......@@ -35,15 +35,9 @@ ep-material:FluidFraction
ep-material:FreshWater
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Gas
rdf:type ep-prodwell:FluidPhaseType .
ep-material:GasAndWater
rdf:type ep-prodwell:InjectionFluidType .
ep-material:Liquid
rdf:type ep-prodwell:FluidPhaseType .
ep-material:NonHcGas
rdf:type ep-prodwell:InjectionFluidType .
......@@ -371,12 +365,6 @@ ep-prodwell:FluidComponentKindType
rdfs:label "fluid component kind type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:FluidPhaseType
rdf:type rdfs:Class ;
rdfs:comment "This is probably not required. The function selectFluidPhaseType is not used."^^xsd:string ;
rdfs:label "fluid phase type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:InjectingWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdfs:comment "well or wellbore that is used for injecting"^^xsd:string ;
......@@ -451,7 +439,7 @@ ep-prodwell:TemporalPartOfAWellOrWellBore
ep-prodwell:TubingHead
rdf:type owl:Class ;
rdfs:comment "equipment that supports the tubing hanger and provides a means of attaching the Christmas tree to the wellhead (Schlumberger)"^^xsd:string ;
rdfs:comment "equipment that supports the tubing hanger and provides a means of attaching the Christmas tree to the wellhead (source: Schlumberger)"^^xsd:string ;
rdfs:label "tubing head"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
......
......@@ -4894,7 +4894,8 @@ ep-dpr-spin-lib:selectProductionFacilityType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b15) ;
sp:resultVariables ([ sp:varName "productionFacilityType"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4914,7 +4915,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RF_controller--lift>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Controller-lift> ;
sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#GasLiftController> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
......@@ -4926,7 +4927,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RF_completion>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Completion> ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-well#WellCompletionAssembly> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
......@@ -5073,7 +5074,9 @@ ep-dpr-spin-lib:selectProductionFacilityType
]
]
] ;
sp:variable _:b15
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
]
])
] .
......@@ -5083,7 +5086,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b16) ;
sp:resultVariables (_:b15) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5143,7 +5146,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
]
]
] ;
sp:variable _:b16
sp:variable _:b15
])
] .
......@@ -5153,7 +5156,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b17) ;
sp:resultVariables (_:b16) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5171,7 +5174,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
] ;
sp:variable _:b17
sp:variable _:b16
])
] .
......@@ -5181,7 +5184,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b18) ;
sp:resultVariables (_:b17) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5199,7 +5202,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
] ;
sp:variable _:b18
sp:variable _:b17
])
] .
......@@ -5209,7 +5212,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b19) ;
sp:resultVariables (_:b18) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5360,7 +5363,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
]
]
] ;
sp:variable _:b19
sp:variable _:b18
])
] .
......@@ -5549,7 +5552,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b20) ;
sp:resultVariables (_:b19) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5693,7 +5696,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
] ;
sp:variable _:b20
sp:variable _:b19
])
] .
......@@ -5956,7 +5959,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b21) ;
sp:resultVariables (_:b20) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5967,7 +5970,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b21
sp:variable _:b20
])
] .
......@@ -6360,7 +6363,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b22) ;
sp:resultVariables (_:b21) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -6385,7 +6388,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
] ;
sp:variable _:b22
sp:variable _:b21
])
] .
......@@ -7503,29 +7506,26 @@ ep-dpr-spin-lib:selectWorkScale
])
] .
_:b22
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b21
sp:varName "specificVolumeScale"^^xsd:string .
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b20
sp:varName "safetyActivityType"^^xsd:string .
sp:varName "specificVolumeScale"^^xsd:string .
_:b19
sp:varName "productionFlowPurposeType"^^xsd:string .
sp:varName "safetyActivityType"^^xsd:string .
_:b18
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b17
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b16
sp:varName "productionFlowDefinitionType"^^xsd:string .
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b15
sp:varName "productionFacilityType"^^xsd:string .
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b14
sp:varName "densityScale"^^xsd:string .
......
......@@ -23,7 +23,7 @@
<http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-mpr-spin-lib:Function
......@@ -5065,13 +5065,13 @@ ep-mpr-spin-lib:selectReportingFacilityType
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#RF_controller--lift>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Controller-lift> ;
sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#GasLiftController> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#RF_controller>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-equipment#Controller> ;
sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#GasLiftController> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
......