David Leal

A bit more on fluid sampling

# Saved by TopBraid on Mon Dec 19 18:46:58 GMT 2011
# Saved by TopBraid on Tue Dec 20 16:32:44 GMT 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
......@@ -37,7 +37,7 @@
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
rdf:type owl:Class ;
rdfs:label "production well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
rdf:type ep-prodact:ProductionOperationClassByDuration .
......@@ -52,7 +52,7 @@
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-core:Mass
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "mass"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
......@@ -93,13 +93,13 @@ ep-core:Mass
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodact:AdministerFirstAid
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:AirTrafficOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "air traffic operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:Alarm
rdf:type owl:Class ;
......@@ -118,49 +118,49 @@ ep-prodact:AmountOfSubstance
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodact:AnnualProductionActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:AnnualProductionActivityToDate
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:AnnualProductionActivity .
ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToDate .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperationsActivity .
ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToDate .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionVolumeActivity .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:ConstructionOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:CumulativeProductionActivitySinceProductionBegan
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:DailyProductionOperationsActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity .
ep-prodact:DailyProductionVolumeActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
ep-prodact:Deviation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "deviation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:DrillOrExcercise
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:Fire
......@@ -182,62 +182,62 @@ ep-prodact:FlowLine-Production
ep-prodact:FluidLevelTest
rdf:type owl:Class ;
rdfs:label "fluid level test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:FluidSampling
rdf:type owl:Class ;
rdfs:label "fluid sampling"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:FluidSampling-DST
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - DST"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-RFTorMDT
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - RFT or MDT"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-bottomhole
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - bottomhole"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-formationTester
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - formation tester"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-recombined
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - recombined"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorGas
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - separator gas"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorOil
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - separator oil"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorWater
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - separator water"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-synthetic
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdfs:label "fluid sampling - synthetic"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-wellhead
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:label "fluid sampling - wellhead"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSampling .
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSamplingAndAnalysis
rdf:type owl:Class ;
rdfs:label "fluid sampling and analysis"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:FluidSamplingType
rdf:type rdfs:Class ;
......@@ -261,21 +261,21 @@ ep-prodact:Incident
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:InitialWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "initial"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:InjectionWellTest
rdf:type owl:Class ;
rdfs:label "injection well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:Injury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:IssueWorkPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:JobObservation
......@@ -295,20 +295,20 @@ ep-prodact:LostTimeIncident
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:MaintenanceActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:MarineOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:MedicalTreatmentInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
ep-prodact:NearMiss
......@@ -320,12 +320,12 @@ ep-prodact:NotablePartOfProductionActivity
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:OtherProductionActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "other production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:OtherReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -340,17 +340,17 @@ ep-prodact:Participation
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:PeriodicWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "periodic"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:PowerStationFailure
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "power station failure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:ProductionActivityLastingLessThanAYear
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionActivityType
......@@ -363,7 +363,7 @@ ep-prodact:ProductionOperationClassByDuration
rdfs:subClassOf owl:Class .
ep-prodact:ProductionOperationsActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "production operations activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -376,7 +376,7 @@ ep-prodact:ReleasedToWater
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReportHazard
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWork
......@@ -384,11 +384,11 @@ ep-prodact:RestrictedWork
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWorkInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:RevisionWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "revision"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -397,7 +397,7 @@ ep-prodact:SafetyActivityType
rdfs:subClassOf owl:Class .
ep-prodact:SafetyMeeting
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SampleAmountOfSubstance
......@@ -417,7 +417,7 @@ ep-prodact:SickOnBoard
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SpillOrLeak
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:TransportationActivity
......@@ -425,7 +425,7 @@ ep-prodact:TransportationActivity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:UnknownReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "unknown"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -440,7 +440,7 @@ ep-prodact:WaterDischarge
ep-prodact:WaterSample
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> .
ep-prodact:WellTestReasonType
rdf:type rdfs:Class ;
......@@ -448,11 +448,11 @@ ep-prodact:WellTestReasonType
rdfs:subClassOf owl:Class .
ep-prodact:WorkingUnderPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:WorkingUnderPermitWithSJA
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:WorkingUnderPermit .
ep-prodact:ammoniumDensity
......@@ -510,7 +510,7 @@ ep-prodact:hasPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:hasShutInPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
rdfs:label "has shut-in pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -522,25 +522,25 @@ ep-prodact:hasValidPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:injectionWellTestMaximumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test maximum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestMinimumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test minimum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadFlowingPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadMaximumPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -606,7 +606,7 @@ ep-prodact:oilInWater
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:onProductionFacility
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "on facility"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
......@@ -627,7 +627,7 @@ ep-prodact:productionActivityPeriodClassification
rdfs:range ep-prodact:ProductionOperationClassByDuration .
ep-prodact:productionOperator
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "production operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
......@@ -643,7 +643,7 @@ ep-prodact:samplePhValue
rdfs:range xsd:double .
ep-prodact:samplePoint
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> .
......@@ -657,8 +657,13 @@ ep-prodact:sampleTurbidity
rdfs:domain ep-prodact:WaterSample ;
rdfs:range xsd:double .
ep-prodact:samplingPerformedAt
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:FluidSamplingAndAnalysis ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-prodact:testedWellBoreInterval
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "tested wellbore interval"^^xsd:string ;
rdfs:range ep-core:PhysicalObject .
......
# Saved by TopBraid on Mon Dec 19 16:52:20 GMT 2011
# Saved by TopBraid on Tue Dec 20 18:26:50 GMT 2011
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/production
......@@ -49,33 +49,9 @@ sp:if
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
rdfs:comment """arg1 is name of the document (this may to change when we sort out the identity lookup)
arg2 is report date"""^^xsd:string ;
sp:resultVariables (_:b1) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionReport/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 spin:_arg1
] ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b1
])
] .
ep-dpr-spin-lib:Function
rdf:type spin:Function ;
rdfs:label "function"^^xsd:string ;
......@@ -87,21 +63,21 @@ ep-dpr-spin-lib:buildAmountOfOilURI
spin:body
[ rdf:type sp:Select ;
rdfs:comment "arg1 is any additional information that may be added to the identifier. The UUID takes care of uniqueness."^^xsd:string ;
sp:resultVariables (_:b2) ;
sp:resultVariables (_:b1) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:generateUUID
] ;
sp:variable _:b3
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/amountOfOil/" ;
sp:arg2 _:b3 ;
sp:arg2 _:b2 ;
sp:arg3 "-" ;
sp:arg4 spin:_arg1
] ;
sp:variable _:b2
sp:variable _:b1
])
] .
......@@ -112,7 +88,7 @@ ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI
[ rdf:type sp:Select ;
rdfs:comment """arg1 is name of the facility (this may to change when we sort out the identity lookup)
arg2 is report end date"""^^xsd:string ;
sp:resultVariables (_:b4) ;
sp:resultVariables (_:b3) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -125,7 +101,7 @@ arg2 is report end date"""^^xsd:string ;
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b4
sp:variable _:b3
])
] .
......@@ -136,7 +112,7 @@ ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI
[ rdf:type sp:Select ;
rdfs:comment """arg1 is name of the facility (this may to change when we sort out the identity lookup)
arg2 is report end date"""^^xsd:string ;
sp:resultVariables (_:b5) ;
sp:resultVariables (_:b4) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -149,7 +125,7 @@ arg2 is report end date"""^^xsd:string ;
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b5
sp:variable _:b4
])
] .
......@@ -179,7 +155,7 @@ ep-dpr-spin-lib:buildCountryURI
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b6) ;
sp:resultVariables (_:b5) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -188,7 +164,7 @@ ep-dpr-spin-lib:buildCountryURI
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b6
sp:variable _:b5
])
] .
......@@ -200,7 +176,7 @@ ep-dpr-spin-lib:buildDailyProductionActivityURI
rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
arg2 is start date
arg3 is end date"""^^xsd:string ;
sp:resultVariables (_:b7) ;
sp:resultVariables (_:b6) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -215,7 +191,7 @@ arg3 is end date"""^^xsd:string ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b7
sp:variable _:b6
])
] .
......@@ -227,7 +203,7 @@ ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI
rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
arg2 is start date
arg3 is end date"""^^xsd:string ;
sp:resultVariables (_:b8) ;
sp:resultVariables (_:b7) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -242,7 +218,7 @@ arg3 is end date"""^^xsd:string ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b8
sp:variable _:b7
])
] .
......@@ -253,19 +229,18 @@ ep-dpr-spin-lib:buildDailyProductionReportURI
[ rdf:type sp:Select ;
rdfs:comment """arg1 is the name of the report
arg2 is the report date"""^^xsd:string ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:resultVariables (_:b8) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionReport/" ;
sp:arg2 spin:_arg1 ;
sp:arg3 "$" ;
sp:arg4 spin:_arg2
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2
]
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
sp:variable _:b8
])
] .
......@@ -5513,22 +5488,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b29
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
......@@ -5608,6 +5567,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b29
])
] .
ep-dpr-spin-lib:selectTemperatureScale
......@@ -7169,6 +7144,9 @@ _:b23
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b21
sp:varName "productVolumeReportPeriodType"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
......@@ -7204,8 +7182,6 @@ _:b10
_:b9 sp:varName "uri"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
......@@ -7214,11 +7190,10 @@ _:b5 sp:varName "uri"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b3 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "UUID"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b21
sp:varName "productVolumeReportPeriodType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
......
# Saved by TopBraid on Mon Dec 19 16:52:20 GMT 2011
# Saved by TopBraid on Tue Dec 20 18:26:51 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Dec 19 18:38:19 GMT 2011
# Saved by TopBraid on Tue Dec 20 18:27:09 GMT 2011
# baseURI: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
......@@ -10,6 +10,8 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/production-report
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@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#> .
......@@ -54,6 +56,31 @@ ep-mpr-spin-lib:Function
rdf:type spin:Function ;
rdfs:subClassOf spin:Functions .
ep-mpr-spin-lib:buildProductionReportURI
rdf:type spin:Function ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
rdfs:comment """arg1 is the name of the report
arg2 is the report start date
arg3 is the report end date"""^^xsd:string ;
sp:resultVariables (_:b1) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/productionReport/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2 ;
sp:arg4 "$" ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b1
])
] .
ep-mpr-spin-lib:selectCompressibilityScale
rdf:type spin:Function ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
......@@ -807,7 +834,7 @@ ep-mpr-spin-lib:selectFluidSamplingType
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b1) ;
sp:resultVariables (_:b2) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -888,7 +915,7 @@ ep-mpr-spin-lib:selectFluidSamplingType
]
]
] ;
sp:variable _:b1
sp:variable _:b2
])
] .
......@@ -2938,7 +2965,7 @@ ep-mpr-spin-lib:selectProductVolumeReportPeriodType
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b2) ;
sp:resultVariables (_:b3) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3082,7 +3109,7 @@ ep-mpr-spin-lib:selectProductVolumeReportPeriodType
]
]
] ;
sp:variable _:b2
sp:variable _:b3
])
] .
......@@ -5466,6 +5493,8 @@ ep-mpr-spin-lib:selectWorkScale
])
] .
_:b2 sp:varName "productVolumeReportPeriodType"^^xsd:string .
_:b3 sp:varName "productVolumeReportPeriodType"^^xsd:string .
_:b2 sp:varName "fluidSamplingType"^^xsd:string .
_:b1 sp:varName "fluidSamplingType"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
......
# Saved by TopBraid on Mon Dec 19 18:38:19 GMT 2011
# Saved by TopBraid on Tue Dec 20 18:27:09 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Tue Dec 20 16:01:28 GMT 2011
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
@prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> .
@prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> .
@prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
@prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> .
@prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
......@@ -19,5 +22,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> ;
owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Tue Dec 20 16:01:28 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Dec 19 20:37:48 GMT 2011
# Saved by TopBraid on Tue Dec 20 19:13:18 GMT 2011
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
......@@ -23,245 +24,256 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40003 Create the Sample of fluid.
The sample is anonymous. It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
rdfs:comment "STEP 40005 Specify the fluid component."^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate _:b2 ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#FluidWholeComponentPair> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#wholeFluid> ;
sp:subject _:b4
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject _:b3
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#componentFluid> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#weightRatio> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate _:b7 ;
sp:subject _:b5
]) ;
sp:where ([ sp:object _:b4 ;
sp:where ([ sp:object _:b8 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b4 ;
sp:subject _:b8
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b3
] [ sp:object _:b2 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject _:b4
] [ sp:object _:b9 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef> ;
sp:subject _:b8
] [ sp:object _:b10 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#isPrimary> ;
sp:subject _:b9
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#componentName> ;
sp:subject _:b9
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b11 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#weightPercentRef> ;
sp:subject _:b9
] [ sp:object _:b6 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject _:b11
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectFluidComponentType ;
sp:arg1 _:b10
] ;
sp:variable _:b2
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectRatioScale ;
sp:arg1 _:b12
] ;
sp:variable _:b7
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002c Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
rdfs:comment """STEP 40002d Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b5 ;
sp:templates ([ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b6
sp:subject _:b14
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b13
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate rdfs:label ;
sp:subject _:b5
] [ sp:object _:b8 ;
sp:subject _:b15
] [ sp:object _:b17 ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b7 ;
sp:subject _:b15
] [ sp:object _:b16 ;
sp:predicate rdfs:label ;
sp:subject _:b9
sp:subject _:b18
]) ;
sp:where ([ sp:object _:b10 ;
sp:where ([ sp:object _:b19 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object _:b10 ;
sp:subject _:b19
] [ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b6
] [ sp:object _:b9 ;
sp:subject _:b14
] [ sp:object _:b18 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b10
] [ sp:object _:b11 ;
sp:subject _:b19
] [ sp:object _:b20 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b9
] [ sp:object _:b12 ;
sp:subject _:b18
] [ sp:object _:b21 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b11
] [ sp:object _:b13 ;
sp:subject _:b20
] [ sp:object _:b22 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b11
sp:subject _:b20
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b11
sp:subject _:b20
])
] [ sp:object _:b14 ;
] [ sp:object _:b23 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:subject _:b10
] [ sp:object _:b15 ;
sp:subject _:b19
] [ sp:object _:b24 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b14
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "facilityParent2Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
sp:subject _:b10
])
sp:subject _:b23
] [ sp:object _:b25 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
sp:subject _:b19
] [ sp:object _:b26 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b25
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b12
sp:arg1 _:b21
] ;
sp:variable _:b16
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b15
sp:arg1 _:b24
] ;
sp:variable _:b17
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b26
] ;
sp:variable
[ sp:varName "normalizedFacilityParent2Name"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 _:b17 ;
sp:arg1 _:b28 ;
sp:arg2 "$" ;
sp:arg3 _:b16
sp:arg3 _:b28 ;
sp:arg4 "$" ;
sp:arg5 _:b27
] ;
sp:variable _:b7
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b7
sp:arg1 _:b16
] ;
sp:variable _:b5
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b13
sp:arg1 _:b22
] ;
sp:variable _:b8
sp:variable _:b17
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002b Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b18 ;
sp:templates ([ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b19
sp:subject _:b30
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b29
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:predicate rdfs:label ;
sp:subject _:b18
] [ sp:object _:b21 ;
sp:subject _:b31
] [ sp:object _:b33 ;
sp:predicate rdf:type ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:predicate rdfs:label ;
sp:subject _:b22
sp:subject _:b34
]) ;
sp:where ([ sp:object _:b23 ;
sp:where ([ sp:object _:b35 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b23 ;
sp:subject _:b35
] [ sp:object _:b35 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b19
] [ sp:object _:b22 ;
sp:subject _:b30
] [ sp:object _:b34 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b23
] [ sp:object _:b24 ;
sp:subject _:b35
] [ sp:object _:b36 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b22
] [ sp:object _:b25 ;
sp:subject _:b34
] [ sp:object _:b37 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b24
] [ sp:object _:b26 ;
sp:subject _:b36
] [ sp:object _:b38 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b24
sp:subject _:b36
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b24
sp:subject _:b36
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "facilityParent1Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:subject _:b23
sp:subject _:b35
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b25
sp:arg1 _:b37
] ;
sp:variable _:b20
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b20
sp:arg1 _:b32
] ;
sp:variable _:b18
sp:variable _:b31
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b26
sp:arg1 _:b38
] ;
sp:variable _:b21
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002a Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is \"well\" and facilityAlias is supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate rdfs:label ;
sp:subject _:b30
]) ;
sp:where ([ sp:object _:b31 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b31
] [ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b28
] [ sp:object _:b30 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b31
] [ sp:object _:b32 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b30
] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b32
] [ sp:object _:b33 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityAliasRef> ;
sp:subject _:b31
] [ sp:object _:b34 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b34
] ;
sp:variable _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellByName ;
arg:wellName _:b34
] ;
sp:variable _:b27
sp:variable _:b33
])
] ;
spin:rule
......@@ -269,308 +281,470 @@ kind is \"well\" and facilityAlias is supplied"""^^xsd:string ;
rdfs:comment "STEP 40001 Create the FluidSampleReport, FluidSampling activity and FluidSample object ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#FluidSampleReport> ;
sp:predicate rdf:type ;
sp:subject _:b35
] [ sp:object _:b36 ;
sp:subject _:b39
] [ sp:object _:b40 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b35
] [ sp:object _:b37 ;
sp:subject _:b39
] [ sp:object _:b41 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b35
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSampling> ;
sp:subject _:b39
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
sp:predicate rdf:type ;
sp:subject _:b37
] [ sp:object _:b38 ;
sp:subject _:b41
] [ sp:object _:b42 ;
sp:predicate rdf:type ;
sp:subject _:b37
] [ sp:object _:b39 ;
sp:subject _:b41
] [ sp:object _:b43 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b37
] [ sp:object _:b40 ;
sp:subject _:b41
] [ sp:object _:b44 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b37
sp:subject _:b41
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b36
] [ sp:object _:b40 ;
sp:subject _:b40
] [ sp:object _:b44 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b40
sp:subject _:b44
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b39 ;
sp:elements ([ sp:object _:b43 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#acquisitionDate> ;
sp:subject _:b40
sp:subject _:b44
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b41 ;
sp:elements ([ sp:object _:b45 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sampleTypeRef> ;
sp:subject _:b40
sp:subject _:b44
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectFluidSamplingType ;
sp:arg1 _:b41
sp:arg1 _:b45
] ;
sp:variable _:b38
sp:variable _:b42
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002d Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
rdfs:comment """STEP 40003 Create the Sample of fluid.
The sample is anonymous. It is matched to its results via the sample name, which is assumed to be unique within the file."""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Fluid> ;
sp:predicate rdf:type ;
sp:subject _:b46
] [ sp:object _:b47 ;
sp:predicate rdfs:label ;
sp:subject _:b46
] [ sp:object _:b46 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject _:b48
]) ;
sp:where ([ sp:object _:b49 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b49
] [ sp:object _:b49 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b48
] [ sp:object _:b47 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject _:b49
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40004 Specify the fluid analysis result."^^xsd:string ;
sp:templates ([ sp:object _:b50 ;
sp:predicate rdfs:label ;
sp:subject _:b51
] [ sp:object _:b52 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b53
]) ;
sp:where ([ sp:object _:b54 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b54
] [ sp:object _:b54 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b51
] [ sp:object _:b53 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
sp:subject _:b51
] [ sp:object _:b55 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject _:b54
] [ sp:object _:b52 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidAnalysisResult> ;
sp:predicate rdf:type ;
sp:subject _:b52
] [ sp:object _:b55 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidSample> ;
sp:subject _:b52
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b50 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameFluidAnalysis> ;
sp:subject _:b52
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002a Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is \"well\" and facilityAlias is supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b56 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b57
] [ sp:object _:b58 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b56
] [ sp:object _:b59 ;
sp:predicate rdfs:label ;
sp:subject _:b60
]) ;
sp:where ([ sp:object _:b61 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b61
] [ sp:object _:b61 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b57
] [ sp:object _:b60 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b61
] [ sp:object _:b62 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b60
] [ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b62
] [ sp:object _:b63 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityAliasRef> ;
sp:subject _:b61
] [ sp:object _:b64 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b63
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b64
] ;
sp:variable _:b59
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:wellByName ;
arg:wellName _:b64
] ;
sp:variable _:b58
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40002c Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume.
kind is not \"well\" and facilityParent1 is not supplied"""^^xsd:string ;
sp:templates ([ sp:object _:b42 ;
sp:templates ([ sp:object _:b65 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
sp:subject _:b43
sp:subject _:b66
] [ sp:object _:b67 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b65
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b42
] [ sp:object _:b44 ;
sp:subject _:b67
] [ sp:object _:b68 ;
sp:predicate rdfs:label ;
sp:subject _:b42
] [ sp:object _:b45 ;
sp:subject _:b67
] [ sp:object _:b69 ;
sp:predicate rdf:type ;
sp:subject _:b42
] [ sp:object _:b44 ;
sp:subject _:b67
] [ sp:object _:b68 ;
sp:predicate rdfs:label ;
sp:subject _:b46
sp:subject _:b70
]) ;
sp:where ([ sp:object _:b47 ;
sp:where ([ sp:object _:b71 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_fluidSample> ;
sp:predicate rdf:type ;
sp:subject _:b47
] [ sp:object _:b47 ;
sp:subject _:b71
] [ sp:object _:b71 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b43
] [ sp:object _:b46 ;
sp:subject _:b66
] [ sp:object _:b70 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityRef> ;
sp:subject _:b47
] [ sp:object _:b48 ;
sp:subject _:b71
] [ sp:object _:b72 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b46
] [ sp:object _:b49 ;
sp:subject _:b70
] [ sp:object _:b73 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b48
] [ sp:object _:b50 ;
sp:subject _:b72
] [ sp:object _:b74 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b48
sp:subject _:b72
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject _:b48
sp:subject _:b72
])
] [ sp:object _:b51 ;
] [ sp:object _:b75 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent1Ref> ;
sp:subject _:b47
] [ sp:object _:b52 ;
sp:subject _:b71
] [ sp:object _:b76 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b51
] [ sp:object _:b53 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
sp:subject _:b47
] [ sp:object _:b54 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b53
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b49
] ;
sp:variable _:b55
sp:subject _:b75
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "facilityParent2Ref"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#facilityParent2Ref> ;
sp:subject _:b71
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b52
sp:arg1 _:b73
] ;
sp:variable _:b56
sp:variable _:b77
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b54
sp:arg1 _:b76
] ;
sp:variable
[ sp:varName "normalizedFacilityParent2Name"^^xsd:string
]
sp:variable _:b78
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 _:b56 ;
sp:arg1 _:b78 ;
sp:arg2 "$" ;
sp:arg3 _:b56 ;
sp:arg4 "$" ;
sp:arg5 _:b55
sp:arg3 _:b77
] ;
sp:variable _:b44
sp:variable _:b68
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 _:b44
sp:arg1 _:b68
] ;
sp:variable _:b42
sp:variable _:b67
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 _:b50
sp:arg1 _:b74
] ;
sp:variable _:b45
sp:variable _:b69
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b31
_:b61
sp:varName "fluidSampleRef"^^xsd:string .
_:b28
sp:varName "fluidSampling"^^xsd:string .
_:b57
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b30
_:b60
sp:varName "facilityRef"^^xsd:string .
_:b32
_:b62
sp:varName "facilityNameRef"^^xsd:string .
_:b33
_:b63
sp:varName "facilityAliasRef"^^xsd:string .
_:b34
_:b64
sp:varName "facilityAlias"^^xsd:string .
_:b29
_:b59
sp:varName "normalizedFacilityAlias"^^xsd:string .
_:b27
_:b58
sp:varName "facility"^^xsd:string .
_:b23
_:b35
sp:varName "fluidSampleRef"^^xsd:string .
_:b19
sp:varName "fluidSampling"^^xsd:string .
_:b30
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b22
_:b34
sp:varName "facilityRef"^^xsd:string .
_:b24
_:b36
sp:varName "facilityNameRef"^^xsd:string .
_:b25
_:b37
sp:varName "facilityName"^^xsd:string .
_:b26
_:b38
sp:varName "facilityKind"^^xsd:string .
_:b20
_:b32
sp:varName "normalizedFacilityName"^^xsd:string .
_:b18
_:b31
sp:varName "facility"^^xsd:string .
_:b21
_:b33
sp:varName "facilityType"^^xsd:string .
_:b10
_:b71
sp:varName "fluidSampleRef"^^xsd:string .
_:b6 sp:varName "fluidSampling"^^xsd:string .
_:b66
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b9 sp:varName "facilityRef"^^xsd:string .
_:b70
sp:varName "facilityRef"^^xsd:string .
_:b11
_:b72
sp:varName "facilityNameRef"^^xsd:string .
_:b12
_:b73
sp:varName "facilityChildName"^^xsd:string .
_:b13
_:b74
sp:varName "facilityKind"^^xsd:string .
_:b14
_:b75
sp:varName "facilityParent1Ref"^^xsd:string .
_:b15
_:b76
sp:varName "facilityParent1Name"^^xsd:string .
_:b16
_:b77
sp:varName "normalizedFacilityChildName"^^xsd:string .
_:b17
_:b78
sp:varName "normalizedFacilityParent1Name"^^xsd:string .
_:b7 sp:varName "normalizedFacilityName"^^xsd:string .
_:b68
sp:varName "normalizedFacilityName"^^xsd:string .
_:b5 sp:varName "facility"^^xsd:string .
_:b67
sp:varName "facility"^^xsd:string .
_:b8 sp:varName "facilityType"^^xsd:string .
_:b69
sp:varName "facilityType"^^xsd:string .
_:b47
_:b19
sp:varName "fluidSampleRef"^^xsd:string .
_:b43
sp:varName "fluidSampling"^^xsd:string .
_:b14
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b46
_:b18
sp:varName "facilityRef"^^xsd:string .
_:b48
_:b20
sp:varName "facilityNameRef"^^xsd:string .
_:b49
_:b21
sp:varName "facilityChildName"^^xsd:string .
_:b50
_:b22
sp:varName "facilityKind"^^xsd:string .
_:b51
_:b23
sp:varName "facilityParent1Ref"^^xsd:string .
_:b52
_:b24
sp:varName "facilityParent1Name"^^xsd:string .
_:b53
_:b25
sp:varName "facilityParent2Ref"^^xsd:string .
_:b54
_:b26
sp:varName "facilityParent2Name"^^xsd:string .
_:b55
_:b27
sp:varName "normalizedFacilityChildName"^^xsd:string .
_:b56
_:b28
sp:varName "normalizedFacilityParent1Name"^^xsd:string .
_:b44
_:b16
sp:varName "normalizedFacilityName"^^xsd:string .
_:b42
_:b15
sp:varName "facility"^^xsd:string .
_:b45
_:b17
sp:varName "facilityType"^^xsd:string .
_:b36
sp:varName "productionReport"^^xsd:string .
_:b8 sp:varName "fluidAnalysisResultRef"^^xsd:string .
_:b3 sp:varName "sampledFluid"^^xsd:string .
_:b9 sp:varName "fluidSampleCompositionRef"^^xsd:string .
_:b10
sp:varName "isPrimary"^^xsd:string .
_:b11
sp:varName "weightPercentRef"^^xsd:string .
_:b6 sp:varName "realWeightPercent"^^xsd:string .
_:b12
sp:varName "uomWeightPercent"^^xsd:string .
_:b2 sp:varName "fluidComponentType"^^xsd:string .
_:b7 sp:varName "weightPercentScale"^^xsd:string .
_:b49
sp:varName "fluidSampleRef"^^xsd:string .
_:b48
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b47
sp:varName "name"^^xsd:string .
_:b54
sp:varName "fluidSampleRef"^^xsd:string .
_:b51
sp:varName "fluidSamplingAndAnalysis"^^xsd:string .
_:b53
sp:varName "sampledFluid"^^xsd:string .
_:b55
sp:varName "name"^^xsd:string .
_:b52
sp:varName "fluidAnalysisResultRef"^^xsd:string .
_:b50
sp:varName "nameFluidAnalysis"^^xsd:string .
_:b40
sp:varName "productionReport"^^xsd:string .
_:b44
sp:varName "fluidSampleRef"^^xsd:string .
_:b39
_:b43
sp:varName "acquisitionDate"^^xsd:string .
_:b41
_:b45
sp:varName "sampleTypeRef"^^xsd:string .
_:b38
_:b42
sp:varName "fluidSamplingType"^^xsd:string .
_:b4 sp:varName "fluidSampleRef"^^xsd:string .
_:b3 sp:varName "fluidSampling"^^xsd:string .
_:b2 sp:varName "name"^^xsd:string .
......
# Saved by TopBraid on Tue Dec 20 19:26:54 GMT 2011
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
......@@ -18,326 +20,482 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001c Add the report kind"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ;
rdfs:comment """STEP 10001b Create the ProductionReport - dateStart and dateEnd supplied
Extract the name from the productionOperation child"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
sp:subject _:b1
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b1
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:where ([ sp:object _:b4 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:subject _:b4
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b5 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject _:b4
] [ sp:object _:b2 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b5
])
] [ sp:object _:b3 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:subject _:b4
] [ sp:object _:b6 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b6
] [ sp:object _:b8 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b7
] [ sp:object _:b9 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject _:b6
] [ sp:object _:b10 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
sp:arg1 _:b8
] ;
sp:variable
[ sp:varName "normalizedKind"^^xsd:string
]
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "normalizedKind"^^xsd:string
]
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b11 ;
sp:arg2 _:b9 ;
sp:arg3 _:b10
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
]
sp:variable _:b1
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001a Create the ProductionReport - dTimStart and dTimEnd supplied
Extract the name from the productionOperation child"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:subject _:b12
] [ sp:object _:b13 ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:subject _:b12
] [ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:subject _:b12
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:where ([ sp:object _:b15 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
sp:subject _:b15
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:elements ([ sp:object _:b16 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:subject _:b15
] [ sp:object _:b13 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
sp:subject _:b16
])
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
] [ sp:object _:b14 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:subject _:b15
] [ sp:object _:b17 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:subject _:b17
] [ sp:object _:b18 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:subject _:b17
] [ sp:object _:b19 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "nameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:subject _:b18
] [ sp:object _:b20 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "prodctionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:subject _:b17
] [ sp:object _:b21 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject
[ sp:varName "prodctionOperationRef"^^xsd:string
]
sp:subject _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "name"^^xsd:string
]
sp:arg1 _:b19
] ;
sp:variable
[ sp:varName "normalizedName"^^xsd:string
]
sp:variable _:b22
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "dTimEnd"^^xsd:string
]
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b22 ;
sp:arg2 _:b20 ;
sp:arg3 _:b21
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:variable _:b12
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001b Create the ProductionReport - dateStart and dateEnd supplied
Extract the name from the productionOperation child"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
rdfs:comment "STEP 10001e Add the report kind"^^xsd:string ;
sp:templates ([ sp:object _:b23 ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:subject _:b24
] [ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject _:b23
] [ sp:object _:b25 ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:subject _:b23
]) ;
sp:where ([ sp:object _:b26 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject _:b26
] [ sp:object _:b25 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject _:b26
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b26
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b24
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b25
] ;
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 _:b27
] ;
sp:variable _:b23
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001c Create the ProductionReport - date and dateEnd from context
Extract the name from the contextFacility"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject _:b28
] [ sp:object _:b29 ;
sp:predicate rdfs:label ;
sp:subject _:b28
] [ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:subject _:b28
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:subject _:b28
]) ;
sp:where ([ sp:object
[ sp:varName "contextRef"^^xsd:string
] ;
sp:where ([ sp:object _:b31 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
sp:subject _:b31
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:elements ([ sp:object _:b32 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:subject _:b31
] [ sp:object _:b29 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
sp:subject _:b32
])
] [ sp:object
[ sp:varName "date"^^xsd:string
] ;
] [ sp:object _:b30 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject
[ sp:varName "contextRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
sp:subject _:b31
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b33 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b33
] [ sp:object _:b34 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b33
] [ sp:object _:b35 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b34
])
] [ sp:object _:b36 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b31
] [ sp:object _:b37 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject _:b31
] [ sp:object _:b38 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject _:b31
] [ sp:object _:b35 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b38
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b35
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:variable _:b39
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b39 ;
sp:arg2 _:b36 ;
sp:arg3 _:b37
] ;
sp:variable _:b28
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10001d Create the ProductionReport - dateStart and dateEnd from context
Extract the name from the contextFacility"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject _:b40
] [ sp:object _:b41 ;
sp:predicate rdfs:label ;
sp:subject _:b40
] [ sp:object _:b42 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject _:b40
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject _:b40
]) ;
sp:where ([ sp:object _:b43 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "nameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:subject _:b43
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object _:b44 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject _:b43
] [ sp:object _:b41 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b44
])
] [ sp:object _:b42 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#date> ;
sp:subject _:b43
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b45 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b45
] [ sp:object _:b46 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject _:b45
] [ sp:object _:b47 ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject _:b46
])
] [ sp:object _:b48 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "prodctionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:subject _:b43
] [ sp:object _:b49 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "prodctionOperationRef"^^xsd:string
]
sp:subject _:b43
] [ sp:object _:b50 ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject _:b43
] [ sp:object _:b47 ;
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 [ sp:varName "name"^^xsd:string
]
sp:arg1 _:b47
] ;
sp:variable
[ sp:varName "normalizedName"^^xsd:string
]
sp:variable _:b51
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dateStart"^^xsd:string
] ;
sp:arg3 [ sp:varName "dateEnd"^^xsd:string
]
[ rdf:type ep-mpr-spin-lib:buildProductionReportURI ;
sp:arg1 _:b51 ;
sp:arg2 _:b48 ;
sp:arg3 _:b49
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
sp:variable _:b40
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b40
sp:varName "productionReport"^^xsd:string .
_:b41
sp:varName "title"^^xsd:string .
_:b42
sp:varName "date"^^xsd:string .
_:b43
sp:varName "contextRef"^^xsd:string .
_:b44
sp:varName "titleRef"^^xsd:string .
_:b45
sp:varName "productionOperationRef"^^xsd:string .
_:b46
sp:varName "nameRef"^^xsd:string .
_:b47
sp:varName "name"^^xsd:string .
_:b48
sp:varName "dateStart"^^xsd:string .
_:b49
sp:varName "dateEnd"^^xsd:string .
_:b50
sp:varName "contextFacilityRef"^^xsd:string .
_:b51
sp:varName "normalizedName"^^xsd:string .
_:b28
sp:varName "productionReport"^^xsd:string .
_:b29
sp:varName "title"^^xsd:string .
_:b30
sp:varName "date"^^xsd:string .
_:b31
sp:varName "contextRef"^^xsd:string .
_:b32
sp:varName "titleRef"^^xsd:string .
_:b33
sp:varName "productionOperationRef"^^xsd:string .
_:b34
sp:varName "nameRef"^^xsd:string .
_:b35
sp:varName "name"^^xsd:string .
_:b36
sp:varName "dateStart"^^xsd:string .
_:b37
sp:varName "dateEnd"^^xsd:string .
_:b38
sp:varName "contextFacilityRef"^^xsd:string .
_:b39
sp:varName "normalizedName"^^xsd:string .
_:b23
sp:varName "reportKind"^^xsd:string .
_:b24
sp:varName "productionReport"^^xsd:string .
_:b25
sp:varName "kind"^^xsd:string .
_:b26
sp:varName "contextRef"^^xsd:string .
_:b27
sp:varName "normalizedKind"^^xsd:string .
_:b15
sp:varName "contextRef"^^xsd:string .
_:b16
sp:varName "titleRef"^^xsd:string .
_:b13
sp:varName "title"^^xsd:string .
_:b14
sp:varName "date"^^xsd:string .
_:b17
sp:varName "productionOperationRef"^^xsd:string .
_:b18
sp:varName "nameRef"^^xsd:string .
_:b19
sp:varName "name"^^xsd:string .
_:b20
sp:varName "dTimStart"^^xsd:string .
_:b21
sp:varName "dTimEnd"^^xsd:string .
_:b22
sp:varName "normalizedName"^^xsd:string .
_:b12
sp:varName "productionReport"^^xsd:string .
_:b4 sp:varName "contextRef"^^xsd:string .
_:b5 sp:varName "titleRef"^^xsd:string .
_:b2 sp:varName "title"^^xsd:string .
_:b3 sp:varName "date"^^xsd:string .
_:b6 sp:varName "productionOperationRef"^^xsd:string .
_:b7 sp:varName "nameRef"^^xsd:string .
_:b8 sp:varName "name"^^xsd:string .
_:b9 sp:varName "dateStart"^^xsd:string .
_:b10
sp:varName "dateEnd"^^xsd:string .
_:b11
sp:varName "normalizedName"^^xsd:string .
_:b1 sp:varName "productionReport"^^xsd:string .
......
# Saved by TopBraid on Tue Dec 20 19:26:54 GMT 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......