Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
David Leal
2011-10-14 15:31:05 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
943a8cd6af37e63901e3889c04774f1efcd0acdb
943a8cd6
2 parents
115499bb
f6b87a02
Merge branch 'wellCompletion'
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
170 additions
and
114 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
View file @
943a8cd
# Saved by TopBraid on Fri Oct 14 1
3:39:53 BST 2011
# Saved by TopBraid on Fri Oct 14 1
5: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
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
943a8cd
# Saved by TopBraid on Fri Oct 14 1
3:39:20 BST 2011
# Saved by TopBraid on Fri Oct 14 1
5: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
(
_:
b
9
)
;
sp:
resultVariables
(
_:
b
10
)
;
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
_:
b
9
sp:
variable
_:
b
10
])
]
.
...
...
@@ -240,7 +264,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
0
)
;
sp:
resultVariables
(
_:
b1
1
)
;
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
_:
b1
0
sp:
variable
_:
b1
1
])
]
.
ep-dpr-spin-lib:
buildProductionFlowsForAPeriodURI
rdf:
type
spin:
Function
;
rdfs:
label
"build ProductionF
acility URI"
^^
xsd:
string
;
rdfs:
label
"build ProductionF
lowsForAPeriod URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
1
)
;
sp:
resultVariables
(
_:
b1
2
)
;
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
(
_:
b1
2
)
;
sp:
resultVariables
(
_:
b1
4
)
;
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
_:
b1
2
sp:
variable
_:
b1
4
])
]
.
...
...
@@ -301,7 +346,7 @@ ep-dpr-spin-lib:buildStateURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
resultVariables
(
_:
b1
5
)
;
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
_:
b1
3
sp:
variable
_:
b1
5
])
]
.
...
...
@@ -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
(
_:
b1
4
)
;
sp:
resultVariables
(
_:
b1
6
)
;
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
_:
b1
4
sp:
variable
_:
b1
6
])
]
.
...
...
@@ -347,7 +392,7 @@ ep-dpr-spin-lib:selectDurationScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
5
)
;
sp:
resultVariables
(
_:
b1
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -372,7 +417,7 @@ ep-dpr-spin-lib:selectDurationScale
]
]
]
;
sp:
variable
_:
b1
5
sp:
variable
_:
b1
7
])
]
.
...
...
@@ -382,7 +427,7 @@ ep-dpr-spin-lib:selectLengthScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
6
)
;
sp:
resultVariables
(
_:
b1
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -421,7 +466,7 @@ ep-dpr-spin-lib:selectLengthScale
]
]
]
;
sp:
variable
_:
b1
6
sp:
variable
_:
b1
8
])
]
.
...
...
@@ -430,7 +475,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
7
)
;
sp:
resultVariables
(
_:
b1
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -490,7 +535,7 @@ ep-dpr-spin-lib:selectMassConcentrationScale
]
]
]
;
sp:
variable
_:
b1
7
sp:
variable
_:
b1
9
])
]
.
...
...
@@ -500,7 +545,7 @@ ep-dpr-spin-lib:selectPressureScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
18
)
;
sp:
resultVariables
(
_:
b
20
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -525,7 +570,7 @@ ep-dpr-spin-lib:selectPressureScale
]
]
]
;
sp:
variable
_:
b
18
sp:
variable
_:
b
20
])
]
.
...
...
@@ -535,7 +580,7 @@ ep-dpr-spin-lib:selectProductType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
19
)
;
sp:
resultVariables
(
_:
b
21
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -742,7 +787,7 @@ ep-dpr-spin-lib:selectProductType
]
]
]
;
sp:
variable
_:
b
19
sp:
variable
_:
b
21
])
]
.
...
...
@@ -752,7 +797,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
0
)
;
sp:
resultVariables
(
_:
b2
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -931,7 +976,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
]
]
]
;
sp:
variable
_:
b2
0
sp:
variable
_:
b2
2
])
]
.
...
...
@@ -941,7 +986,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
1
)
;
sp:
resultVariables
(
_:
b2
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1001,7 +1046,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
]
]
]
;
sp:
variable
_:
b2
1
sp:
variable
_:
b2
3
])
]
.
...
...
@@ -1011,7 +1056,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
2
)
;
sp:
resultVariables
(
_:
b2
4
)
;
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
_:
b2
2
sp:
variable
_:
b2
4
])
]
.
...
...
@@ -1039,7 +1084,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
3
)
;
sp:
resultVariables
(
_:
b2
5
)
;
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
_:
b2
3
sp:
variable
_:
b2
5
])
]
.
...
...
@@ -1067,7 +1112,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
4
)
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1218,7 +1263,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
]
]
]
;
sp:
variable
_:
b2
4
sp:
variable
_:
b2
6
])
]
.
...
...
@@ -1227,7 +1272,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
5
)
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1280,7 +1325,7 @@ ep-dpr-spin-lib:selectProductionOperationPartType
]
]
]
;
sp:
variable
_:
b2
5
sp:
variable
_:
b2
7
])
]
.
...
...
@@ -1290,7 +1335,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
6
)
;
sp:
resultVariables
(
_:
b2
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1364,7 +1409,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
]
]
]
;
sp:
variable
_:
b2
6
sp:
variable
_:
b2
8
])
]
.
...
...
@@ -1373,7 +1418,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b2
7
)
;
sp:
resultVariables
(
_:
b2
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1517,7 +1562,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
]
;
sp:
variable
_:
b2
7
sp:
variable
_:
b2
9
])
]
.
...
...
@@ -1527,7 +1572,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
28
)
;
sp:
resultVariables
(
_:
b
30
)
;
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
_:
b
28
sp:
variable
_:
b
30
])
]
.
...
...
@@ -1548,7 +1593,7 @@ ep-dpr-spin-lib:selectTemperatureScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
29
)
;
sp:
resultVariables
(
_:
b
31
)
;
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
_:
b
29
sp:
variable
_:
b
31
])
]
.
...
...
@@ -1576,7 +1621,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
0
)
;
sp:
resultVariables
(
_:
b3
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1650,7 +1695,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
]
;
sp:
variable
_:
b3
0
sp:
variable
_:
b3
2
])
]
.
...
...
@@ -1659,7 +1704,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
1
)
;
sp:
resultVariables
(
_:
b3
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1733,7 +1778,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
]
]
]
;
sp:
variable
_:
b3
1
sp:
variable
_:
b3
3
])
]
.
...
...
@@ -1743,7 +1788,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
2
)
;
sp:
resultVariables
(
_:
b3
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1768,7 +1813,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b3
2
sp:
variable
_:
b3
4
])
]
.
...
...
@@ -1778,7 +1823,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
3
)
;
sp:
resultVariables
(
_:
b3
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1803,7 +1848,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b3
3
sp:
variable
_:
b3
5
])
]
.
...
...
@@ -1813,7 +1858,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
4
)
;
sp:
resultVariables
(
_:
b3
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1838,7 +1883,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
]
]
]
;
sp:
variable
_:
b3
4
sp:
variable
_:
b3
6
])
]
.
...
...
@@ -1848,7 +1893,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b3
5
)
;
sp:
resultVariables
(
_:
b3
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -2076,74 +2121,80 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
]
;
sp:
variable
_:
b3
5
sp:
variable
_:
b3
7
])
]
.
_:
b3
5
_:
b3
7
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b3
4
_:
b3
6
sp:
varName
"volumeFlowRateScale"
^^
xsd:
string
.
_:
b3
3
_:
b3
5
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b3
2
_:
b3
4
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b3
1
_:
b3
3
sp:
varName
"prodActType"
^^
xsd:
string
.
_:
b3
0
_:
b3
2
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b
29
_:
b
31
sp:
varName
"temperatureScale"
^^
xsd:
string
.
_:
b
28
_:
b
30
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b2
7
_:
b2
9
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b2
6
_:
b2
8
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b2
5
_:
b2
7
sp:
varName
"popType"
^^
xsd:
string
.
_:
b2
4
_:
b2
6
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b2
3
_:
b2
5
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b2
2
_:
b2
4
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b2
1
_:
b2
3
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b2
0
_:
b2
2
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b
19
_:
b
21
sp:
varName
"productType"
^^
xsd:
string
.
_:
b
18
_:
b
20
sp:
varName
"pressureScale"
^^
xsd:
string
.
_:
b16
_:
b19
sp:
varName
"massConcScale"
^^
xsd:
string
.
_:
b18
sp:
varName
"lengthScale"
^^
xsd:
string
.
_:
b1
5
_:
b1
7
sp:
varName
"durationScale"
^^
xsd:
string
.
_:
b1
4
_:
b1
6
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
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
943a8cd
# Saved by TopBraid on Fri Oct 14 1
3:39:2
0 BST 2011
# Saved by TopBraid on Fri Oct 14 1
5:27:4
0 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment