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
MonkeyChap
2011-10-11 21:14:10 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
98e4496cb26bd17ffb8fd9121a14ac7f0f9ff3cb
98e4496c
1 parent
b4ef0d0e
Added more HSE activities and function to create them
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
222 additions
and
17 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 @
98e4496
# Saved by TopBraid on Tue Oct 11 2
0:19:35
BST 2011
# Saved by TopBraid on Tue Oct 11 2
1:13:23
BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
...
...
@@ -101,6 +101,14 @@ ep-prodact:DrillOrExcercise
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
Fire
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
Incident
.
ep-prodact:
FirstAid
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
FlowLine
rdf:
type
owl:
Class
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/equipment#TemporalPartOfAFlowLine>
.
...
...
@@ -113,6 +121,10 @@ ep-prodact:HealthSafetyAndEnvironmentActivity
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
.
ep-prodact:
Incident
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
Injury
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
...
...
@@ -121,10 +133,22 @@ ep-prodact:IssueWorkPermit
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
JobObservation
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
LostProduction
rdf:
type
owl:
Class
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
.
ep-prodact:
LostTimeAccident
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
LostTimeIncident
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
Incident
.
ep-prodact:
MaintenanceActivity
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
.
...
...
@@ -141,6 +165,10 @@ ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:
type
owl:
Class
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity>
.
ep-prodact:
NearMiss
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
PartOfProductionActivity
rdf:
type
owl:
Class
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#Activity>
.
...
...
@@ -161,10 +189,18 @@ ep-prodact:ProductionVolumeActivity
rdf:
type
owl:
Class
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
.
ep-prodact:
ReleasedToWater
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
ReportHazard
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
RestrictedWork
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
RestrictedWorkInjury
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
Injury
.
...
...
@@ -177,6 +213,18 @@ ep-prodact:SafetyMeeting
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
SentAshore
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
SevereAccident
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
SickOnBoard
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
SpillOrLeak
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
98e4496
# Saved by TopBraid on Tue Oct 11
17:41:41 BST 2011
# Saved by TopBraid on Tue Oct 11
21:13:43 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
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://spinrdf.org/spin
# imports: http://www.witsml.org/schemas/131/addendum/combo
...
...
@@ -23,7 +24,7 @@
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.
reportinghub.no/ep/dpr/spin/1.1/unnamed>
,
<http://www.reportinghub.no/ep/schema/1.0/flow>
,
<http://www.reportinghub.no/ep/schema/1.0/geography>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://spinrdf.org/spin>
;
owl:
imports
<http://www.
witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/production-activity>
,
<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/flow>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/geography>
,
<http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-dpr-spin-lib:
Function
...
...
@@ -890,13 +891,166 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
])
]
.
ep-dpr-spin-lib:
selectSafetyActivityType
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b12
)
;
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#ST_releasedtoair>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/facility#Field>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_fire>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#Fire>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_nearmiss>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#NearMiss>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_miscellaneous>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_sickonboard>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#SickOnBoard>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_releasedtowater>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#ReleasedToWater>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_firstaid>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#FirstAid>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_totalpermits>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#IssueWorkPermit>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_losttimeincident>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#LostTimeIncident>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_restrictedwork>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#RestrictedWork>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_losttimeaccident>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#LostTimeAccident>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_drillorexercise>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#DrillOrExcercise>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_safetymeeting>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#SafetyMeeting>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_permitwithSJA>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#WorkingUnderPermitWithSJA>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_spillorleak>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#SpillOrLeak>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_severeaccident>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#SevereAccident>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_sentashore>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#SentAshore>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_hazardreportcard>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#ReportHazard>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_jobobservation>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#JobObservation>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#ST_year-to-dateincidents>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#Incident>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/production-activity#HealthSafetyAndEnvironmentActivity>
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
;
sp:
variable
_:
b12
])
]
.
ep-dpr-spin-lib:
selectTemporalPartOfAFlowDurationType
rdf:
type
spin:
Function
;
rdfs:
label
"select TemporalPartOfAFlowDurationType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
2
)
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -970,7 +1124,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
]
]
]
;
sp:
variable
_:
b1
2
sp:
variable
_:
b1
3
])
]
.
...
...
@@ -980,7 +1134,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
3
)
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1005,7 +1159,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
]
;
sp:
variable
_:
b1
3
sp:
variable
_:
b1
4
])
]
.
...
...
@@ -1015,7 +1169,7 @@ ep-dpr-spin-lib:selectVolumeScale
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
4
)
;
sp:
resultVariables
(
_:
b1
5
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
...
...
@@ -1243,18 +1397,17 @@ ep-dpr-spin-lib:selectVolumeScale
]
]
]
;
sp:
variable
_:
b1
4
sp:
variable
_:
b1
5
])
]
.
_:
b9
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b8
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b15
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b1
3
_:
b1
4
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b1
2
_:
b1
3
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b11
...
...
@@ -1263,6 +1416,10 @@ _:b11
_:
b10
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b9
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b8
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b7
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b6
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
...
...
@@ -1277,5 +1434,5 @@ _:b2 sp:varName "uri"^^xsd:string .
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
4
sp:
varName
"
volumeScale"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
safetyActivityType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl.tbc
View file @
98e4496
# Saved by TopBraid on
Mon Oct 10 16:49:41
BST 2011
# Saved by TopBraid on
Tue Oct 11 21:13:43
BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment