Ralph Hodgson

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

1 -# Saved by TopBraid on Wed Jul 27 19:44:43 PDT 2011 1 +# Saved by TopBraid on Tue Aug 02 12:39:11 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.1/activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.1/activity
3 # imports: http://www.linkedmodel.org/1.2/schema/vaem 3 # imports: http://www.linkedmodel.org/1.2/schema/vaem
4 # imports: http://www.reportinghub.no/ep/schema/1.1/well 4 # imports: http://www.reportinghub.no/ep/schema/1.1/well
...@@ -76,6 +76,11 @@ ep-activity:DailyDrillingActivity ...@@ -76,6 +76,11 @@ ep-activity:DailyDrillingActivity
76 [ rdf:type owl:Restriction ; 76 [ rdf:type owl:Restriction ;
77 owl:allValuesFrom ep-activity:DrillingActivity ; 77 owl:allValuesFrom ep-activity:DrillingActivity ;
78 owl:onProperty ep-activity:hasSubActivity 78 owl:onProperty ep-activity:hasSubActivity
79 + ] ;
80 + rdfs:subClassOf
81 + [ rdf:type owl:Restriction ;
82 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#WellBore> ;
83 + owl:onProperty ep-activity:onWellBore
79 ] . 84 ] .
80 85
81 ep-activity:DailyDrillingReport 86 ep-activity:DailyDrillingReport
...@@ -103,6 +108,10 @@ ep-activity:DrillingActivity ...@@ -103,6 +108,10 @@ ep-activity:DrillingActivity
103 rdfs:label "Drilling activity"^^xsd:string ; 108 rdfs:label "Drilling activity"^^xsd:string ;
104 rdfs:subClassOf ep-activity:OffshoreWellActivity . 109 rdfs:subClassOf ep-activity:OffshoreWellActivity .
105 110
111 +ep-activity:FinalDailyDrillingReport
112 + rdf:type owl:Class ;
113 + rdfs:subClassOf ep-activity:DailyDrillingReport .
114 +
106 ep-activity:MonthlyDrillingActivity 115 ep-activity:MonthlyDrillingActivity
107 rdf:type owl:Class ; 116 rdf:type owl:Class ;
108 rdfs:label "Weekly drilling activity"^^xsd:string ; 117 rdfs:label "Weekly drilling activity"^^xsd:string ;
...@@ -123,6 +132,10 @@ ep-activity:MonthlyProductionActivity ...@@ -123,6 +132,10 @@ ep-activity:MonthlyProductionActivity
123 owl:onProperty ep-activity:hasSubActivity 132 owl:onProperty ep-activity:hasSubActivity
124 ] . 133 ] .
125 134
135 +ep-activity:NormalDailyDrillingReport
136 + rdf:type owl:Class ;
137 + rdfs:subClassOf ep-activity:DailyDrillingReport .
138 +
126 ep-activity:OffshoreActivity 139 ep-activity:OffshoreActivity
127 rdf:type owl:Class ; 140 rdf:type owl:Class ;
128 rdfs:label "Offshore activity"^^xsd:string ; 141 rdfs:label "Offshore activity"^^xsd:string ;
...@@ -153,6 +166,10 @@ ep-activity:OffshoreWellActivity ...@@ -153,6 +166,10 @@ ep-activity:OffshoreWellActivity
153 owl:onProperty ep-activity:onWell 166 owl:onProperty ep-activity:onWell
154 ] . 167 ] .
155 168
169 +ep-activity:PreliminaryDailyDrillingReport
170 + rdf:type owl:Class ;
171 + rdfs:subClassOf ep-activity:DailyDrillingReport .
172 +
156 ep-activity:ProductionActivity 173 ep-activity:ProductionActivity
157 rdf:type owl:Class ; 174 rdf:type owl:Class ;
158 rdfs:label "Production activity"^^xsd:string ; 175 rdfs:label "Production activity"^^xsd:string ;
...@@ -188,6 +205,11 @@ ep-activity:WeeklyProductionActivity ...@@ -188,6 +205,11 @@ ep-activity:WeeklyProductionActivity
188 owl:onProperty ep-activity:hasSubActivity 205 owl:onProperty ep-activity:hasSubActivity
189 ] . 206 ] .
190 207
208 +ep-activity:createdAt
209 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
210 + rdfs:label "created at"^^xsd:string ;
211 + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
212 +
191 ep-activity:finishedAt 213 ep-activity:finishedAt
192 rdf:type owl:DatatypeProperty ; 214 rdf:type owl:DatatypeProperty ;
193 rdfs:label "finished at"^^xsd:string ; 215 rdfs:label "finished at"^^xsd:string ;
...@@ -205,6 +227,10 @@ ep-activity:onWell ...@@ -205,6 +227,10 @@ ep-activity:onWell
205 rdf:type owl:ObjectProperty ; 227 rdf:type owl:ObjectProperty ;
206 rdfs:label "on well"^^xsd:string . 228 rdfs:label "on well"^^xsd:string .
207 229
230 +ep-activity:onWellBore
231 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
232 + rdfs:label "on WellBore"^^xsd:string .
233 +
208 ep-activity:reportOn 234 ep-activity:reportOn
209 rdf:type owl:ObjectProperty ; 235 rdf:type owl:ObjectProperty ;
210 rdfs:label "report on"^^xsd:string . 236 rdfs:label "report on"^^xsd:string .
......
1 -# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011 1 +# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -# Saved by TopBraid on Mon Aug 01 13:35:23 PDT 2011 1 +# Saved by TopBraid on Wed Aug 03 12:31:51 BST 2011
2 -# baseURI: http://www.reportinghub.no/ep/transform/normalization 2 +# baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 5 @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
...@@ -13,5 +13,7 @@ ...@@ -13,5 +13,7 @@
13 [] rdf:type inference:Configuration ; 13 [] rdf:type inference:Configuration ;
14 composite:child 14 composite:child
15 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 15 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + <http://spinrdf.org/spin#topSPINOptions>
17 + "singlePass" ;
16 composite:index "0"^^xsd:int 18 composite:index "0"^^xsd:int
17 ] . 19 ] .
......
1 -# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 1 +# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011
2 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization 2 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
3 -# imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
4 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
5 # imports: http://spinrdf.org/spin 4 # imports: http://spinrdf.org/spin
6 5
7 -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . 6 +@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
8 -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
9 -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
10 -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
11 @prefix owl: <http://www.w3.org/2002/07/owl#> . 7 @prefix owl: <http://www.w3.org/2002/07/owl#> .
12 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 8 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
13 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 9 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
...@@ -16,72 +12,7 @@ ...@@ -16,72 +12,7 @@
16 @prefix spl: <http://spinrdf.org/spl#> . 12 @prefix spl: <http://spinrdf.org/spl#> .
17 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 13 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
18 14
19 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 15 +<http://www.reportinghub.no/ep/transform/1.1/normalization>
20 - spin:rule
21 - [ rdf:type sp:Construct ;
22 - rdfs:comment "STEP 101 Make Well and Well Bore Instances"^^xsd:string ;
23 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
24 - sp:predicate rdf:type ;
25 - sp:subject _:b1
26 - ] [ sp:object _:b2 ;
27 - sp:predicate rdfs:label ;
28 - sp:subject _:b1
29 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
30 - sp:predicate rdf:type ;
31 - sp:subject _:b3
32 - ] [ sp:object _:b4 ;
33 - sp:predicate rdfs:label ;
34 - sp:subject _:b3
35 - ] [ sp:object _:b1 ;
36 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
37 - sp:subject _:b3
38 - ]) ;
39 - sp:where ([ sp:object _:b2 ;
40 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
41 - sp:subject spin:_this
42 - ] [ sp:object _:b4 ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
44 - sp:subject spin:_this
45 - ] [ rdf:type sp:Bind ;
46 - sp:expression
47 - [ rdf:type ep-spin-lib:normalizeString ;
48 - sp:arg1 _:b4
49 - ] ;
50 - sp:variable _:b5
51 - ] [ rdf:type sp:Bind ;
52 - sp:expression
53 - [ rdf:type ep-spin-lib:buildWellURI ;
54 - sp:arg1 _:b5
55 - ] ;
56 - sp:variable _:b3
57 - ] [ rdf:type sp:Bind ;
58 - sp:expression
59 - [ rdf:type ep-spin-lib:normalizeString ;
60 - sp:arg1 _:b2
61 - ] ;
62 - sp:variable _:b6
63 - ] [ rdf:type sp:Bind ;
64 - sp:expression
65 - [ rdf:type ep-spin-lib:buildWellBoreURI ;
66 - sp:arg1 _:b6
67 - ] ;
68 - sp:variable _:b1
69 - ])
70 - ] .
71 -
72 -<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization>
73 rdf:type owl:Ontology ; 16 rdf:type owl:Ontology ;
74 - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ; 17 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> ;
75 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
76 -
77 -_:b2 sp:varName "nameWellBore"^^xsd:string .
78 -
79 -_:b4 sp:varName "nameWell"^^xsd:string .
80 -
81 -_:b5 sp:varName "normalizedWellName"^^xsd:string .
82 -
83 -_:b3 sp:varName "normalizedWellNameU"^^xsd:string .
84 -
85 -_:b6 sp:varName "normalizedWellBoreName"^^xsd:string .
86 -
87 -_:b1 sp:varName "normalizedWellBoreNameU"^^xsd:string .
......
1 -# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 1 +# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
...@@ -13,7 +13,5 @@ ...@@ -13,7 +13,5 @@
13 [] rdf:type inference:Configuration ; 13 [] rdf:type inference:Configuration ;
14 composite:child 14 composite:child
15 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 15 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 - <http://spinrdf.org/spin#topSPINOptions>
17 - "singlePass" ;
18 composite:index "0"^^xsd:int 16 composite:index "0"^^xsd:int
19 ] . 17 ] .
......