David Price

Replaced rdfs:comment use with new ep-core:description property

# baseURI: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model
# imports: http://www.linkedmodel.org/schema/vaem
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/core>
rdf:type owl:Ontology ;
owl:imports <http://www.linkedmodel.org/schema/vaem> , <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-core:Class_of_indirect_property
rdf:type owl:Class ;
rdfs:label "class of indirect property"^^xsd:string ;
rdfs:subClassOf owl:FunctionalProperty , owl:ObjectProperty .
ep-core:Density
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "density"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Length
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "length"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:MassPerUnitLength
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "mass per unit length"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:MassPerUnitMassConcentration
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "mass per unit mass concentration"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:MeasureOfAmountOfMaterial
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "measure of amount of material"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:PhysicalObject
rdf:type owl:Class ;
rdfs:label "physical object"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThing
rdf:type owl:Class ;
rdfs:label "physical thing"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-core:PlaneAngle
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "plane angle"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:PlasticViscosity
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "plastic viscosity"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Pressure
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "pressure"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:PropertySpace
rdf:type rdfs:Class ;
rdfs:label "property space"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Ratio
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "ratio"^^xsd:string .
ep-core:Scale
rdf:type owl:Class ;
rdfs:label "scale"^^xsd:string ;
rdfs:subClassOf owl:FunctionalProperty , owl:DatatypeProperty .
ep-core:SpecificVolume
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "specific volume"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Speed
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "speed"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:StrengthOfRockFormation
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "strength of rock formation"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Temperature
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "temperature"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:TimeDuration
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "time duration"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Volume
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "volume"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeAt15degC1atm
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "volume at 15 degrees C 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeAt1degC1atm
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "volume at 0 degrees C 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeAt60degF1atm
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "volume at 60 degrees F 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeMassRatio
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "volume mass ratio"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:VolumePerUnitVolumeConcentration
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "volume per unit volume concentration"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:VolumetricFlowRate
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "volumetric flow rate"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:YieldPoint
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "yield point"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:apiName
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "API name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:bar
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:Pressure ;
rdfs:label "bar"^^xsd:string .
ep-core:barrel
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "barrel"^^xsd:string .
ep-core:basisFor
rdf:type owl:ObjectProperty ;
rdfs:label "basis for"^^xsd:string .
ep-core:celsius
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:Temperature ;
rdfs:label "celsius"^^xsd:string .
ep-core:centiPoise
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "cP"^^xsd:string .
ep-core:day
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "day"^^xsd:string .
ep-core:decimetre3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Volume ;
rdfs:label "decimetre 3"^^xsd:string .
ep-core:degreesOfAngle
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:PlaneAngle ;
rdfs:label "degrees of angle"^^xsd:string .
ep-core:derivedFrom
rdf:type owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:label "derived from"^^xsd:string .
ep-core:dtiName
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "DTI name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:dyne_second_metre-2
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "dyne.s.m-2"^^xsd:string .
ep-core:foot
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:Length ;
rdfs:label "foot"^^xsd:string .
ep-core:foot3
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "foot3"^^xsd:string .
ep-core:foot3_sack94-1
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:YieldPoint ;
rdfs:label "foot3 sack94-1"^^xsd:string .
ep-core:footUS
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:Length ;
rdfs:label "foot (US survey)"^^xsd:string .
ep-core:fractionByVolume
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:VolumePerUnitVolumeConcentration ;
rdfs:label "fraction by volume"^^xsd:string .
ep-core:gram_cm-3
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "gram cm-3"^^xsd:string .
ep-core:hasPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:partOf .
ep-core:hasSpatialPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has spatial part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:spatialPartOf .
ep-core:hasTemporalPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has temporal part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:temporalPartOf .
ep-core:hasVolume
rdf:type owl:FunctionalProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has volume"^^xsd:string .
ep-core:hour
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "hour"^^xsd:string .
ep-core:humanRecognizableName
rdf:type owl:DatatypeProperty ;
rdfs:label "human recognizable name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:inch
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:Length ;
rdfs:label "inch"^^xsd:string .
ep-core:inchUS
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:Length ;
rdfs:label "inch (US survey)"^^xsd:string .
ep-core:kilogramforce_second_metre-2
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "kgf.s.m-2"^^xsd:string .
ep-core:localFieldName
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "local field name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:megaPa
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:Pressure ;
rdfs:label "MPa"^^xsd:string .
ep-core:megaPa_second
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "MPa.second"^^xsd:string .
ep-core:metre
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:Length ;
rdfs:label "metre"^^xsd:string .
ep-core:metre3
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "metre3"^^xsd:string .
ep-core:metre3_day-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "metre3 day-1"^^xsd:string .
ep-core:metre3_minute-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "metre3 minute-1"^^xsd:string .
ep-core:metre_hour-1
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:Speed ;
rdfs:label "metre hour-1"^^xsd:string .
ep-core:milliPascal_second
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "mPa.s"^^xsd:string .
ep-core:millimetre
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:Length ;
rdfs:label "millimetre"^^xsd:string .
ep-core:million_barrel
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "million barrel"^^xsd:string .
ep-core:million_foot3
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "million foot3"^^xsd:string .
ep-core:million_metre3
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "million metre3"^^xsd:string .
ep-core:million_metre3_day-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "million metre3 day-1"^^xsd:string .
ep-core:minute
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "minute"^^xsd:string .
ep-core:name
rdf:type owl:DatatypeProperty ;
rdfs:label "name"^^xsd:string ;
rdfs:range xsd:string .
ep-core:newton_second_metre-2
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "N.s.m-2"^^xsd:string .
ep-core:nominallyExistsAt
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "nominally exists at"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:npdCode
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "NPD code"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:npdName
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "NPD name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:npdNumber
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "NPD number"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:partOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:hasPart .
ep-core:partPerMillionByMass
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:MassPerUnitMassConcentration ;
rdfs:label "part per million (by mass)"^^xsd:string .
ep-core:partPerMillionByVolume
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:VolumePerUnitVolumeConcentration ;
rdfs:label "part per million (by volume)"^^xsd:string .
ep-core:pascal
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:Pressure ;
rdfs:label "Pascal"^^xsd:string .
ep-core:pascal_second
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "Pa.second"^^xsd:string .
ep-core:perCentByVolume
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:VolumePerUnitVolumeConcentration ;
rdfs:label "per cent by volume"^^xsd:string .
ep-core:poise
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "P"^^xsd:string .
ep-core:pound_foot-1
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:MassPerUnitLength ;
rdfs:label "pound foot-1"^^xsd:string .
ep-core:poundforce_second_foot-2
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "lbf.s.ft-2"^^xsd:string .
ep-core:poundforce_second_inch-2
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "lbf.s.in-2"^^xsd:string .
ep-core:prospectName
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "prospect name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:psi_second
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "psi.s"^^xsd:string .
ep-core:psig
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:Pressure ;
rdfs:label "psi gauge"^^xsd:string .
ep-core:second
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "second"^^xsd:string .
ep-core:spatialPartOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:partOf ;
owl:inverseOf ep-core:hasSpatialPart .
ep-core:specificGravity
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "specific gravity"^^xsd:string .
ep-core:temporalPartOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:partOf ;
owl:inverseOf ep-core:hasTemporalPart .
ep-core:undefinedScale
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain owl:Class ;
rdfs:label "undefined scale"^^xsd:string .
ep-core:usGallon_sack94-1
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:VolumeMassRatio ;
rdfs:label "USgallon sack94-1"^^xsd:string .
ep-core:week
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "week"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model
# imports: http://www.linkedmodel.org/schema/vaem
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/core>
rdf:type owl:Ontology ;
owl:imports <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model> , <http://www.linkedmodel.org/schema/vaem> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-core:Class_of_indirect_property
rdf:type owl:Class ;
rdfs:label "class of indirect property"^^xsd:string ;
rdfs:subClassOf owl:ObjectProperty , owl:FunctionalProperty .
ep-core:Density
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "density"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Length
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "length"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:MassPerUnitLength
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "mass per unit length"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:MassPerUnitMassConcentration
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "mass per unit mass concentration"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:MeasureOfAmountOfMaterial
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "measure of amount of material"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:PhysicalObject
rdf:type owl:Class ;
rdfs:label "physical object"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThing
rdf:type owl:Class ;
rdfs:label "physical thing"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-core:PlaneAngle
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "plane angle"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:PlasticViscosity
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "plastic viscosity"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Pressure
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "pressure"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:PropertySpace
rdf:type rdfs:Class ;
rdfs:label "property space"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Ratio
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "ratio"^^xsd:string .
ep-core:Scale
rdf:type owl:Class ;
rdfs:label "scale"^^xsd:string ;
rdfs:subClassOf owl:DatatypeProperty , owl:FunctionalProperty .
ep-core:SpecificVolume
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "specific volume"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Speed
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "speed"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:StrengthOfRockFormation
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "strength of rock formation"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Temperature
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "temperature"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:TimeDuration
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "time duration"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:Volume
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeAt15degC1atm
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume at 15 degrees C 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeAt1degC1atm
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume at 0 degrees C 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeAt60degF1atm
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume at 60 degrees F 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
ep-core:VolumeMassRatio
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume mass ratio"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:VolumePerUnitVolumeConcentration
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume per unit volume concentration"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:VolumetricFlowRate
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volumetric flow rate"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:YieldPoint
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "yield point"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:apiName
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "API name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:bar
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Pressure ;
rdfs:label "bar"^^xsd:string .
ep-core:barrel
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "barrel"^^xsd:string .
ep-core:basisFor
rdf:type owl:ObjectProperty ;
rdfs:label "basis for"^^xsd:string .
ep-core:celsius
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Temperature ;
rdfs:label "celsius"^^xsd:string .
ep-core:centiPoise
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "cP"^^xsd:string .
ep-core:day
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "day"^^xsd:string .
ep-core:decimetre3
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:Volume ;
rdfs:label "decimetre 3"^^xsd:string .
ep-core:degreesOfAngle
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:PlaneAngle ;
rdfs:label "degrees of angle"^^xsd:string .
ep-core:derivedFrom
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:label "derived from"^^xsd:string .
ep-core:description
rdf:type owl:DatatypeProperty .
ep-core:dtiName
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "DTI name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:dyne_second_metre-2
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "dyne.s.m-2"^^xsd:string .
ep-core:foot
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "foot"^^xsd:string .
ep-core:foot3
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "foot3"^^xsd:string .
ep-core:foot3_sack94-1
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:YieldPoint ;
rdfs:label "foot3 sack94-1"^^xsd:string .
ep-core:footUS
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "foot (US survey)"^^xsd:string .
ep-core:fractionByVolume
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:VolumePerUnitVolumeConcentration ;
rdfs:label "fraction by volume"^^xsd:string .
ep-core:gram_cm-3
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "gram cm-3"^^xsd:string .
ep-core:hasPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:partOf .
ep-core:hasSpatialPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has spatial part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:spatialPartOf .
ep-core:hasTemporalPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has temporal part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:temporalPartOf .
ep-core:hasVolume
rdf:type owl:FunctionalProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has volume"^^xsd:string .
ep-core:hour
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "hour"^^xsd:string .
ep-core:humanRecognizableName
rdf:type owl:DatatypeProperty ;
rdfs:label "human recognizable name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:inch
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "inch"^^xsd:string .
ep-core:inchUS
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "inch (US survey)"^^xsd:string .
ep-core:kilogramforce_second_metre-2
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "kgf.s.m-2"^^xsd:string .
ep-core:localFieldName
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "local field name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:megaPa
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Pressure ;
rdfs:label "MPa"^^xsd:string .
ep-core:megaPa_second
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "MPa.second"^^xsd:string .
ep-core:metre
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "metre"^^xsd:string .
ep-core:metre3
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "metre3"^^xsd:string .
ep-core:metre3_day-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "metre3 day-1"^^xsd:string .
ep-core:metre3_minute-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "metre3 minute-1"^^xsd:string .
ep-core:metre_hour-1
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Speed ;
rdfs:label "metre hour-1"^^xsd:string .
ep-core:milliPascal_second
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "mPa.s"^^xsd:string .
ep-core:millimetre
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "millimetre"^^xsd:string .
ep-core:million_barrel
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "million barrel"^^xsd:string .
ep-core:million_foot3
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "million foot3"^^xsd:string .
ep-core:million_metre3
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "million metre3"^^xsd:string .
ep-core:million_metre3_day-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "million metre3 day-1"^^xsd:string .
ep-core:minute
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "minute"^^xsd:string .
ep-core:name
rdf:type owl:DatatypeProperty ;
rdfs:label "name"^^xsd:string ;
rdfs:range xsd:string .
ep-core:newton_second_metre-2
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "N.s.m-2"^^xsd:string .
ep-core:nominallyExistsAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "nominally exists at"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:npdCode
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "NPD code"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:npdName
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "NPD name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:npdNumber
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "NPD number"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:partOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:hasPart .
ep-core:partPerMillionByMass
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:MassPerUnitMassConcentration ;
rdfs:label "part per million (by mass)"^^xsd:string .
ep-core:partPerMillionByVolume
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-core:VolumePerUnitVolumeConcentration ;
rdfs:label "part per million (by volume)"^^xsd:string .
ep-core:pascal
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Pressure ;
rdfs:label "Pascal"^^xsd:string .
ep-core:pascal_second
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "Pa.second"^^xsd:string .
ep-core:perCentByVolume
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:VolumePerUnitVolumeConcentration ;
rdfs:label "per cent by volume"^^xsd:string .
ep-core:poise
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "P"^^xsd:string .
ep-core:pound_foot-1
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:MassPerUnitLength ;
rdfs:label "pound foot-1"^^xsd:string .
ep-core:poundforce_second_foot-2
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "lbf.s.ft-2"^^xsd:string .
ep-core:poundforce_second_inch-2
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "lbf.s.in-2"^^xsd:string .
ep-core:prospectName
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "prospect name"^^xsd:string ;
rdfs:range xsd:string ;
rdfs:subPropertyOf ep-core:name .
ep-core:psi_second
rdf:type owl:DatatypeProperty , ep-core:Scale , owl:FunctionalProperty ;
rdfs:domain ep-core:PlasticViscosity ;
rdfs:label "psi.s"^^xsd:string .
ep-core:psig
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Pressure ;
rdfs:label "psi gauge"^^xsd:string .
ep-core:second
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "second"^^xsd:string .
ep-core:spatialPartOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:partOf ;
owl:inverseOf ep-core:hasSpatialPart .
ep-core:specificGravity
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "specific gravity"^^xsd:string .
ep-core:temporalPartOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:partOf ;
owl:inverseOf ep-core:hasTemporalPart .
ep-core:undefinedScale
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain owl:Class ;
rdfs:label "undefined scale"^^xsd:string .
ep-core:usGallon_sack94-1
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:VolumeMassRatio ;
rdfs:label "USgallon sack94-1"^^xsd:string .
ep-core:week
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:TimeDuration ;
rdfs:label "week"^^xsd:string .
......
......@@ -22,7 +22,7 @@
<http://www.reportinghub.no/ep/spin/ddr-tables>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> ;
owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> ;
owl:versionInfo "0.1.0"^^xsd:string .
ddr-tables:BitRecord
......@@ -411,7 +411,7 @@ ddr-tables:BitRecord
] [ sp:object
[ sp:varName "manufacturer"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "drillBitManuf"^^xsd:string
]
......@@ -482,7 +482,7 @@ ddr-tables:CasingLinerTubingInformation
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wellStim"^^xsd:string
]
......@@ -852,7 +852,7 @@ ddr-tables:CementFluidInformation
] [ sp:object
[ sp:varName "fluidDescription"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "userDescribedCementingFluidType"^^xsd:string
]
......@@ -966,7 +966,7 @@ ddr-tables:CementFluidInformation
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "fluid"^^xsd:string
]
......@@ -1251,7 +1251,7 @@ ddr-tables:CementInformation
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wellCementJob"^^xsd:string
]
......@@ -1566,7 +1566,7 @@ ddr-tables:CoreInformation
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "recCore"^^xsd:string
]
......@@ -2023,7 +2023,7 @@ ddr-tables:EquipmentFailure
sp:elements ([ sp:object
[ sp:varName "failureDescription"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "part"^^xsd:string
]
......@@ -2238,7 +2238,7 @@ ddr-tables:FormationTest
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "ft"^^xsd:string
]
......@@ -3110,7 +3110,7 @@ ddr-tables:LogInformation
] [ sp:object
[ sp:varName "tool"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "loggingTool"^^xsd:string
]
......@@ -3348,7 +3348,7 @@ ddr-tables:Operations
sp:elements ([ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "part"^^xsd:string
]
......@@ -4268,7 +4268,7 @@ ddr-tables:WellControlIncident
] [ sp:object
[ sp:varName "formation"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "srFormation"^^xsd:string
]
......@@ -4376,7 +4376,7 @@ ddr-tables:WellControlIncident
sp:elements ([ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wci"^^xsd:string
]
......
......@@ -25,7 +25,7 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
......@@ -80,7 +80,7 @@ ddr:Obj_drillReport
] [ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "partActivity"^^xsd:string
]
......@@ -192,22 +192,14 @@ ddr:Obj_drillReport
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "activitySuccessType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
[ sp:varName "partActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -215,52 +207,22 @@ ddr:Obj_drillReport
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "activity"^^xsd:string
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate ddr:activityRef ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStartPart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEndPart"^^xsd:string
] ;
sp:predicate ddr:dTimEnd ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "md"^^xsd:string
[ sp:varName "state"^^xsd:string
] ;
sp:predicate ddr:mdRef ;
sp:predicate ddr:stateRef ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "partActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
......@@ -272,46 +234,55 @@ ddr:Obj_drillReport
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "activity"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStartPart"^^xsd:string
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "dTimEndPart"^^xsd:string
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
[ sp:varName "partActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uom"^^xsd:string
[ rdf:type ep-spin-lib:selectActivitySuccessType ;
sp:arg1 [ sp:varName "state"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScale"^^xsd:string
[ sp:varName "activitySuccessType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleTrueVerticalDepth> ;
rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#initialBottomHoleMeasuredDepth> ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b2
sp:subject _:b1
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:subject _:b2
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -338,9 +309,9 @@ ddr:Obj_drillReport
[ sp:varName "activity"^^xsd:string
]
] [ sp:object
[ sp:varName "tvd"^^xsd:string
[ sp:varName "mdHoleStart"^^xsd:string
] ;
sp:predicate ddr:tvdRef ;
sp:predicate ddr:mdHoleStartRef ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
......@@ -349,14 +320,14 @@ ddr:Obj_drillReport
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
[ sp:varName "mdHoleStart"^^xsd:string
]
] [ sp:object
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "tvd"^^xsd:string
[ sp:varName "mdHoleStart"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
......@@ -502,22 +473,22 @@ ddr:Obj_drillReport
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#initialBottomHoleMeasuredDepth> ;
rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleTrueVerticalDepth> ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
sp:subject _:b2
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:subject _:b3
sp:subject _:b2
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -544,9 +515,9 @@ ddr:Obj_drillReport
[ sp:varName "activity"^^xsd:string
]
] [ sp:object
[ sp:varName "mdHoleStart"^^xsd:string
[ sp:varName "tvd"^^xsd:string
] ;
sp:predicate ddr:mdHoleStartRef ;
sp:predicate ddr:tvdRef ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
......@@ -555,14 +526,14 @@ ddr:Obj_drillReport
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdHoleStart"^^xsd:string
[ sp:varName "tvd"^^xsd:string
]
] [ sp:object
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdHoleStart"^^xsd:string
[ sp:varName "tvd"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
......@@ -606,14 +577,22 @@ ddr:Obj_drillReport
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "activitySuccessType"^^xsd:string
] ;
sp:predicate rdf:type ;
rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ;
sp:subject
[ sp:varName "partActivity"^^xsd:string
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:subject _:b3
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -621,22 +600,52 @@ ddr:Obj_drillReport
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
[ sp:varName "activity"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:predicate ddr:activityRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStartPart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEndPart"^^xsd:string
] ;
sp:predicate ddr:activityRef ;
sp:subject spin:_this
sp:predicate ddr:dTimEnd ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
] [ sp:object
[ sp:varName "state"^^xsd:string
[ sp:varName "md"^^xsd:string
] ;
sp:predicate ddr:stateRef ;
sp:predicate ddr:mdRef ;
sp:subject
[ sp:varName "activity"^^xsd:string
]
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "partActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
......@@ -648,34 +657,25 @@ ddr:Obj_drillReport
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "activity"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPartActivityURI ;
[ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
sp:arg2 [ sp:varName "dTimStartPart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
sp:arg3 [ sp:varName "dTimEndPart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "partActivity"^^xsd:string
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectActivitySuccessType ;
sp:arg1 [ sp:varName "state"^^xsd:string
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "activitySuccessType"^^xsd:string
[ sp:varName "lengthScale"^^xsd:string
]
])
] ;
......
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 280 Well completion"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCompletion> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object
[ sp:varName "wellCompletion"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStartStim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEndStim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdTop"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdBottom"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "casingRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "tubeType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#insideDiameterOfATubular> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realId"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleId"^^xsd:string
] ;
sp:subject _:b6
] [ sp:object
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#PipeOutsideDiameterAPI_5CTClass> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "realOdName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#PipeWeightAPI_5CTClass> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "weightName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Material> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#SteelGradeAPI_5CTClass> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "grade"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#hasTubularConnectionClass> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TubularConnectionClass> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "connection"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#stringLengthOfATubular> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realLen"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleLen"^^xsd:string
] ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "casingLinerTubing"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubingRef ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "enumTubeType"^^xsd:string
] ;
sp:predicate ddr:typeRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "id"^^xsd:string
] ;
sp:predicate ddr:idRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomId"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "id"^^xsd:string
]
] [ sp:object
[ sp:varName "realId"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "id"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "od"^^xsd:string
] ;
sp:predicate ddr:odRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomOd"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "od"^^xsd:string
]
] [ sp:object
[ sp:varName "realOd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "od"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "weight"^^xsd:string
] ;
sp:predicate ddr:weightRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWeight"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "weight"^^xsd:string
]
] [ sp:object
[ sp:varName "realMassPerUnitLength"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "weight"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "grade"^^xsd:string
] ;
sp:predicate ddr:grade ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "connection"^^xsd:string
] ;
sp:predicate ddr:connection ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "length"^^xsd:string
] ;
sp:predicate ddr:lengthRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomLen"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "length"^^xsd:string
]
] [ sp:object
[ sp:varName "realLen"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "length"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdTop"^^xsd:string
] ;
sp:predicate ddr:mdTopRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdTop"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdBottom"^^xsd:string
] ;
sp:predicate ddr:mdBottomRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdBottom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "enumCasingType"^^xsd:string
] ;
sp:predicate ddr:casingTypeRef ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate ddr:description ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStartStim"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEndStim"^^xsd:string
] ;
sp:predicate ddr:dTimEnd ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "casingLinerTubing"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellCompletionURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellCompletion"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectCasingRoleType ;
sp:arg1 [ sp:varName "enumCasingType"^^xsd:string
]
] ;
sp:variable
[ sp:varName "casingRoleType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTubeType ;
sp:arg1 [ sp:varName "enumTubeType"^^xsd:string
]
] ;
sp:variable
[ sp:varName "tubeType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleId"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomOd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleOd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomLen"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleLen"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectMassPerUnitLengthScale ;
sp:arg1 [ sp:varName "uomWeight"^^xsd:string
]
] ;
sp:variable
[ sp:varName "massPerUnitLengthScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSteelGradeAPI_5CTClass ;
sp:arg1 [ sp:varName "grade"^^xsd:string
]
] ;
sp:variable
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeDoubleName ;
sp:arg1 [ sp:varName "realOd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "realOdName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPipeOutsideDiameterAPI_5CTClass ;
sp:arg1 [ sp:varName "realOdName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeDoubleName ;
sp:arg1 [ sp:varName "realMassPerUnitLength"^^xsd:string
]
] ;
sp:variable
[ sp:varName "weightName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPipeWeightAPI_5CTClass ;
sp:arg1 [ sp:varName "weightName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
]
] ;
sp:variable
[ sp:varName "wellBore"^^xsd:string
]
])
] .
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/casingLinerTubingRun>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 280 Well completion"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellCompletion> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object
[ sp:varName "wellCompletion"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStartStim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEndStim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellCompletion"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdTop"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdBottom"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "casingRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "tubeType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#insideDiameterOfATubular> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realId"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleId"^^xsd:string
] ;
sp:subject _:b6
] [ sp:object
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#PipeOutsideDiameterAPI_5CTClass> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "realOdName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#PipeWeightAPI_5CTClass> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "weightName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Material> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#SteelGradeAPI_5CTClass> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ sp:object
[ sp:varName "grade"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#hasTubularConnectionClass> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#TubularConnectionClass> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "connection"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#stringLengthOfATubular> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realLen"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleLen"^^xsd:string
] ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "casingLinerTubing"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubingRef ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "enumTubeType"^^xsd:string
] ;
sp:predicate ddr:typeRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "id"^^xsd:string
] ;
sp:predicate ddr:idRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomId"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "id"^^xsd:string
]
] [ sp:object
[ sp:varName "realId"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "id"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "od"^^xsd:string
] ;
sp:predicate ddr:odRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomOd"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "od"^^xsd:string
]
] [ sp:object
[ sp:varName "realOd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "od"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "weight"^^xsd:string
] ;
sp:predicate ddr:weightRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWeight"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "weight"^^xsd:string
]
] [ sp:object
[ sp:varName "realMassPerUnitLength"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "weight"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "grade"^^xsd:string
] ;
sp:predicate ddr:grade ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "connection"^^xsd:string
] ;
sp:predicate ddr:connection ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "length"^^xsd:string
] ;
sp:predicate ddr:lengthRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomLen"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "length"^^xsd:string
]
] [ sp:object
[ sp:varName "realLen"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "length"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdTop"^^xsd:string
] ;
sp:predicate ddr:mdTopRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdTop"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "mdBottom"^^xsd:string
] ;
sp:predicate ddr:mdBottomRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdBottom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "enumCasingType"^^xsd:string
] ;
sp:predicate ddr:casingTypeRef ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate ddr:description ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStartStim"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "casingLinerTubingRun"^^xsd:string
] ;
sp:predicate ddr:casing_liner_tubing_runRef ;
sp:subject
[ sp:varName "casingLinerTubing"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEndStim"^^xsd:string
] ;
sp:predicate ddr:dTimEnd ;
sp:subject
[ sp:varName "casingLinerTubingRun"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "casingLinerTubing"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellCompletionURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellCompletion"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectCasingRoleType ;
sp:arg1 [ sp:varName "enumCasingType"^^xsd:string
]
] ;
sp:variable
[ sp:varName "casingRoleType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTubeType ;
sp:arg1 [ sp:varName "enumTubeType"^^xsd:string
]
] ;
sp:variable
[ sp:varName "tubeType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleId"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomOd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleOd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomLen"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleLen"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectMassPerUnitLengthScale ;
sp:arg1 [ sp:varName "uomWeight"^^xsd:string
]
] ;
sp:variable
[ sp:varName "massPerUnitLengthScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildSteelGradeAPI_5CTClass ;
sp:arg1 [ sp:varName "grade"^^xsd:string
]
] ;
sp:variable
[ sp:varName "steelGradeAPI_5CTClass"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeDoubleName ;
sp:arg1 [ sp:varName "realOd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "realOdName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPipeOutsideDiameterAPI_5CTClass ;
sp:arg1 [ sp:varName "realOdName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pipeOutsideDiameterAPI_5CTClass"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeDoubleName ;
sp:arg1 [ sp:varName "realMassPerUnitLength"^^xsd:string
]
] ;
sp:variable
[ sp:varName "weightName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildPipeWeightAPI_5CTClass ;
sp:arg1 [ sp:varName "weightName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pipeWeightAPI_5CTClass"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
]
] ;
sp:variable
[ sp:varName "wellBore"^^xsd:string
]
])
] .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ddr: <http://www.witsml.org/schemas/1series#> .
@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/coreInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 220 Create WellCore activity
Properties transfered to the activity, to the part of the well bore, or to the recovered core."""^^xsd:string ;
sp:templates ([ sp:object ep-activity:ExtractAWellCore ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object
[ sp:varName "extractAWellCore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate ep-activity:onWellBore ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "dTimWellCore"^^xsd:string
] ;
sp:predicate ep-activity:finishedAt ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object
[ sp:varName "coreNumber"^^xsd:string
] ;
sp:predicate ep-activity:identificationNumberOfCore ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdTop"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdBottom"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realTvdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvdTop"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realTvdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvdBottom"^^xsd:string
] ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate ep-activity:recoveredCore ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#coreLength> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realRecovered"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleRecovered"^^xsd:string
] ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#relativeAmountOfCoreRecovered> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumePerUnitVolumeConcentration> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realPc"^^xsd:string
] ;
sp:predicate
[ sp:varName "specificVolumeScale"^^xsd:string
] ;
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/well#RecoveredCore> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "coreDescription"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject _:b7
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#hasBarrel> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#InnerBarrel> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#lengthOfInnerBarrel> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object
[ sp:varName "realBarrel"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleBarrel"^^xsd:string
] ;
sp:subject _:b11
] [ sp:object
[ sp:varName "innerBarrelType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b10
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "coreInfo"^^xsd:string
] ;
sp:predicate ddr:coreInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimCore"^^xsd:string
] ;
sp:predicate ddr:dTim ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "coreNumber"^^xsd:string
] ;
sp:predicate ddr:coreNumber ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "mdTop"^^xsd:string
] ;
sp:predicate ddr:mdTopRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdTop"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "mdBottom"^^xsd:string
] ;
sp:predicate ddr:mdBottomRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdBottom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvdTop"^^xsd:string
] ;
sp:predicate ddr:tvdTopRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvdTop"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "tvdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvdTop"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvdBottom"^^xsd:string
] ;
sp:predicate ddr:tvdBottomRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvdBottom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "tvdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvdBottom"^^xsd:string
]
])
] [ sp:object
[ sp:varName "lenRecovered"^^xsd:string
] ;
sp:predicate ddr:lenRecoveredRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomRecovered"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "lenRecovered"^^xsd:string
]
] [ sp:object
[ sp:varName "realRecovered"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "lenRecovered"^^xsd:string
]
] [ sp:object
[ sp:varName "recoverPc"^^xsd:string
] ;
sp:predicate ddr:recoverPcRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomPc"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "recoverPc"^^xsd:string
]
] [ sp:object
[ sp:varName "realPc"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "recoverPc"^^xsd:string
]
] [ sp:object
[ sp:varName "lenBarrel"^^xsd:string
] ;
sp:predicate ddr:lenBarrelRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomBarrel"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "lenBarrel"^^xsd:string
]
] [ sp:object
[ sp:varName "realBarrel"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "lenBarrel"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "enumInnerBarrelType"^^xsd:string
] ;
sp:predicate ddr:innerBarrelTypeRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
])
] [ sp:object
[ sp:varName "coreDescription"^^xsd:string
] ;
sp:predicate ddr:coreDescription ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "coreInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildExtractAWellCoreURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectInnerBarrelType ;
sp:arg1 [ sp:varName "enumInnerBarrelType"^^xsd:string
]
] ;
sp:variable
[ sp:varName "innerBarrelType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomRecovered"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleRecovered"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomBarrel"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleBarrel"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectVolumePerUnitVolumeConcentrationScale ;
sp:arg1 [ sp:varName "uomPc"^^xsd:string
]
] ;
sp:variable
[ sp:varName "specificVolumeScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
]
] ;
sp:variable
[ sp:varName "wellBore"^^xsd:string
]
])
] .
Properties transfered to the activity, to the part of the well bore, or to the recovered core."""^^xsd:string ;
sp:templates ([ sp:object ep-activity:ExtractAWellCore ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object
[ sp:varName "extractAWellCore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate ep-activity:onWellBore ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "dTimWellCore"^^xsd:string
] ;
sp:predicate ep-activity:finishedAt ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object
[ sp:varName "coreNumber"^^xsd:string
] ;
sp:predicate ep-activity:identificationNumberOfCore ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdTop"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdBottom"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realTvdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvdTop"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realTvdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvdBottom"^^xsd:string
] ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate ep-activity:recoveredCore ;
sp:subject
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#coreLength> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realRecovered"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleRecovered"^^xsd:string
] ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#relativeAmountOfCoreRecovered> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumePerUnitVolumeConcentration> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realPc"^^xsd:string
] ;
sp:predicate
[ sp:varName "specificVolumeScale"^^xsd:string
] ;
sp:subject _:b9
] [ sp:object <http://www.reportinghub.no/ep/schema/well#RecoveredCore> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "coreDescription"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject _:b7
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#hasBarrel> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#InnerBarrel> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#lengthOfInnerBarrel> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object
[ sp:varName "realBarrel"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleBarrel"^^xsd:string
] ;
sp:subject _:b11
] [ sp:object
[ sp:varName "innerBarrelType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b10
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "coreInfo"^^xsd:string
] ;
sp:predicate ddr:coreInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimCore"^^xsd:string
] ;
sp:predicate ddr:dTim ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "coreNumber"^^xsd:string
] ;
sp:predicate ddr:coreNumber ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "mdTop"^^xsd:string
] ;
sp:predicate ddr:mdTopRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdTop"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "mdBottom"^^xsd:string
] ;
sp:predicate ddr:mdBottomRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdBottom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvdTop"^^xsd:string
] ;
sp:predicate ddr:tvdTopRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvdTop"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "tvdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvdTop"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvdBottom"^^xsd:string
] ;
sp:predicate ddr:tvdBottomRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvdBottom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "tvdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvdBottom"^^xsd:string
]
])
] [ sp:object
[ sp:varName "lenRecovered"^^xsd:string
] ;
sp:predicate ddr:lenRecoveredRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomRecovered"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "lenRecovered"^^xsd:string
]
] [ sp:object
[ sp:varName "realRecovered"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "lenRecovered"^^xsd:string
]
] [ sp:object
[ sp:varName "recoverPc"^^xsd:string
] ;
sp:predicate ddr:recoverPcRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomPc"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "recoverPc"^^xsd:string
]
] [ sp:object
[ sp:varName "realPc"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "recoverPc"^^xsd:string
]
] [ sp:object
[ sp:varName "lenBarrel"^^xsd:string
] ;
sp:predicate ddr:lenBarrelRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomBarrel"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "lenBarrel"^^xsd:string
]
] [ sp:object
[ sp:varName "realBarrel"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "lenBarrel"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "enumInnerBarrelType"^^xsd:string
] ;
sp:predicate ddr:innerBarrelTypeRef ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
])
] [ sp:object
[ sp:varName "coreDescription"^^xsd:string
] ;
sp:predicate ddr:coreDescription ;
sp:subject
[ sp:varName "coreInfo"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "coreInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildExtractAWellCoreURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "extractAWellCore"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectInnerBarrelType ;
sp:arg1 [ sp:varName "enumInnerBarrelType"^^xsd:string
]
] ;
sp:variable
[ sp:varName "innerBarrelType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomRecovered"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleRecovered"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomBarrel"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleBarrel"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectVolumePerUnitVolumeConcentrationScale ;
sp:arg1 [ sp:varName "uomPc"^^xsd:string
]
] ;
sp:variable
[ sp:varName "specificVolumeScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
]
] ;
sp:variable
[ sp:varName "wellBore"^^xsd:string
]
])
] .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/1series#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 170 Create an EquipmentFailureAndRepair activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#EquipmentFailureAndRepair> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "dailytemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "timeOfFailure"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfFailure> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "timeOfRepair"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfRepair> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#missedProductionTime> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#failedEquipment> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "drillingEquipmentType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate
[ sp:varName "durationScale"^^xsd:string
] ;
sp:subject _:b2
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleMeasuredDepth> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMd"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTrueVerticalDepth> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvd"^^xsd:string
] ;
sp:subject _:b6
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "equipFailureInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#equipFailureInfoRef> ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "timeOfFailure"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "timeOfRepair"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimRepair> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "md"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "missedProductionTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#eTimMissProductionRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDuration"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "missedProductionTime"^^xsd:string
]
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "missedProductionTime"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#description> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "enumEquipClass"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#equipClassRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ sp:object
[ sp:varName "dailytemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "equipFailureInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
]
] ;
sp:variable
[ sp:varName "durationScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingEquipmentType ;
sp:arg1 [ sp:varName "enumEquipClass"^^xsd:string
]
] ;
sp:variable
[ sp:varName "drillingEquipmentType"^^xsd:string
]
])
] .
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/equipFailureInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/1series#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 170 Create an EquipmentFailureAndRepair activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#EquipmentFailureAndRepair> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "dailytemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "timeOfFailure"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfFailure> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "timeOfRepair"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfRepair> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#missedProductionTime> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#failedEquipment> ;
sp:subject
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "drillingEquipmentType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate
[ sp:varName "durationScale"^^xsd:string
] ;
sp:subject _:b2
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleMeasuredDepth> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMd"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTrueVerticalDepth> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvd"^^xsd:string
] ;
sp:subject _:b6
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "equipFailureInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#equipFailureInfoRef> ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "timeOfFailure"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "timeOfRepair"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimRepair> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "md"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "missedProductionTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#eTimMissProductionRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDuration"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "missedProductionTime"^^xsd:string
]
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "missedProductionTime"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#description> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "enumEquipClass"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#equipClassRef> ;
sp:subject
[ sp:varName "equipFailureInfo"^^xsd:string
]
])
] [ sp:object
[ sp:varName "dailytemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "equipFailureInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentFailureAndRepairURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "equipmentFailureAndRepair"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
]
] ;
sp:variable
[ sp:varName "durationScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDrillingEquipmentType ;
sp:arg1 [ sp:varName "enumEquipClass"^^xsd:string
]
] ;
sp:variable
[ sp:varName "drillingEquipmentType"^^xsd:string
]
])
] .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/material
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/1series#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 230 wireline formation test activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wirelineFormationTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "dTimWirelineFormationTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMd"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#porePressure> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "realPressure"^^xsd:string
] ;
sp:predicate
[ sp:varName "pressureScale"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvd"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object
[ sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#measuredDepthOfFluidSampling> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realMdSample"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdSample"^^xsd:string
] ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "componentType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#dominantComponent> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realDensity"^^xsd:string
] ;
sp:predicate
[ sp:varName "densityScale"^^xsd:string
] ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b9
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "formTestInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#formTestInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimWirelineFormationTest"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "md"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
])
] [ sp:object
[ sp:varName "presPore"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#presPoreRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomPressure"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "presPore"^^xsd:string
]
] [ sp:object
[ sp:varName "realPressure"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "presPore"^^xsd:string
]
] [ sp:object
[ sp:varName "goodSeal"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#goodSeal> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "mdSample"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdSampleRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdSample"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "mdSample"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdSample"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdSample"^^xsd:string
]
] [ sp:object
[ sp:varName "enumDominateComponent"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dominateComponentRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "densityHC"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#densityHCRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDensity"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "densityHC"^^xsd:string
]
] [ sp:object
[ sp:varName "realDensity"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "densityHC"^^xsd:string
]
] [ sp:object
[ sp:varName "volumeSample"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#volumeSampleRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "volumeSample"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "volumeSample"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#description> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "formTestInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWirelineFormationTestURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectComponentType ;
sp:arg1 [ sp:varName "enumDominateComponent"^^xsd:string
]
] ;
sp:variable
[ sp:varName "componentType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType ;
sp:arg1 [ sp:varName "goodSeal"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdSample"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdSample"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureScale ;
sp:arg1 [ sp:varName "uomPressure"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pressureScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectVolumeScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDensityScale ;
sp:arg1 [ sp:varName "uomDensity"^^xsd:string
]
] ;
sp:variable
[ sp:varName "densityScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
]
] ;
sp:variable
[ sp:varName "wellBore"^^xsd:string
]
])
] .
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/material
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/formTestInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/material> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/1series#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 230 wireline formation test activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wirelineFormationTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#PositionWithinWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "dTimWirelineFormationTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMd"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#porePressure> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "realPressure"^^xsd:string
] ;
sp:predicate
[ sp:varName "pressureScale"^^xsd:string
] ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvd"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object
[ sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#measuredDepthOfFluidSampling> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "realMdSample"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdSample"^^xsd:string
] ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "componentType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#dominantComponent> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realDensity"^^xsd:string
] ;
sp:predicate
[ sp:varName "densityScale"^^xsd:string
] ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate
[ sp:varName "volumeScale"^^xsd:string
] ;
sp:subject _:b9
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wirelineFormationTest"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "formTestInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#formTestInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimWirelineFormationTest"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "md"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ sp:object
[ sp:varName "realMd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "md"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvd"^^xsd:string
]
])
] [ sp:object
[ sp:varName "presPore"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#presPoreRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomPressure"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "presPore"^^xsd:string
]
] [ sp:object
[ sp:varName "realPressure"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "presPore"^^xsd:string
]
] [ sp:object
[ sp:varName "goodSeal"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#goodSeal> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "mdSample"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdSampleRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdSample"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "mdSample"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdSample"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdSample"^^xsd:string
]
] [ sp:object
[ sp:varName "enumDominateComponent"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dominateComponentRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "densityHC"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#densityHCRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDensity"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "densityHC"^^xsd:string
]
] [ sp:object
[ sp:varName "realDensity"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "densityHC"^^xsd:string
]
] [ sp:object
[ sp:varName "volumeSample"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#volumeSampleRef> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomVolume"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "volumeSample"^^xsd:string
]
] [ sp:object
[ sp:varName "realVolume"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "volumeSample"^^xsd:string
]
] [ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#description> ;
sp:subject
[ sp:varName "formTestInfo"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "formTestInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWirelineFormationTestURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wirelineFormationTest"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectComponentType ;
sp:arg1 [ sp:varName "enumDominateComponent"^^xsd:string
]
] ;
sp:variable
[ sp:varName "componentType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType ;
sp:arg1 [ sp:varName "goodSeal"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvd"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdSample"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdSample"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectPressureScale ;
sp:arg1 [ sp:varName "uomPressure"^^xsd:string
]
] ;
sp:variable
[ sp:varName "pressureScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectVolumeScale ;
sp:arg1 [ sp:varName "uomVolume"^^xsd:string
]
] ;
sp:variable
[ sp:varName "volumeScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectDensityScale ;
sp:arg1 [ sp:varName "uomDensity"^^xsd:string
]
] ;
sp:variable
[ sp:varName "densityScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
]
] ;
sp:variable
[ sp:varName "wellBore"^^xsd:string
]
])
] .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/1series#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 192 Create a well bore log activity - static temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreWithoutCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:predicate
[ sp:varName "temperatureScaleStatic"^^xsd:string
] ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate
[ sp:varName "durationScale"^^xsd:string
] ;
sp:subject _:b3
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "logInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "eTimStatic"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#eTimStaticRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDuration"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
])
] [ sp:object
[ sp:varName "tempBHST"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tempBHSTRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomStatic"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "logInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
]
] ;
sp:variable
[ sp:varName "durationScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 [ sp:varName "uomStatic"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureScaleStatic"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 191 Create a well bore log activity - circulating temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreWithCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "realCirculating"^^xsd:string
] ;
sp:predicate
[ sp:varName "temperatureScaleCirculating"^^xsd:string
] ;
sp:subject _:b5
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "logInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "tempBHCT"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tempBHCTRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomCirculating"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tempBHCT"^^xsd:string
]
] [ sp:object
[ sp:varName "realCirculating"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tempBHCT"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "logInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 [ sp:varName "uomCirculating"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureScaleCirculating"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 190 Create a well bore log activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreLogRun> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#loggedWellBoreInterval> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#logRunNumber> ;
sp:subject _:b6
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b6
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#serviceCompany> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b14
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreLoggingTool> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b16
] [ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b19 ;
sp:predicate _:b20 ;
sp:subject _:b18
] [ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b16
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b21
] [ sp:object _:b22 ;
sp:predicate _:b23 ;
sp:subject _:b21
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellBoreLoggingTool> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object _:b24 ;
sp:predicate rdfs:comment ;
sp:subject _:b17
] [ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b25
] [ sp:object _:b26 ;
sp:predicate _:b27 ;
sp:subject _:b25
] [ sp:object _:b28 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate _:b30 ;
sp:subject _:b28
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:predicate _:b33 ;
sp:subject _:b31
] [ sp:object _:b34 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b34
] [ sp:object _:b35 ;
sp:predicate _:b36 ;
sp:subject _:b34
]) ;
sp:where ([ sp:object _:b37 ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b38 ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject _:b7
] [ sp:object _:b39 ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ sp:object _:b12 ;
sp:predicate <http://www.witsml.org/schemas/1series#runNumber> ;
sp:subject _:b39
] [ sp:object _:b24 ;
sp:predicate <http://www.witsml.org/schemas/1series#tool> ;
sp:subject _:b39
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b13 ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject _:b39
])
] [ sp:object _:b40 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTopRef> ;
sp:subject _:b39
] [ sp:object _:b41 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b40
] [ sp:object _:b26 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b40
] [ sp:object _:b42 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdBottomRef> ;
sp:subject _:b39
] [ sp:object _:b43 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b42
] [ sp:object _:b29 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b42
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b44 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTopRef> ;
sp:subject _:b39
] [ sp:object _:b45 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b44
] [ sp:object _:b32 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b44
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b46 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdBottomRef> ;
sp:subject _:b39
] [ sp:object _:b47 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b46
] [ sp:object _:b35 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b46
])
] [ sp:object _:b15 ;
sp:predicate <http://www.witsml.org/schemas/1series#serviceCompany> ;
sp:subject _:b39
] [ sp:object _:b48 ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTempToolRef> ;
sp:subject _:b39
] [ sp:object _:b49 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b48
] [ sp:object _:b19 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b48
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b50 ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTempToolRef> ;
sp:subject _:b39
] [ sp:object _:b51 ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject _:b50
] [ sp:object _:b22 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b50
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b37
] ;
sp:variable _:b52
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b52 ;
sp:arg2 _:b38
] ;
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 _:b39
] ;
sp:variable _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 _:b52 ;
sp:arg2 _:b38 ;
sp:arg3 _:b53
] ;
sp:variable _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b41
] ;
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b45
] ;
sp:variable _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b43
] ;
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b47
] ;
sp:variable _:b36
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b49
] ;
sp:variable _:b20
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 _:b51
] ;
sp:variable _:b23
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 _:b37
]
] ;
sp:variable _:b9
])
] .
_:b6 sp:varName "wellBoreLogRun"^^xsd:string .
_:b7 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b9 sp:varName "wellBore"^^xsd:string .
_:b12
sp:varName "runNumber"^^xsd:string .
_:b13
sp:varName "dTimEnd"^^xsd:string .
_:b15
sp:varName "nameServiceCompany"^^xsd:string .
_:b19
sp:varName "realMdTool"^^xsd:string .
_:b20
sp:varName "lengthScaleMdTool"^^xsd:string .
_:b22
sp:varName "realTvdTool"^^xsd:string .
_:b23
sp:varName "lengthScaleTvdTool"^^xsd:string .
_:b24
sp:varName "toolDescription"^^xsd:string .
_:b26
sp:varName "realMdTop"^^xsd:string .
_:b27
sp:varName "lengthScaleMdTop"^^xsd:string .
_:b29
sp:varName "realMdBottom"^^xsd:string .
_:b30
sp:varName "lengthScaleMdBottom"^^xsd:string .
_:b32
sp:varName "realTvdTop"^^xsd:string .
_:b33
sp:varName "lengthScaleTvdTop"^^xsd:string .
_:b35
sp:varName "realTvdBottom"^^xsd:string .
_:b36
sp:varName "lengthScaleTvdBottom"^^xsd:string .
_:b37
sp:varName "nameWellBore"^^xsd:string .
_:b38
sp:varName "dTimStart"^^xsd:string .
_:b39
sp:varName "logInfo"^^xsd:string .
_:b40
sp:varName "mdTop"^^xsd:string .
_:b41
sp:varName "uomMdTop"^^xsd:string .
_:b42
sp:varName "mdBottom"^^xsd:string .
_:b43
sp:varName "uomMdBottom"^^xsd:string .
_:b44
sp:varName "tvdTop"^^xsd:string .
_:b45
sp:varName "uomTvdTop"^^xsd:string .
_:b46
sp:varName "tvdBottom"^^xsd:string .
_:b47
sp:varName "uomTvdBottom"^^xsd:string .
_:b48
sp:varName "mdTempTool"^^xsd:string .
_:b49
sp:varName "uomMdTool"^^xsd:string .
_:b50
sp:varName "tvdTempTool"^^xsd:string .
_:b51
sp:varName "uomTvdTool"^^xsd:string .
_:b52
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b53
sp:varName "localname"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/1series
@prefix : <http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo#> .
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.1/ddr/logInfo>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/1series#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 190 Create a well bore log activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#WellBoreLogRun> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreLogRun"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#loggedWellBoreInterval> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreSection> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "runNumber"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#logRunNumber> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#serviceCompany> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "nameServiceCompany"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#wellBoreLoggingTool> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepth> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "realMdTool"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdTool"^^xsd:string
] ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepth> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realTvdTool"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvdTool"^^xsd:string
] ;
sp:subject _:b8
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#WellBoreLoggingTool> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "toolDescription"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject _:b6
] [ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdTop"^^xsd:string
] ;
sp:subject _:b9
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleMdBottom"^^xsd:string
] ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheTopOfAPartOfAWellBore> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object
[ sp:varName "realTvdTop"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvdTop"^^xsd:string
] ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#trueVerticalDepthToTheBottomOfAPartOfAWellBore> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object
[ sp:varName "realTvdBottom"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScaleTvdBottom"^^xsd:string
] ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dailyTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "logInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "runNumber"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#runNumber> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "toolDescription"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tool> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTim> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
])
] [ sp:object
[ sp:varName "mdTop"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTopRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdTop"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "mdBottom"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdBottomRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdBottom"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdBottom"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvdTop"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTopRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvdTop"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tvdTop"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvdTop"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvdTop"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvdBottom"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdBottomRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvdBottom"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tvdBottom"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvdBottom"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvdBottom"^^xsd:string
]
])
] [ sp:object
[ sp:varName "nameServiceCompany"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#serviceCompany> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "mdTempTool"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#mdTempToolRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomMdTool"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "mdTempTool"^^xsd:string
]
] [ sp:object
[ sp:varName "realMdTool"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "mdTempTool"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "tvdTempTool"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tvdTempToolRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomTvdTool"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tvdTempTool"^^xsd:string
]
] [ sp:object
[ sp:varName "realTvdTool"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tvdTempTool"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "logInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvdTop"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvdTop"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvdBottom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvdBottom"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomMdTool"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleMdTool"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uomTvdTool"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScaleTvdTool"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellBoreByName ;
arg:wellBoreName
[ rdf:type xsd:string ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
]
] ;
sp:variable
[ sp:varName "wellBore"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 191 Create a well bore log activity - circulating temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreWithCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b13
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b13
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object
[ sp:varName "realCirculating"^^xsd:string
] ;
sp:predicate
[ sp:varName "temperatureScaleCirculating"^^xsd:string
] ;
sp:subject _:b14
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b13
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "logInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "tempBHCT"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tempBHCTRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomCirculating"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tempBHCT"^^xsd:string
]
] [ sp:object
[ sp:varName "realCirculating"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tempBHCT"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "logInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 [ sp:varName "uomCirculating"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureScaleCirculating"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 192 Create a well bore log activity - static temperature"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBoreWithoutCirculation> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTemperature> ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject _:b16
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:predicate
[ sp:varName "temperatureScaleStatic"^^xsd:string
] ;
sp:subject _:b16
] [ sp:object _:b17 ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b17
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate
[ sp:varName "durationScale"^^xsd:string
] ;
sp:subject _:b17
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b15
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#dTimStart> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "loggedTemporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ sp:object
[ sp:varName "logInfo"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#logInfoRef> ;
sp:subject spin:_this
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "eTimStatic"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#eTimStaticRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomDuration"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
] [ sp:object
[ sp:varName "realDuration"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "eTimStatic"^^xsd:string
]
])
] [ sp:object
[ sp:varName "tempBHST"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#tempBHSTRef> ;
sp:subject
[ sp:varName "logInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "uomStatic"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/1series#uomRef> ;
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
] [ sp:object
[ sp:varName "realStatic"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "tempBHST"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type afn:localname ;
sp:arg1 [ sp:varName "logInfo"^^xsd:string
]
] ;
sp:variable
[ sp:varName "localname"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreLogRunURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "localname"^^xsd:string
]
] ;
sp:variable
[ sp:varName "wellBoreLogRun"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTimeDurationScale ;
sp:arg1 [ sp:varName "uomDuration"^^xsd:string
]
] ;
sp:variable
[ sp:varName "durationScale"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectTemperatureScale ;
sp:arg1 [ sp:varName "uomStatic"^^xsd:string
]
] ;
sp:variable
[ sp:varName "temperatureScaleStatic"^^xsd:string
]
])
] .
......
......@@ -118,7 +118,7 @@
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:LithologyInformation" />
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:WellControlIncident" />
<ui:forEach ui:resultSet="{# SELECT DISTINCT ?startedAt ?comment WHERE {?report ep-report:reportOn ?reportOn . ?reportOn ep-core:hasPart ?wci . ?wci a ?wciClass . ?wciClass rdfs:subClassOf ep-activity:WellControlIncident . OPTIONAL { ?wci ep-activity:startedAt ?startedAt . } . ?wci rdfs:comment ?comment . } ORDER BY (?startedAt) }" >
<ui:forEach ui:resultSet="{# SELECT DISTINCT ?startedAt ?comment WHERE {?report ep-report:reportOn ?reportOn . ?reportOn ep-core:hasPart ?wci . ?wci a ?wciClass . ?wciClass rdfs:subClassOf ep-activity:WellControlIncident . OPTIONAL { ?wci ep-activity:startedAt ?startedAt . } . ?wci ep-core:description ?comment . } ORDER BY (?startedAt) }" >
<p>{= ?comment }</p>
</ui:forEach>
......