David Leal

Mapping of Well and WellBore aliases added

1 -# baseURI: http://www.reportinghub.no/ep/schema/1.0/core 1 +# Saved by TopBraid on Wed Aug 10 10:37:51 BST 2011
2 -# imports: http://www.linkedmodel.org/1.2/schema/vaem 2 +# baseURI: http://www.reportinghub.no/ep/schema/1.0/core
3 - 3 +# imports: http://www.linkedmodel.org/1.2/schema/vaem
4 -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . 4 +
5 -@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . 5 +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
6 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 6 +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
7 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 - 10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 -<http://www.reportinghub.no/ep/schema/1.0/core> 11 +
12 - rdf:type owl:Ontology ; 12 +<http://www.reportinghub.no/ep/schema/1.0/core>
13 - owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; 13 + rdf:type owl:Ontology ;
14 - owl:versionInfo "0.1.0"^^xsd:string . 14 + owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ;
15 - 15 + owl:versionInfo "0.1.0"^^xsd:string .
16 -ep-core:PhysicalObject 16 +
17 - rdf:type owl:Class ; 17 +ep-core:PhysicalObject
18 - rdfs:label "physical object"^^xsd:string ; 18 + rdf:type owl:Class ;
19 - rdfs:subClassOf ep-core:PhysicalThing . 19 + rdfs:label "physical object"^^xsd:string ;
20 - 20 + rdfs:subClassOf ep-core:PhysicalThing .
21 -ep-core:PhysicalThing 21 +
22 - rdf:type owl:Class ; 22 +ep-core:PhysicalThing
23 - rdfs:label "physical thing"^^xsd:string ; 23 + rdf:type owl:Class ;
24 - rdfs:subClassOf owl:Thing . 24 + rdfs:label "physical thing"^^xsd:string ;
25 - 25 + rdfs:subClassOf owl:Thing .
26 -ep-core:basisFor 26 +
27 - rdf:type owl:ObjectProperty ; 27 +ep-core:apiName
28 - rdfs:label "basis for"^^xsd:string . 28 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
29 - 29 + rdfs:label "API name"^^xsd:string ;
30 -ep-core:derivedFrom 30 + rdfs:range xsd:string ;
31 - rdf:type owl:TransitiveProperty , owl:ObjectProperty ; 31 + rdfs:subPropertyOf ep-core:name .
32 - rdfs:label "derived from"^^xsd:string . 32 +
33 - 33 +ep-core:basisFor
34 -ep-core:hasPart 34 + rdf:type owl:ObjectProperty ;
35 - rdf:type owl:TransitiveProperty ; 35 + rdfs:label "basis for"^^xsd:string .
36 - rdfs:domain ep-core:PhysicalThing ; 36 +
37 - rdfs:label "has part"^^xsd:string ; 37 +ep-core:derivedFrom
38 - rdfs:range ep-core:PhysicalThing ; 38 + rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
39 - owl:inverseOf ep-core:partOf . 39 + rdfs:label "derived from"^^xsd:string .
40 - 40 +
41 -ep-core:hasTemporalPart 41 +ep-core:dtiName
42 - rdf:type owl:TransitiveProperty ; 42 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
43 - rdfs:domain ep-core:PhysicalThing ; 43 + rdfs:label "DTI name"^^xsd:string ;
44 - rdfs:label "has temporal part"^^xsd:string ; 44 + rdfs:range xsd:string ;
45 - rdfs:range ep-core:PhysicalThing ; 45 + rdfs:subPropertyOf ep-core:name .
46 - rdfs:subPropertyOf ep-core:hasPart ; 46 +
47 - owl:inverseOf ep-core:partOf . 47 +ep-core:hasPart
48 - 48 + rdf:type owl:TransitiveProperty ;
49 -ep-core:name 49 + rdfs:domain ep-core:PhysicalThing ;
50 - rdf:type owl:DatatypeProperty ; 50 + rdfs:label "has part"^^xsd:string ;
51 - rdfs:label "name"^^xsd:string ; 51 + rdfs:range ep-core:PhysicalThing ;
52 - rdfs:range xsd:string . 52 + owl:inverseOf ep-core:partOf .
53 - 53 +
54 -ep-core:partOf 54 +ep-core:hasTemporalPart
55 - rdf:type owl:TransitiveProperty ; 55 + rdf:type owl:TransitiveProperty ;
56 - rdfs:domain ep-core:PhysicalThing ; 56 + rdfs:domain ep-core:PhysicalThing ;
57 - rdfs:label "part of"^^xsd:string ; 57 + rdfs:label "has temporal part"^^xsd:string ;
58 - rdfs:range ep-core:PhysicalThing ; 58 + rdfs:range ep-core:PhysicalThing ;
59 - owl:inverseOf ep-core:hasPart . 59 + rdfs:subPropertyOf ep-core:hasPart ;
60 - 60 + owl:inverseOf ep-core:partOf .
61 -ep-core:temporalPartOf 61 +
62 - rdf:type owl:TransitiveProperty ; 62 +ep-core:localFieldName
63 - rdfs:domain ep-core:PhysicalThing ; 63 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
64 - rdfs:label "temporal part of"^^xsd:string ; 64 + rdfs:label "local field name"^^xsd:string ;
65 - rdfs:range ep-core:PhysicalThing ; 65 + rdfs:range xsd:string ;
66 - rdfs:subPropertyOf ep-core:hasPart ; 66 + rdfs:subPropertyOf ep-core:name .
67 - owl:inverseOf ep-core:hasTemporalPart . 67 +
68 +ep-core:name
69 + rdf:type owl:DatatypeProperty ;
70 + rdfs:label "name"^^xsd:string ;
71 + rdfs:range xsd:string .
72 +
73 +ep-core:npdCode
74 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
75 + rdfs:label "NPD code"^^xsd:string ;
76 + rdfs:range xsd:string ;
77 + rdfs:subPropertyOf ep-core:name .
78 +
79 +ep-core:npdNumber
80 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
81 + rdfs:label "NPD number"^^xsd:string ;
82 + rdfs:range xsd:string ;
83 + rdfs:subPropertyOf ep-core:name .
84 +
85 +ep-core:partOf
86 + rdf:type owl:TransitiveProperty ;
87 + rdfs:domain ep-core:PhysicalThing ;
88 + rdfs:label "part of"^^xsd:string ;
89 + rdfs:range ep-core:PhysicalThing ;
90 + owl:inverseOf ep-core:hasPart .
91 +
92 +ep-core:prospectName
93 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
94 + rdfs:label "prospect name"^^xsd:string ;
95 + rdfs:range xsd:string ;
96 + rdfs:subPropertyOf ep-core:name .
97 +
98 +ep-core:temporalPartOf
99 + rdf:type owl:TransitiveProperty ;
100 + rdfs:domain ep-core:PhysicalThing ;
101 + rdfs:label "temporal part of"^^xsd:string ;
102 + rdfs:range ep-core:PhysicalThing ;
103 + rdfs:subPropertyOf ep-core:hasPart ;
104 + owl:inverseOf ep-core:hasTemporalPart .
......
1 +# Saved by TopBraid on Tue Aug 09 20:54:10 BST 2011
2 +# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity
3 +# imports: http://www.linkedmodel.org/1.2/schema/vaem
4 +# imports: http://www.reportinghub.no/ep/schema/organization
5 +# imports: http://www.reportinghub.no/ep/schema/equipment
6 +# imports: http://www.linkedmodel.org/1.1/schema/ordered
7 +# imports: http://www.reportinghub.no/ep/schema/1.1/core
8 +# imports: http://www.reportinghub.no/ep/schema/well
9 +
10 +@prefix : <http://www.reportinghub.no/ep/schema/1.1/activity#> .
11 +@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
12 +@prefix organization: <http://www.reportinghub.no/ep/schema/organization#> .
13 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
14 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
15 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
16 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
17 +
18 +<http://www.reportinghub.no/ep/schema/1.1/activity>
19 + rdf:type owl:Ontology ;
20 + 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> ;
21 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
22 +
23 +ep-activity:Activity
24 + rdf:type owl:Class ;
25 + rdfs:label "Activity"^^xsd:string ;
26 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
27 + rdfs:subClassOf
28 + [ rdf:type owl:Restriction ;
29 + owl:allValuesFrom ep-activity:Activity ;
30 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
31 + ] ;
32 + rdfs:subClassOf
33 + [ rdf:type owl:Restriction ;
34 + owl:allValuesFrom ep-activity:Activity ;
35 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
36 + ] ;
37 + rdfs:subClassOf
38 + [ rdf:type owl:Restriction ;
39 + owl:allValuesFrom ep-activity:Activity ;
40 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
41 + ] ;
42 + rdfs:subClassOf
43 + [ rdf:type owl:Restriction ;
44 + owl:allValuesFrom ep-activity:Activity ;
45 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
46 + ] ;
47 + rdfs:subClassOf
48 + [ rdf:type owl:Restriction ;
49 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
50 + owl:onProperty ep-activity:startedAt
51 + ] ;
52 + rdfs:subClassOf
53 + [ rdf:type owl:Restriction ;
54 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
55 + owl:onProperty ep-activity:finishedAt
56 + ] .
57 +
58 +ep-activity:DailyDrillingActivity
59 + rdf:type owl:Class ;
60 + rdfs:label "Daily drilling activity"^^xsd:string ;
61 + rdfs:subClassOf ep-activity:DrillingActivity ;
62 + rdfs:subClassOf
63 + [ rdf:type owl:Restriction ;
64 + owl:allValuesFrom ep-activity:DrillingActivity ;
65 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
66 + ] ;
67 + rdfs:subClassOf
68 + [ rdf:type owl:Restriction ;
69 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
70 + owl:onProperty ep-activity:onWellBore
71 + ] ;
72 + rdfs:subClassOf
73 + [ rdf:type owl:Restriction ;
74 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
75 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
76 + ] ;
77 + rdfs:subClassOf
78 + [ rdf:type owl:Restriction ;
79 + owl:allValuesFrom ep-activity:DrillingActivity ;
80 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
81 + ] ;
82 + rdfs:subClassOf
83 + [ rdf:type owl:Restriction ;
84 + owl:allValuesFrom ep-activity:Activity ;
85 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
86 + ] .
87 +
88 +ep-activity:DailyDrillingReportFinalisationType
89 + rdf:type rdfs:Class ;
90 + rdfs:label "daily drilling report finalisation type"^^xsd:string ;
91 + rdfs:subClassOf owl:Class .
92 +
93 +ep-activity:DailyProductionActivity
94 + rdf:type owl:Class ;
95 + rdfs:label "Daily production activity"^^xsd:string ;
96 + rdfs:subClassOf ep-activity:ProductionActivity ;
97 + rdfs:subClassOf
98 + [ rdf:type owl:Restriction ;
99 + owl:allValuesFrom ep-activity:ProductionActivity ;
100 + owl:onProperty ep-activity:hasSubActivity
101 + ] .
102 +
103 +ep-activity:Drill-bypass
104 + rdf:type ep-activity:WellBoreDrillingType ;
105 + rdfs:label "drill bypass"^^xsd:string ;
106 + rdfs:subClassOf ep-activity:DrillingActivity .
107 +
108 +ep-activity:Drill-initial
109 + rdf:type ep-activity:WellBoreDrillingType ;
110 + rdfs:label "drill initial"^^xsd:string ;
111 + rdfs:subClassOf ep-activity:DrillingActivity .
112 +
113 +ep-activity:Drill-re-entry
114 + rdf:type ep-activity:WellBoreDrillingType ;
115 + rdfs:label "drill re-entry"^^xsd:string ;
116 + rdfs:subClassOf ep-activity:DrillingActivity .
117 +
118 +ep-activity:Drill-re-spud
119 + rdf:type ep-activity:WellBoreDrillingType ;
120 + rdfs:label "drill re-spud"^^xsd:string ;
121 + rdfs:subClassOf ep-activity:DrillingActivity .
122 +
123 +ep-activity:Drill-redrill
124 + rdf:type ep-activity:WellBoreDrillingType ;
125 + rdfs:label "redrill"^^xsd:string ;
126 + rdfs:subClassOf ep-activity:DrillingActivity .
127 +
128 +ep-activity:Drill-sidetrack
129 + rdf:type ep-activity:WellBoreDrillingType ;
130 + rdfs:label "drill sidetrack"^^xsd:string ;
131 + rdfs:subClassOf ep-activity:DrillingActivity .
132 +
133 +ep-activity:DrillingActivity
134 + rdf:type owl:Class ;
135 + rdfs:label "Drilling activity"^^xsd:string ;
136 + rdfs:subClassOf ep-activity:Activity .
137 +
138 +ep-activity:FormationIntegrityTest
139 + rdf:type ep-activity:PressureTestType , owl:Class ;
140 + rdfs:label "formation integrity test"^^xsd:string ;
141 + rdfs:subClassOf ep-activity:WellBorePressureTest ;
142 + owl:disjointWith ep-activity:LeakOffTest .
143 +
144 +ep-activity:LeakOffTest
145 + rdf:type ep-activity:PressureTestType , owl:Class ;
146 + rdfs:label "leak-off test"^^xsd:string ;
147 + rdfs:subClassOf ep-activity:WellBorePressureTest ;
148 + owl:disjointWith ep-activity:FormationIntegrityTest .
149 +
150 +ep-activity:MonthlyDrillingActivity
151 + rdf:type owl:Class ;
152 + rdfs:label "Weekly drilling activity"^^xsd:string ;
153 + rdfs:subClassOf ep-activity:DrillingActivity ;
154 + rdfs:subClassOf
155 + [ rdf:type owl:Restriction ;
156 + owl:allValuesFrom ep-activity:WeeklyDrillingActivity ;
157 + owl:onProperty ep-activity:hasSubActivity
158 + ] .
159 +
160 +ep-activity:MonthlyProductionActivity
161 + rdf:type owl:Class ;
162 + rdfs:label "Monthly production activity"^^xsd:string ;
163 + rdfs:subClassOf ep-activity:ProductionActivity ;
164 + rdfs:subClassOf
165 + [ rdf:type owl:Restriction ;
166 + owl:allValuesFrom ep-activity:WeeklyProductionActivity ;
167 + owl:onProperty ep-activity:hasSubActivity
168 + ] .
169 +
170 +ep-activity:OffshoreActivity
171 + rdf:type owl:Class ;
172 + rdfs:label "Offshore activity"^^xsd:string ;
173 + rdfs:subClassOf ep-activity:Activity .
174 +
175 +ep-activity:OffshoreWellActivity
176 + rdf:type owl:Class ;
177 + rdfs:label "Offshore well activity"^^xsd:string ;
178 + rdfs:subClassOf ep-activity:OffshoreActivity ;
179 + rdfs:subClassOf
180 + [ rdf:type owl:Restriction ;
181 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
182 + owl:onProperty ep-activity:onWell
183 + ] ;
184 + rdfs:subClassOf
185 + [ rdf:type owl:Restriction ;
186 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
187 + owl:onProperty ep-activity:onRig
188 + ] ;
189 + rdfs:subClassOf
190 + [ rdf:type owl:Restriction ;
191 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
192 + owl:onProperty ep-activity:onWell
193 + ] .
194 +
195 +ep-activity:PressureTestType
196 + rdf:type rdfs:Class ;
197 + rdfs:label "pressure test type"^^xsd:string ;
198 + rdfs:subClassOf owl:Class .
199 +
200 +ep-activity:ProductionActivity
201 + rdf:type owl:Class ;
202 + rdfs:label "Production activity"^^xsd:string ;
203 + rdfs:subClassOf ep-activity:Activity .
204 +
205 +ep-activity:WeeklyDrillingActivity
206 + rdf:type owl:Class ;
207 + rdfs:label "Weekly drilling activity"^^xsd:string ;
208 + rdfs:subClassOf ep-activity:DrillingActivity ;
209 + rdfs:subClassOf
210 + [ rdf:type owl:Restriction ;
211 + owl:allValuesFrom ep-activity:DailyDrillingActivity ;
212 + owl:onProperty ep-activity:hasSubActivity
213 + ] .
214 +
215 +ep-activity:WeeklyProductionActivity
216 + rdf:type owl:Class ;
217 + rdfs:label "Weekly production activity"^^xsd:string ;
218 + rdfs:subClassOf ep-activity:ProductionActivity ;
219 + rdfs:subClassOf
220 + [ rdf:type owl:Restriction ;
221 + owl:allValuesFrom ep-activity:DailyProductionActivity ;
222 + owl:onProperty ep-activity:hasSubActivity
223 + ] .
224 +
225 +ep-activity:WellBoreDrillingType
226 + rdf:type rdfs:Class ;
227 + rdfs:label "well bore drilling type"^^xsd:string ;
228 + rdfs:subClassOf owl:Class .
229 +
230 +ep-activity:WellBorePressureTest
231 + rdf:type owl:Class ;
232 + rdfs:label "well bore pressure test"^^xsd:string ;
233 + rdfs:subClassOf ep-activity:Activity .
234 +
235 +ep-activity:createdAt
236 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
237 + rdfs:label "created at"^^xsd:string ;
238 + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
239 +
240 +ep-activity:finishedAt
241 + rdf:type owl:DatatypeProperty ;
242 + rdfs:label "finished at"^^xsd:string ;
243 + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
244 +
245 +ep-activity:hasSubActivity
246 + rdf:type owl:ObjectProperty ;
247 + rdfs:label "has sub activity"^^xsd:string .
248 +
249 +ep-activity:onRig
250 + rdf:type owl:ObjectProperty ;
251 + rdfs:label "on rig"^^xsd:string .
252 +
253 +ep-activity:onWell
254 + rdf:type owl:ObjectProperty ;
255 + rdfs:label "on well"^^xsd:string .
256 +
257 +ep-activity:onWellBore
258 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
259 + rdfs:label "on WellBore"^^xsd:string .
260 +
261 +ep-activity:reportOn
262 + rdf:type owl:ObjectProperty ;
263 + rdfs:label "report on"^^xsd:string .
264 +
265 +ep-activity:startedAt
266 + rdf:type owl:DatatypeProperty ;
267 + rdfs:label "started at"^^xsd:string ;
268 + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
269 +
270 +ep-activity:wellBoreDrillingType
271 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
272 + rdfs:domain ep-activity:DrillingActivity ;
273 + rdfs:label "has sub activity"^^xsd:string ;
274 + rdfs:range ep-activity:WellBoreDrillingType ;
275 + rdfs:subPropertyOf rdf:type .
276 +
277 +ep-activity:wellboreDrillingContractor
278 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
279 + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
280 + rdfs:label "wellbore drilling contractor"^^xsd:string ;
281 + rdfs:range organization:Company .
282 +
283 +ep-activity:wellboreOperator
284 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
285 + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
286 + rdfs:label "wellbore operator"^^xsd:string ;
287 + rdfs:range organization:Company .
288 +
289 +<http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
290 + rdf:type ep-activity:DailyDrillingReportFinalisationType .
291 +
292 +<http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport>
293 + rdf:type ep-activity:DailyDrillingReportFinalisationType .
294 +
295 +<http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport>
296 + rdf:type ep-activity:DailyDrillingReportFinalisationType .
This diff could not be displayed because it is too large.
1 -# baseURI: null 1 +# Saved by TopBraid on Wed Aug 10 10:38:00 BST 2011
2 - 2 +# baseURI: null
3 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 3 +
4 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . 5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 -@prefix visual: <http://topbraid.org/visual#> . 9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 10 +@prefix visual: <http://topbraid.org/visual#> .
11 - 11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 -[] rdf:type inference:Configuration ; 12 +
13 - composite:child 13 +[] rdf:type inference:Configuration ;
14 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 14 + composite:child
15 - composite:index "0"^^xsd:int 15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 - ] . 16 + composite:index "0"^^xsd:int
17 + ] .
......
1 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 1 +# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011
2 -# imports: http://spinrdf.org/spin 2 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/report
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 4 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/core 5 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr 6 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment 7 +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
8 -# imports: http://www.reportinghub.no/ep/schema/1.0/report 8 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
9 -# imports: http://www.reportinghub.no/ep/schema/1.0/well 9 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
10 -# imports: http://www.reportinghub.no/ep/spin/1.1/lib 10 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
11 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr 11 +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
12 - 12 +# imports: http://spinrdf.org/spin
13 -@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . 13 +
14 -@prefix arg: <http://spinrdf.org/arg#> . 14 +@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> .
15 -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . 15 +@prefix arg: <http://spinrdf.org/arg#> .
16 -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . 16 +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
17 -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . 17 +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
18 -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 18 +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
19 -@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . 19 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
20 -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . 20 +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
21 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 21 +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
22 -@prefix p1: <http://example.org/file1#> . 22 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
23 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 23 +@prefix p1: <http://example.org/file1#> .
24 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 24 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
25 -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . 25 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
26 -@prefix sp: <http://spinrdf.org/sp#> . 26 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
27 -@prefix spin: <http://spinrdf.org/spin#> . 27 +@prefix sp: <http://spinrdf.org/sp#> .
28 -@prefix spl: <http://spinrdf.org/spl#> . 28 +@prefix spin: <http://spinrdf.org/spin#> .
29 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 29 +@prefix spl: <http://spinrdf.org/spl#> .
30 - 30 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
31 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 31 +
32 - spin:rule 32 +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
33 - [ rdf:type sp:Construct ; 33 + spin:rule
34 + [ rdf:type sp:Construct ;
35 + rdfs:comment "STEP 104 Create Well"^^xsd:string ;
36 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
37 + sp:predicate rdf:type ;
38 + sp:subject _:b1
39 + ] [ sp:object _:b2 ;
40 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
41 + sp:subject _:b1
42 + ] [ sp:object _:b1 ;
43 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
44 + sp:subject _:b3
45 + ] [ sp:object _:b4 ;
46 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
47 + sp:subject _:b1
48 + ]) ;
49 + sp:where ([ sp:object _:b5 ;
50 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
51 + sp:subject spin:_this
52 + ] [ sp:object _:b2 ;
53 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
54 + sp:subject spin:_this
55 + ] [ sp:object _:b6 ;
56 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
57 + sp:subject spin:_this
58 + ] [ sp:object _:b7 ;
59 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
60 + sp:subject _:b3
61 + ] [ sp:object _:b4 ;
62 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
63 + sp:subject _:b7
64 + ] [ rdf:type sp:Bind ;
65 + sp:expression
66 + [ rdf:type ep-spin-lib:normalizeString ;
67 + sp:arg1 _:b5
68 + ] ;
69 + sp:variable _:b8
70 + ] [ rdf:type sp:Bind ;
71 + sp:expression
72 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
73 + sp:arg1 _:b8 ;
74 + sp:arg2 _:b6
75 + ] ;
76 + sp:variable _:b3
77 + ] [ rdf:type sp:Bind ;
78 + sp:expression
79 + [ rdf:type ep-spin-lib:normalizeString ;
80 + sp:arg1 _:b2
81 + ] ;
82 + sp:variable _:b9
83 + ] [ rdf:type sp:Bind ;
84 + sp:expression
85 + [ rdf:type rhspin:wellByName ;
86 + arg:wellName _:b9
87 + ] ;
88 + sp:variable _:b1
89 + ])
90 + ] ;
91 + spin:rule
92 + [ rdf:type sp:Construct ;
93 + rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ;
94 + sp:templates ([ sp:object _:b10 ;
95 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
96 + sp:subject _:b11
97 + ]) ;
98 + sp:where ([ sp:object _:b12 ;
99 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
100 + sp:subject spin:_this
101 + ] [ sp:object _:b13 ;
102 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
103 + sp:subject spin:_this
104 + ] [ sp:object _:b10 ;
105 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
106 + sp:subject spin:_this
107 + ] [ rdf:type sp:Bind ;
108 + sp:expression
109 + [ rdf:type ep-spin-lib:normalizeString ;
110 + sp:arg1 _:b12
111 + ] ;
112 + sp:variable _:b14
113 + ] [ rdf:type sp:Bind ;
114 + sp:expression
115 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
116 + sp:arg1 _:b14 ;
117 + sp:arg2 _:b13
118 + ] ;
119 + sp:variable _:b11
120 + ])
121 + ] ;
122 + spin:rule
123 + [ rdf:type sp:Construct ;
34 rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore 124 rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore
35 -Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; 125 +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
36 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ; 126 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ;
37 - sp:predicate rdf:type ; 127 + sp:predicate rdf:type ;
38 - sp:subject _:b1 128 + sp:subject _:b15
39 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; 129 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ;
40 - sp:predicate rdf:type ; 130 + sp:predicate rdf:type ;
41 - sp:subject _:b2 131 + sp:subject _:b16
42 - ] [ sp:object _:b2 ; 132 + ] [ sp:object _:b16 ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; 133 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
44 - sp:subject _:b1 134 + sp:subject _:b15
45 - ] [ sp:object _:b3 ; 135 + ] [ sp:object _:b17 ;
46 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; 136 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ;
47 - sp:subject _:b1 137 + sp:subject _:b15
48 - ] [ sp:object _:b4 ; 138 + ] [ sp:object _:b18 ;
49 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; 139 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
50 - sp:subject _:b2 140 + sp:subject _:b16
51 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; 141 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
52 - sp:predicate rdf:type ; 142 + sp:predicate rdf:type ;
53 - sp:subject _:b5 143 + sp:subject _:b19
54 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 144 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
55 - sp:predicate rdf:type ; 145 + sp:predicate rdf:type ;
56 - sp:subject _:b6 146 + sp:subject _:b20
57 - ] [ sp:object _:b6 ; 147 + ] [ sp:object _:b20 ;
58 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 148 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
59 - sp:subject _:b5 149 + sp:subject _:b19
60 - ] [ sp:object _:b7 ; 150 + ] [ sp:object _:b21 ;
61 - sp:predicate rdfs:label ; 151 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
62 - sp:subject _:b6 152 + sp:subject _:b20
63 - ] [ sp:object _:b5 ; 153 + ] [ sp:object _:b19 ;
64 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 154 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
65 - sp:subject _:b2 155 + sp:subject _:b16
66 - ]) ; 156 + ]) ;
67 - sp:where ([ sp:object _:b7 ; 157 + sp:where ([ sp:object _:b21 ;
68 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 158 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
69 - sp:subject spin:_this 159 + sp:subject spin:_this
70 - ] [ sp:object _:b4 ; 160 + ] [ sp:object _:b18 ;
71 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 161 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
72 - sp:subject spin:_this 162 + sp:subject spin:_this
73 - ] [ sp:object _:b8 ; 163 + ] [ sp:object _:b22 ;
74 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 164 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
75 - sp:subject spin:_this 165 + sp:subject spin:_this
76 - ] [ sp:object _:b3 ; 166 + ] [ sp:object _:b17 ;
77 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; 167 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
78 - sp:subject spin:_this 168 + sp:subject spin:_this
79 - ] [ rdf:type sp:Bind ; 169 + ] [ rdf:type sp:Bind ;
80 - sp:expression 170 + sp:expression
81 - [ rdf:type ep-spin-lib:normalizeString ; 171 + [ rdf:type ep-spin-lib:normalizeString ;
82 - sp:arg1 _:b7 172 + sp:arg1 _:b21
83 - ] ; 173 + ] ;
84 - sp:variable _:b9 174 + sp:variable _:b23
85 - ] [ rdf:type sp:Bind ; 175 + ] [ rdf:type sp:Bind ;
86 - sp:expression 176 + sp:expression
87 - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; 177 + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
88 - sp:arg1 _:b9 ; 178 + sp:arg1 _:b23 ;
89 - sp:arg2 _:b3 179 + sp:arg2 _:b17
90 - ] ; 180 + ] ;
91 - sp:variable _:b1 181 + sp:variable _:b15
92 - ] [ rdf:type sp:Bind ; 182 + ] [ rdf:type sp:Bind ;
93 - sp:expression 183 + sp:expression
94 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 184 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
95 - sp:arg1 _:b9 ; 185 + sp:arg1 _:b23 ;
96 - sp:arg2 _:b4 186 + sp:arg2 _:b18
97 - ] ; 187 + ] ;
98 - sp:variable _:b2 188 + sp:variable _:b16
99 - ] [ rdf:type sp:Bind ; 189 + ] [ rdf:type sp:Bind ;
100 - sp:expression 190 + sp:expression
101 - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; 191 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
102 - sp:arg1 _:b9 ; 192 + sp:arg1 _:b23 ;
103 - sp:arg2 _:b4 ; 193 + sp:arg2 _:b18 ;
104 - sp:arg3 _:b8 194 + sp:arg3 _:b22
105 - ] ; 195 + ] ;
106 - sp:variable _:b5 196 + sp:variable _:b19
107 - ] [ rdf:type sp:Bind ; 197 + ] [ rdf:type sp:Bind ;
108 - sp:expression 198 + sp:expression
109 - [ rdf:type rhspin:wellBoreByName ; 199 + [ rdf:type rhspin:wellBoreByName ;
110 - arg:wellBoreName _:b7 200 + arg:wellBoreName _:b21
111 - ] ; 201 + ] ;
112 - sp:variable _:b6 202 + sp:variable _:b20
113 - ]) 203 + ])
114 - ] ; 204 + ] ;
115 - spin:rule 205 + spin:rule
116 - [ rdf:type sp:Construct ; 206 + [ rdf:type sp:Construct ;
117 rdfs:comment """STEP 103 207 rdfs:comment """STEP 103
118 -Classify a DailyDrillingReport"""^^xsd:string ; 208 +Classify a DailyDrillingReport"""^^xsd:string ;
119 - sp:templates ([ sp:object _:b10 ; 209 + sp:templates ([ sp:object _:b24 ;
120 - sp:predicate rdf:type ; 210 + sp:predicate rdf:type ;
121 - sp:subject _:b11 211 + sp:subject _:b25
122 - ]) ; 212 + ]) ;
123 - sp:where ([ sp:object _:b12 ; 213 + sp:where ([ sp:object _:b26 ;
124 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 214 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
125 - sp:subject spin:_this 215 + sp:subject spin:_this
126 - ] [ sp:object _:b13 ; 216 + ] [ sp:object _:b27 ;
127 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; 217 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
128 - sp:subject spin:_this 218 + sp:subject spin:_this
129 - ] [ sp:object _:b14 ; 219 + ] [ sp:object _:b28 ;
130 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ; 220 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ;
131 - sp:subject spin:_this 221 + sp:subject spin:_this
132 - ] [ rdf:type sp:Bind ; 222 + ] [ rdf:type sp:Bind ;
133 - sp:expression 223 + sp:expression
134 - [ rdf:type ep-spin-lib:selectDailyDrillingReportType ; 224 + [ rdf:type ep-spin-lib:selectDailyDrillingReportType ;
135 - sp:arg1 _:b14 225 + sp:arg1 _:b28
136 - ] ; 226 + ] ;
137 - sp:variable _:b10 227 + sp:variable _:b24
138 - ] [ rdf:type sp:Bind ; 228 + ] [ rdf:type sp:Bind ;
139 - sp:expression 229 + sp:expression
140 - [ rdf:type ep-spin-lib:normalizeString ; 230 + [ rdf:type ep-spin-lib:normalizeString ;
141 - sp:arg1 _:b12 231 + sp:arg1 _:b26
142 - ] ; 232 + ] ;
143 - sp:variable _:b15 233 + sp:variable _:b29
144 - ] [ rdf:type sp:Bind ; 234 + ] [ rdf:type sp:Bind ;
145 - sp:expression 235 + sp:expression
146 - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; 236 + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
147 - sp:arg1 _:b15 ; 237 + sp:arg1 _:b29 ;
148 - sp:arg2 _:b13 238 + sp:arg2 _:b27
149 - ] ; 239 + ] ;
150 - sp:variable _:b11 240 + sp:variable _:b25
151 - ]) 241 + ])
152 - ] ; 242 + ] ;
153 - spin:rule 243 + spin:rule
154 - [ rdf:type sp:Construct ; 244 + [ rdf:type sp:Construct ;
155 rdfs:comment """STEP 101a Set name of DailyDrillingReport as label 245 rdfs:comment """STEP 101a Set name of DailyDrillingReport as label
156 -Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; 246 +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ;
157 - sp:templates ([ sp:object _:b16 ; 247 + sp:templates ([ sp:object _:b30 ;
158 - sp:predicate rdfs:label ; 248 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
159 - sp:subject _:b17 249 + sp:subject _:b31
160 - ]) ; 250 + ]) ;
161 - sp:where ([ sp:object _:b18 ; 251 + sp:where ([ sp:object _:b32 ;
162 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 252 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
163 - sp:subject spin:_this 253 + sp:subject spin:_this
164 - ] [ sp:object _:b16 ; 254 + ] [ sp:object _:b30 ;
165 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; 255 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ;
166 - sp:subject spin:_this 256 + sp:subject spin:_this
167 - ] [ sp:object _:b19 ; 257 + ] [ sp:object _:b33 ;
168 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; 258 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ;
169 - sp:subject spin:_this 259 + sp:subject spin:_this
170 - ] [ rdf:type sp:Bind ; 260 + ] [ rdf:type sp:Bind ;
171 - sp:expression 261 + sp:expression
172 - [ rdf:type ep-spin-lib:normalizeString ; 262 + [ rdf:type ep-spin-lib:normalizeString ;
173 - sp:arg1 _:b18 263 + sp:arg1 _:b32
174 - ] ; 264 + ] ;
175 - sp:variable _:b20 265 + sp:variable _:b34
176 - ] [ rdf:type sp:Bind ; 266 + ] [ rdf:type sp:Bind ;
177 - sp:expression 267 + sp:expression
178 - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; 268 + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ;
179 - sp:arg1 _:b20 ; 269 + sp:arg1 _:b34 ;
180 - sp:arg2 _:b19 270 + sp:arg2 _:b33
181 - ] ; 271 + ] ;
182 - sp:variable _:b17 272 + sp:variable _:b31
183 - ]) 273 + ])
184 - ] ; 274 + ] .
185 - spin:rule 275 +
186 - [ rdf:type sp:Construct ; 276 +<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport>
187 - rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ; 277 + rdf:type owl:Ontology ;
188 - sp:templates ([ sp:object _:b21 ; 278 + 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> ;
189 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; 279 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
190 - sp:subject _:b22 280 +
191 - ]) ; 281 +_:b32
192 - sp:where ([ sp:object _:b23 ; 282 + sp:varName "nameWellBore"^^xsd:string .
193 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 283 +
194 - sp:subject spin:_this 284 +_:b30
195 - ] [ sp:object _:b24 ; 285 + sp:varName "nameDailyDrillingReport"^^xsd:string .
196 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 286 +
197 - sp:subject spin:_this 287 +_:b33
198 - ] [ sp:object _:b21 ; 288 + sp:varName "createDate"^^xsd:string .
199 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 289 +
200 - sp:subject spin:_this 290 +_:b34
201 - ] [ rdf:type sp:Bind ; 291 + sp:varName "normalizedWellBoreName"^^xsd:string .
202 - sp:expression 292 +
203 - [ rdf:type ep-spin-lib:normalizeString ; 293 +_:b31
204 - sp:arg1 _:b23 294 + sp:varName "dailyDrillingReport"^^xsd:string .
205 - ] ; 295 +
206 - sp:variable _:b25 296 +_:b21
207 - ] [ rdf:type sp:Bind ; 297 + sp:varName "nameWellBore"^^xsd:string .
208 - sp:expression 298 +
209 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 299 +_:b18
210 - sp:arg1 _:b25 ; 300 + sp:varName "dTimStart"^^xsd:string .
211 - sp:arg2 _:b24 301 +
212 - ] ; 302 +_:b22
213 - sp:variable _:b22 303 + sp:varName "dTimEnd"^^xsd:string .
214 - ]) 304 +
215 - ] ; 305 +_:b17
216 - spin:rule 306 + sp:varName "createDate"^^xsd:string .
217 - [ rdf:type sp:Construct ; 307 +
218 - rdfs:comment "STEP 104 Create Well"^^xsd:string ; 308 +_:b23
219 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; 309 + sp:varName "normalizedWellBoreName"^^xsd:string .
220 - sp:predicate rdf:type ; 310 +
221 - sp:subject _:b26 311 +_:b15
222 - ] [ sp:object _:b27 ; 312 + sp:varName "dailyDrillingReport"^^xsd:string .
223 - sp:predicate rdfs:label ; 313 +
224 - sp:subject _:b26 314 +_:b16
225 - ] [ sp:object _:b26 ; 315 + sp:varName "dailyDrillingActivity"^^xsd:string .
226 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; 316 +
227 - sp:subject _:b28 317 +_:b19
228 - ] [ sp:object _:b29 ; 318 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
229 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 319 +
230 - sp:subject _:b26 320 +_:b20
231 - ]) ; 321 + sp:varName "wellBore"^^xsd:string .
232 - sp:where ([ sp:object _:b30 ; 322 +
233 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 323 +_:b5 sp:varName "nameWellBore"^^xsd:string .
234 - sp:subject spin:_this 324 +
235 - ] [ sp:object _:b27 ; 325 +_:b2 sp:varName "nameWell"^^xsd:string .
236 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; 326 +
237 - sp:subject spin:_this 327 +_:b6 sp:varName "dTimStart"^^xsd:string .
238 - ] [ sp:object _:b31 ; 328 +
239 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 329 +_:b3 sp:varName "dailyDrillingActivity"^^xsd:string .
240 - sp:subject spin:_this 330 +
241 - ] [ sp:object _:b29 ; 331 +_:b7 sp:varName "temporalPartOfAWellBore"^^xsd:string .
242 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 332 +
243 - sp:subject _:b28 333 +_:b4 sp:varName "wellBore"^^xsd:string .
244 - ] [ rdf:type sp:Bind ; 334 +
245 - sp:expression 335 +_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
246 - [ rdf:type ep-spin-lib:normalizeString ; 336 +
247 - sp:arg1 _:b30 337 +_:b9 sp:varName "normalizedWellName"^^xsd:string .
248 - ] ; 338 +
249 - sp:variable _:b32 339 +_:b1 sp:varName "well"^^xsd:string .
250 - ] [ rdf:type sp:Bind ; 340 +
251 - sp:expression 341 +_:b24
252 - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; 342 + sp:varName "dailyDrillingReportType"^^xsd:string .
253 - sp:arg1 _:b32 ; 343 +
254 - sp:arg2 _:b31 344 +_:b25
255 - ] ; 345 + sp:varName "dailyDrillingReport"^^xsd:string .
256 - sp:variable _:b28 346 +
257 - ] [ rdf:type sp:Bind ; 347 +_:b26
258 - sp:expression 348 + sp:varName "nameWellBore"^^xsd:string .
259 - [ rdf:type ep-spin-lib:normalizeString ; 349 +
260 - sp:arg1 _:b27 350 +_:b27
261 - ] ; 351 + sp:varName "createDate"^^xsd:string .
262 - sp:variable _:b33 352 +
263 - ] [ rdf:type sp:Bind ; 353 +_:b28
264 - sp:expression 354 + sp:varName "versionKind"^^xsd:string .
265 - [ rdf:type rhspin:wellByName ; 355 +
266 - sp:arg1 _:b33 356 +_:b29
267 - ] ; 357 + sp:varName "normalizedWellBoreName"^^xsd:string .
268 - sp:variable _:b26 358 +
269 - ]) 359 +_:b10
270 - ] . 360 + sp:varName "dTimEnd"^^xsd:string .
271 - 361 +
272 -<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> 362 +_:b11
273 - rdf:type owl:Ontology ; 363 + sp:varName "dailyDrillingActivity"^^xsd:string .
274 - 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> ; 364 +
275 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 365 +_:b12
276 - 366 + sp:varName "nameWellBore"^^xsd:string .
277 -_:b6 sp:varName "wellBore"^^xsd:string . 367 +
278 - 368 +_:b13
279 -_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string . 369 + sp:varName "dTimStart"^^xsd:string .
280 - 370 +
281 -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . 371 +_:b14
282 - 372 + sp:varName "normalizedWellBoreName"^^xsd:string .
283 -_:b1 sp:varName "dailyDrillingReport"^^xsd:string .
284 -
285 -_:b9 sp:varName "normalizedWellBoreName"^^xsd:string .
286 -
287 -_:b3 sp:varName "createDate"^^xsd:string .
288 -
289 -_:b8 sp:varName "dTimEnd"^^xsd:string .
290 -
291 -_:b4 sp:varName "dTimStart"^^xsd:string .
292 -
293 -_:b7 sp:varName "nameWellBore"^^xsd:string .
294 -
295 -_:b33
296 - sp:varName "normalizedWellName"^^xsd:string .
297 -
298 -_:b32
299 - sp:varName "normalizedWellBoreName"^^xsd:string .
300 -
301 -_:b31
302 - sp:varName "dTimStart"^^xsd:string .
303 -
304 -_:b30
305 - sp:varName "nameWellBore"^^xsd:string .
306 -
307 -_:b29
308 - sp:varName "wellBore"^^xsd:string .
309 -
310 -_:b28
311 - sp:varName "dailyDrillingActivity"^^xsd:string .
312 -
313 -_:b27
314 - sp:varName "nameWell"^^xsd:string .
315 -
316 -_:b26
317 - sp:varName "well"^^xsd:string .
318 -
319 -_:b15
320 - sp:varName "normalizedWellBoreName"^^xsd:string .
321 -
322 -_:b14
323 - sp:varName "versionKind"^^xsd:string .
324 -
325 -_:b13
326 - sp:varName "createDate"^^xsd:string .
327 -
328 -_:b12
329 - sp:varName "nameWellBore"^^xsd:string .
330 -
331 -_:b11
332 - sp:varName "dailyDrillingReport"^^xsd:string .
333 -
334 -_:b10
335 - sp:varName "dailyDrillingReportType"^^xsd:string .
336 -
337 -_:b20
338 - sp:varName "normalizedWellBoreName"^^xsd:string .
339 -
340 -_:b19
341 - sp:varName "createDate"^^xsd:string .
342 -
343 -_:b18
344 - sp:varName "nameWellBore"^^xsd:string .
345 -
346 -_:b17
347 - sp:varName "dailyDrillingReport"^^xsd:string .
348 -
349 -_:b16
350 - sp:varName "nameDailyDrillingReport"^^xsd:string .
351 -
352 -_:b25
353 - sp:varName "normalizedWellBoreName"^^xsd:string .
354 -
355 -_:b24
356 - sp:varName "dTimStart"^^xsd:string .
357 -
358 -_:b23
359 - sp:varName "nameWellBore"^^xsd:string .
360 -
361 -_:b22
362 - sp:varName "dailyDrillingActivity"^^xsd:string .
363 -
364 -_:b21
365 - sp:varName "dTimEnd"^^xsd:string .
......
1 -# baseURI: null 1 +# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011
2 - 2 +# baseURI: null
3 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 3 +
4 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . 5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 -@prefix visual: <http://topbraid.org/visual#> . 9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 10 +@prefix visual: <http://topbraid.org/visual#> .
11 - 11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 -[] rdf:type inference:Configuration ; 12 +
13 - composite:child 13 +[] rdf:type inference:Configuration ;
14 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 14 + composite:child
15 - <http://spinrdf.org/spin#topSPINOptions> 15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 - "singlePass" ; 16 + <http://spinrdf.org/spin#topSPINOptions>
17 - composite:index "0"^^xsd:int 17 + "singlePass" ;
18 - ] . 18 + composite:index "0"^^xsd:int
19 + ] .
......
1 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization 1 +# Saved by TopBraid on Wed Aug 10 11:35:30 BST 2011
2 -# imports: http://spinrdf.org/spin 2 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 3 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 4 +# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/core 5 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr 6 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment 7 +
8 -# imports: http://www.reportinghub.no/ep/schema/1.0/report 8 +@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
9 -# imports: http://www.reportinghub.no/ep/schema/1.0/well 9 +@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
10 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity 10 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
11 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 11 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
12 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo 12 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
13 - 13 +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
14 -@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . 14 +@prefix sp: <http://spinrdf.org/sp#> .
15 -@prefix fn: <http://www.w3.org/2005/xpath-functions#> . 15 +@prefix spin: <http://spinrdf.org/spin#> .
16 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 16 +@prefix spl: <http://spinrdf.org/spl#> .
17 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 17 +@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
18 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 18 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19 -@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . 19 +
20 -@prefix sp: <http://spinrdf.org/sp#> . 20 +<http://www.reportinghub.no/ep/transform/1.1/normalization>
21 -@prefix spin: <http://spinrdf.org/spin#> . 21 + rdf:type owl:Ontology ;
22 -@prefix spl: <http://spinrdf.org/spl#> . 22 + 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> ;
23 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 23 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
24 - 24 +
25 -<http://www.reportinghub.no/ep/transform/1.1/normalization> 25 +owl:Thing
26 - rdf:type owl:Ontology ; 26 + spin:update
27 - 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> ; 27 + [ rdf:type sp:Modify ;
28 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 28 + sp:deletePattern ([ sp:object _:b1 ;
29 - 29 + sp:predicate rdfs:label ;
30 -owl:Thing 30 + sp:subject _:b2
31 - spin:update 31 + ]) ;
32 - [ rdf:type sp:Modify ; 32 + sp:insertPattern ([ sp:object _:b3 ;
33 - sp:deletePattern ([ sp:object _:b1 ; 33 + sp:predicate rdfs:label ;
34 - sp:predicate rdfs:label ; 34 + sp:subject _:b2
35 - sp:subject _:b2 35 + ]) ;
36 - ]) ; 36 + sp:where ([ sp:object _:b2 ;
37 - sp:insertPattern ([ sp:object _:b3 ; 37 + sp:predicate owl:onProperty ;
38 - sp:predicate rdfs:label ; 38 + sp:subject
39 - sp:subject _:b2 39 + [ sp:varName "r"^^xsd:string
40 - ]) ; 40 + ]
41 - sp:where ([ sp:object _:b2 ; 41 + ] [ sp:object _:b1 ;
42 - sp:predicate owl:onProperty ; 42 + sp:predicate rdfs:label ;
43 - sp:subject 43 + sp:subject _:b2
44 - [ sp:varName "r"^^xsd:string 44 + ] [ rdf:type sp:Filter ;
45 - ] 45 + sp:expression
46 - ] [ sp:object _:b1 ; 46 + [ rdf:type fn:starts-with ;
47 - sp:predicate rdfs:label ; 47 + sp:arg1 _:b1 ;
48 - sp:subject _:b2 48 + sp:arg2 "has"
49 - ] [ rdf:type sp:Filter ; 49 + ]
50 - sp:expression 50 + ] [ rdf:type sp:Bind ;
51 - [ rdf:type fn:starts-with ; 51 + sp:expression
52 - sp:arg1 _:b1 ; 52 + [ rdf:type smf:trim ;
53 - sp:arg2 "has" 53 + sp:arg1 [ rdf:type smf:regex ;
54 - ] 54 + sp:arg1 _:b1 ;
55 - ] [ rdf:type sp:Bind ; 55 + sp:arg2 "has(.*)" ;
56 - sp:expression 56 + sp:arg3 "$1"
57 - [ rdf:type smf:trim ; 57 + ]
58 - sp:arg1 [ rdf:type smf:regex ; 58 + ] ;
59 - sp:arg1 _:b1 ; 59 + sp:variable _:b3
60 - sp:arg2 "has(.*)" ; 60 + ])
61 - sp:arg3 "$1" 61 + ] .
62 - ] 62 +
63 - ] ; 63 +_:b1 sp:varName "oldLabel"^^xsd:string .
64 - sp:variable _:b3 64 +
65 - ]) 65 +_:b2 sp:varName "p"^^xsd:string .
66 - ] . 66 +
67 - 67 +_:b3 sp:varName "newLabel"^^xsd:string .
68 -_:b3 sp:varName "newLabel"^^xsd:string .
69 -
70 -_:b2 sp:varName "p"^^xsd:string .
71 -
72 -_:b1 sp:varName "oldLabel"^^xsd:string .
......
1 -# baseURI: null 1 +# Saved by TopBraid on Wed Aug 10 11:35:30 BST 2011
2 - 2 +# baseURI: null
3 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 3 +
4 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . 5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 -@prefix visual: <http://topbraid.org/visual#> . 9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 10 +@prefix visual: <http://topbraid.org/visual#> .
11 - 11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 -[] rdf:type inference:Configuration ; 12 +
13 - composite:child 13 +[] rdf:type inference:Configuration ;
14 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 14 + composite:child
15 - <http://spinrdf.org/spin#topSPINOptions> 15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 - "singlePass" ; 16 + <http://spinrdf.org/spin#topSPINOptions>
17 - composite:index "0"^^xsd:int 17 + "singlePass" ;
18 - ] ; 18 + composite:index "0"^^xsd:int
19 - inference:completeMode 19 + ] ;
20 - "true"^^xsd:boolean . 20 + inference:completeMode
21 + "true"^^xsd:boolean .
......