Ralph Hodgson

Merge branch 'master' of github.com:TopQuadrant/EPIM-Ontologies

# Saved by TopBraid on Wed Jul 27 19:44:43 PDT 2011
# Saved by TopBraid on Tue Aug 02 12:39:11 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/1.1/well
......@@ -76,6 +76,11 @@ ep-activity:DailyDrillingActivity
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty ep-activity:hasSubActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#WellBore> ;
owl:onProperty ep-activity:onWellBore
] .
ep-activity:DailyDrillingReport
......@@ -103,6 +108,10 @@ ep-activity:DrillingActivity
rdfs:label "Drilling activity"^^xsd:string ;
rdfs:subClassOf ep-activity:OffshoreWellActivity .
ep-activity:FinalDailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-activity:DailyDrillingReport .
ep-activity:MonthlyDrillingActivity
rdf:type owl:Class ;
rdfs:label "Weekly drilling activity"^^xsd:string ;
......@@ -123,6 +132,10 @@ ep-activity:MonthlyProductionActivity
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:NormalDailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-activity:DailyDrillingReport .
ep-activity:OffshoreActivity
rdf:type owl:Class ;
rdfs:label "Offshore activity"^^xsd:string ;
......@@ -153,6 +166,10 @@ ep-activity:OffshoreWellActivity
owl:onProperty ep-activity:onWell
] .
ep-activity:PreliminaryDailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-activity:DailyDrillingReport .
ep-activity:ProductionActivity
rdf:type owl:Class ;
rdfs:label "Production activity"^^xsd:string ;
......@@ -188,6 +205,11 @@ ep-activity:WeeklyProductionActivity
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:createdAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
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 ;
......@@ -205,6 +227,10 @@ ep-activity:onWell
rdf:type owl:ObjectProperty ;
rdfs:label "on well"^^xsd:string .
ep-activity:onWellBore
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "on WellBore"^^xsd:string .
ep-activity:reportOn
rdf:type owl:ObjectProperty ;
rdfs:label "report on"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011
# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Aug 01 13:35:23 PDT 2011
# baseURI: http://www.reportinghub.no/ep/transform/normalization
# Saved by TopBraid on Wed Aug 03 12:31:51 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
......@@ -13,5 +13,7 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] .
......
# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://spinrdf.org/spin
@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
@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#> .
......@@ -16,72 +12,7 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 101 Make Well and Well Bore Instances"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate rdfs:label ;
sp:subject _:b3
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b3
]) ;
sp:where ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b4
] ;
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellURI ;
sp:arg1 _:b5
] ;
sp:variable _:b3
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b2
] ;
sp:variable _:b6
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildWellBoreURI ;
sp:arg1 _:b6
] ;
sp:variable _:b1
])
] .
<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization>
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b2 sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "nameWell"^^xsd:string .
_:b5 sp:varName "normalizedWellName"^^xsd:string .
_:b3 sp:varName "normalizedWellNameU"^^xsd:string .
_:b6 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b1 sp:varName "normalizedWellBoreNameU"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011
# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......@@ -13,7 +13,5 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] .
......