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-08-10 11:36:45 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
27b8a239361f6524d4319ebac349bf9f40be4066
27b8a239
1 parent
c410c921
Mapping of Well and WellBore aliases added
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
644 additions
and
246 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-CORE-v1.0.ttl
www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ACTIVITY-(v1.1.DL).ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl.tbc
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-CORE-v1.0.ttl
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 10:37:51 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.linkedmodel.org/1.2/schema/vaem
...
...
@@ -23,14 +24,26 @@ ep-core:PhysicalThing
rdfs:
label
"physical thing"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Thing
.
ep-core:
apiName
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"API name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
basisFor
rdf:
type
owl:
ObjectProperty
;
rdfs:
label
"basis for"
^^
xsd:
string
.
ep-core:
derivedFrom
rdf:
type
owl:
TransitiveProperty
,
owl:
ObjectProperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
TransitiveProperty
;
rdfs:
label
"derived from"
^^
xsd:
string
.
ep-core:
dtiName
rdf:
type
owl:
FunctionalProperty
,
owl:
DatatypeProperty
;
rdfs:
label
"DTI name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
hasPart
rdf:
type
owl:
TransitiveProperty
;
rdfs:
domain
ep-core:
PhysicalThing
;
...
...
@@ -46,11 +59,29 @@ ep-core:hasTemporalPart
rdfs:
subPropertyOf
ep-core:
hasPart
;
owl:
inverseOf
ep-core:
partOf
.
ep-core:
localFieldName
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"local field name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
name
rdf:
type
owl:
DatatypeProperty
;
rdfs:
label
"name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
.
ep-core:
npdCode
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"NPD code"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
npdNumber
rdf:
type
owl:
FunctionalProperty
,
owl:
DatatypeProperty
;
rdfs:
label
"NPD number"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
partOf
rdf:
type
owl:
TransitiveProperty
;
rdfs:
domain
ep-core:
PhysicalThing
;
...
...
@@ -58,6 +89,12 @@ ep-core:partOf
rdfs:
range
ep-core:
PhysicalThing
;
owl:
inverseOf
ep-core:
hasPart
.
ep-core:
prospectName
rdf:
type
owl:
DatatypeProperty
,
owl:
FunctionalProperty
;
rdfs:
label
"prospect name"
^^
xsd:
string
;
rdfs:
range
xsd:
string
;
rdfs:
subPropertyOf
ep-core:
name
.
ep-core:
temporalPartOf
rdf:
type
owl:
TransitiveProperty
;
rdfs:
domain
ep-core:
PhysicalThing
;
...
...
www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ACTIVITY-(v1.1.DL).ttl
0 → 100644
View file @
27b8a23
# Saved by TopBraid on Tue Aug 09 20:54:10 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/ep/schema/organization
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://www.linkedmodel.org/1.1/schema/ordered
# imports: http://www.reportinghub.no/ep/schema/1.1/core
# imports: http://www.reportinghub.no/ep/schema/well
@prefix
:
<http://www.reportinghub.no/ep/schema/1.1/activity#>
.
@prefix
ep-activity:
<http://www.reportinghub.no/ep/schema/activity#>
.
@prefix
organization:
<http://www.reportinghub.no/ep/schema/organization#>
.
@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#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/schema/1.1/activity>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/organization>
,
<http://www.reportinghub.no/ep/schema/1.1/core>
,
<http://www.linkedmodel.org/1.2/schema/vaem>
,
<http://www.linkedmodel.org/1.1/schema/ordered>
,
<http://www.reportinghub.no/ep/schema/equipment>
,
<http://www.reportinghub.no/ep/schema/well>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-activity:
Activity
rdf:
type
owl:
Class
;
rdfs:
label
"Activity"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#during>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#overlaps>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#before>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#after>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
maxCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
startedAt
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
maxCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
finishedAt
]
.
ep-activity:
DailyDrillingActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Daily drilling activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
DrillingActivity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#last>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
<http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore>
;
owl:
onProperty
ep-activity:
onWellBore
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
maxCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#first>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
DrillingActivity
;
owl:
onProperty
<http://www.linkedmodel.org/schema/ordered#first>
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
Activity
;
owl:
onProperty
<http://www.reportinghub.no/ep/schema/core#hasPart>
]
.
ep-activity:
DailyDrillingReportFinalisationType
rdf:
type
rdfs:
Class
;
rdfs:
label
"daily drilling report finalisation type"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
ep-activity:
DailyProductionActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Daily production activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
ProductionActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
ProductionActivity
;
owl:
onProperty
ep-activity:
hasSubActivity
]
.
ep-activity:
Drill-bypass
rdf:
type
ep-activity:
WellBoreDrillingType
;
rdfs:
label
"drill bypass"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
Drill-initial
rdf:
type
ep-activity:
WellBoreDrillingType
;
rdfs:
label
"drill initial"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
Drill-re-entry
rdf:
type
ep-activity:
WellBoreDrillingType
;
rdfs:
label
"drill re-entry"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
Drill-re-spud
rdf:
type
ep-activity:
WellBoreDrillingType
;
rdfs:
label
"drill re-spud"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
Drill-redrill
rdf:
type
ep-activity:
WellBoreDrillingType
;
rdfs:
label
"redrill"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
Drill-sidetrack
rdf:
type
ep-activity:
WellBoreDrillingType
;
rdfs:
label
"drill sidetrack"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
.
ep-activity:
DrillingActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Drilling activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
FormationIntegrityTest
rdf:
type
ep-activity:
PressureTestType
,
owl:
Class
;
rdfs:
label
"formation integrity test"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
WellBorePressureTest
;
owl:
disjointWith
ep-activity:
LeakOffTest
.
ep-activity:
LeakOffTest
rdf:
type
ep-activity:
PressureTestType
,
owl:
Class
;
rdfs:
label
"leak-off test"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
WellBorePressureTest
;
owl:
disjointWith
ep-activity:
FormationIntegrityTest
.
ep-activity:
MonthlyDrillingActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Weekly drilling activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
WeeklyDrillingActivity
;
owl:
onProperty
ep-activity:
hasSubActivity
]
.
ep-activity:
MonthlyProductionActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Monthly production activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
ProductionActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
WeeklyProductionActivity
;
owl:
onProperty
ep-activity:
hasSubActivity
]
.
ep-activity:
OffshoreActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Offshore activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
OffshoreWellActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Offshore well activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
OffshoreActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
<http://www.reportinghub.no/ep/schema/well#Well>
;
owl:
onProperty
ep-activity:
onWell
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
onRig
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-activity:
onWell
]
.
ep-activity:
PressureTestType
rdf:
type
rdfs:
Class
;
rdfs:
label
"pressure test type"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
ep-activity:
ProductionActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Production activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
WeeklyDrillingActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Weekly drilling activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
DrillingActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
DailyDrillingActivity
;
owl:
onProperty
ep-activity:
hasSubActivity
]
.
ep-activity:
WeeklyProductionActivity
rdf:
type
owl:
Class
;
rdfs:
label
"Weekly production activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
ProductionActivity
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
allValuesFrom
ep-activity:
DailyProductionActivity
;
owl:
onProperty
ep-activity:
hasSubActivity
]
.
ep-activity:
WellBoreDrillingType
rdf:
type
rdfs:
Class
;
rdfs:
label
"well bore drilling type"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
ep-activity:
WellBorePressureTest
rdf:
type
owl:
Class
;
rdfs:
label
"well bore pressure test"
^^
xsd:
string
;
rdfs:
subClassOf
ep-activity:
Activity
.
ep-activity:
createdAt
rdf:
type
owl:
FunctionalProperty
,
owl:
DatatypeProperty
;
rdfs:
label
"created at"
^^
xsd:
string
;
rdfs:
range
<http://www.linkedmodel.org/schema/vaem#dateUnion>
.
ep-activity:
finishedAt
rdf:
type
owl:
DatatypeProperty
;
rdfs:
label
"finished at"
^^
xsd:
string
;
rdfs:
range
<http://www.linkedmodel.org/schema/vaem#dateUnion>
.
ep-activity:
hasSubActivity
rdf:
type
owl:
ObjectProperty
;
rdfs:
label
"has sub activity"
^^
xsd:
string
.
ep-activity:
onRig
rdf:
type
owl:
ObjectProperty
;
rdfs:
label
"on rig"
^^
xsd:
string
.
ep-activity:
onWell
rdf:
type
owl:
ObjectProperty
;
rdfs:
label
"on well"
^^
xsd:
string
.
ep-activity:
onWellBore
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdfs:
label
"on WellBore"
^^
xsd:
string
.
ep-activity:
reportOn
rdf:
type
owl:
ObjectProperty
;
rdfs:
label
"report on"
^^
xsd:
string
.
ep-activity:
startedAt
rdf:
type
owl:
DatatypeProperty
;
rdfs:
label
"started at"
^^
xsd:
string
;
rdfs:
range
<http://www.linkedmodel.org/schema/vaem#dateUnion>
.
ep-activity:
wellBoreDrillingType
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdfs:
domain
ep-activity:
DrillingActivity
;
rdfs:
label
"has sub activity"
^^
xsd:
string
;
rdfs:
range
ep-activity:
WellBoreDrillingType
;
rdfs:
subPropertyOf
rdf:
type
.
ep-activity:
wellboreDrillingContractor
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdfs:
domain
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
rdfs:
label
"wellbore drilling contractor"
^^
xsd:
string
;
rdfs:
range
organization:
Company
.
ep-activity:
wellboreOperator
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
;
rdfs:
domain
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
rdfs:
label
"wellbore operator"
^^
xsd:
string
;
rdfs:
range
organization:
Company
.
<http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
rdf:
type
ep-activity:
DailyDrillingReportFinalisationType
.
<http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport>
rdf:
type
ep-activity:
DailyDrillingReportFinalisationType
.
<http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport>
rdf:
type
ep-activity:
DailyDrillingReportFinalisationType
.
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 10:38:00 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://spinrdf.org/spin
# 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/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# 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/ddr
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/spin/rh
@prefix
activity-purpose:
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose#>
.
...
...
@@ -80,7 +81,7 @@ ep-spin-lib:buildDailyDrillingReportURI
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/DailyDrillingReport
#"
;
sp:
arg1
"https://www.reportinghub.no/ep/data/DailyDrillingReport
/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
"$"
;
...
...
@@ -871,13 +872,69 @@ ep-spin-lib:selectDrillingActivityPurposeType
])
]
.
ep-spin-lib:
selectLabelOfSystem
rdf:
type
spin:
Function
;
rdfs:
label
"select DailyDrillingReportType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b18
)
;
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.reportinghub.no/ep/schema/ddr#WNS_API>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#apiName>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_DTI>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#dtiName>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_NPDcode>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#npdCode>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_NPDnumber>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#npdNumber>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_localfield>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#localFieldName>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/ddr#WNS_prospect>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#prospectName>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#name>
]
]
]
]
]
]
;
sp:
variable
_:
b18
])
]
.
ep-spin-lib:
selectPressureTestType
rdf:
type
spin:
Function
;
rdfs:
label
"select PressureTestType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b1
8
)
;
sp:
resultVariables
(
_:
b1
9
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
if
;
...
...
@@ -894,7 +951,7 @@ ep-spin-lib:selectPressureTestType
sp:
arg2
<http://www.reportinghub.no/ep/schema/1.0/activity#LeakOffTest>
]
]
;
sp:
variable
_:
b1
8
sp:
variable
_:
b1
9
])
]
.
...
...
@@ -904,57 +961,60 @@ ep-spin-lib:selectWellBoreDrillingType
rdfs:
subClassOf
ep-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b
19
)
;
sp:
where
([
sp:
object
_:
b
19
;
sp:
resultVariables
(
_:
b
20
)
;
sp:
where
([
sp:
object
_:
b
20
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#mapsTo>
;
sp:
subject
spin:
_arg1
])
]
.
_:
b19
sp:
varName
"wellBoreDrillingType"
^^
xsd:
string
.
_:
b7
sp:
varName
"normalizedStr"
^^
xsd:
string
.
_:
b16
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b8
sp:
varName
"s1"
^^
xsd:
string
.
_:
b
6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
9
sp:
varName
"s2"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b10
sp:
varName
"t0a"
^^
xsd:
string
.
_:
b1
8
sp:
varName
"
pressureTestType"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
t0b"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
drillingActivityPurposeType"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
t1"
^^
xsd:
string
.
_:
b1
5
sp:
varName
"t
4"
^^
xsd:
string
.
_:
b1
3
sp:
varName
"t
2"
^^
xsd:
string
.
_:
b14
sp:
varName
"t3"
^^
xsd:
string
.
_:
b1
3
sp:
varName
"t
2"
^^
xsd:
string
.
_:
b1
5
sp:
varName
"t
4"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
t1"
^^
xsd:
string
.
_:
b1
6
sp:
varName
"
dailyDrillingReportType"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
t0b"
^^
xsd:
string
.
_:
b1
7
sp:
varName
"
drillingActivityPurposeType"
^^
xsd:
string
.
_:
b1
0
sp:
varName
"
t0a"
^^
xsd:
string
.
_:
b1
9
sp:
varName
"
pressureTestType"
^^
xsd:
string
.
_:
b9
sp:
varName
"s2"
^^
xsd:
string
.
_:
b20
sp:
varName
"wellBoreDrillingType"
^^
xsd:
string
.
_:
b8
sp:
varName
"s1"
^^
xsd:
string
.
_:
b18
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b
7
sp:
varName
"normalizedStr"
^^
xsd:
string
.
_:
b
1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
6
sp:
varName
"uri"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-v1.1.spin.ttl.tbc
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 10:38:00 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://spinrdf.org/spin
# 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/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://spinrdf.org/spin
@prefix
NPD_1104121247071:
<file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#>
.
@prefix
arg:
<http://spinrdf.org/arg#>
.
...
...
@@ -31,120 +32,88 @@
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
Minimum data - createDate, dTimStart, nameWellBore"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
;
rdfs:
comment
"STEP 104 Create Well"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/well#Well>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#createdAt>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWell>
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b7
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b2
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
_:
b
7
;
sp:
where
([
sp:
object
_:
b
5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimStart>
;
]
[
sp:
object
_:
b
2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
nameWell>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
8
;
]
[
sp:
object
_:
b
6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#createDate>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b7
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b7
]
;
sp:
variable
_:
b9
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b9
;
sp:
arg2
_:
b3
sp:
arg1
_:
b5
]
;
sp:
variable
_:
b
1
sp:
variable
_:
b
8
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b
9
;
sp:
arg2
_:
b
4
sp:
arg1
_:
b
8
;
sp:
arg2
_:
b
6
]
;
sp:
variable
_:
b
2
sp:
variable
_:
b
3
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildTemporalPartOfAWellBoreURI
;
sp:
arg1
_:
b9
;
sp:
arg2
_:
b4
;
sp:
arg3
_:
b8
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b2
]
;
sp:
variable
_:
b
5
sp:
variable
_:
b
9
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellB
oreByName
;
arg:
well
BoreName
_:
b7
[
rdf:
type
rhspin:
wellB
yName
;
arg:
well
Name
_:
b9
]
;
sp:
variable
_:
b
6
sp:
variable
_:
b
1
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 103
Classify a DailyDrillingReport"""
^^
xsd:
string
;
rdfs:
comment
"STEP 102 Transfer dTimEnd"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b10
;
sp:
predicate
rdf:
type
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
_:
b11
])
;
sp:
where
([
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b13
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
createDate>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b1
4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
enumVersionKind>
;
]
[
sp:
object
_:
b1
0
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimEnd>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectDailyDrillingReportType
;
sp:
arg1
_:
b14
]
;
sp:
variable
_:
b10
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b12
]
;
sp:
variable
_:
b1
5
sp:
variable
_:
b1
4
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrilling
ReportURI
;
sp:
arg1
_:
b1
5
;
[
rdf:
type
ep-spin-lib:
buildDailyDrilling
ActivityURI
;
sp:
arg1
_:
b1
4
;
sp:
arg2
_:
b13
]
;
sp:
variable
_:
b11
...
...
@@ -152,214 +121,252 @@ Classify a DailyDrillingReport"""^^xsd:string ;
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 101
a Set name of DailyDrillingReport as label
rdfs:
comment
"""STEP 101
Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
Minimum data - createDate, dTimStart, nameWellBore"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b16
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b17
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b15
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b16
]
[
sp:
object
_:
b16
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#reportOn>
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#createdAt>
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b18
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
_:
b16
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b19
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b20
]
[
sp:
object
_:
b20
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b19
]
[
sp:
object
_:
b21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
_:
b20
]
[
sp:
object
_:
b19
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b16
])
;
sp:
where
([
sp:
object
_:
b
18
;
sp:
where
([
sp:
object
_:
b
21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b1
6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
name>
;
]
[
sp:
object
_:
b1
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b19
;
]
[
sp:
object
_:
b22
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#createDate>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
18
sp:
arg1
_:
b
21
]
;
sp:
variable
_:
b2
0
sp:
variable
_:
b2
3
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b2
0
;
sp:
arg2
_:
b1
9
sp:
arg1
_:
b2
3
;
sp:
arg2
_:
b1
7
]
;
sp:
variable
_:
b17
])
sp:
variable
_:
b15
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b23
;
sp:
arg2
_:
b18
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 102 Transfer dTimEnd"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
_:
b22
])
;
sp:
where
([
sp:
object
_:
b23
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b24
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimStart>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#dTimEnd>
;
sp:
subject
spin:
_this
sp:
variable
_:
b16
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b23
[
rdf:
type
ep-spin-lib:
buildTemporalPartOfAWellBoreURI
;
sp:
arg1
_:
b23
;
sp:
arg2
_:
b18
;
sp:
arg3
_:
b22
]
;
sp:
variable
_:
b
25
sp:
variable
_:
b
19
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b25
;
sp:
arg2
_:
b24
[
rdf:
type
rhspin:
wellBoreByName
;
arg:
wellBoreName
_:
b21
]
;
sp:
variable
_:
b2
2
sp:
variable
_:
b2
0
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 104 Create Well"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/well#Well>
;
rdfs:
comment
"""STEP 103
Classify a DailyDrillingReport"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b24
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b26
]
[
sp:
object
_:
b27
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b26
]
[
sp:
object
_:
b26
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWell>
;
sp:
subject
_:
b28
]
[
sp:
object
_:
b29
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
_:
b26
sp:
subject
_:
b25
])
;
sp:
where
([
sp:
object
_:
b
30
;
sp:
where
([
sp:
object
_:
b
26
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b27
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
nameWell>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
createDate>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
31
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
dTimStart>
;
]
[
sp:
object
_:
b
28
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#
enumVersionKind>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b29
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b28
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
selectDailyDrillingReportType
;
sp:
arg1
_:
b28
]
;
sp:
variable
_:
b24
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
30
sp:
arg1
_:
b
26
]
;
sp:
variable
_:
b
32
sp:
variable
_:
b
29
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildDailyDrillingActivityURI
;
sp:
arg1
_:
b32
;
sp:
arg2
_:
b31
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b29
;
sp:
arg2
_:
b27
]
;
sp:
variable
_:
b25
])
]
;
sp:
variable
_:
b28
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 101a Set name of DailyDrillingReport as label
Minimum data - createDate, dTimStart, nameWellBore"""
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b30
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
_:
b31
])
;
sp:
where
([
sp:
object
_:
b32
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#nameWellbore>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b30
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#name>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b33
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/ddr#createDate>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
_:
b
27
sp:
arg1
_:
b
32
]
;
sp:
variable
_:
b3
3
sp:
variable
_:
b3
4
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
wellByName
;
sp:
arg1
_:
b33
[
rdf:
type
ep-spin-lib:
buildDailyDrillingReportURI
;
sp:
arg1
_:
b34
;
sp:
arg2
_:
b33
]
;
sp:
variable
_:
b
26
sp:
variable
_:
b
31
])
]
.
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
,
<http://www.reportinghub.no/ep/
schema/1.0/report>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr>
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
,
<http://www.reportinghub.no/ep/
transform/1.1/ddr>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
_:
b6
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b5
sp:
varName
"temporalPartOfAWellBore"
^^
xsd:
string
.
_:
b32
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b2
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b30
sp:
varName
"nameDailyDrillingReport"
^^
xsd:
string
.
_:
b1
sp:
varName
"dailyDrillingReport"
^^
xsd:
string
.
_:
b33
sp:
varName
"createDate"
^^
xsd:
string
.
_:
b9
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b34
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b3
sp:
varName
"createDate"
^^
xsd:
string
.
_:
b31
sp:
varName
"dailyDrillingReport"
^^
xsd:
string
.
_:
b8
sp:
varName
"dTimEnd"
^^
xsd:
string
.
_:
b21
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b4
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b18
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b7
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b22
sp:
varName
"dTimEnd"
^^
xsd:
string
.
_:
b
33
sp:
varName
"
normalizedWellName"
^^
xsd:
string
.
_:
b
17
sp:
varName
"
createDate"
^^
xsd:
string
.
_:
b
32
_:
b
23
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b
31
sp:
varName
"d
TimStart"
^^
xsd:
string
.
_:
b
15
sp:
varName
"d
ailyDrillingReport"
^^
xsd:
string
.
_:
b
30
sp:
varName
"
nameWellBore"
^^
xsd:
string
.
_:
b
16
sp:
varName
"
dailyDrillingActivity"
^^
xsd:
string
.
_:
b29
_:
b19
sp:
varName
"temporalPartOfAWellBore"
^^
xsd:
string
.
_:
b20
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b28
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b5
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b27
sp:
varName
"nameWell"
^^
xsd:
string
.
_:
b2
sp:
varName
"nameWell"
^^
xsd:
string
.
_:
b26
sp:
varName
"well"
^^
xsd:
string
.
_:
b6
sp:
varName
"dTimStart"
^^
xsd:
string
.
_:
b15
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b3
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b14
sp:
varName
"versionKind"
^^
xsd:
string
.
_:
b7
sp:
varName
"temporalPartOfAWellBore"
^^
xsd:
string
.
_:
b13
sp:
varName
"createDate"
^^
xsd:
string
.
_:
b4
sp:
varName
"wellBore"
^^
xsd:
string
.
_:
b12
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b8
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b11
sp:
varName
"dailyDrillingReport"
^^
xsd:
string
.
_:
b9
sp:
varName
"normalizedWellName"
^^
xsd:
string
.
_:
b10
sp:
varName
"dailyDrillingReportType"
^^
xsd:
string
.
_:
b1
sp:
varName
"well"
^^
xsd:
string
.
_:
b2
0
sp:
varName
"
normalizedWellBoreName"
^^
xsd:
string
.
_:
b2
4
sp:
varName
"
dailyDrillingReportType"
^^
xsd:
string
.
_:
b
19
sp:
varName
"
createDate"
^^
xsd:
string
.
_:
b
25
sp:
varName
"
dailyDrillingReport"
^^
xsd:
string
.
_:
b
18
_:
b
26
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b
17
sp:
varName
"
dailyDrillingReport"
^^
xsd:
string
.
_:
b
27
sp:
varName
"
createDate"
^^
xsd:
string
.
_:
b
16
sp:
varName
"
nameDailyDrillingReport"
^^
xsd:
string
.
_:
b
28
sp:
varName
"
versionKind"
^^
xsd:
string
.
_:
b2
5
_:
b2
9
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b
24
sp:
varName
"dTim
Start"
^^
xsd:
string
.
_:
b
10
sp:
varName
"dTim
End"
^^
xsd:
string
.
_:
b23
_:
b11
sp:
varName
"dailyDrillingActivity"
^^
xsd:
string
.
_:
b12
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b
22
sp:
varName
"d
ailyDrillingActivity"
^^
xsd:
string
.
_:
b
13
sp:
varName
"d
TimStart"
^^
xsd:
string
.
_:
b
21
sp:
varName
"
dTimEnd"
^^
xsd:
string
.
_:
b
14
sp:
varName
"
normalizedWellBoreName"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-drillReport-v1.1.1.ttl.tbc
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 11:35:30 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://spinrdf.org/spin
# 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/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
...
...
@@ -20,11 +14,12 @@
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
wellAndWellBoreAlias:
<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/transform/1.1/
ddr/statusInfo>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/equipment>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/well>
,
<http://www.reportinghub.no/ep/schema/1.0/activity-purpose>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
,
<http://www.reportinghub.no/ep/schema/1.0/ddr>
;
owl:
imports
<http://www.reportinghub.no/ep/transform/1.1/
wellAndWellBoreAlias>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
owl:
Thing
...
...
@@ -65,8 +60,8 @@ owl:Thing
])
]
.
_:
b
3
sp:
varName
"newLabel"
^^
xsd:
string
.
_:
b
1
sp:
varName
"oldLabel"
^^
xsd:
string
.
_:
b2
sp:
varName
"p"
^^
xsd:
string
.
_:
b
1
sp:
varName
"oldLabel"
^^
xsd:
string
.
_:
b
3
sp:
varName
"newLabel"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-v1.1.1.ttl.tbc
View file @
27b8a23
# Saved by TopBraid on Wed Aug 10 11:35:30 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment