David Leal

reinstated ProductionActivityToDate class and the DPR spin functions buildProduc…

…tionActivityToDateURI and buildProductionFlowsToDateURI
# Saved by TopBraid on Fri Oct 14 13:39:53 BST 2011
# Saved by TopBraid on Fri Oct 14 15:14:22 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
......@@ -17,7 +17,7 @@
<http://www.reportinghub.no/ep/schema/1.0/production-activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <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/flow> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
......@@ -26,10 +26,15 @@
<http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity>
rdf:type ep-prodact:ProductionOperationClassByDuration .
<http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate>
rdf:type owl:Class ;
rdfs:label "production activity to date"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
<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 .
......@@ -41,7 +46,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 .
......@@ -82,7 +87,7 @@ 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
......@@ -94,20 +99,20 @@ ep-prodact:Alarm
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
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:AnnualProductionActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivity .
ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionOperationsActivity .
ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionVolumeActivity .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
......@@ -118,23 +123,23 @@ ep-prodact:ConstructionOperation
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 owl:Class ;
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
......@@ -170,11 +175,11 @@ ep-prodact:Incident
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
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
......@@ -202,11 +207,11 @@ ep-prodact:MarineOperation
rdfs:subClassOf 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
......@@ -226,7 +231,7 @@ ep-prodact:PowerStationFailure
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:ProductionOperationClassByDuration
......@@ -246,7 +251,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
......@@ -254,7 +259,7 @@ 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:SafetyActivityType
......@@ -262,7 +267,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
......@@ -282,7 +287,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:WaterCleaningOperation
......@@ -291,14 +296,14 @@ ep-prodact:WaterCleaningOperation
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: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
......
# Saved by TopBraid on Fri Oct 14 13:39:20 BST 2011
# Saved by TopBraid on Fri Oct 14 15:27:40 BST 2011
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/schema/1.0/well
......@@ -215,13 +215,37 @@ ep-dpr-spin-lib:buildProductFlowURI
])
] .
ep-dpr-spin-lib:buildProductionActivityToDateURI
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
arg2 is end date"""^^xsd:string ;
sp:resultVariables (_:b9) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/productionActivityToDate/" ;
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 _:b9
])
] .
ep-dpr-spin-lib:buildProductionFacilityURI
rdf:type spin:Function ;
rdfs:label "build ProductionFacility URI"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b9) ;
sp:resultVariables (_:b10) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -230,7 +254,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b9
sp:variable _:b10
])
] .
......@@ -240,7 +264,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b10) ;
sp:resultVariables (_:b11) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -249,17 +273,17 @@ ep-dpr-spin-lib:buildProductionFlowURI
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b10
sp:variable _:b11
])
] .
ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
rdf:type spin:Function ;
rdfs:label "build ProductionFacility URI"^^xsd:string ;
rdfs:label "build ProductionFlowsForAPeriod URI"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b11) ;
sp:resultVariables (_:b12) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -272,7 +296,28 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b11
sp:variable _:b12
])
] .
ep-dpr-spin-lib:buildProductionFlowsToDateURI
rdf:type spin:Function ;
rdfs:label "build ProductionFlowsToDate URI"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b13) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/productionFlowsToDate/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b13
])
] .
......@@ -282,7 +327,7 @@ ep-dpr-spin-lib:buildShipURI
spin:body
[ rdf:type sp:Select ;
rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ;
sp:resultVariables (_:b12) ;
sp:resultVariables (_:b14) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -291,7 +336,7 @@ ep-dpr-spin-lib:buildShipURI
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b12
sp:variable _:b14
])
] .
......@@ -301,7 +346,7 @@ ep-dpr-spin-lib:buildStateURI
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b13) ;
sp:resultVariables (_:b15) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -310,7 +355,7 @@ ep-dpr-spin-lib:buildStateURI
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b13
sp:variable _:b15
])
] .
......@@ -322,7 +367,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI
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 (_:b14) ;
sp:resultVariables (_:b16) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -337,7 +382,7 @@ arg3 is end date"""^^xsd:string ;
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b14
sp:variable _:b16
])
] .
......@@ -347,7 +392,7 @@ ep-dpr-spin-lib:selectDurationScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b15) ;
sp:resultVariables (_:b17) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -372,7 +417,7 @@ ep-dpr-spin-lib:selectDurationScale
]
]
] ;
sp:variable _:b15
sp:variable _:b17
])
] .
......@@ -382,7 +427,7 @@ ep-dpr-spin-lib:selectLengthScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b16) ;
sp:resultVariables (_:b18) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -421,7 +466,7 @@ ep-dpr-spin-lib:selectLengthScale
]
]
] ;
sp:variable _:b16
sp:variable _:b18
])
] .
......@@ -430,7 +475,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b17) ;
sp:resultVariables (_:b19) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -490,7 +535,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale
]
]
] ;
sp:variable _:b17
sp:variable _:b19
])
] .
......@@ -500,7 +545,7 @@ ep-dpr-spin-lib:selectPressureScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b18) ;
sp:resultVariables (_:b20) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -525,7 +570,7 @@ ep-dpr-spin-lib:selectPressureScale
]
]
] ;
sp:variable _:b18
sp:variable _:b20
])
] .
......@@ -535,7 +580,7 @@ ep-dpr-spin-lib:selectProductType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b19) ;
sp:resultVariables (_:b21) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -742,7 +787,7 @@ ep-dpr-spin-lib:selectProductType
]
]
] ;
sp:variable _:b19
sp:variable _:b21
])
] .
......@@ -752,7 +797,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b20) ;
sp:resultVariables (_:b22) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -931,7 +976,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
]
]
] ;
sp:variable _:b20
sp:variable _:b22
])
] .
......@@ -941,7 +986,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b21) ;
sp:resultVariables (_:b23) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1001,7 +1046,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
]
]
] ;
sp:variable _:b21
sp:variable _:b23
])
] .
......@@ -1011,7 +1056,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b22) ;
sp:resultVariables (_:b24) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1029,7 +1074,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
] ;
sp:variable _:b22
sp:variable _:b24
])
] .
......@@ -1039,7 +1084,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b23) ;
sp:resultVariables (_:b25) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1057,7 +1102,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
] ;
sp:variable _:b23
sp:variable _:b25
])
] .
......@@ -1067,7 +1112,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b24) ;
sp:resultVariables (_:b26) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1218,7 +1263,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
]
]
] ;
sp:variable _:b24
sp:variable _:b26
])
] .
......@@ -1227,7 +1272,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b25) ;
sp:resultVariables (_:b27) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1280,7 +1325,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType
]
]
] ;
sp:variable _:b25
sp:variable _:b27
])
] .
......@@ -1290,7 +1335,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b26) ;
sp:resultVariables (_:b28) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1364,7 +1409,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
]
]
] ;
sp:variable _:b26
sp:variable _:b28
])
] .
......@@ -1373,7 +1418,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b27) ;
sp:resultVariables (_:b29) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1517,7 +1562,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
] ;
sp:variable _:b27
sp:variable _:b29
])
] .
......@@ -1527,7 +1572,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:resultVariables (_:b30) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1538,7 +1583,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b28
sp:variable _:b30
])
] .
......@@ -1548,7 +1593,7 @@ ep-dpr-spin-lib:selectTemperatureScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:resultVariables (_:b31) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1566,7 +1611,7 @@ ep-dpr-spin-lib:selectTemperatureScale
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
] ;
sp:variable _:b29
sp:variable _:b31
])
] .
......@@ -1576,7 +1621,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b30) ;
sp:resultVariables (_:b32) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1650,7 +1695,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
] ;
sp:variable _:b30
sp:variable _:b32
])
] .
......@@ -1659,7 +1704,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b31) ;
sp:resultVariables (_:b33) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1733,7 +1778,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
]
]
] ;
sp:variable _:b31
sp:variable _:b33
])
] .
......@@ -1743,7 +1788,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b32) ;
sp:resultVariables (_:b34) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1768,7 +1813,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
] ;
sp:variable _:b32
sp:variable _:b34
])
] .
......@@ -1778,7 +1823,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b33) ;
sp:resultVariables (_:b35) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1803,7 +1848,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
] ;
sp:variable _:b33
sp:variable _:b35
])
] .
......@@ -1813,7 +1858,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b34) ;
sp:resultVariables (_:b36) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1838,7 +1883,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
]
]
] ;
sp:variable _:b34
sp:variable _:b36
])
] .
......@@ -1848,7 +1893,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b35) ;
sp:resultVariables (_:b37) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -2076,74 +2121,80 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
] ;
sp:variable _:b35
sp:variable _:b37
])
] .
_:b35
_:b37
sp:varName "volumeScale"^^xsd:string .
_:b34
_:b36
sp:varName "volumeFlowRateScale"^^xsd:string .
_:b33
_:b35
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b32
_:b34
sp:varName "volumeAtStdType"^^xsd:string .
_:b31
_:b33
sp:varName "prodActType"^^xsd:string .
_:b30
_:b32
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b29
_:b31
sp:varName "temperatureScale"^^xsd:string .
_:b28
_:b30
sp:varName "specificVolumeScale"^^xsd:string .
_:b27
_:b29
sp:varName "safetyActivityType"^^xsd:string .
_:b26
_:b28
sp:varName "relationshipToMeasure"^^xsd:string .
_:b25
_:b27
sp:varName "popType"^^xsd:string .
_:b24
_:b26
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b23
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b22
_:b24
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b21
_:b23
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b20
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b19
_:b21
sp:varName "productType"^^xsd:string .
_:b18
_:b20
sp:varName "pressureScale"^^xsd:string .
_:b16
_:b19
sp:varName "massConcScale"^^xsd:string .
_:b18
sp:varName "lengthScale"^^xsd:string .
_:b15
_:b17
sp:varName "durationScale"^^xsd:string .
_:b14
_:b16
sp:varName "uri"^^xsd:string .
_:b13
_:b15
sp:varName "uri"^^xsd:string .
_:b14
sp:varName "uri"^^xsd:string .
_:b12
......@@ -2155,8 +2206,6 @@ _:b11
_:b10
sp:varName "uri"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
......@@ -2173,5 +2222,7 @@ _:b2 sp:varName "uri"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b17
sp:varName "massConcScale"^^xsd:string .
_:b13
sp:varName "uri"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
......
# Saved by TopBraid on Fri Oct 14 13:39:20 BST 2011
# Saved by TopBraid on Fri Oct 14 15:27:40 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......