David Price

Added initial support for FluidActivity and Fluid table in DDR report

1 -# Saved by TopBraid on Sat Aug 13 15:54:52 BST 2011 1 +# Saved by TopBraid on Mon Aug 15 01:24:24 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/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.0/organization 4 # imports: http://www.reportinghub.no/ep/schema/1.0/organization
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/core
6 # imports: http://www.reportinghub.no/ep/schema/1.0/well 5 # imports: http://www.reportinghub.no/ep/schema/1.0/well
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.linkedmodel.org/1.1/schema/ordered 8 # imports: http://www.linkedmodel.org/1.1/schema/ordered
9 9
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 15
16 <http://www.reportinghub.no/ep/schema/1.0/activity> 16 <http://www.reportinghub.no/ep/schema/1.0/activity>
17 rdf:type owl:Ontology ; 17 rdf:type owl:Ontology ;
18 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/organization> ; 18 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
19 owl:versionInfo "0.1.0"^^xsd:string . 19 owl:versionInfo "0.1.0"^^xsd:string .
20 20
21 ep-activity:Activity 21 ep-activity:Activity
...@@ -24,33 +24,33 @@ ep-activity:Activity ...@@ -24,33 +24,33 @@ ep-activity:Activity
24 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 24 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
25 rdfs:subClassOf 25 rdfs:subClassOf
26 [ rdf:type owl:Restriction ; 26 [ rdf:type owl:Restriction ;
27 - owl:allValuesFrom ep-activity:Activity ; 27 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
28 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> 28 + owl:onProperty ep-activity:finishedAt
29 ] ; 29 ] ;
30 rdfs:subClassOf 30 rdfs:subClassOf
31 [ rdf:type owl:Restriction ; 31 [ rdf:type owl:Restriction ;
32 - owl:allValuesFrom ep-activity:Activity ; 32 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
33 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> 33 + owl:onProperty ep-activity:startedAt
34 ] ; 34 ] ;
35 rdfs:subClassOf 35 rdfs:subClassOf
36 [ rdf:type owl:Restriction ; 36 [ rdf:type owl:Restriction ;
37 owl:allValuesFrom ep-activity:Activity ; 37 owl:allValuesFrom ep-activity:Activity ;
38 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> 38 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
39 ] ; 39 ] ;
40 rdfs:subClassOf 40 rdfs:subClassOf
41 [ rdf:type owl:Restriction ; 41 [ rdf:type owl:Restriction ;
42 owl:allValuesFrom ep-activity:Activity ; 42 owl:allValuesFrom ep-activity:Activity ;
43 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> 43 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
44 ] ; 44 ] ;
45 rdfs:subClassOf 45 rdfs:subClassOf
46 [ rdf:type owl:Restriction ; 46 [ rdf:type owl:Restriction ;
47 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 47 + owl:allValuesFrom ep-activity:Activity ;
48 - owl:onProperty ep-activity:startedAt 48 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
49 ] ; 49 ] ;
50 rdfs:subClassOf 50 rdfs:subClassOf
51 [ rdf:type owl:Restriction ; 51 [ rdf:type owl:Restriction ;
52 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 52 + owl:allValuesFrom ep-activity:Activity ;
53 - owl:onProperty ep-activity:finishedAt 53 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
54 ] . 54 ] .
55 55
56 ep-activity:ActivitySuccessType 56 ep-activity:ActivitySuccessType
...@@ -64,13 +64,13 @@ ep-activity:DailyDrillingActivity ...@@ -64,13 +64,13 @@ ep-activity:DailyDrillingActivity
64 rdfs:subClassOf ep-activity:DrillingActivity ; 64 rdfs:subClassOf ep-activity:DrillingActivity ;
65 rdfs:subClassOf 65 rdfs:subClassOf
66 [ rdf:type owl:Restriction ; 66 [ rdf:type owl:Restriction ;
67 - owl:allValuesFrom ep-activity:DrillingActivity ; 67 + owl:allValuesFrom ep-activity:Activity ;
68 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> 68 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
69 ] ; 69 ] ;
70 rdfs:subClassOf 70 rdfs:subClassOf
71 [ rdf:type owl:Restriction ; 71 [ rdf:type owl:Restriction ;
72 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; 72 + owl:allValuesFrom ep-activity:DrillingActivity ;
73 - owl:onProperty ep-activity:onWellBore 73 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
74 ] ; 74 ] ;
75 rdfs:subClassOf 75 rdfs:subClassOf
76 [ rdf:type owl:Restriction ; 76 [ rdf:type owl:Restriction ;
...@@ -79,13 +79,13 @@ ep-activity:DailyDrillingActivity ...@@ -79,13 +79,13 @@ ep-activity:DailyDrillingActivity
79 ] ; 79 ] ;
80 rdfs:subClassOf 80 rdfs:subClassOf
81 [ rdf:type owl:Restriction ; 81 [ rdf:type owl:Restriction ;
82 - owl:allValuesFrom ep-activity:DrillingActivity ; 82 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
83 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> 83 + owl:onProperty ep-activity:onWellBore
84 ] ; 84 ] ;
85 rdfs:subClassOf 85 rdfs:subClassOf
86 [ rdf:type owl:Restriction ; 86 [ rdf:type owl:Restriction ;
87 - owl:allValuesFrom ep-activity:Activity ; 87 + owl:allValuesFrom ep-activity:DrillingActivity ;
88 - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> 88 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
89 ] . 89 ] .
90 90
91 ep-activity:DailyProductionActivity 91 ep-activity:DailyProductionActivity
...@@ -134,47 +134,47 @@ ep-activity:DrillingActivity ...@@ -134,47 +134,47 @@ ep-activity:DrillingActivity
134 rdfs:subClassOf ep-activity:Activity . 134 rdfs:subClassOf ep-activity:Activity .
135 135
136 ep-activity:DrillingActivity-circulation_loss 136 ep-activity:DrillingActivity-circulation_loss
137 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 137 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
138 rdfs:label "drilling activity circulation loss"^^xsd:string ; 138 rdfs:label "drilling activity circulation loss"^^xsd:string ;
139 rdfs:subClassOf ep-activity:DrillingActivity . 139 rdfs:subClassOf ep-activity:DrillingActivity .
140 140
141 ep-activity:DrillingActivity-equipment_failure 141 ep-activity:DrillingActivity-equipment_failure
142 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 142 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
143 rdfs:label "drilling activity equipment failure"^^xsd:string ; 143 rdfs:label "drilling activity equipment failure"^^xsd:string ;
144 rdfs:subClassOf ep-activity:DrillingActivity . 144 rdfs:subClassOf ep-activity:DrillingActivity .
145 145
146 ep-activity:DrillingActivity-equipment_hang 146 ep-activity:DrillingActivity-equipment_hang
147 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 147 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
148 rdfs:label "drilling activity equipment hang"^^xsd:string ; 148 rdfs:label "drilling activity equipment hang"^^xsd:string ;
149 rdfs:subClassOf ep-activity:DrillingActivity . 149 rdfs:subClassOf ep-activity:DrillingActivity .
150 150
151 ep-activity:DrillingActivity-injury 151 ep-activity:DrillingActivity-injury
152 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 152 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
153 rdfs:label "drilling activity injury"^^xsd:string ; 153 rdfs:label "drilling activity injury"^^xsd:string ;
154 rdfs:subClassOf ep-activity:DrillingActivity . 154 rdfs:subClassOf ep-activity:DrillingActivity .
155 155
156 ep-activity:DrillingActivity-kick 156 ep-activity:DrillingActivity-kick
157 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 157 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
158 rdfs:label "drilling activity operation kick"^^xsd:string ; 158 rdfs:label "drilling activity operation kick"^^xsd:string ;
159 rdfs:subClassOf ep-activity:DrillingActivity . 159 rdfs:subClassOf ep-activity:DrillingActivity .
160 160
161 ep-activity:DrillingActivity-mud_loss 161 ep-activity:DrillingActivity-mud_loss
162 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 162 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
163 rdfs:label "drilling activity mud loss"^^xsd:string ; 163 rdfs:label "drilling activity mud loss"^^xsd:string ;
164 rdfs:subClassOf ep-activity:DrillingActivity . 164 rdfs:subClassOf ep-activity:DrillingActivity .
165 165
166 ep-activity:DrillingActivity-operation_failed 166 ep-activity:DrillingActivity-operation_failed
167 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 167 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
168 rdfs:label "drilling activity operation failed"^^xsd:string ; 168 rdfs:label "drilling activity operation failed"^^xsd:string ;
169 rdfs:subClassOf ep-activity:DrillingActivity . 169 rdfs:subClassOf ep-activity:DrillingActivity .
170 170
171 ep-activity:DrillingActivity-stuck_equipment 171 ep-activity:DrillingActivity-stuck_equipment
172 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 172 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
173 rdfs:label "drilling activity stuck equipment"^^xsd:string ; 173 rdfs:label "drilling activity stuck equipment"^^xsd:string ;
174 rdfs:subClassOf ep-activity:DrillingActivity . 174 rdfs:subClassOf ep-activity:DrillingActivity .
175 175
176 ep-activity:DrillingActivity-success 176 ep-activity:DrillingActivity-success
177 - rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ; 177 + rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
178 rdfs:label "drilling activity success"^^xsd:string ; 178 rdfs:label "drilling activity success"^^xsd:string ;
179 rdfs:subClassOf ep-activity:DrillingActivity . 179 rdfs:subClassOf ep-activity:DrillingActivity .
180 180
...@@ -184,19 +184,24 @@ ep-activity:DrillingActivityOutcomeType ...@@ -184,19 +184,24 @@ ep-activity:DrillingActivityOutcomeType
184 rdfs:subClassOf owl:Class . 184 rdfs:subClassOf owl:Class .
185 185
186 ep-activity:FailedActivity 186 ep-activity:FailedActivity
187 - rdf:type ep-activity:ActivitySuccessType , owl:Class ; 187 + rdf:type owl:Class , ep-activity:ActivitySuccessType ;
188 rdfs:label "failed activity"^^xsd:string ; 188 rdfs:label "failed activity"^^xsd:string ;
189 rdfs:subClassOf ep-activity:Activity ; 189 rdfs:subClassOf ep-activity:Activity ;
190 owl:disjointWith ep-activity:SuccessfulActivity . 190 owl:disjointWith ep-activity:SuccessfulActivity .
191 191
192 +ep-activity:FluidActivity
193 + rdf:type owl:Class ;
194 + rdfs:label "fluid activity"^^xsd:string ;
195 + rdfs:subClassOf ep-activity:Activity .
196 +
192 ep-activity:FormationIntegrityTest 197 ep-activity:FormationIntegrityTest
193 - rdf:type ep-activity:PressureTestType , owl:Class ; 198 + rdf:type owl:Class , ep-activity:PressureTestType ;
194 rdfs:label "formation integrity test"^^xsd:string ; 199 rdfs:label "formation integrity test"^^xsd:string ;
195 rdfs:subClassOf ep-activity:WellBorePressureTest ; 200 rdfs:subClassOf ep-activity:WellBorePressureTest ;
196 owl:disjointWith ep-activity:LeakOffTest . 201 owl:disjointWith ep-activity:LeakOffTest .
197 202
198 ep-activity:LeakOffTest 203 ep-activity:LeakOffTest
199 - rdf:type ep-activity:PressureTestType , owl:Class ; 204 + rdf:type owl:Class , ep-activity:PressureTestType ;
200 rdfs:label "leak-off test"^^xsd:string ; 205 rdfs:label "leak-off test"^^xsd:string ;
201 rdfs:subClassOf ep-activity:WellBorePressureTest ; 206 rdfs:subClassOf ep-activity:WellBorePressureTest ;
202 owl:disjointWith ep-activity:FormationIntegrityTest . 207 owl:disjointWith ep-activity:FormationIntegrityTest .
...@@ -232,7 +237,7 @@ ep-activity:OffshoreWellActivity ...@@ -232,7 +237,7 @@ ep-activity:OffshoreWellActivity
232 rdfs:subClassOf ep-activity:OffshoreActivity ; 237 rdfs:subClassOf ep-activity:OffshoreActivity ;
233 rdfs:subClassOf 238 rdfs:subClassOf
234 [ rdf:type owl:Restriction ; 239 [ rdf:type owl:Restriction ;
235 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; 240 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
236 owl:onProperty ep-activity:onWell 241 owl:onProperty ep-activity:onWell
237 ] ; 242 ] ;
238 rdfs:subClassOf 243 rdfs:subClassOf
...@@ -242,7 +247,7 @@ ep-activity:OffshoreWellActivity ...@@ -242,7 +247,7 @@ ep-activity:OffshoreWellActivity
242 ] ; 247 ] ;
243 rdfs:subClassOf 248 rdfs:subClassOf
244 [ rdf:type owl:Restriction ; 249 [ rdf:type owl:Restriction ;
245 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 250 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
246 owl:onProperty ep-activity:onWell 251 owl:onProperty ep-activity:onWell
247 ] . 252 ] .
248 253
...@@ -257,7 +262,7 @@ ep-activity:ProductionActivity ...@@ -257,7 +262,7 @@ ep-activity:ProductionActivity
257 rdfs:subClassOf ep-activity:Activity . 262 rdfs:subClassOf ep-activity:Activity .
258 263
259 ep-activity:SuccessfulActivity 264 ep-activity:SuccessfulActivity
260 - rdf:type ep-activity:ActivitySuccessType , owl:Class ; 265 + rdf:type owl:Class , ep-activity:ActivitySuccessType ;
261 rdfs:label "successful activity"^^xsd:string ; 266 rdfs:label "successful activity"^^xsd:string ;
262 rdfs:subClassOf ep-activity:Activity ; 267 rdfs:subClassOf ep-activity:Activity ;
263 owl:disjointWith ep-activity:FailedActivity . 268 owl:disjointWith ep-activity:FailedActivity .
...@@ -293,18 +298,18 @@ ep-activity:WellBorePressureTest ...@@ -293,18 +298,18 @@ ep-activity:WellBorePressureTest
293 rdfs:subClassOf ep-activity:Activity . 298 rdfs:subClassOf ep-activity:Activity .
294 299
295 ep-activity:createdAt 300 ep-activity:createdAt
296 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; 301 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
297 rdfs:label "created at"^^xsd:string ; 302 rdfs:label "created at"^^xsd:string ;
298 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 303 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
299 304
300 ep-activity:drillingContractor 305 ep-activity:drillingContractor
301 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 306 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
302 rdfs:domain ep-activity:DrillingActivity ; 307 rdfs:domain ep-activity:DrillingActivity ;
303 rdfs:label "drilling contractor"^^xsd:string ; 308 rdfs:label "drilling contractor"^^xsd:string ;
304 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 309 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
305 310
306 ep-activity:drillingOperator 311 ep-activity:drillingOperator
307 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 312 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
308 rdfs:domain ep-activity:DrillingActivity ; 313 rdfs:domain ep-activity:DrillingActivity ;
309 rdfs:label "drilling operator"^^xsd:string ; 314 rdfs:label "drilling operator"^^xsd:string ;
310 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> . 315 rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
...@@ -327,7 +332,7 @@ ep-activity:onWell ...@@ -327,7 +332,7 @@ ep-activity:onWell
327 rdfs:label "on well"^^xsd:string . 332 rdfs:label "on well"^^xsd:string .
328 333
329 ep-activity:onWellBore 334 ep-activity:onWellBore
330 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 335 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
331 rdfs:label "on WellBore"^^xsd:string . 336 rdfs:label "on WellBore"^^xsd:string .
332 337
333 ep-activity:reportOn 338 ep-activity:reportOn
...@@ -340,7 +345,7 @@ ep-activity:startedAt ...@@ -340,7 +345,7 @@ ep-activity:startedAt
340 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 345 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
341 346
342 ep-activity:wellBoreDrillingType 347 ep-activity:wellBoreDrillingType
343 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 348 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
344 rdfs:domain ep-activity:DrillingActivity ; 349 rdfs:domain ep-activity:DrillingActivity ;
345 rdfs:label "has sub activity"^^xsd:string ; 350 rdfs:label "has sub activity"^^xsd:string ;
346 rdfs:range ep-activity:WellBoreDrillingType ; 351 rdfs:range ep-activity:WellBoreDrillingType ;
......
1 -# Saved by TopBraid on Mon Aug 15 00:07:43 BST 2011 1 +# Saved by TopBraid on Mon Aug 15 02:53:37 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/spin/ddr-tables-v1.0 2 # baseURI: http://www.reportinghub.no/ep/spin/ddr-tables-v1.0
3 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose 3 # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
4 # imports: http://www.reportinghub.no/ep/schema/1.0/ddr 4 # imports: http://www.reportinghub.no/ep/schema/1.0/ddr
...@@ -131,54 +131,131 @@ ddr-tables:EquipmentFailure ...@@ -131,54 +131,131 @@ ddr-tables:EquipmentFailure
131 ] ; 131 ] ;
132 rhspin:tableHeaders ("Start Time"^^xsd:string "Depth mMD"^^xsd:string "Depth mTVD"^^xsd:string "Sub Equip Syst Class"^^xsd:string "Operation Downtime"^^xsd:string "Equipment Repaired"^^xsd:string "Failure Description"^^xsd:string) . 132 rhspin:tableHeaders ("Start Time"^^xsd:string "Depth mMD"^^xsd:string "Depth mTVD"^^xsd:string "Sub Equip Syst Class"^^xsd:string "Operation Downtime"^^xsd:string "Equipment Repaired"^^xsd:string "Failure Description"^^xsd:string) .
133 133
134 +ddr-tables:Fluid
135 + rdf:type rhspin:TableTemplate ;
136 + rdfs:label "Fluid Information"^^xsd:string ;
137 + rdfs:subClassOf rhspin:DDRTableTemplates ;
138 + spin:body
139 + [ rdf:type sp:Select ;
140 + sp:orderBy (_:b17) ;
141 + sp:resultVariables (_:b18 _:b17 _:b19 _:b20 [ sp:varName "mud"^^xsd:string
142 + ] _:b21 _:b22 _:b23) ;
143 + sp:where ([ sp:object _:b24 ;
144 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
145 + sp:subject
146 + [ sp:varName "report"^^xsd:string
147 + ]
148 + ] [ sp:object _:b25 ;
149 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
150 + sp:subject _:b24
151 + ] [ sp:object _:b17 ;
152 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
153 + sp:subject _:b25
154 + ] [ rdf:type sp:Optional ;
155 + sp:elements ([ sp:object _:b26 ;
156 + sp:predicate rdf:type ;
157 + sp:subject _:b25
158 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
159 + sp:predicate rdf:type ;
160 + sp:subject _:b26
161 + ])
162 + ] [ rdf:type sp:Optional ;
163 + sp:elements ([ sp:object _:b27 ;
164 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
165 + sp:subject _:b25
166 + ] [ sp:object _:b19 ;
167 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
168 + sp:subject _:b27
169 + ])
170 + ] [ rdf:type sp:Optional ;
171 + sp:elements ([ sp:object _:b28 ;
172 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
173 + sp:subject _:b25
174 + ] [ sp:object _:b20 ;
175 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
176 + sp:subject _:b28
177 + ])
178 + ] [ rdf:type sp:Optional ;
179 + sp:elements ([ sp:object _:b29 ;
180 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
181 + sp:subject _:b25
182 + ] [ sp:object _:b21 ;
183 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
184 + sp:subject _:b29
185 + ])
186 + ] [ rdf:type sp:Optional ;
187 + sp:elements ([ sp:object _:b30 ;
188 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
189 + sp:subject _:b25
190 + ] [ sp:object _:b23 ;
191 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
192 + sp:subject _:b30
193 + ])
194 + ] [ rdf:type sp:Optional ;
195 + sp:elements ([ sp:object _:b18 ;
196 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
197 + sp:subject _:b25
198 + ])
199 + ] [ rdf:type sp:Optional ;
200 + sp:elements ([ sp:object _:b31 ;
201 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
202 + sp:subject _:b25
203 + ] [ sp:object _:b22 ;
204 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
205 + sp:subject _:b31
206 + ])
207 + ])
208 + ] ;
209 + rhspin:tableHeaders ("Fluid Type"^^xsd:string "Time"^^xsd:string "mMD"^^xsd:string "Pressure"^^xsd:string "Mud Class"^^xsd:string "Density"^^xsd:string "YP"^^xsd:string "PV"^^xsd:string) .
210 +
134 ddr-tables:Operations 211 ddr-tables:Operations
135 rdf:type rhspin:TableTemplate ; 212 rdf:type rhspin:TableTemplate ;
136 rdfs:label "Operations"^^xsd:string ; 213 rdfs:label "Operations"^^xsd:string ;
137 rdfs:subClassOf rhspin:DDRTableTemplates ; 214 rdfs:subClassOf rhspin:DDRTableTemplates ;
138 spin:body 215 spin:body
139 [ rdf:type sp:Select ; 216 [ rdf:type sp:Select ;
140 - sp:orderBy (_:b17) ; 217 + sp:orderBy (_:b32) ;
141 - sp:resultVariables (_:b17 _:b18 [ sp:varName "startDepth"^^xsd:string 218 + sp:resultVariables (_:b32 _:b33 [ sp:varName "startDepth"^^xsd:string
142 ] [ sp:varName "endDepth"^^xsd:string 219 ] [ sp:varName "endDepth"^^xsd:string
143 - ] _:b19 _:b20 [ sp:varName "state"^^xsd:string 220 + ] _:b34 _:b35 [ sp:varName "state"^^xsd:string
144 - ] _:b21) ; 221 + ] _:b36) ;
145 - sp:where ([ sp:object _:b22 ; 222 + sp:where ([ sp:object _:b37 ;
146 sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; 223 sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ;
147 sp:subject 224 sp:subject
148 [ sp:varName "report"^^xsd:string 225 [ sp:varName "report"^^xsd:string
149 ] 226 ]
150 - ] [ sp:object _:b23 ; 227 + ] [ sp:object _:b38 ;
151 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 228 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
152 - sp:subject _:b22 229 + sp:subject _:b37
153 - ] [ sp:object _:b17 ; 230 + ] [ sp:object _:b32 ;
154 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 231 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
155 - sp:subject _:b23 232 + sp:subject _:b38
156 - ] [ sp:object _:b18 ; 233 + ] [ sp:object _:b33 ;
157 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 234 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
158 - sp:subject _:b23 235 + sp:subject _:b38
159 ] [ rdf:type sp:Optional ; 236 ] [ rdf:type sp:Optional ;
160 - sp:elements ([ sp:object _:b20 ; 237 + sp:elements ([ sp:object _:b35 ;
161 sp:predicate rdf:type ; 238 sp:predicate rdf:type ;
162 - sp:subject _:b23 239 + sp:subject _:b38
163 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ; 240 ] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ;
164 sp:predicate rdf:type ; 241 sp:predicate rdf:type ;
165 - sp:subject _:b20 242 + sp:subject _:b35
166 ]) 243 ])
167 ] [ rdf:type sp:Optional ; 244 ] [ rdf:type sp:Optional ;
168 - sp:elements ([ sp:object _:b24 ; 245 + sp:elements ([ sp:object _:b39 ;
169 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 246 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
170 - sp:subject _:b23 247 + sp:subject _:b38
171 - ] [ sp:object _:b25 ; 248 + ] [ sp:object _:b40 ;
172 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 249 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
173 - sp:subject _:b24 250 + sp:subject _:b39
174 - ] [ sp:object _:b19 ; 251 + ] [ sp:object _:b34 ;
175 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 252 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
176 - sp:subject _:b25 253 + sp:subject _:b40
177 ]) 254 ])
178 ] [ rdf:type sp:Optional ; 255 ] [ rdf:type sp:Optional ;
179 - sp:elements ([ sp:object _:b21 ; 256 + sp:elements ([ sp:object _:b36 ;
180 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ; 257 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
181 - sp:subject _:b23 258 + sp:subject _:b38
182 ]) 259 ])
183 ]) 260 ])
184 ] ; 261 ] ;
...@@ -190,45 +267,31 @@ ddr-tables:Operations ...@@ -190,45 +267,31 @@ ddr-tables:Operations
190 owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ; 267 owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ;
191 owl:versionInfo "0.1.0"^^xsd:string . 268 owl:versionInfo "0.1.0"^^xsd:string .
192 269
193 -_:b3 sp:varName "remark"^^xsd:string . 270 +_:b40
194 -
195 -_:b1 sp:varName "depth"^^xsd:string .
196 -
197 -_:b7 sp:varName "md"^^xsd:string .
198 -
199 -_:b6 sp:varName "wellbore"^^xsd:string .
200 -
201 -_:b2 sp:varName "activity"^^xsd:string .
202 -
203 -_:b5 sp:varName "part"^^xsd:string .
204 -
205 -_:b4 sp:varName "reportOn"^^xsd:string .
206 -
207 -_:b25
208 sp:varName "md"^^xsd:string . 271 sp:varName "md"^^xsd:string .
209 272
210 -_:b24 273 +_:b39
211 sp:varName "wellbore"^^xsd:string . 274 sp:varName "wellbore"^^xsd:string .
212 275
213 -_:b23 276 +_:b38
214 sp:varName "part"^^xsd:string . 277 sp:varName "part"^^xsd:string .
215 278
216 -_:b22 279 +_:b37
217 sp:varName "reportOn"^^xsd:string . 280 sp:varName "reportOn"^^xsd:string .
218 281
219 -_:b21 282 +_:b36
220 sp:varName "remark"^^xsd:string . 283 sp:varName "remark"^^xsd:string .
221 284
222 -_:b20 285 +_:b35
223 sp:varName "activity"^^xsd:string . 286 sp:varName "activity"^^xsd:string .
224 287
225 -_:b19 288 +_:b34
226 sp:varName "depth"^^xsd:string . 289 sp:varName "depth"^^xsd:string .
227 290
228 -_:b18 291 +_:b33
229 sp:varName "endTime"^^xsd:string . 292 sp:varName "endTime"^^xsd:string .
230 293
231 -_:b17 294 +_:b32
232 sp:varName "startTime"^^xsd:string . 295 sp:varName "startTime"^^xsd:string .
233 296
234 _:b16 297 _:b16
...@@ -255,3 +318,62 @@ _:b10 ...@@ -255,3 +318,62 @@ _:b10
255 _:b9 sp:varName "depthMD"^^xsd:string . 318 _:b9 sp:varName "depthMD"^^xsd:string .
256 319
257 _:b8 sp:varName "startTime"^^xsd:string . 320 _:b8 sp:varName "startTime"^^xsd:string .
321 +
322 +_:b7 sp:varName "md"^^xsd:string .
323 +
324 +_:b6 sp:varName "wellbore"^^xsd:string .
325 +
326 +_:b5 sp:varName "part"^^xsd:string .
327 +
328 +_:b4 sp:varName "reportOn"^^xsd:string .
329 +
330 +_:b3 sp:varName "remark"^^xsd:string .
331 +
332 +_:b2 sp:varName "activity"^^xsd:string .
333 +
334 +_:b1 sp:varName "depth"^^xsd:string .
335 +
336 +_:b22
337 + sp:varName "ypVal"^^xsd:string .
338 +
339 +_:b31
340 + sp:varName "yp"^^xsd:string .
341 +
342 +_:b18
343 + sp:varName "type"^^xsd:string .
344 +
345 +_:b23
346 + sp:varName "pvVal"^^xsd:string .
347 +
348 +_:b30
349 + sp:varName "pv"^^xsd:string .
350 +
351 +_:b21
352 + sp:varName "densityVal"^^xsd:string .
353 +
354 +_:b29
355 + sp:varName "density"^^xsd:string .
356 +
357 +_:b20
358 + sp:varName "pressureVal"^^xsd:string .
359 +
360 +_:b28
361 + sp:varName "pressure"^^xsd:string .
362 +
363 +_:b19
364 + sp:varName "depth"^^xsd:string .
365 +
366 +_:b27
367 + sp:varName "md"^^xsd:string .
368 +
369 +_:b26
370 + sp:varName "activity"^^xsd:string .
371 +
372 +_:b17
373 + sp:varName "time"^^xsd:string .
374 +
375 +_:b25
376 + sp:varName "part"^^xsd:string .
377 +
378 +_:b24
379 + sp:varName "reportOn"^^xsd:string .
......
1 -# Saved by TopBraid on Mon Aug 15 00:07:43 BST 2011 1 +# Saved by TopBraid on Mon Aug 15 02:53:38 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 Sat Aug 13 19:14:22 BST 2011 1 +# Saved by TopBraid on Mon Aug 15 02:45:27 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
3 # imports: http://www.reportinghub.no/ep/schema/1.0/report 3 # imports: http://www.reportinghub.no/ep/schema/1.0/report
4 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 4 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
...@@ -31,57 +31,40 @@ ...@@ -31,57 +31,40 @@
31 <http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 31 <http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
32 spin:rule 32 spin:rule
33 [ rdf:type sp:Construct ; 33 [ rdf:type sp:Construct ;
34 - rdfs:comment "STEP 134 Transfer comments"^^xsd:string ; 34 + rdfs:comment "STEP 155 Create part activity and temporal part of WellBore"^^xsd:string ;
35 - sp:templates ([ sp:object _:b1 ; 35 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidActivity> ;
36 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ; 36 + sp:predicate rdf:type ;
37 + sp:subject _:b1
38 + ] [ sp:object _:b1 ;
39 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
37 sp:subject _:b2 40 sp:subject _:b2
38 - ]) ; 41 + ] [ sp:object _:b3 ;
39 - sp:where ([ sp:object _:b3 ; 42 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
40 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 43 + sp:subject _:b1
41 - sp:subject spin:_this
42 ] [ sp:object _:b4 ; 44 ] [ sp:object _:b4 ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 45 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
44 - sp:subject spin:_this 46 + sp:subject _:b1
45 ] [ sp:object _:b5 ; 47 ] [ sp:object _:b5 ;
46 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 48 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
47 - sp:subject _:b4 49 + sp:subject _:b1
48 ] [ sp:object _:b6 ; 50 ] [ sp:object _:b6 ;
49 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 51 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
50 - sp:subject _:b4 52 + sp:subject _:b1
51 - ] [ sp:object _:b1 ; 53 + ] [ sp:object _:b7 ;
52 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ; 54 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
53 - sp:subject _:b4 55 + sp:subject _:b1
54 - ] [ rdf:type sp:Bind ;
55 - sp:expression
56 - [ rdf:type ep-spin-lib:normalizeString ;
57 - sp:arg1 _:b3
58 - ] ;
59 - sp:variable _:b7
60 - ] [ rdf:type sp:Bind ;
61 - sp:expression
62 - [ rdf:type ep-spin-lib:buildPartActivityURI ;
63 - sp:arg1 _:b7 ;
64 - sp:arg2 _:b6 ;
65 - sp:arg3 _:b5
66 - ] ;
67 - sp:variable _:b2
68 - ])
69 - ] ;
70 - spin:rule
71 - [ rdf:type sp:Construct ;
72 - rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
73 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
74 - sp:predicate rdf:type ;
75 - sp:subject _:b8
76 ] [ sp:object _:b8 ; 56 ] [ sp:object _:b8 ;
77 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 57 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
78 - sp:subject _:b9 58 + sp:subject _:b1
59 + ] [ sp:object _:b9 ;
60 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
61 + sp:subject _:b1
79 ] [ sp:object _:b10 ; 62 ] [ sp:object _:b10 ;
80 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 63 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
81 - sp:subject _:b8 64 + sp:subject _:b1
82 ] [ sp:object _:b11 ; 65 ] [ sp:object _:b11 ;
83 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 66 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
84 - sp:subject _:b8 67 + sp:subject _:b1
85 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; 68 ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
86 sp:predicate rdf:type ; 69 sp:predicate rdf:type ;
87 sp:subject _:b12 70 sp:subject _:b12
...@@ -90,7 +73,7 @@ ...@@ -90,7 +73,7 @@
90 sp:subject _:b12 73 sp:subject _:b12
91 ] [ sp:object _:b12 ; 74 ] [ sp:object _:b12 ;
92 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 75 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
93 - sp:subject _:b8 76 + sp:subject _:b1
94 ]) ; 77 ]) ;
95 sp:where ([ sp:object _:b14 ; 78 sp:where ([ sp:object _:b14 ;
96 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 79 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
...@@ -99,16 +82,43 @@ ...@@ -99,16 +82,43 @@
99 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 82 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
100 sp:subject spin:_this 83 sp:subject spin:_this
101 ] [ sp:object _:b16 ; 84 ] [ sp:object _:b16 ;
102 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 85 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#fluid> ;
103 sp:subject spin:_this 86 sp:subject spin:_this
104 ] [ sp:object _:b17 ; 87 ] [ sp:object _:b17 ;
105 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 88 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
106 sp:subject _:b16 89 sp:subject _:b16
90 + ] [ sp:object _:b3 ;
91 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTim> ;
92 + sp:subject _:b16
107 ] [ sp:object _:b10 ; 93 ] [ sp:object _:b10 ;
108 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 94 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#type> ;
95 + sp:subject _:b16
96 + ] [ sp:object _:b4 ;
97 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#pv> ;
98 + sp:subject _:b16
99 + ] [ sp:object _:b7 ;
100 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
101 + sp:subject _:b16
102 + ] [ rdf:type sp:Optional ;
103 + sp:elements ([ sp:object _:b8 ;
104 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#MudClass> ;
105 + sp:subject _:b16
106 + ])
107 + ] [ rdf:type sp:Optional ;
108 + sp:elements ([ sp:object _:b6 ;
109 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
110 + sp:subject _:b16
111 + ])
112 + ] [ rdf:type sp:Optional ;
113 + sp:elements ([ sp:object _:b5 ;
114 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#yp> ;
109 sp:subject _:b16 115 sp:subject _:b16
116 + ])
110 ] [ sp:object _:b11 ; 117 ] [ sp:object _:b11 ;
111 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; 118 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#density> ;
119 + sp:subject _:b16
120 + ] [ sp:object _:b9 ;
121 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#presBopRating> ;
112 sp:subject _:b16 122 sp:subject _:b16
113 ] [ rdf:type sp:Bind ; 123 ] [ rdf:type sp:Bind ;
114 sp:expression 124 sp:expression
...@@ -120,10 +130,10 @@ ...@@ -120,10 +130,10 @@
120 sp:expression 130 sp:expression
121 [ rdf:type ep-spin-lib:buildPartActivityURI ; 131 [ rdf:type ep-spin-lib:buildPartActivityURI ;
122 sp:arg1 _:b18 ; 132 sp:arg1 _:b18 ;
123 - sp:arg2 _:b10 ; 133 + sp:arg2 _:b3 ;
124 sp:arg3 _:b17 134 sp:arg3 _:b17
125 ] ; 135 ] ;
126 - sp:variable _:b8 136 + sp:variable _:b1
127 ] [ rdf:type sp:Bind ; 137 ] [ rdf:type sp:Bind ;
128 sp:expression 138 sp:expression
129 [ rdf:type rhspin:wellBoreByName ; 139 [ rdf:type rhspin:wellBoreByName ;
...@@ -136,22 +146,22 @@ ...@@ -136,22 +146,22 @@
136 sp:arg1 _:b18 ; 146 sp:arg1 _:b18 ;
137 sp:arg2 _:b15 147 sp:arg2 _:b15
138 ] ; 148 ] ;
139 - sp:variable _:b9 149 + sp:variable _:b2
140 ] [ rdf:type sp:Bind ; 150 ] [ rdf:type sp:Bind ;
141 sp:expression 151 sp:expression
142 [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; 152 [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
143 sp:arg1 _:b18 ; 153 sp:arg1 _:b18 ;
144 - sp:arg2 _:b10 ; 154 + sp:arg2 _:b3 ;
145 - sp:arg3 _:b11 155 + sp:arg3 _:b3
146 ] ; 156 ] ;
147 sp:variable _:b12 157 sp:variable _:b12
148 ]) 158 ])
149 ] ; 159 ] ;
150 spin:rule 160 spin:rule
151 [ rdf:type sp:Construct ; 161 [ rdf:type sp:Construct ;
152 - rdfs:comment "STEP 128 Transfer md"^^xsd:string ; 162 + rdfs:comment "STEP 132 Transfer status"^^xsd:string ;
153 sp:templates ([ sp:object _:b19 ; 163 sp:templates ([ sp:object _:b19 ;
154 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 164 + sp:predicate rdf:type ;
155 sp:subject _:b20 165 sp:subject _:b20
156 ]) ; 166 ]) ;
157 sp:where ([ sp:object _:b21 ; 167 sp:where ([ sp:object _:b21 ;
...@@ -166,12 +176,9 @@ ...@@ -166,12 +176,9 @@
166 ] [ sp:object _:b24 ; 176 ] [ sp:object _:b24 ;
167 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 177 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
168 sp:subject _:b22 178 sp:subject _:b22
169 - ] [ sp:object _:b19 ; 179 + ] [ sp:object _:b25 ;
170 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ; 180 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumState> ;
171 sp:subject _:b22 181 sp:subject _:b22
172 - ] [ sp:object _:b20 ;
173 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
174 - sp:subject _:b25
175 ] [ rdf:type sp:Bind ; 182 ] [ rdf:type sp:Bind ;
176 sp:expression 183 sp:expression
177 [ rdf:type ep-spin-lib:normalizeString ; 184 [ rdf:type ep-spin-lib:normalizeString ;
...@@ -185,14 +192,20 @@ ...@@ -185,14 +192,20 @@
185 sp:arg2 _:b24 ; 192 sp:arg2 _:b24 ;
186 sp:arg3 _:b23 193 sp:arg3 _:b23
187 ] ; 194 ] ;
188 - sp:variable _:b25 195 + sp:variable _:b20
196 + ] [ rdf:type sp:Bind ;
197 + sp:expression
198 + [ rdf:type ep-spin-lib:selectActivitySuccessType ;
199 + sp:arg1 _:b25
200 + ] ;
201 + sp:variable _:b19
189 ]) 202 ])
190 ] ; 203 ] ;
191 spin:rule 204 spin:rule
192 [ rdf:type sp:Construct ; 205 [ rdf:type sp:Construct ;
193 - rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ; 206 + rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ;
194 sp:templates ([ sp:object _:b27 ; 207 sp:templates ([ sp:object _:b27 ;
195 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; 208 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
196 sp:subject _:b28 209 sp:subject _:b28
197 ]) ; 210 ]) ;
198 sp:where ([ sp:object _:b29 ; 211 sp:where ([ sp:object _:b29 ;
...@@ -208,7 +221,7 @@ ...@@ -208,7 +221,7 @@
208 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 221 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
209 sp:subject _:b30 222 sp:subject _:b30
210 ] [ sp:object _:b27 ; 223 ] [ sp:object _:b27 ;
211 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ; 224 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ;
212 sp:subject _:b30 225 sp:subject _:b30
213 ] [ sp:object _:b28 ; 226 ] [ sp:object _:b28 ;
214 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 227 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
...@@ -275,9 +288,9 @@ ...@@ -275,9 +288,9 @@
275 ] ; 288 ] ;
276 spin:rule 289 spin:rule
277 [ rdf:type sp:Construct ; 290 [ rdf:type sp:Construct ;
278 - rdfs:comment "STEP 131 Transfer mdHoleStart"^^xsd:string ; 291 + rdfs:comment "STEP 129 Transfer tvd"^^xsd:string ;
279 sp:templates ([ sp:object _:b43 ; 292 sp:templates ([ sp:object _:b43 ;
280 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ; 293 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
281 sp:subject _:b44 294 sp:subject _:b44
282 ]) ; 295 ]) ;
283 sp:where ([ sp:object _:b45 ; 296 sp:where ([ sp:object _:b45 ;
...@@ -293,7 +306,7 @@ ...@@ -293,7 +306,7 @@
293 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 306 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
294 sp:subject _:b46 307 sp:subject _:b46
295 ] [ sp:object _:b43 ; 308 ] [ sp:object _:b43 ;
296 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#mdHoleStart> ; 309 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#tvd> ;
297 sp:subject _:b46 310 sp:subject _:b46
298 ] [ sp:object _:b44 ; 311 ] [ sp:object _:b44 ;
299 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 312 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
...@@ -316,9 +329,9 @@ ...@@ -316,9 +329,9 @@
316 ] ; 329 ] ;
317 spin:rule 330 spin:rule
318 [ rdf:type sp:Construct ; 331 [ rdf:type sp:Construct ;
319 - rdfs:comment "STEP 132 Transfer status"^^xsd:string ; 332 + rdfs:comment "STEP 128 Transfer md"^^xsd:string ;
320 sp:templates ([ sp:object _:b51 ; 333 sp:templates ([ sp:object _:b51 ;
321 - sp:predicate rdf:type ; 334 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
322 sp:subject _:b52 335 sp:subject _:b52
323 ]) ; 336 ]) ;
324 sp:where ([ sp:object _:b53 ; 337 sp:where ([ sp:object _:b53 ;
...@@ -333,9 +346,12 @@ ...@@ -333,9 +346,12 @@
333 ] [ sp:object _:b56 ; 346 ] [ sp:object _:b56 ;
334 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 347 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
335 sp:subject _:b54 348 sp:subject _:b54
336 - ] [ sp:object _:b57 ; 349 + ] [ sp:object _:b51 ;
337 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumState> ; 350 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#md> ;
338 sp:subject _:b54 351 sp:subject _:b54
352 + ] [ sp:object _:b52 ;
353 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
354 + sp:subject _:b57
339 ] [ rdf:type sp:Bind ; 355 ] [ rdf:type sp:Bind ;
340 sp:expression 356 sp:expression
341 [ rdf:type ep-spin-lib:normalizeString ; 357 [ rdf:type ep-spin-lib:normalizeString ;
...@@ -349,57 +365,169 @@ ...@@ -349,57 +365,169 @@
349 sp:arg2 _:b56 ; 365 sp:arg2 _:b56 ;
350 sp:arg3 _:b55 366 sp:arg3 _:b55
351 ] ; 367 ] ;
352 - sp:variable _:b52 368 + sp:variable _:b57
369 + ])
370 + ] ;
371 + spin:rule
372 + [ rdf:type sp:Construct ;
373 + rdfs:comment "STEP 127 Create part activity and temporal part of WellBore"^^xsd:string ;
374 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
375 + sp:predicate rdf:type ;
376 + sp:subject _:b59
377 + ] [ sp:object _:b59 ;
378 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
379 + sp:subject _:b60
380 + ] [ sp:object _:b61 ;
381 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
382 + sp:subject _:b59
383 + ] [ sp:object _:b62 ;
384 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
385 + sp:subject _:b59
386 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ;
387 + sp:predicate rdf:type ;
388 + sp:subject _:b63
389 + ] [ sp:object _:b64 ;
390 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
391 + sp:subject _:b63
392 + ] [ sp:object _:b63 ;
393 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
394 + sp:subject _:b59
395 + ]) ;
396 + sp:where ([ sp:object _:b65 ;
397 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
398 + sp:subject spin:_this
399 + ] [ sp:object _:b66 ;
400 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
401 + sp:subject spin:_this
402 + ] [ sp:object _:b67 ;
403 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
404 + sp:subject spin:_this
405 + ] [ sp:object _:b68 ;
406 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
407 + sp:subject _:b67
408 + ] [ sp:object _:b61 ;
409 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
410 + sp:subject _:b67
411 + ] [ sp:object _:b62 ;
412 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ;
413 + sp:subject _:b67
353 ] [ rdf:type sp:Bind ; 414 ] [ rdf:type sp:Bind ;
354 sp:expression 415 sp:expression
355 - [ rdf:type ep-spin-lib:selectActivitySuccessType ; 416 + [ rdf:type ep-spin-lib:normalizeString ;
356 - sp:arg1 _:b57 417 + sp:arg1 _:b65
418 + ] ;
419 + sp:variable _:b69
420 + ] [ rdf:type sp:Bind ;
421 + sp:expression
422 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
423 + sp:arg1 _:b69 ;
424 + sp:arg2 _:b61 ;
425 + sp:arg3 _:b68
426 + ] ;
427 + sp:variable _:b59
428 + ] [ rdf:type sp:Bind ;
429 + sp:expression
430 + [ rdf:type rhspin:wellBoreByName ;
431 + arg:wellBoreName _:b65
432 + ] ;
433 + sp:variable _:b64
434 + ] [ rdf:type sp:Bind ;
435 + sp:expression
436 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
437 + sp:arg1 _:b69 ;
438 + sp:arg2 _:b66
439 + ] ;
440 + sp:variable _:b60
441 + ] [ rdf:type sp:Bind ;
442 + sp:expression
443 + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ;
444 + sp:arg1 _:b69 ;
445 + sp:arg2 _:b61 ;
446 + sp:arg3 _:b62
447 + ] ;
448 + sp:variable _:b63
449 + ])
450 + ] ;
451 + spin:rule
452 + [ rdf:type sp:Construct ;
453 + rdfs:comment "STEP 134 Transfer comments"^^xsd:string ;
454 + sp:templates ([ sp:object _:b70 ;
455 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
456 + sp:subject _:b71
457 + ]) ;
458 + sp:where ([ sp:object _:b72 ;
459 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
460 + sp:subject spin:_this
461 + ] [ sp:object _:b73 ;
462 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
463 + sp:subject spin:_this
464 + ] [ sp:object _:b74 ;
465 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
466 + sp:subject _:b73
467 + ] [ sp:object _:b75 ;
468 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
469 + sp:subject _:b73
470 + ] [ sp:object _:b70 ;
471 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#comments> ;
472 + sp:subject _:b73
473 + ] [ rdf:type sp:Bind ;
474 + sp:expression
475 + [ rdf:type ep-spin-lib:normalizeString ;
476 + sp:arg1 _:b72
477 + ] ;
478 + sp:variable _:b76
479 + ] [ rdf:type sp:Bind ;
480 + sp:expression
481 + [ rdf:type ep-spin-lib:buildPartActivityURI ;
482 + sp:arg1 _:b76 ;
483 + sp:arg2 _:b75 ;
484 + sp:arg3 _:b74
357 ] ; 485 ] ;
358 - sp:variable _:b51 486 + sp:variable _:b71
359 ]) 487 ])
360 ] ; 488 ] ;
361 spin:rule 489 spin:rule
362 [ rdf:type sp:Construct ; 490 [ rdf:type sp:Construct ;
363 rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ; 491 rdfs:comment "STEP 133 Transfer stateDetailActivity"^^xsd:string ;
364 - sp:templates ([ sp:object _:b59 ; 492 + sp:templates ([ sp:object _:b77 ;
365 sp:predicate rdf:type ; 493 sp:predicate rdf:type ;
366 - sp:subject _:b60 494 + sp:subject _:b78
367 ]) ; 495 ]) ;
368 - sp:where ([ sp:object _:b61 ; 496 + sp:where ([ sp:object _:b79 ;
369 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 497 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
370 sp:subject spin:_this 498 sp:subject spin:_this
371 - ] [ sp:object _:b62 ; 499 + ] [ sp:object _:b80 ;
372 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ; 500 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#activity> ;
373 sp:subject spin:_this 501 sp:subject spin:_this
374 - ] [ sp:object _:b63 ; 502 + ] [ sp:object _:b81 ;
375 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ; 503 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#index> ;
376 - sp:subject _:b62 504 + sp:subject _:b80
377 - ] [ sp:object _:b64 ; 505 + ] [ sp:object _:b82 ;
378 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; 506 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
379 - sp:subject _:b62 507 + sp:subject _:b80
380 - ] [ sp:object _:b65 ; 508 + ] [ sp:object _:b83 ;
381 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumStateDetailActivity> ; 509 sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumStateDetailActivity> ;
382 - sp:subject _:b62 510 + sp:subject _:b80
383 ] [ rdf:type sp:Bind ; 511 ] [ rdf:type sp:Bind ;
384 sp:expression 512 sp:expression
385 [ rdf:type ep-spin-lib:normalizeString ; 513 [ rdf:type ep-spin-lib:normalizeString ;
386 - sp:arg1 _:b61 514 + sp:arg1 _:b79
387 ] ; 515 ] ;
388 - sp:variable _:b66 516 + sp:variable _:b84
389 ] [ rdf:type sp:Bind ; 517 ] [ rdf:type sp:Bind ;
390 sp:expression 518 sp:expression
391 [ rdf:type ep-spin-lib:buildPartActivityURI ; 519 [ rdf:type ep-spin-lib:buildPartActivityURI ;
392 - sp:arg1 _:b66 ; 520 + sp:arg1 _:b84 ;
393 - sp:arg2 _:b64 ; 521 + sp:arg2 _:b82 ;
394 - sp:arg3 _:b63 522 + sp:arg3 _:b81
395 ] ; 523 ] ;
396 - sp:variable _:b60 524 + sp:variable _:b78
397 ] [ rdf:type sp:Bind ; 525 ] [ rdf:type sp:Bind ;
398 sp:expression 526 sp:expression
399 [ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ; 527 [ rdf:type ep-spin-lib:selectDrillingActivityOutcomeType ;
400 - sp:arg1 _:b65 528 + sp:arg1 _:b83
401 ] ; 529 ] ;
402 - sp:variable _:b59 530 + sp:variable _:b77
403 ]) 531 ])
404 ] . 532 ] .
405 533
...@@ -408,191 +536,245 @@ ...@@ -408,191 +536,245 @@
408 owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <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> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> ; 536 owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <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> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
409 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 537 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
410 538
411 -_:b2 sp:varName "partActivity"^^xsd:string . 539 +_:b14
540 + sp:varName "nameWellBore"^^xsd:string .
412 541
413 -_:b7 sp:varName "normalizedWellBoreName"^^xsd:string . 542 +_:b15
543 + sp:varName "dTimStart"^^xsd:string .
414 544
415 -_:b1 sp:varName "comments"^^xsd:string . 545 +_:b16
546 + sp:varName "fluid"^^xsd:string .
416 547
417 -_:b6 sp:varName "dTimStartPart"^^xsd:string . 548 +_:b17
549 + sp:varName "index"^^xsd:string .
418 550
419 -_:b5 sp:varName "index"^^xsd:string . 551 +_:b3 sp:varName "dTimStartPart"^^xsd:string .
420 552
421 -_:b4 sp:varName "activity"^^xsd:string . 553 +_:b10
554 + sp:varName "type"^^xsd:string .
422 555
423 -_:b3 sp:varName "nameWellBore"^^xsd:string . 556 +_:b4 sp:varName "pv"^^xsd:string .
424 557
425 -_:b18 558 +_:b7 sp:varName "md"^^xsd:string .
426 - sp:varName "normalizedWellBoreName"^^xsd:string .
427 559
428 -_:b17 560 +_:b8 sp:varName "mud"^^xsd:string .
429 - sp:varName "index"^^xsd:string .
430 561
431 -_:b16 562 +_:b6 sp:varName "tvd"^^xsd:string .
432 - sp:varName "activity"^^xsd:string .
433 563
434 -_:b15 564 +_:b5 sp:varName "yp"^^xsd:string .
435 - sp:varName "dTimStart"^^xsd:string .
436 565
437 -_:b14 566 +_:b11
438 - sp:varName "nameWellBore"^^xsd:string . 567 + sp:varName "density"^^xsd:string .
568 +
569 +_:b9 sp:varName "presBopRating"^^xsd:string .
570 +
571 +_:b18
572 + sp:varName "normalizedWellBoreName"^^xsd:string .
573 +
574 +_:b1 sp:varName "partActivity"^^xsd:string .
439 575
440 _:b13 576 _:b13
441 sp:varName "wellBore"^^xsd:string . 577 sp:varName "wellBore"^^xsd:string .
442 578
579 +_:b2 sp:varName "dailyDrillingActivity"^^xsd:string .
580 +
443 _:b12 581 _:b12
444 sp:varName "temporalPartOfAWellBore"^^xsd:string . 582 sp:varName "temporalPartOfAWellBore"^^xsd:string .
445 583
446 -_:b11 584 +_:b70
447 - sp:varName "dTimEndPart"^^xsd:string . 585 + sp:varName "comments"^^xsd:string .
448 586
449 -_:b10 587 +_:b71
450 - sp:varName "dTimStartPart"^^xsd:string . 588 + sp:varName "partActivity"^^xsd:string .
451 589
452 -_:b9 sp:varName "dailyDrillingActivity"^^xsd:string . 590 +_:b72
591 + sp:varName "nameWellBore"^^xsd:string .
453 592
454 -_:b8 sp:varName "partActivity"^^xsd:string . 593 +_:b73
594 + sp:varName "activity"^^xsd:string .
455 595
456 -_:b26 596 +_:b74
597 + sp:varName "index"^^xsd:string .
598 +
599 +_:b75
600 + sp:varName "dTimStartPart"^^xsd:string .
601 +
602 +_:b76
457 sp:varName "normalizedWellBoreName"^^xsd:string . 603 sp:varName "normalizedWellBoreName"^^xsd:string .
458 604
459 -_:b25 605 +_:b59
460 sp:varName "partActivity"^^xsd:string . 606 sp:varName "partActivity"^^xsd:string .
461 607
462 -_:b24 608 +_:b60
609 + sp:varName "dailyDrillingActivity"^^xsd:string .
610 +
611 +_:b61
463 sp:varName "dTimStartPart"^^xsd:string . 612 sp:varName "dTimStartPart"^^xsd:string .
464 613
465 -_:b23 614 +_:b62
466 - sp:varName "index"^^xsd:string . 615 + sp:varName "dTimEndPart"^^xsd:string .
467 616
468 -_:b22 617 +_:b63
469 - sp:varName "activity"^^xsd:string . 618 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
470 619
471 -_:b21 620 +_:b64
621 + sp:varName "wellBore"^^xsd:string .
622 +
623 +_:b65
472 sp:varName "nameWellBore"^^xsd:string . 624 sp:varName "nameWellBore"^^xsd:string .
473 625
474 -_:b20 626 +_:b66
475 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 627 + sp:varName "dTimStart"^^xsd:string .
476 628
477 -_:b19 629 +_:b67
478 - sp:varName "md"^^xsd:string . 630 + sp:varName "activity"^^xsd:string .
479 631
480 -_:b34 632 +_:b68
633 + sp:varName "index"^^xsd:string .
634 +
635 +_:b69
481 sp:varName "normalizedWellBoreName"^^xsd:string . 636 sp:varName "normalizedWellBoreName"^^xsd:string .
482 637
483 -_:b33 638 +_:b51
484 - sp:varName "partActivity"^^xsd:string . 639 + sp:varName "md"^^xsd:string .
485 640
486 -_:b32 641 +_:b52
487 - sp:varName "dTimStartPart"^^xsd:string . 642 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
488 643
489 -_:b31 644 +_:b53
490 - sp:varName "index"^^xsd:string . 645 + sp:varName "nameWellBore"^^xsd:string .
491 646
492 -_:b30 647 +_:b54
493 sp:varName "activity"^^xsd:string . 648 sp:varName "activity"^^xsd:string .
494 649
495 -_:b29 650 +_:b55
496 - sp:varName "nameWellBore"^^xsd:string . 651 + sp:varName "index"^^xsd:string .
497 652
498 -_:b28 653 +_:b56
499 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 654 + sp:varName "dTimStartPart"^^xsd:string .
500 655
501 -_:b27 656 +_:b57
502 - sp:varName "tvd"^^xsd:string . 657 + sp:varName "partActivity"^^xsd:string .
503 658
504 -_:b42 659 +_:b58
505 sp:varName "normalizedWellBoreName"^^xsd:string . 660 sp:varName "normalizedWellBoreName"^^xsd:string .
506 661
507 -_:b41 662 +_:b43
508 - sp:varName "proprietaryCode"^^xsd:string . 663 + sp:varName "tvd"^^xsd:string .
509 664
510 -_:b40 665 +_:b44
511 - sp:varName "dTimStartPart"^^xsd:string . 666 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
512 667
513 -_:b39 668 +_:b45
514 - sp:varName "index"^^xsd:string . 669 + sp:varName "nameWellBore"^^xsd:string .
515 670
516 -_:b38 671 +_:b46
517 sp:varName "activity"^^xsd:string . 672 sp:varName "activity"^^xsd:string .
518 673
519 -_:b37 674 +_:b47
520 - sp:varName "nameWellBore"^^xsd:string . 675 + sp:varName "index"^^xsd:string .
521 676
522 -_:b36 677 +_:b48
523 - sp:varName "partActivity"^^xsd:string . 678 + sp:varName "dTimStartPart"^^xsd:string .
524 679
525 -_:b35 680 +_:b49
526 - sp:varName "drillingActivityPurposeType"^^xsd:string . 681 + sp:varName "partActivity"^^xsd:string .
527 682
528 _:b50 683 _:b50
529 sp:varName "normalizedWellBoreName"^^xsd:string . 684 sp:varName "normalizedWellBoreName"^^xsd:string .
530 685
531 -_:b49 686 +_:b35
532 - sp:varName "partActivity"^^xsd:string . 687 + sp:varName "drillingActivityPurposeType"^^xsd:string .
533 688
534 -_:b48 689 +_:b36
535 - sp:varName "dTimStartPart"^^xsd:string . 690 + sp:varName "partActivity"^^xsd:string .
536 691
537 -_:b47 692 +_:b37
538 - sp:varName "index"^^xsd:string . 693 + sp:varName "nameWellBore"^^xsd:string .
539 694
540 -_:b46 695 +_:b38
541 sp:varName "activity"^^xsd:string . 696 sp:varName "activity"^^xsd:string .
542 697
543 -_:b45 698 +_:b39
544 - sp:varName "nameWellBore"^^xsd:string . 699 + sp:varName "index"^^xsd:string .
545 700
546 -_:b44 701 +_:b40
547 - sp:varName "temporalPartOfAWellBore"^^xsd:string . 702 + sp:varName "dTimStartPart"^^xsd:string .
548 703
549 -_:b43 704 +_:b41
550 - sp:varName "mdHoleStart"^^xsd:string . 705 + sp:varName "proprietaryCode"^^xsd:string .
551 706
552 -_:b58 707 +_:b42
553 sp:varName "normalizedWellBoreName"^^xsd:string . 708 sp:varName "normalizedWellBoreName"^^xsd:string .
554 709
555 -_:b57 710 +_:b27
556 - sp:varName "state"^^xsd:string . 711 + sp:varName "mdHoleStart"^^xsd:string .
557 712
558 -_:b56 713 +_:b28
559 - sp:varName "dTimStartPart"^^xsd:string . 714 + sp:varName "temporalPartOfAWellBore"^^xsd:string .
560 715
561 -_:b55 716 +_:b29
562 - sp:varName "index"^^xsd:string . 717 + sp:varName "nameWellBore"^^xsd:string .
563 718
564 -_:b54 719 +_:b30
565 sp:varName "activity"^^xsd:string . 720 sp:varName "activity"^^xsd:string .
566 721
567 -_:b53 722 +_:b31
568 - sp:varName "nameWellBore"^^xsd:string . 723 + sp:varName "index"^^xsd:string .
569 724
570 -_:b52 725 +_:b32
726 + sp:varName "dTimStartPart"^^xsd:string .
727 +
728 +_:b33
571 sp:varName "partActivity"^^xsd:string . 729 sp:varName "partActivity"^^xsd:string .
572 730
573 -_:b51 731 +_:b34
732 + sp:varName "normalizedWellBoreName"^^xsd:string .
733 +
734 +_:b19
574 sp:varName "activitySuccessType"^^xsd:string . 735 sp:varName "activitySuccessType"^^xsd:string .
575 736
576 -_:b66 737 +_:b20
577 - sp:varName "normalizedWellBoreName"^^xsd:string . 738 + sp:varName "partActivity"^^xsd:string .
578 739
579 -_:b65 740 +_:b21
580 - sp:varName "stateDetailActivity"^^xsd:string . 741 + sp:varName "nameWellBore"^^xsd:string .
581 742
582 -_:b64 743 +_:b22
583 - sp:varName "dTimStartPart"^^xsd:string . 744 + sp:varName "activity"^^xsd:string .
584 745
585 -_:b63 746 +_:b23
586 sp:varName "index"^^xsd:string . 747 sp:varName "index"^^xsd:string .
587 748
588 -_:b62 749 +_:b24
589 - sp:varName "activity"^^xsd:string . 750 + sp:varName "dTimStartPart"^^xsd:string .
590 751
591 -_:b61 752 +_:b25
592 - sp:varName "nameWellBore"^^xsd:string . 753 + sp:varName "state"^^xsd:string .
593 754
594 -_:b60 755 +_:b26
595 - sp:varName "partActivity"^^xsd:string . 756 + sp:varName "normalizedWellBoreName"^^xsd:string .
596 757
597 -_:b59 758 +_:b77
598 sp:varName "drillingActivityOutcomeType"^^xsd:string . 759 sp:varName "drillingActivityOutcomeType"^^xsd:string .
760 +
761 +_:b78
762 + sp:varName "partActivity"^^xsd:string .
763 +
764 +_:b79
765 + sp:varName "nameWellBore"^^xsd:string .
766 +
767 +_:b80
768 + sp:varName "activity"^^xsd:string .
769 +
770 +_:b81
771 + sp:varName "index"^^xsd:string .
772 +
773 +_:b82
774 + sp:varName "dTimStartPart"^^xsd:string .
775 +
776 +_:b83
777 + sp:varName "stateDetailActivity"^^xsd:string .
778 +
779 +_:b84
780 + sp:varName "normalizedWellBoreName"^^xsd:string .
......
1 -# Saved by TopBraid on Fri Aug 12 23:21:25 PDT 2011 1 +# Saved by TopBraid on Mon Aug 15 01:26:41 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr 2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr
3 # imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias 3 # imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
4 # imports: http://www.reportinghub.no/ep/schema/1.0/report 4 # imports: http://www.reportinghub.no/ep/schema/1.0/report
...@@ -41,7 +41,7 @@ ddr:Cs_activity ...@@ -41,7 +41,7 @@ ddr:Cs_activity
41 sxml:element "witsml:activity"^^xsd:string . 41 sxml:element "witsml:activity"^^xsd:string .
42 42
43 ddr:Cs_alias 43 ddr:Cs_alias
44 - sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string . 44 + sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" .
45 45
46 ddr:Cs_bitRecord 46 ddr:Cs_bitRecord
47 sxml:element "witsml:bitRecord" . 47 sxml:element "witsml:bitRecord" .
...@@ -89,7 +89,7 @@ ddr:Cs_drillReportPorePressure ...@@ -89,7 +89,7 @@ ddr:Cs_drillReportPorePressure
89 sxml:element "witsml:drillReportPorePressure" . 89 sxml:element "witsml:drillReportPorePressure" .
90 90
91 ddr:Cs_drillReportStatusInfo 91 ddr:Cs_drillReportStatusInfo
92 - sxml:element "witsml:drillReportStatusInfo" , "witsml:statusInfo"^^xsd:string . 92 + sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" .
93 93
94 ddr:Cs_drillReportStratInfo 94 ddr:Cs_drillReportStratInfo
95 sxml:element "witsml:drillReportStratInfo" . 95 sxml:element "witsml:drillReportStratInfo" .
...@@ -104,6 +104,15 @@ ddr:Cs_drillReportWellboreInfo ...@@ -104,6 +104,15 @@ ddr:Cs_drillReportWellboreInfo
104 sxml:element "witsml:wellboreInfo"^^xsd:string . 104 sxml:element "witsml:wellboreInfo"^^xsd:string .
105 105
106 ddr:Cs_fluid 106 ddr:Cs_fluid
107 + spin:rule
108 + [ rdf:type sp:Construct ;
109 + rdfs:comment "STEP 031 - Construct ep-activity fluid statements"^^xsd:string ;
110 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#FluidActivity> ;
111 + sp:predicate rdf:type ;
112 + sp:subject spin:_this
113 + ]) ;
114 + sp:where ()
115 + ] ;
107 sxml:element "witsml:fluid" . 116 sxml:element "witsml:fluid" .
108 117
109 ddr:Cs_geodeticModel 118 ddr:Cs_geodeticModel
...@@ -125,7 +134,7 @@ ddr:Cs_refWellWellboreRig ...@@ -125,7 +134,7 @@ ddr:Cs_refWellWellboreRig
125 sxml:element "witsml:refWellWellboreRig" . 134 sxml:element "witsml:refWellWellboreRig" .
126 135
127 ddr:Cs_wellAlias 136 ddr:Cs_wellAlias
128 - sxml:element "witsml:wellAlias"^^xsd:string , "witsml:wellboreAlias"^^xsd:string . 137 + sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias"^^xsd:string .
129 138
130 ddr:Cs_wellCRS 139 ddr:Cs_wellCRS
131 sxml:element "witsml:wellCRS" . 140 sxml:element "witsml:wellCRS" .
...@@ -142,210 +151,238 @@ ddr:Obj_drillReport ...@@ -142,210 +151,238 @@ ddr:Obj_drillReport
142 ddr:Thing 151 ddr:Thing
143 spin:rule 152 spin:rule
144 [ rdf:type sp:Construct ; 153 [ rdf:type sp:Construct ;
145 - rdfs:comment "STEP 009 - Construct all datatype values"^^xsd:string ; 154 + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
146 sp:templates ([ sp:object _:b1 ; 155 sp:templates ([ sp:object _:b1 ;
147 - sp:predicate _:b2 ; 156 + sp:predicate rdf:type ;
157 + sp:subject _:b2
158 + ] [ sp:object _:b3 ;
159 + sp:predicate ddr:uom ;
160 + sp:subject _:b2
161 + ] [ sp:object _:b4 ;
162 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
163 + sp:subject _:b2
164 + ] [ sp:object _:b2 ;
165 + sp:predicate _:b5 ;
148 sp:subject spin:_this 166 sp:subject spin:_this
149 ] [ sp:object rdf:Statement ; 167 ] [ sp:object rdf:Statement ;
150 sp:predicate rdf:type ; 168 sp:predicate rdf:type ;
151 - sp:subject _:b3 169 + sp:subject _:b6
152 ] [ sp:object spin:_this ; 170 ] [ sp:object spin:_this ;
153 sp:predicate rdf:subject ; 171 sp:predicate rdf:subject ;
154 - sp:subject _:b3 172 + sp:subject _:b6
155 - ] [ sp:object _:b2 ; 173 + ] [ sp:object _:b5 ;
156 sp:predicate rdf:predicate ; 174 sp:predicate rdf:predicate ;
157 - sp:subject _:b3 175 + sp:subject _:b6
158 - ] [ sp:object _:b1 ; 176 + ] [ sp:object _:b4 ;
159 sp:predicate rdf:object ; 177 sp:predicate rdf:object ;
160 - sp:subject _:b3 178 + sp:subject _:b6
161 - ] [ sp:object _:b3 ; 179 + ] [ sp:object _:b6 ;
162 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 180 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
163 - sp:subject _:b4 181 + sp:subject _:b7
164 ]) ; 182 ]) ;
165 - sp:where ([ sp:object _:b4 ; 183 + sp:where ([ sp:object _:b7 ;
166 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 184 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
167 sp:subject spin:_this 185 sp:subject spin:_this
168 - ] [ sp:object _:b5 ; 186 + ] [ sp:object _:b8 ;
169 sp:predicate rdf:type ; 187 sp:predicate rdf:type ;
170 - sp:subject _:b4 188 + sp:subject _:b7
189 + ] [ sp:object _:b3 ;
190 + sp:predicate ddr:uom ;
191 + sp:subject _:b7
171 ] [ rdf:type sp:NotExists ; 192 ] [ rdf:type sp:NotExists ;
172 sp:elements ([ sp:object 193 sp:elements ([ sp:object
173 [ sp:varName "aNode"^^xsd:string 194 [ sp:varName "aNode"^^xsd:string
174 ] ; 195 ] ;
175 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 196 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
176 - sp:subject _:b4 197 + sp:subject _:b7
177 ]) 198 ])
178 ] [ rdf:type sp:Bind ; 199 ] [ rdf:type sp:Bind ;
179 sp:expression 200 sp:expression
180 [ rdf:type afn:localname ; 201 [ rdf:type afn:localname ;
181 - sp:arg1 _:b5 202 + sp:arg1 _:b8
182 ] ; 203 ] ;
183 - sp:variable _:b6 204 + sp:variable _:b9
184 ] [ rdf:type sp:Bind ; 205 ] [ rdf:type sp:Bind ;
185 sp:expression 206 sp:expression
186 [ rdf:type smf:buildURI ; 207 [ rdf:type smf:buildURI ;
187 sp:arg1 [ rdf:type fn:concat ; 208 sp:arg1 [ rdf:type fn:concat ;
188 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 209 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
189 - sp:arg2 _:b6 210 + sp:arg2 _:b9
190 ] 211 ]
191 ] ; 212 ] ;
192 - sp:variable _:b2 213 + sp:variable _:b5
193 - ] [ sp:object owl:DatatypeProperty ; 214 + ] [ sp:object owl:ObjectProperty ;
194 sp:predicate rdf:type ; 215 sp:predicate rdf:type ;
195 - sp:subject _:b2 216 + sp:subject _:b5
196 - ] [ sp:object _:b2 ; 217 + ] [ sp:object _:b5 ;
197 sp:predicate owl:onProperty ; 218 sp:predicate owl:onProperty ;
198 - sp:subject _:b7 219 + sp:subject _:b10
199 - ] [ sp:object _:b8 ; 220 + ] [ sp:object _:b1 ;
200 sp:predicate owl:allValuesFrom ; 221 sp:predicate owl:allValuesFrom ;
201 - sp:subject _:b7 222 + sp:subject _:b10
202 - ] [ sp:object rdfs:Datatype ; 223 + ] [ sp:object _:b11 ;
203 sp:predicate rdf:type ; 224 sp:predicate rdf:type ;
204 - sp:subject _:b8 225 + sp:subject spin:_this
205 ] [ rdf:type sp:TriplePath ; 226 ] [ rdf:type sp:TriplePath ;
206 - sp:object _:b9 ; 227 + sp:object _:b10 ;
207 sp:path [ rdf:type sp:ModPath ; 228 sp:path [ rdf:type sp:ModPath ;
208 sp:modMax -2 ; 229 sp:modMax -2 ;
209 sp:modMin 0 ; 230 sp:modMin 0 ;
210 sp:subPath rdfs:subClassOf 231 sp:subPath rdfs:subClassOf
211 ] ; 232 ] ;
212 - sp:subject _:b8 233 + sp:subject _:b11
213 - ] [ rdf:type sp:Filter ; 234 + ] [ sp:object _:b12 ;
214 - sp:expression
215 - [ rdf:type sp:eq ;
216 - sp:arg1 [ rdf:type afn:namespace ;
217 - sp:arg1 _:b9
218 - ] ;
219 - sp:arg2 "http://www.w3.org/2001/XMLSchema#"
220 - ]
221 - ] [ sp:object _:b10 ;
222 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 235 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
223 - sp:subject _:b4 236 + sp:subject _:b7
224 ] [ sp:object sxml:TextNode ; 237 ] [ sp:object sxml:TextNode ;
225 sp:predicate rdf:type ; 238 sp:predicate rdf:type ;
226 - sp:subject _:b10 239 + sp:subject _:b12
227 - ] [ sp:object _:b11 ; 240 + ] [ sp:object _:b13 ;
228 sp:predicate sxml:text ; 241 sp:predicate sxml:text ;
229 - sp:subject _:b10
230 - ] [ sp:object _:b12 ;
231 - sp:predicate rdf:type ;
232 - sp:subject spin:_this
233 - ] [ rdf:type sp:TriplePath ;
234 - sp:object _:b7 ;
235 - sp:path [ rdf:type sp:ModPath ;
236 - sp:modMax -2 ;
237 - sp:modMin 0 ;
238 - sp:subPath rdfs:subClassOf
239 - ] ;
240 sp:subject _:b12 242 sp:subject _:b12
241 ] [ rdf:type sp:Bind ; 243 ] [ rdf:type sp:Bind ;
242 sp:expression 244 sp:expression
243 - [ rdf:type spif:cast ; 245 + [ rdf:type xsd:double ;
244 - arg:datatype _:b9 ; 246 + sp:arg1 _:b13
245 - sp:arg1 _:b11
246 ] ; 247 ] ;
247 - sp:variable _:b1 248 + sp:variable _:b4
248 ]) 249 ])
249 ] ; 250 ] ;
250 spin:rule 251 spin:rule
251 [ rdf:type sp:Construct ; 252 [ rdf:type sp:Construct ;
252 - rdfs:comment "STEP 020 - Construct all other object properties"^^xsd:string ; 253 + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ;
253 - sp:templates ([ sp:object _:b13 ; 254 + sp:templates ([ sp:object _:b14 ;
254 - sp:predicate _:b14 ; 255 + sp:predicate _:b15 ;
255 sp:subject spin:_this 256 sp:subject spin:_this
256 ] [ sp:object rdf:Statement ; 257 ] [ sp:object rdf:Statement ;
257 sp:predicate rdf:type ; 258 sp:predicate rdf:type ;
258 - sp:subject _:b15 259 + sp:subject _:b16
259 ] [ sp:object spin:_this ; 260 ] [ sp:object spin:_this ;
260 sp:predicate rdf:subject ; 261 sp:predicate rdf:subject ;
261 - sp:subject _:b15 262 + sp:subject _:b16
262 - ] [ sp:object _:b14 ; 263 + ] [ sp:object _:b15 ;
263 sp:predicate rdf:predicate ; 264 sp:predicate rdf:predicate ;
264 - sp:subject _:b15 265 + sp:subject _:b16
265 - ] [ sp:object _:b13 ; 266 + ] [ sp:object _:b14 ;
266 sp:predicate rdf:object ; 267 sp:predicate rdf:object ;
267 - sp:subject _:b15 268 + sp:subject _:b16
268 - ] [ sp:object _:b15 ; 269 + ] [ sp:object _:b16 ;
269 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 270 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
270 - sp:subject _:b13
271 - ]) ;
272 - sp:where ([ sp:object _:b16 ;
273 - sp:predicate owl:allValuesFrom ;
274 - sp:subject _:b17
275 - ] [ sp:object _:b14 ;
276 - sp:predicate owl:onProperty ;
277 sp:subject _:b17 271 sp:subject _:b17
278 - ] [ sp:object _:b16 ; 272 + ]) ;
279 - sp:predicate rdf:type ; 273 + sp:where ([ sp:object _:b17 ;
280 - sp:subject _:b13
281 - ] [ sp:object _:b13 ;
282 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 274 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
283 sp:subject spin:_this 275 sp:subject spin:_this
276 + ] [ sp:object _:b18 ;
277 + sp:predicate rdf:type ;
278 + sp:subject _:b17
284 ] [ rdf:type sp:NotExists ; 279 ] [ rdf:type sp:NotExists ;
285 sp:elements ([ sp:object 280 sp:elements ([ sp:object
286 - [ sp:varName "aNode"^^xsd:string 281 + [ sp:varName "uom"^^xsd:string
287 ] ; 282 ] ;
288 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 283 + sp:predicate ddr:uom ;
289 - sp:subject _:b13 284 + sp:subject _:b17
290 ]) 285 ])
291 - ] [ rdf:type sp:NotExists ; 286 + ] [ rdf:type sp:Bind ;
292 - sp:elements ([ sp:object 287 + sp:expression
293 - [ sp:varName "xmlTag"^^xsd:string 288 + [ rdf:type smf:titleCase ;
289 + sp:arg1 [ rdf:type afn:localname ;
290 + sp:arg1 _:b18
291 + ]
294 ] ; 292 ] ;
295 - sp:predicate sxml:tag ; 293 + sp:variable _:b19
296 - sp:subject _:b13 294 + ] [ rdf:type sp:Bind ;
297 - ]) 295 + sp:expression
298 - ] [ sp:object _:b18 ; 296 + [ rdf:type smf:buildURI ;
297 + sp:arg1 [ rdf:type fn:concat ;
298 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ;
299 + sp:arg2 _:b19
300 + ]
301 + ] ;
302 + sp:variable _:b15
303 + ] [ sp:object owl:ObjectProperty ;
304 + sp:predicate rdf:type ;
305 + sp:subject _:b15
306 + ] [ sp:object _:b15 ;
307 + sp:predicate owl:onProperty ;
308 + sp:subject _:b20
309 + ] [ sp:object _:b21 ;
310 + sp:predicate owl:allValuesFrom ;
311 + sp:subject _:b20
312 + ] [ sp:object _:b22 ;
299 sp:predicate rdf:type ; 313 sp:predicate rdf:type ;
300 sp:subject spin:_this 314 sp:subject spin:_this
301 ] [ rdf:type sp:TriplePath ; 315 ] [ rdf:type sp:TriplePath ;
302 - sp:object _:b17 ; 316 + sp:object _:b20 ;
303 sp:path [ rdf:type sp:ModPath ; 317 sp:path [ rdf:type sp:ModPath ;
304 sp:modMax -2 ; 318 sp:modMax -2 ;
305 sp:modMin 0 ; 319 sp:modMin 0 ;
306 sp:subPath rdfs:subClassOf 320 sp:subPath rdfs:subClassOf
307 ] ; 321 ] ;
308 - sp:subject _:b18 322 + sp:subject _:b22
323 + ] [ rdf:type sp:TriplePath ;
324 + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ;
325 + sp:path [ rdf:type sp:ModPath ;
326 + sp:modMax -2 ;
327 + sp:modMin 0 ;
328 + sp:subPath rdfs:subClassOf
329 + ] ;
330 + sp:subject _:b21
331 + ] [ sp:object _:b23 ;
332 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
333 + sp:subject _:b17
334 + ] [ sp:object sxml:TextNode ;
335 + sp:predicate rdf:type ;
336 + sp:subject _:b23
337 + ] [ sp:object _:b24 ;
338 + sp:predicate sxml:text ;
339 + sp:subject _:b23
340 + ] [ sp:object _:b21 ;
341 + sp:predicate rdf:type ;
342 + sp:subject _:b14
343 + ] [ sp:object _:b24 ;
344 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
345 + sp:subject _:b14
309 ]) 346 ])
310 ] ; 347 ] ;
311 spin:rule 348 spin:rule
312 [ rdf:type sp:Construct ; 349 [ rdf:type sp:Construct ;
313 rdfs:comment "STEP 018 - Construct all object properties that need to match on tags"^^xsd:string ; 350 rdfs:comment "STEP 018 - Construct all object properties that need to match on tags"^^xsd:string ;
314 - sp:templates ([ sp:object _:b19 ; 351 + sp:templates ([ sp:object _:b25 ;
315 - sp:predicate _:b20 ; 352 + sp:predicate _:b26 ;
316 sp:subject spin:_this 353 sp:subject spin:_this
317 ] [ sp:object rdf:Statement ; 354 ] [ sp:object rdf:Statement ;
318 sp:predicate rdf:type ; 355 sp:predicate rdf:type ;
319 - sp:subject _:b21 356 + sp:subject _:b27
320 ] [ sp:object spin:_this ; 357 ] [ sp:object spin:_this ;
321 sp:predicate rdf:subject ; 358 sp:predicate rdf:subject ;
322 - sp:subject _:b21 359 + sp:subject _:b27
323 - ] [ sp:object _:b20 ; 360 + ] [ sp:object _:b26 ;
324 sp:predicate rdf:predicate ; 361 sp:predicate rdf:predicate ;
325 - sp:subject _:b21 362 + sp:subject _:b27
326 - ] [ sp:object _:b19 ; 363 + ] [ sp:object _:b25 ;
327 sp:predicate rdf:object ; 364 sp:predicate rdf:object ;
328 - sp:subject _:b21 365 + sp:subject _:b27
329 - ] [ sp:object _:b21 ; 366 + ] [ sp:object _:b27 ;
330 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 367 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
331 - sp:subject _:b19 368 + sp:subject _:b25
332 ]) ; 369 ]) ;
333 - sp:where ([ sp:object _:b22 ; 370 + sp:where ([ sp:object _:b28 ;
334 sp:predicate owl:allValuesFrom ; 371 sp:predicate owl:allValuesFrom ;
335 - sp:subject _:b23 372 + sp:subject _:b29
336 - ] [ sp:object _:b20 ; 373 + ] [ sp:object _:b26 ;
337 sp:predicate owl:onProperty ; 374 sp:predicate owl:onProperty ;
338 - sp:subject _:b23 375 + sp:subject _:b29
339 ] [ rdf:type sp:Bind ; 376 ] [ rdf:type sp:Bind ;
340 sp:expression 377 sp:expression
341 [ rdf:type afn:localname ; 378 [ rdf:type afn:localname ;
342 - sp:arg1 _:b20 379 + sp:arg1 _:b26
343 ] ; 380 ] ;
344 - sp:variable _:b24 381 + sp:variable _:b30
345 - ] [ sp:object _:b22 ; 382 + ] [ sp:object _:b28 ;
346 sp:predicate rdf:type ; 383 sp:predicate rdf:type ;
347 - sp:subject _:b19 384 + sp:subject _:b25
348 - ] [ sp:object _:b19 ; 385 + ] [ sp:object _:b25 ;
349 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 386 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
350 sp:subject spin:_this 387 sp:subject spin:_this
351 ] [ rdf:type sp:NotExists ; 388 ] [ rdf:type sp:NotExists ;
...@@ -353,209 +390,161 @@ ddr:Thing ...@@ -353,209 +390,161 @@ ddr:Thing
353 [ sp:varName "aNode"^^xsd:string 390 [ sp:varName "aNode"^^xsd:string
354 ] ; 391 ] ;
355 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 392 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
356 - sp:subject _:b19 393 + sp:subject _:b25
357 ]) 394 ])
358 - ] [ sp:object _:b25 ; 395 + ] [ sp:object _:b31 ;
359 sp:predicate sxml:tag ; 396 sp:predicate sxml:tag ;
360 - sp:subject _:b19 397 + sp:subject _:b25
361 ] [ rdf:type sp:Bind ; 398 ] [ rdf:type sp:Bind ;
362 sp:expression 399 sp:expression
363 [ rdf:type smf:regex ; 400 [ rdf:type smf:regex ;
364 - sp:arg1 _:b25 ; 401 + sp:arg1 _:b31 ;
365 sp:arg2 "(.*):(.*)" ; 402 sp:arg2 "(.*):(.*)" ;
366 sp:arg3 "$2" 403 sp:arg3 "$2"
367 ] ; 404 ] ;
368 - sp:variable _:b26 405 + sp:variable _:b32
369 ] [ rdf:type sp:Filter ; 406 ] [ rdf:type sp:Filter ;
370 sp:expression 407 sp:expression
371 [ rdf:type sp:eq ; 408 [ rdf:type sp:eq ;
372 - sp:arg1 _:b26 ; 409 + sp:arg1 _:b32 ;
373 - sp:arg2 _:b24 410 + sp:arg2 _:b30
374 ] 411 ]
375 - ] [ sp:object _:b27 ; 412 + ] [ sp:object _:b33 ;
376 sp:predicate rdf:type ; 413 sp:predicate rdf:type ;
377 sp:subject spin:_this 414 sp:subject spin:_this
378 ] [ rdf:type sp:TriplePath ; 415 ] [ rdf:type sp:TriplePath ;
379 - sp:object _:b23 ; 416 + sp:object _:b29 ;
380 sp:path [ rdf:type sp:ModPath ; 417 sp:path [ rdf:type sp:ModPath ;
381 sp:modMax -2 ; 418 sp:modMax -2 ;
382 sp:modMin 0 ; 419 sp:modMin 0 ;
383 sp:subPath rdfs:subClassOf 420 sp:subPath rdfs:subClassOf
384 ] ; 421 ] ;
385 - sp:subject _:b27 422 + sp:subject _:b33
386 ]) 423 ])
387 ] ; 424 ] ;
388 spin:rule 425 spin:rule
389 [ rdf:type sp:Construct ; 426 [ rdf:type sp:Construct ;
390 - rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; 427 + rdfs:comment "STEP 020 - Construct all other object properties"^^xsd:string ;
391 - sp:templates ([ sp:object _:b28 ; 428 + sp:templates ([ sp:object _:b34 ;
392 - sp:predicate _:b29 ; 429 + sp:predicate _:b35 ;
393 sp:subject spin:_this 430 sp:subject spin:_this
394 ] [ sp:object rdf:Statement ; 431 ] [ sp:object rdf:Statement ;
395 sp:predicate rdf:type ; 432 sp:predicate rdf:type ;
396 - sp:subject _:b30 433 + sp:subject _:b36
397 ] [ sp:object spin:_this ; 434 ] [ sp:object spin:_this ;
398 sp:predicate rdf:subject ; 435 sp:predicate rdf:subject ;
399 - sp:subject _:b30 436 + sp:subject _:b36
400 - ] [ sp:object _:b29 ; 437 + ] [ sp:object _:b35 ;
401 sp:predicate rdf:predicate ; 438 sp:predicate rdf:predicate ;
402 - sp:subject _:b30 439 + sp:subject _:b36
403 - ] [ sp:object _:b28 ; 440 + ] [ sp:object _:b34 ;
404 sp:predicate rdf:object ; 441 sp:predicate rdf:object ;
405 - sp:subject _:b30 442 + sp:subject _:b36
406 - ] [ sp:object _:b30 ; 443 + ] [ sp:object _:b36 ;
407 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 444 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
408 - sp:subject _:b31 445 + sp:subject _:b34
409 ]) ; 446 ]) ;
410 - sp:where ([ sp:object _:b31 ; 447 + sp:where ([ sp:object _:b37 ;
448 + sp:predicate owl:allValuesFrom ;
449 + sp:subject _:b38
450 + ] [ sp:object _:b35 ;
451 + sp:predicate owl:onProperty ;
452 + sp:subject _:b38
453 + ] [ sp:object _:b37 ;
454 + sp:predicate rdf:type ;
455 + sp:subject _:b34
456 + ] [ sp:object _:b34 ;
411 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 457 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
412 sp:subject spin:_this 458 sp:subject spin:_this
413 - ] [ sp:object _:b32 ;
414 - sp:predicate rdf:type ;
415 - sp:subject _:b31
416 ] [ rdf:type sp:NotExists ; 459 ] [ rdf:type sp:NotExists ;
417 sp:elements ([ sp:object 460 sp:elements ([ sp:object
418 - [ sp:varName "uom"^^xsd:string 461 + [ sp:varName "aNode"^^xsd:string
419 ] ; 462 ] ;
420 - sp:predicate ddr:uom ; 463 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
421 - sp:subject _:b31 464 + sp:subject _:b34
422 ]) 465 ])
423 - ] [ rdf:type sp:Bind ; 466 + ] [ rdf:type sp:NotExists ;
424 - sp:expression 467 + sp:elements ([ sp:object
425 - [ rdf:type smf:titleCase ; 468 + [ sp:varName "xmlTag"^^xsd:string
426 - sp:arg1 [ rdf:type afn:localname ;
427 - sp:arg1 _:b32
428 - ]
429 - ] ;
430 - sp:variable _:b33
431 - ] [ rdf:type sp:Bind ;
432 - sp:expression
433 - [ rdf:type smf:buildURI ;
434 - sp:arg1 [ rdf:type fn:concat ;
435 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ;
436 - sp:arg2 _:b33
437 - ]
438 ] ; 469 ] ;
439 - sp:variable _:b29 470 + sp:predicate sxml:tag ;
440 - ] [ sp:object owl:ObjectProperty ;
441 - sp:predicate rdf:type ;
442 - sp:subject _:b29
443 - ] [ sp:object _:b29 ;
444 - sp:predicate owl:onProperty ;
445 - sp:subject _:b34
446 - ] [ sp:object _:b35 ;
447 - sp:predicate owl:allValuesFrom ;
448 sp:subject _:b34 471 sp:subject _:b34
449 - ] [ sp:object _:b36 ; 472 + ])
473 + ] [ sp:object _:b39 ;
450 sp:predicate rdf:type ; 474 sp:predicate rdf:type ;
451 sp:subject spin:_this 475 sp:subject spin:_this
452 ] [ rdf:type sp:TriplePath ; 476 ] [ rdf:type sp:TriplePath ;
453 - sp:object _:b34 ; 477 + sp:object _:b38 ;
454 - sp:path [ rdf:type sp:ModPath ;
455 - sp:modMax -2 ;
456 - sp:modMin 0 ;
457 - sp:subPath rdfs:subClassOf
458 - ] ;
459 - sp:subject _:b36
460 - ] [ rdf:type sp:TriplePath ;
461 - sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ;
462 sp:path [ rdf:type sp:ModPath ; 478 sp:path [ rdf:type sp:ModPath ;
463 sp:modMax -2 ; 479 sp:modMax -2 ;
464 sp:modMin 0 ; 480 sp:modMin 0 ;
465 sp:subPath rdfs:subClassOf 481 sp:subPath rdfs:subClassOf
466 ] ; 482 ] ;
467 - sp:subject _:b35 483 + sp:subject _:b39
468 - ] [ sp:object _:b37 ;
469 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
470 - sp:subject _:b31
471 - ] [ sp:object sxml:TextNode ;
472 - sp:predicate rdf:type ;
473 - sp:subject _:b37
474 - ] [ sp:object _:b38 ;
475 - sp:predicate sxml:text ;
476 - sp:subject _:b37
477 - ] [ sp:object _:b35 ;
478 - sp:predicate rdf:type ;
479 - sp:subject _:b28
480 - ] [ sp:object _:b38 ;
481 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
482 - sp:subject _:b28
483 ]) 484 ])
484 ] ; 485 ] ;
485 spin:rule 486 spin:rule
486 [ rdf:type sp:Construct ; 487 [ rdf:type sp:Construct ;
487 - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; 488 + rdfs:comment "STEP 009 - Construct all datatype values"^^xsd:string ;
488 - sp:templates ([ sp:object _:b39 ; 489 + sp:templates ([ sp:object _:b40 ;
489 - sp:predicate rdf:type ; 490 + sp:predicate _:b41 ;
490 - sp:subject _:b40
491 - ] [ sp:object _:b41 ;
492 - sp:predicate ddr:uom ;
493 - sp:subject _:b40
494 - ] [ sp:object _:b42 ;
495 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
496 - sp:subject _:b40
497 - ] [ sp:object _:b40 ;
498 - sp:predicate _:b43 ;
499 sp:subject spin:_this 491 sp:subject spin:_this
500 ] [ sp:object rdf:Statement ; 492 ] [ sp:object rdf:Statement ;
501 sp:predicate rdf:type ; 493 sp:predicate rdf:type ;
502 - sp:subject _:b44 494 + sp:subject _:b42
503 ] [ sp:object spin:_this ; 495 ] [ sp:object spin:_this ;
504 sp:predicate rdf:subject ; 496 sp:predicate rdf:subject ;
505 - sp:subject _:b44 497 + sp:subject _:b42
506 - ] [ sp:object _:b43 ; 498 + ] [ sp:object _:b41 ;
507 sp:predicate rdf:predicate ; 499 sp:predicate rdf:predicate ;
508 - sp:subject _:b44 500 + sp:subject _:b42
509 - ] [ sp:object _:b42 ; 501 + ] [ sp:object _:b40 ;
510 sp:predicate rdf:object ; 502 sp:predicate rdf:object ;
511 - sp:subject _:b44 503 + sp:subject _:b42
512 - ] [ sp:object _:b44 ; 504 + ] [ sp:object _:b42 ;
513 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 505 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
514 - sp:subject _:b45 506 + sp:subject _:b43
515 ]) ; 507 ]) ;
516 - sp:where ([ sp:object _:b45 ; 508 + sp:where ([ sp:object _:b43 ;
517 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 509 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
518 sp:subject spin:_this 510 sp:subject spin:_this
519 - ] [ sp:object _:b46 ; 511 + ] [ sp:object _:b44 ;
520 sp:predicate rdf:type ; 512 sp:predicate rdf:type ;
521 - sp:subject _:b45 513 + sp:subject _:b43
522 - ] [ sp:object _:b41 ;
523 - sp:predicate ddr:uom ;
524 - sp:subject _:b45
525 ] [ rdf:type sp:NotExists ; 514 ] [ rdf:type sp:NotExists ;
526 sp:elements ([ sp:object 515 sp:elements ([ sp:object
527 [ sp:varName "aNode"^^xsd:string 516 [ sp:varName "aNode"^^xsd:string
528 ] ; 517 ] ;
529 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 518 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
530 - sp:subject _:b45 519 + sp:subject _:b43
531 ]) 520 ])
532 ] [ rdf:type sp:Bind ; 521 ] [ rdf:type sp:Bind ;
533 sp:expression 522 sp:expression
534 [ rdf:type afn:localname ; 523 [ rdf:type afn:localname ;
535 - sp:arg1 _:b46 524 + sp:arg1 _:b44
536 ] ; 525 ] ;
537 - sp:variable _:b47 526 + sp:variable _:b45
538 ] [ rdf:type sp:Bind ; 527 ] [ rdf:type sp:Bind ;
539 sp:expression 528 sp:expression
540 [ rdf:type smf:buildURI ; 529 [ rdf:type smf:buildURI ;
541 sp:arg1 [ rdf:type fn:concat ; 530 sp:arg1 [ rdf:type fn:concat ;
542 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 531 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
543 - sp:arg2 _:b47 532 + sp:arg2 _:b45
544 ] 533 ]
545 ] ; 534 ] ;
546 - sp:variable _:b43 535 + sp:variable _:b41
547 - ] [ sp:object owl:ObjectProperty ; 536 + ] [ sp:object owl:DatatypeProperty ;
548 sp:predicate rdf:type ; 537 sp:predicate rdf:type ;
549 - sp:subject _:b43 538 + sp:subject _:b41
550 - ] [ sp:object _:b43 ; 539 + ] [ sp:object _:b41 ;
551 sp:predicate owl:onProperty ; 540 sp:predicate owl:onProperty ;
552 - sp:subject _:b48 541 + sp:subject _:b46
553 - ] [ sp:object _:b39 ; 542 + ] [ sp:object _:b47 ;
554 sp:predicate owl:allValuesFrom ; 543 sp:predicate owl:allValuesFrom ;
555 - sp:subject _:b48 544 + sp:subject _:b46
556 - ] [ sp:object _:b49 ; 545 + ] [ sp:object rdfs:Datatype ;
557 sp:predicate rdf:type ; 546 sp:predicate rdf:type ;
558 - sp:subject spin:_this 547 + sp:subject _:b47
559 ] [ rdf:type sp:TriplePath ; 548 ] [ rdf:type sp:TriplePath ;
560 sp:object _:b48 ; 549 sp:object _:b48 ;
561 sp:path [ rdf:type sp:ModPath ; 550 sp:path [ rdf:type sp:ModPath ;
...@@ -563,22 +552,42 @@ ddr:Thing ...@@ -563,22 +552,42 @@ ddr:Thing
563 sp:modMin 0 ; 552 sp:modMin 0 ;
564 sp:subPath rdfs:subClassOf 553 sp:subPath rdfs:subClassOf
565 ] ; 554 ] ;
566 - sp:subject _:b49 555 + sp:subject _:b47
567 - ] [ sp:object _:b50 ; 556 + ] [ rdf:type sp:Filter ;
557 + sp:expression
558 + [ rdf:type sp:eq ;
559 + sp:arg1 [ rdf:type afn:namespace ;
560 + sp:arg1 _:b48
561 + ] ;
562 + sp:arg2 "http://www.w3.org/2001/XMLSchema#"
563 + ]
564 + ] [ sp:object _:b49 ;
568 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 565 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
569 - sp:subject _:b45 566 + sp:subject _:b43
570 ] [ sp:object sxml:TextNode ; 567 ] [ sp:object sxml:TextNode ;
571 sp:predicate rdf:type ; 568 sp:predicate rdf:type ;
572 - sp:subject _:b50 569 + sp:subject _:b49
573 - ] [ sp:object _:b51 ; 570 + ] [ sp:object _:b50 ;
574 sp:predicate sxml:text ; 571 sp:predicate sxml:text ;
575 - sp:subject _:b50 572 + sp:subject _:b49
573 + ] [ sp:object _:b51 ;
574 + sp:predicate rdf:type ;
575 + sp:subject spin:_this
576 + ] [ rdf:type sp:TriplePath ;
577 + sp:object _:b46 ;
578 + sp:path [ rdf:type sp:ModPath ;
579 + sp:modMax -2 ;
580 + sp:modMin 0 ;
581 + sp:subPath rdfs:subClassOf
582 + ] ;
583 + sp:subject _:b51
576 ] [ rdf:type sp:Bind ; 584 ] [ rdf:type sp:Bind ;
577 sp:expression 585 sp:expression
578 - [ rdf:type xsd:double ; 586 + [ rdf:type spif:cast ;
579 - sp:arg1 _:b51 587 + arg:datatype _:b48 ;
588 + sp:arg1 _:b50
580 ] ; 589 ] ;
581 - sp:variable _:b42 590 + sp:variable _:b40
582 ]) 591 ])
583 ] . 592 ] .
584 593
...@@ -601,107 +610,107 @@ ddr:version ...@@ -601,107 +610,107 @@ ddr:version
601 owl:Thing 610 owl:Thing
602 spin:query 611 spin:query
603 [ rdf:type sp:Select ; 612 [ rdf:type sp:Select ;
604 - sp:where ([ sp:object 613 + sp:resultVariables (_:b52 _:b53 _:b54 _:b55) ;
605 - [ sp:varName "p"^^xsd:string
606 - ] ;
607 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
608 - sp:subject _:b52
609 - ] [ rdf:type sp:NotExists ;
610 - sp:elements ([ sp:object
611 - [ sp:varName "b"^^xsd:string
612 - ] ;
613 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
614 - sp:subject _:b52
615 - ])
616 - ])
617 - ] ;
618 - spin:query
619 - [ rdf:type sp:Select ;
620 - sp:resultVariables (_:b53 _:b54 _:b55 _:b56) ;
621 - sp:where ([ sp:object _:b56 ;
622 - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
623 - sp:subject _:b55
624 - ] [ sp:object _:b55 ;
625 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
626 - sp:subject _:b54
627 - ] [ rdf:type sp:Union ;
628 - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
629 - sp:predicate rdf:type ;
630 - sp:subject _:b54
631 - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
632 - sp:predicate rdf:type ;
633 - sp:subject _:b54
634 - ]))
635 - ] [ sp:object _:b54 ;
636 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
637 - sp:subject _:b53
638 - ])
639 - ] ;
640 - spin:query
641 - [ rdf:type sp:Select ;
642 - sp:resultVariables (_:b57 _:b58 _:b59 _:b60) ;
643 sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; 614 sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ;
644 sp:predicate rdf:type ; 615 sp:predicate rdf:type ;
645 - sp:subject _:b61 616 + sp:subject _:b56
646 ] [ rdf:type sp:TriplePath ; 617 ] [ rdf:type sp:TriplePath ;
647 - sp:object _:b62 ; 618 + sp:object _:b57 ;
648 sp:path [ rdf:type sp:ModPath ; 619 sp:path [ rdf:type sp:ModPath ;
649 sp:modMax -2 ; 620 sp:modMax -2 ;
650 sp:modMin 0 ; 621 sp:modMin 0 ;
651 sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> 622 sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child>
652 ] ; 623 ] ;
653 - sp:subject _:b61 624 + sp:subject _:b56
654 - ] [ sp:object _:b63 ; 625 + ] [ sp:object _:b58 ;
655 sp:predicate <http://topbraid.org/sxsd#name> ; 626 sp:predicate <http://topbraid.org/sxsd#name> ;
656 - sp:subject _:b61 627 + sp:subject _:b56
657 - ] [ sp:object _:b60 ; 628 + ] [ sp:object _:b55 ;
658 sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; 629 sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
659 - sp:subject _:b62 630 + sp:subject _:b57
660 - ] [ sp:object _:b64 ; 631 + ] [ sp:object _:b59 ;
661 sp:predicate <http://topbraid.org/sxsd#name> ; 632 sp:predicate <http://topbraid.org/sxsd#name> ;
662 - sp:subject _:b62 633 + sp:subject _:b57
663 ] [ rdf:type sp:Bind ; 634 ] [ rdf:type sp:Bind ;
664 sp:expression 635 sp:expression
665 [ rdf:type spif:titleCase ; 636 [ rdf:type spif:titleCase ;
666 - sp:arg1 _:b64 637 + sp:arg1 _:b59
667 ] ; 638 ] ;
668 - sp:variable _:b65 639 + sp:variable _:b60
669 ] [ rdf:type sp:Bind ; 640 ] [ rdf:type sp:Bind ;
670 sp:expression 641 sp:expression
671 [ rdf:type smf:buildURI ; 642 [ rdf:type smf:buildURI ;
672 sp:arg1 [ rdf:type fn:concat ; 643 sp:arg1 [ rdf:type fn:concat ;
673 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 644 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
674 - sp:arg2 _:b65 645 + sp:arg2 _:b60
675 ] 646 ]
676 ] ; 647 ] ;
677 - sp:variable _:b59 648 + sp:variable _:b54
678 ] [ rdf:type sp:Bind ; 649 ] [ rdf:type sp:Bind ;
679 sp:expression 650 sp:expression
680 [ rdf:type spif:titleCase ; 651 [ rdf:type spif:titleCase ;
681 - sp:arg1 _:b63 ; 652 + sp:arg1 _:b58 ;
682 sp:arg2 "[a-z]s" 653 sp:arg2 "[a-z]s"
683 ] ; 654 ] ;
684 - sp:variable _:b66 655 + sp:variable _:b61
685 ] [ rdf:type sp:Bind ; 656 ] [ rdf:type sp:Bind ;
686 sp:expression 657 sp:expression
687 [ rdf:type smf:buildURI ; 658 [ rdf:type smf:buildURI ;
688 sp:arg1 [ rdf:type fn:concat ; 659 sp:arg1 [ rdf:type fn:concat ;
689 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 660 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
690 - sp:arg2 _:b66 661 + sp:arg2 _:b61
691 ] 662 ]
692 ] ; 663 ] ;
693 - sp:variable _:b58 664 + sp:variable _:b53
694 ] [ rdf:type sp:Bind ; 665 ] [ rdf:type sp:Bind ;
695 sp:expression 666 sp:expression
696 [ rdf:type smf:buildURI ; 667 [ rdf:type smf:buildURI ;
697 sp:arg1 [ rdf:type fn:concat ; 668 sp:arg1 [ rdf:type fn:concat ;
698 sp:arg1 "http://www.reportinghub.no/map/ddr#" ; 669 sp:arg1 "http://www.reportinghub.no/map/ddr#" ;
699 - sp:arg2 _:b66 ; 670 + sp:arg2 _:b61 ;
700 sp:arg3 "-has" ; 671 sp:arg3 "-has" ;
701 - sp:arg4 _:b65 672 + sp:arg4 _:b60
702 ] 673 ]
703 ] ; 674 ] ;
704 - sp:variable _:b57 675 + sp:variable _:b52
676 + ])
677 + ] ;
678 + spin:query
679 + [ rdf:type sp:Select ;
680 + sp:resultVariables (_:b62 _:b63 _:b64 _:b65) ;
681 + sp:where ([ sp:object _:b65 ;
682 + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
683 + sp:subject _:b64
684 + ] [ sp:object _:b64 ;
685 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
686 + sp:subject _:b63
687 + ] [ rdf:type sp:Union ;
688 + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
689 + sp:predicate rdf:type ;
690 + sp:subject _:b63
691 + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
692 + sp:predicate rdf:type ;
693 + sp:subject _:b63
694 + ]))
695 + ] [ sp:object _:b63 ;
696 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
697 + sp:subject _:b62
698 + ])
699 + ] ;
700 + spin:query
701 + [ rdf:type sp:Select ;
702 + sp:where ([ sp:object
703 + [ sp:varName "p"^^xsd:string
704 + ] ;
705 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
706 + sp:subject _:b66
707 + ] [ rdf:type sp:NotExists ;
708 + sp:elements ([ sp:object
709 + [ sp:varName "b"^^xsd:string
710 + ] ;
711 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
712 + sp:subject _:b66
713 + ])
705 ]) 714 ])
706 ] ; 715 ] ;
707 spin:update 716 spin:update
...@@ -741,183 +750,184 @@ owl:Thing ...@@ -741,183 +750,184 @@ owl:Thing
741 ]) 750 ])
742 ] . 751 ] .
743 752
744 -_:b39 753 +_:b40
745 - sp:varName "rangeU"^^xsd:string . 754 + sp:varName "value"^^xsd:string .
746 755
747 _:b41 756 _:b41
748 - sp:varName "uom"^^xsd:string . 757 + sp:varName "dtpnameU"^^xsd:string .
749 -
750 -_:b42
751 - sp:varName "value"^^xsd:string .
752 758
753 _:b43 759 _:b43
754 - sp:varName "opnameU"^^xsd:string . 760 + sp:varName "child"^^xsd:string .
761 +
762 +_:b44
763 + sp:varName "childType"^^xsd:string .
755 764
756 _:b45 765 _:b45
757 - sp:varName "child"^^xsd:string . 766 + sp:varName "childLocalName"^^xsd:string .
758 767
759 _:b46 768 _:b46
760 - sp:varName "childType"^^xsd:string . 769 + sp:varName "valuesRestriction"^^xsd:string .
761 770
762 _:b47 771 _:b47
763 - sp:varName "childLocalName"^^xsd:string . 772 + sp:varName "rangeType"^^xsd:string .
764 773
765 _:b48 774 _:b48
766 - sp:varName "allValuesRestriction"^^xsd:string . 775 + sp:varName "someXSDtype"^^xsd:string .
767 776
768 _:b49 777 _:b49
769 - sp:varName "instType"^^xsd:string .
770 -
771 -_:b50
772 sp:varName "textNode"^^xsd:string . 778 sp:varName "textNode"^^xsd:string .
773 779
774 -_:b51 780 +_:b50
775 sp:varName "text"^^xsd:string . 781 sp:varName "text"^^xsd:string .
776 782
777 -_:b28 783 +_:b51
778 - sp:varName "enumeratedValue"^^xsd:string . 784 + sp:varName "instType"^^xsd:string .
779 -
780 -_:b29
781 - sp:varName "opnameU"^^xsd:string .
782 -
783 -_:b31
784 - sp:varName "child"^^xsd:string .
785 -
786 -_:b32
787 - sp:varName "childType"^^xsd:string .
788 -
789 -_:b33
790 - sp:varName "childLocalName"^^xsd:string .
791 785
792 _:b34 786 _:b34
793 - sp:varName "valuesRestriction"^^xsd:string . 787 + sp:varName "child"^^xsd:string .
794 788
795 _:b35 789 _:b35
796 - sp:varName "rangeU"^^xsd:string . 790 + sp:varName "formalProperty"^^xsd:string .
797 -
798 -_:b36
799 - sp:varName "instType"^^xsd:string .
800 791
801 _:b37 792 _:b37
802 - sp:varName "textNode"^^xsd:string . 793 + sp:varName "childType"^^xsd:string .
803 794
804 _:b38 795 _:b38
805 - sp:varName "text"^^xsd:string . 796 + sp:varName "valuesRestriction"^^xsd:string .
806 797
807 -_:b19 798 +_:b39
799 + sp:varName "instType"^^xsd:string .
800 +
801 +_:b25
808 sp:varName "child"^^xsd:string . 802 sp:varName "child"^^xsd:string .
809 803
810 -_:b20 804 +_:b26
811 sp:varName "formalProperty"^^xsd:string . 805 sp:varName "formalProperty"^^xsd:string .
812 806
813 -_:b22 807 +_:b28
814 sp:varName "childType"^^xsd:string . 808 sp:varName "childType"^^xsd:string .
815 809
816 -_:b23 810 +_:b29
817 sp:varName "valuesRestriction"^^xsd:string . 811 sp:varName "valuesRestriction"^^xsd:string .
818 812
819 -_:b24 813 +_:b30
820 sp:varName "propertyName"^^xsd:string . 814 sp:varName "propertyName"^^xsd:string .
821 815
822 -_:b25 816 +_:b31
823 sp:varName "xmlTag"^^xsd:string . 817 sp:varName "xmlTag"^^xsd:string .
824 818
825 -_:b26 819 +_:b32
826 sp:varName "tagName"^^xsd:string . 820 sp:varName "tagName"^^xsd:string .
827 821
828 -_:b27 822 +_:b33
829 sp:varName "instType"^^xsd:string . 823 sp:varName "instType"^^xsd:string .
830 824
831 -_:b13
832 - sp:varName "child"^^xsd:string .
833 -
834 _:b14 825 _:b14
835 - sp:varName "formalProperty"^^xsd:string . 826 + sp:varName "enumeratedValue"^^xsd:string .
836 827
837 -_:b16 828 +_:b15
838 - sp:varName "childType"^^xsd:string . 829 + sp:varName "opnameU"^^xsd:string .
839 830
840 _:b17 831 _:b17
841 - sp:varName "valuesRestriction"^^xsd:string . 832 + sp:varName "child"^^xsd:string .
842 833
843 _:b18 834 _:b18
835 + sp:varName "childType"^^xsd:string .
836 +
837 +_:b19
838 + sp:varName "childLocalName"^^xsd:string .
839 +
840 +_:b20
841 + sp:varName "valuesRestriction"^^xsd:string .
842 +
843 +_:b21
844 + sp:varName "rangeU"^^xsd:string .
845 +
846 +_:b22
844 sp:varName "instType"^^xsd:string . 847 sp:varName "instType"^^xsd:string .
845 848
846 -_:b57 849 +_:b23
847 - sp:varName "ddrCPU"^^xsd:string . 850 + sp:varName "textNode"^^xsd:string .
848 851
849 -_:b58 852 +_:b24
850 - sp:varName "ddrCU"^^xsd:string . 853 + sp:varName "text"^^xsd:string .
851 854
852 -_:b59 855 +_:b1 sp:varName "rangeU"^^xsd:string .
853 - sp:varName "ddrPU"^^xsd:string .
854 856
855 -_:b60 857 +_:b3 sp:varName "uom"^^xsd:string .
856 - sp:varName "mre"^^xsd:string .
857 858
858 -_:b61 859 +_:b4 sp:varName "value"^^xsd:string .
859 - sp:varName "s"^^xsd:string .
860 860
861 -_:b62 861 +_:b5 sp:varName "opnameU"^^xsd:string .
862 - sp:varName "c"^^xsd:string .
863 862
864 -_:b63 863 +_:b7 sp:varName "child"^^xsd:string .
865 - sp:varName "name"^^xsd:string .
866 864
867 -_:b64 865 +_:b8 sp:varName "childType"^^xsd:string .
868 - sp:varName "pname"^^xsd:string .
869 866
870 -_:b65 867 +_:b9 sp:varName "childLocalName"^^xsd:string .
871 - sp:varName "tcpname"^^xsd:string . 868 +
869 +_:b10
870 + sp:varName "allValuesRestriction"^^xsd:string .
871 +
872 +_:b11
873 + sp:varName "instType"^^xsd:string .
874 +
875 +_:b12
876 + sp:varName "textNode"^^xsd:string .
877 +
878 +_:b13
879 + sp:varName "text"^^xsd:string .
872 880
873 _:b66 881 _:b66
874 - sp:varName "tcname"^^xsd:string . 882 + sp:varName "c"^^xsd:string .
875 883
876 -_:b53 884 +_:b62
877 sp:varName "pp"^^xsd:string . 885 sp:varName "pp"^^xsd:string .
878 886
879 -_:b54 887 +_:b63
880 sp:varName "p"^^xsd:string . 888 sp:varName "p"^^xsd:string .
881 889
882 -_:b55 890 +_:b64
883 sp:varName "s"^^xsd:string . 891 sp:varName "s"^^xsd:string .
884 892
885 -_:b56 893 +_:b65
886 sp:varName "e"^^xsd:string . 894 sp:varName "e"^^xsd:string .
887 895
888 _:b52 896 _:b52
889 - sp:varName "c"^^xsd:string . 897 + sp:varName "ddrCPU"^^xsd:string .
890 -
891 -_:b67
892 - sp:varName "oldLabel"^^xsd:string .
893 -
894 -_:b68
895 - sp:varName "p"^^xsd:string .
896 898
897 -_:b69 899 +_:b53
898 - sp:varName "newLabel"^^xsd:string . 900 + sp:varName "ddrCU"^^xsd:string .
899 901
900 -_:b4 sp:varName "child"^^xsd:string . 902 +_:b54
903 + sp:varName "ddrPU"^^xsd:string .
901 904
902 -_:b5 sp:varName "childType"^^xsd:string . 905 +_:b55
906 + sp:varName "mre"^^xsd:string .
903 907
904 -_:b6 sp:varName "childLocalName"^^xsd:string . 908 +_:b56
909 + sp:varName "s"^^xsd:string .
905 910
906 -_:b2 sp:varName "dtpnameU"^^xsd:string . 911 +_:b57
912 + sp:varName "c"^^xsd:string .
907 913
908 -_:b7 sp:varName "valuesRestriction"^^xsd:string . 914 +_:b58
915 + sp:varName "name"^^xsd:string .
909 916
910 -_:b8 sp:varName "rangeType"^^xsd:string . 917 +_:b59
918 + sp:varName "pname"^^xsd:string .
911 919
912 -_:b9 sp:varName "someXSDtype"^^xsd:string . 920 +_:b60
921 + sp:varName "tcpname"^^xsd:string .
913 922
914 -_:b10 923 +_:b61
915 - sp:varName "textNode"^^xsd:string . 924 + sp:varName "tcname"^^xsd:string .
916 925
917 -_:b11 926 +_:b67
918 - sp:varName "text"^^xsd:string . 927 + sp:varName "oldLabel"^^xsd:string .
919 928
920 -_:b12 929 +_:b68
921 - sp:varName "instType"^^xsd:string . 930 + sp:varName "p"^^xsd:string .
922 931
923 -_:b1 sp:varName "value"^^xsd:string . 932 +_:b69
933 + sp:varName "newLabel"^^xsd:string .
......
1 -# Saved by TopBraid on Fri Aug 12 23:21:26 PDT 2011 1 +# Saved by TopBraid on Mon Aug 15 01:26:41 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#> .
......
...@@ -57,9 +57,8 @@ ...@@ -57,9 +57,8 @@
57 57
58 <ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:Operations" /> 58 <ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:Operations" />
59 59
60 - <ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:EquipmentFailure" /> 60 + <ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:Fluid" />
61 61
62 - <ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:BitRecord" />
63 62
64 </ui:group> 63 </ui:group>
65 </ui:group> 64 </ui:group>
......