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-13 13:07:32 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6218a48cef368d71482aeffe7820c64af3d0da11
6218a48c
1 parent
d0eb0239
ProductVolume changes to DPR lib and production-activity
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
153 additions
and
98 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 @
6218a48
# Saved by TopBraid on Thu Oct 13
09:46:20 BST 2011
# Saved by TopBraid on Thu Oct 13
13:06:48 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-prodact:
<http://www.reportinghub.no/ep/schema/production-activity#>
.
...
...
@@ -16,13 +16,17 @@
<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#ProductionActivityToDate>
rdf:
type
owl:
Class
;
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#hasFlow>
rdf:
type
owl:
ObjectProperty
;
...
...
@@ -67,7 +71,7 @@
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
...
...
@@ -84,11 +88,11 @@ ep-prodact:AnnualProductionActivityToEndOfReportingPeriod
ep-prodact:
AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
ProductionOperationsActivity
,
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
.
rdfs:
subClassOf
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
,
ep-prodact:
ProductionOperationsActivity
.
ep-prodact:
AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
ProductionVolumeActivity
,
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
.
rdfs:
subClassOf
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
,
ep-prodact:
ProductionVolumeActivity
.
ep-prodact:
ConstructionOperation
rdf:
type
owl:
Class
;
...
...
@@ -100,18 +104,18 @@ ep-prodact:CumulativeProductionActivitySinceProductionBegan
ep-prodact:
DailyProductionOperationsActivity
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
ProductionOperationsActivity
,
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
.
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
,
ep-prodact:
ProductionOperationsActivity
.
ep-prodact:
DailyProductionVolumeActivity
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
ProductionVolumeActivity
,
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
.
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
...
...
@@ -139,11 +143,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
...
...
@@ -171,7 +175,7 @@ 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
...
...
@@ -211,7 +215,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
...
...
@@ -219,7 +223,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
...
...
@@ -227,7 +231,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:
SentAshore
...
...
@@ -243,15 +247,15 @@ 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:
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:
hasPart
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
6218a48
# Saved by TopBraid on Thu Oct 13 1
0:10:17 BST 2011
# Saved by TopBraid on Thu Oct 13 1
3:05:22 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
...
...
@@ -151,13 +151,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
(
_:
b6
)
;
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
_:
b6
])
]
.
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
6
)
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -166,7 +190,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
6
sp:
variable
_:
b
7
])
]
.
...
...
@@ -176,7 +200,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
7
)
;
sp:
resultVariables
(
_:
b
8
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -185,17 +209,17 @@ ep-dpr-spin-lib:buildProductionFlowURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
7
sp:
variable
_:
b
8
])
]
.
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
(
_:
b
8
)
;
sp:
resultVariables
(
_:
b
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -208,7 +232,28 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b8
sp:
variable
_:
b9
])
]
.
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
(
_:
b10
)
;
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
_:
b10
])
]
.
...
...
@@ -218,7 +263,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
(
_:
b
9
)
;
sp:
resultVariables
(
_:
b
11
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -227,7 +272,7 @@ ep-dpr-spin-lib:buildShipURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b
9
sp:
variable
_:
b
11
])
]
.
...
...
@@ -237,7 +282,7 @@ ep-dpr-spin-lib:buildStateURI
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
0
)
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -246,7 +291,7 @@ ep-dpr-spin-lib:buildStateURI
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
_:
b1
0
sp:
variable
_:
b1
2
])
]
.
...
...
@@ -258,7 +303,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
1
)
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
...
...
@@ -273,7 +318,7 @@ arg3 is end date"""^^xsd:string ;
sp:
arg5
spin:
_arg3
]
]
;
sp:
variable
_:
b1
1
sp:
variable
_:
b1
3
])
]
.
...
...
@@ -283,7 +328,7 @@ ep-dpr-spin-lib:selectDurationScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -308,7 +353,7 @@ ep-dpr-spin-lib:selectDurationScale
]
]
]
;
sp:
variable
_:
b1
2
sp:
variable
_:
b1
4
])
]
.
...
...
@@ -318,7 +363,7 @@ ep-dpr-spin-lib:selectLengthScale
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
sp:
if
;
...
...
@@ -357,7 +402,7 @@ ep-dpr-spin-lib:selectLengthScale
]
]
]
;
sp:
variable
_:
b1
3
sp:
variable
_:
b1
5
])
]
.
...
...
@@ -367,7 +412,7 @@ ep-dpr-spin-lib:selectPressureScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
resultVariables
(
_:
b1
6
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -392,7 +437,7 @@ ep-dpr-spin-lib:selectPressureScale
]
]
]
;
sp:
variable
_:
b1
4
sp:
variable
_:
b1
6
])
]
.
...
...
@@ -402,7 +447,7 @@ ep-dpr-spin-lib:selectProductType
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
;
...
...
@@ -609,7 +654,7 @@ ep-dpr-spin-lib:selectProductType
]
]
]
;
sp:
variable
_:
b1
5
sp:
variable
_:
b1
7
])
]
.
...
...
@@ -619,7 +664,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
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
;
...
...
@@ -798,7 +843,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
]
]
]
;
sp:
variable
_:
b1
6
sp:
variable
_:
b1
8
])
]
.
...
...
@@ -808,7 +853,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
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
;
...
...
@@ -868,7 +913,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
]
]
]
;
sp:
variable
_:
b1
7
sp:
variable
_:
b1
9
])
]
.
...
...
@@ -878,7 +923,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
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
;
...
...
@@ -896,7 +941,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
]
;
sp:
variable
_:
b
18
sp:
variable
_:
b
20
])
]
.
...
...
@@ -906,7 +951,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
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
;
...
...
@@ -924,7 +969,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
sp:
arg3
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
]
]
;
sp:
variable
_:
b
19
sp:
variable
_:
b
21
])
]
.
...
...
@@ -934,7 +979,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
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
;
...
...
@@ -1085,7 +1130,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
]
]
]
;
sp:
variable
_:
b2
0
sp:
variable
_:
b2
2
])
]
.
...
...
@@ -1095,7 +1140,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
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
;
...
...
@@ -1169,7 +1214,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
]
]
]
;
sp:
variable
_:
b2
1
sp:
variable
_:
b2
3
])
]
.
...
...
@@ -1178,7 +1223,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
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
;
...
...
@@ -1322,7 +1367,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
]
]
]
;
sp:
variable
_:
b2
2
sp:
variable
_:
b2
4
])
]
.
...
...
@@ -1332,7 +1377,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
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
;
...
...
@@ -1343,7 +1388,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
_:
b2
3
sp:
variable
_:
b2
5
])
]
.
...
...
@@ -1353,7 +1398,7 @@ ep-dpr-spin-lib:selectTemperatureScale
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
;
...
...
@@ -1371,7 +1416,7 @@ ep-dpr-spin-lib:selectTemperatureScale
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
;
sp:
variable
_:
b2
4
sp:
variable
_:
b2
6
])
]
.
...
...
@@ -1381,7 +1426,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
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
;
...
...
@@ -1455,7 +1500,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
]
;
sp:
variable
_:
b2
5
sp:
variable
_:
b2
7
])
]
.
...
...
@@ -1464,7 +1509,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
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
;
...
...
@@ -1538,7 +1583,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
]
]
]
;
sp:
variable
_:
b2
6
sp:
variable
_:
b2
8
])
]
.
...
...
@@ -1548,7 +1593,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
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
;
...
...
@@ -1573,7 +1618,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b2
7
sp:
variable
_:
b2
9
])
]
.
...
...
@@ -1583,7 +1628,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
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
;
...
...
@@ -1608,7 +1653,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b
28
sp:
variable
_:
b
30
])
]
.
...
...
@@ -1618,7 +1663,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
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
;
...
...
@@ -1643,7 +1688,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
]
]
]
;
sp:
variable
_:
b
29
sp:
variable
_:
b
31
])
]
.
...
...
@@ -1653,7 +1698,7 @@ ep-dpr-spin-lib:selectVolumeScale
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
;
...
...
@@ -1881,76 +1926,82 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
]
;
sp:
variable
_:
b3
0
sp:
variable
_:
b3
2
])
]
.
_:
b3
0
_:
b3
2
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b
29
_:
b
31
sp:
varName
"volumeFlowRateScale"
^^
xsd:
string
.
_:
b
28
_:
b
30
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b2
7
_:
b2
9
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b2
6
_:
b2
8
sp:
varName
"prodActType"
^^
xsd:
string
.
_:
b2
5
_:
b2
7
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b2
4
_:
b2
6
sp:
varName
"temperatureScale"
^^
xsd:
string
.
_:
b2
3
_:
b2
5
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b2
2
_:
b2
4
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b2
1
_:
b2
3
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b2
0
_:
b2
2
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b
19
_:
b
21
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b
18
_:
b
20
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b1
7
_:
b1
9
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b1
6
_:
b1
8
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b1
5
_:
b1
7
sp:
varName
"productType"
^^
xsd:
string
.
_:
b1
4
_:
b1
6
sp:
varName
"pressureScale"
^^
xsd:
string
.
_:
b1
3
_:
b1
5
sp:
varName
"lengthScale"
^^
xsd:
string
.
_:
b1
2
_:
b1
4
sp:
varName
"durationScale"
^^
xsd:
string
.
_:
b10
_:
b13
sp:
varName
"uri"
^^
xsd:
string
.
_:
b12
sp:
varName
"uri"
^^
xsd:
string
.
_:
b11
sp:
varName
"uri"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
...
...
@@ -1961,7 +2012,7 @@ _:b2 sp:varName "uri"^^xsd:string .
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b11
_:
b10
sp:
varName
"uri"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
6218a48
# Saved by TopBraid on Thu Oct 13 1
0:10:17
BST 2011
# Saved by TopBraid on Thu Oct 13 1
3:05:23
BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment