Holger Knublauch

Removed map/ddr and schema/map imports

1 -# Saved by TopBraid on Wed Jul 27 19:58:27 PDT 2011 1 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr
2 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr 2 +# imports: http://spinrdf.org/spin
3 -# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr 3 +# imports: http://topbraid.org/sxml
4 -# imports: http://www.reportinghub.no/1.1/map/ddr 4 +# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
5 -# imports: http://www.reportinghub.no/1.1/schema/map 5 +
6 -# imports: http://spinrdf.org/spin 6 +@prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> .
7 -# imports: http://topbraid.org/sxml 7 +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
8 - 8 +@prefix ddr: <http://www.reportinghub.no/ep/schema/ddr#> .
9 -@prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . 9 +@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
10 -@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . 10 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
11 -@prefix ddr: <http://www.reportinghub.no/ep/schema/ddr#> . 11 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
12 -@prefix fn: <http://www.w3.org/2005/xpath-functions#> . 12 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
13 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 13 +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
14 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 14 +@prefix sp: <http://spinrdf.org/sp#> .
15 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 15 +@prefix spif: <http://spinrdf.org/spif#> .
16 -@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . 16 +@prefix spin: <http://spinrdf.org/spin#> .
17 -@prefix sp: <http://spinrdf.org/sp#> . 17 +@prefix sxml: <http://topbraid.org/sxml#> .
18 -@prefix spif: <http://spinrdf.org/spif#> . 18 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19 -@prefix spin: <http://spinrdf.org/spin#> . 19 +
20 -@prefix sxml: <http://topbraid.org/sxml#> . 20 +ddr:Cs_activity
21 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 21 + sxml:element "witsml:activity"^^xsd:string .
22 - 22 +
23 -ddr:Cs_activity 23 +ddr:Cs_alias
24 - sxml:element "witsml:activity"^^xsd:string . 24 + sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string .
25 - 25 +
26 -ddr:Cs_alias 26 +ddr:Cs_bitRecord
27 - sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . 27 + sxml:element "witsml:bitRecord" .
28 - 28 +
29 -ddr:Cs_bitRecord 29 +ddr:Cs_documentAudit
30 - sxml:element "witsml:bitRecord" . 30 + sxml:element "witsml:documentAudit" .
31 - 31 +
32 -ddr:Cs_documentAudit 32 +ddr:Cs_documentEvent
33 - sxml:element "witsml:documentAudit" . 33 + sxml:element "witsml:documentEvent" .
34 - 34 +
35 -ddr:Cs_documentEvent 35 +ddr:Cs_documentFileCreation
36 - sxml:element "witsml:documentEvent" . 36 + sxml:element "witsml:documentFileCreation" .
37 - 37 +
38 -ddr:Cs_documentFileCreation 38 +ddr:Cs_documentInfo
39 - sxml:element "witsml:documentFileCreation" . 39 + sxml:element "witsml:documentInfo" .
40 - 40 +
41 -ddr:Cs_documentInfo 41 +ddr:Cs_documentSecurityInfo
42 - sxml:element "witsml:documentInfo" . 42 + sxml:element "witsml:documentSecurityInfo" .
43 - 43 +
44 -ddr:Cs_documentSecurityInfo 44 +ddr:Cs_drillReportControlIncidentInfo
45 - sxml:element "witsml:documentSecurityInfo" . 45 + sxml:element "witsml:drillReportControlIncidentInfo" .
46 - 46 +
47 -ddr:Cs_drillReportControlIncidentInfo 47 +ddr:Cs_drillReportCoreInfo
48 - sxml:element "witsml:drillReportControlIncidentInfo" . 48 + sxml:element "witsml:drillReportCoreInfo" .
49 - 49 +
50 -ddr:Cs_drillReportCoreInfo 50 +ddr:Cs_drillReportEquipFailureInfo
51 - sxml:element "witsml:drillReportCoreInfo" . 51 + sxml:element "witsml:drillReportEquipFailureInfo" .
52 - 52 +
53 -ddr:Cs_drillReportEquipFailureInfo 53 +ddr:Cs_drillReportFormTestInfo
54 - sxml:element "witsml:drillReportEquipFailureInfo" . 54 + sxml:element "witsml:drillReportFormTestInfo" .
55 - 55 +
56 -ddr:Cs_drillReportFormTestInfo 56 +ddr:Cs_drillReportGasReadingInfo
57 - sxml:element "witsml:drillReportFormTestInfo" . 57 + sxml:element "witsml:drillReportGasReadingInfo" .
58 - 58 +
59 -ddr:Cs_drillReportGasReadingInfo 59 +ddr:Cs_drillReportLithShowInfo
60 - sxml:element "witsml:drillReportGasReadingInfo" . 60 + sxml:element "witsml:drillReportLithShowInfo" .
61 - 61 +
62 -ddr:Cs_drillReportLithShowInfo 62 +ddr:Cs_drillReportLogInfo
63 - sxml:element "witsml:drillReportLithShowInfo" . 63 + sxml:element "witsml:drillReportLogInfo" .
64 - 64 +
65 -ddr:Cs_drillReportLogInfo 65 +ddr:Cs_drillReportPerfInfo
66 - sxml:element "witsml:drillReportLogInfo" . 66 + sxml:element "witsml:drillReportPerfInfo" .
67 - 67 +
68 -ddr:Cs_drillReportPerfInfo 68 +ddr:Cs_drillReportPorePressure
69 - sxml:element "witsml:drillReportPerfInfo" . 69 + sxml:element "witsml:drillReportPorePressure" .
70 - 70 +
71 -ddr:Cs_drillReportPorePressure 71 +ddr:Cs_drillReportStatusInfo
72 - sxml:element "witsml:drillReportPorePressure" . 72 + sxml:element "witsml:drillReportStatusInfo" , "witsml:statusInfo"^^xsd:string .
73 - 73 +
74 -ddr:Cs_drillReportStatusInfo 74 +ddr:Cs_drillReportStratInfo
75 - sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" . 75 + sxml:element "witsml:drillReportStratInfo" .
76 - 76 +
77 -ddr:Cs_drillReportStratInfo 77 +ddr:Cs_drillReportSurveyStation
78 - sxml:element "witsml:drillReportStratInfo" . 78 + sxml:element "witsml:drillReportSurveyStation" .
79 - 79 +
80 -ddr:Cs_drillReportSurveyStation 80 +ddr:Cs_drillReportWellTestInfo
81 - sxml:element "witsml:drillReportSurveyStation" . 81 + sxml:element "witsml:drillReportWellTestInfo" .
82 - 82 +
83 -ddr:Cs_drillReportWellTestInfo 83 +ddr:Cs_drillReportWellboreInfo
84 - sxml:element "witsml:drillReportWellTestInfo" . 84 + sxml:element "witsml:drillReportWellboreInfo" .
85 - 85 +
86 -ddr:Cs_drillReportWellboreInfo 86 +ddr:Cs_fluid
87 - sxml:element "witsml:drillReportWellboreInfo" . 87 + sxml:element "witsml:fluid" .
88 - 88 +
89 -ddr:Cs_fluid 89 +ddr:Cs_geodeticModel
90 - sxml:element "witsml:fluid" . 90 + sxml:element "witsml:geodeticModel" .
91 - 91 +
92 -ddr:Cs_geodeticModel 92 +ddr:Cs_localCRS
93 - sxml:element "witsml:geodeticModel" . 93 + sxml:element "witsml:localCRS" .
94 - 94 +
95 -ddr:Cs_localCRS 95 +ddr:Cs_location
96 - sxml:element "witsml:localCRS" . 96 + sxml:element "witsml:location" .
97 - 97 +
98 -ddr:Cs_location 98 +ddr:Cs_projectionx
99 - sxml:element "witsml:location" . 99 + sxml:element "witsml:projectionx" .
100 - 100 +
101 -ddr:Cs_projectionx 101 +ddr:Cs_refWellWellbore
102 - sxml:element "witsml:projectionx" . 102 + sxml:element "witsml:refWellWellbore" .
103 - 103 +
104 -ddr:Cs_refWellWellbore 104 +ddr:Cs_refWellWellboreRig
105 - sxml:element "witsml:refWellWellbore" . 105 + sxml:element "witsml:refWellWellboreRig" .
106 - 106 +
107 -ddr:Cs_refWellWellboreRig 107 +ddr:Cs_wellAlias
108 - sxml:element "witsml:refWellWellboreRig" . 108 + sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias" .
109 - 109 +
110 -ddr:Cs_wellAlias 110 +ddr:Cs_wellCRS
111 - sxml:element "witsml:wellAlias" , "witsml:wellboreAlias"^^xsd:string . 111 + sxml:element "witsml:wellCRS" .
112 - 112 +
113 -ddr:Cs_wellCRS 113 +ddr:Cs_wellDatum
114 - sxml:element "witsml:wellCRS" . 114 + sxml:element "witsml:wellDatum" .
115 - 115 +
116 -ddr:Cs_wellDatum 116 +ddr:DrillReports
117 - sxml:element "witsml:wellDatum" . 117 + sxml:element "witsml:drillReports"^^xsd:string .
118 - 118 +
119 -ddr:DrillReports 119 +ddr:Obj_drillReport
120 - sxml:element "witsml:drillReports"^^xsd:string . 120 + sxml:element "witsml:drillReport"^^xsd:string .
121 - 121 +
122 -ddr:Obj_drillReport 122 +ddr:Thing
123 - sxml:element "witsml:drillReport"^^xsd:string . 123 + spin:rule
124 - 124 + [ rdf:type sp:Construct ;
125 -ddr:Thing 125 + rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ;
126 - spin:rule 126 + sp:templates ([ sp:object _:b1 ;
127 - [ rdf:type sp:Construct ; 127 + sp:predicate _:b2 ;
128 - rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; 128 + sp:subject _:b3
129 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; 129 + ] [ sp:object rdf:Statement ;
130 - sp:predicate rdf:type ; 130 + sp:predicate rdf:type ;
131 - sp:subject _:b1 131 + sp:subject _:b4
132 - ]) ; 132 + ] [ sp:object _:b3 ;
133 - sp:where ([ sp:object ddr:Cs_activity ; 133 + sp:predicate rdf:subject ;
134 - sp:predicate rdf:type ; 134 + sp:subject _:b4
135 - sp:subject _:b1 135 + ] [ sp:object _:b2 ;
136 - ]) 136 + sp:predicate rdf:predicate ;
137 - ] ; 137 + sp:subject _:b4
138 - spin:rule 138 + ] [ sp:object _:b1 ;
139 - [ rdf:type sp:Construct ; 139 + sp:predicate rdf:object ;
140 - rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; 140 + sp:subject _:b4
141 - sp:templates ([ sp:object _:b2 ; 141 + ] [ sp:object _:b4 ;
142 - sp:predicate _:b3 ; 142 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
143 - sp:subject _:b4 143 + sp:subject _:b1
144 - ] [ sp:object rdf:Statement ; 144 + ]) ;
145 - sp:predicate rdf:type ; 145 + sp:where ([ sp:object _:b1 ;
146 - sp:subject _:b5 146 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
147 - ] [ sp:object _:b4 ; 147 + sp:subject _:b3
148 - sp:predicate rdf:subject ; 148 + ] [ sp:object _:b5 ;
149 - sp:subject _:b5 149 + sp:predicate rdf:type ;
150 - ] [ sp:object _:b3 ; 150 + sp:subject _:b1
151 - sp:predicate rdf:predicate ; 151 + ] [ sp:object _:b6 ;
152 - sp:subject _:b5 152 + sp:predicate rdf:type ;
153 - ] [ sp:object _:b2 ; 153 + sp:subject _:b3
154 - sp:predicate rdf:object ; 154 + ] [ rdf:type sp:TriplePath ;
155 - sp:subject _:b5 155 + sp:object _:b7 ;
156 - ] [ sp:object _:b5 ; 156 + sp:path [ rdf:type sp:ModPath ;
157 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 157 + sp:modMax -2 ;
158 - sp:subject _:b6 158 + sp:modMin 0 ;
159 - ]) ; 159 + sp:subPath rdfs:subClassOf
160 - sp:where ([ sp:object _:b6 ; 160 + ] ;
161 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 161 + sp:subject _:b6
162 - sp:subject _:b4 162 + ] [ sp:object _:b8 ;
163 - ] [ sp:object _:b7 ; 163 + sp:predicate rdfs:subClassOf ;
164 - sp:predicate rdf:type ; 164 + sp:subject _:b7
165 - sp:subject _:b6 165 + ] [ sp:object owl:Restriction ;
166 - ] [ rdf:type sp:NotExists ; 166 + sp:predicate rdf:type ;
167 - sp:elements ([ sp:object 167 + sp:subject _:b8
168 - [ sp:varName "uom"^^xsd:string 168 + ] [ sp:object _:b2 ;
169 - ] ; 169 + sp:predicate owl:onProperty ;
170 - sp:predicate ddr:uom ; 170 + sp:subject _:b8
171 - sp:subject _:b6 171 + ] [ sp:object _:b5 ;
172 - ]) 172 + sp:predicate owl:allValuesFrom ;
173 - ] [ rdf:type sp:Bind ; 173 + sp:subject _:b8
174 - sp:expression 174 + ])
175 - [ rdf:type afn:localname ; 175 + ] ;
176 - sp:arg1 _:b7 176 + spin:rule
177 - ] ; 177 + [ rdf:type sp:Construct ;
178 - sp:variable _:b8 178 + rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ;
179 - ] [ rdf:type sp:Bind ; 179 + sp:templates ([ sp:object _:b9 ;
180 - sp:expression 180 + sp:predicate _:b10 ;
181 - [ rdf:type smf:buildURI ; 181 + sp:subject _:b11
182 - sp:arg1 [ rdf:type fn:concat ; 182 + ] [ sp:object rdf:Statement ;
183 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 183 + sp:predicate rdf:type ;
184 - sp:arg2 _:b8 184 + sp:subject _:b12
185 - ] 185 + ] [ sp:object _:b11 ;
186 - ] ; 186 + sp:predicate rdf:subject ;
187 - sp:variable _:b3 187 + sp:subject _:b12
188 - ] [ sp:object owl:DatatypeProperty ; 188 + ] [ sp:object _:b10 ;
189 - sp:predicate rdf:type ; 189 + sp:predicate rdf:predicate ;
190 - sp:subject _:b3 190 + sp:subject _:b12
191 - ] [ sp:object _:b9 ; 191 + ] [ sp:object _:b9 ;
192 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 192 + sp:predicate rdf:object ;
193 - sp:subject _:b6 193 + sp:subject _:b12
194 - ] [ sp:object sxml:TextNode ; 194 + ] [ sp:object _:b12 ;
195 - sp:predicate rdf:type ; 195 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
196 - sp:subject _:b9 196 + sp:subject _:b13
197 - ] [ sp:object _:b10 ; 197 + ]) ;
198 - sp:predicate sxml:text ; 198 + sp:where ([ sp:object _:b13 ;
199 - sp:subject _:b9 199 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
200 - ] [ sp:object _:b11 ; 200 + sp:subject _:b11
201 - sp:predicate rdf:type ; 201 + ] [ sp:object _:b14 ;
202 - sp:subject _:b4 202 + sp:predicate rdf:type ;
203 - ] [ rdf:type sp:TriplePath ; 203 + sp:subject _:b13
204 - sp:object _:b12 ; 204 + ] [ rdf:type sp:NotExists ;
205 - sp:path [ rdf:type sp:ModPath ; 205 + sp:elements ([ sp:object
206 - sp:modMax -2 ; 206 + [ sp:varName "uom"^^xsd:string
207 - sp:modMin 0 ; 207 + ] ;
208 - sp:subPath rdfs:subClassOf 208 + sp:predicate ddr:uom ;
209 - ] ; 209 + sp:subject _:b13
210 - sp:subject _:b11 210 + ])
211 - ] [ sp:object _:b13 ; 211 + ] [ rdf:type sp:Bind ;
212 - sp:predicate rdfs:subClassOf ; 212 + sp:expression
213 - sp:subject _:b12 213 + [ rdf:type afn:localname ;
214 - ] [ sp:object owl:Restriction ; 214 + sp:arg1 _:b14
215 - sp:predicate rdf:type ; 215 + ] ;
216 - sp:subject _:b13 216 + sp:variable _:b15
217 - ] [ sp:object _:b14 ; 217 + ] [ rdf:type sp:Bind ;
218 - sp:predicate owl:allValuesFrom ; 218 + sp:expression
219 - sp:subject _:b13 219 + [ rdf:type smf:buildURI ;
220 - ] [ sp:object _:b3 ; 220 + sp:arg1 [ rdf:type fn:concat ;
221 - sp:predicate owl:onProperty ; 221 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
222 - sp:subject _:b13 222 + sp:arg2 _:b15
223 - ] [ rdf:type sp:TriplePath ; 223 + ]
224 - sp:object xsd:dateTime ; 224 + ] ;
225 - sp:path [ rdf:type sp:ModPath ; 225 + sp:variable _:b10
226 - sp:modMax -2 ; 226 + ] [ sp:object owl:DatatypeProperty ;
227 - sp:modMin 0 ; 227 + sp:predicate rdf:type ;
228 - sp:subPath rdfs:subClassOf 228 + sp:subject _:b10
229 - ] ; 229 + ] [ sp:object _:b16 ;
230 - sp:subject _:b14 230 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
231 - ] [ rdf:type sp:Bind ; 231 + sp:subject _:b13
232 - sp:expression 232 + ] [ sp:object sxml:TextNode ;
233 - [ rdf:type xsd:dateTime ; 233 + sp:predicate rdf:type ;
234 - sp:arg1 _:b10 234 + sp:subject _:b16
235 - ] ; 235 + ] [ sp:object _:b9 ;
236 - sp:variable _:b2 236 + sp:predicate sxml:text ;
237 - ]) 237 + sp:subject _:b16
238 - ] ; 238 + ] [ sp:object _:b17 ;
239 - spin:rule 239 + sp:predicate rdf:type ;
240 - [ rdf:type sp:Construct ; 240 + sp:subject _:b11
241 - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; 241 + ] [ rdf:type sp:TriplePath ;
242 - sp:templates ([ sp:object _:b15 ; 242 + sp:object _:b18 ;
243 - sp:predicate rdf:type ; 243 + sp:path [ rdf:type sp:ModPath ;
244 - sp:subject _:b16 244 + sp:modMax -2 ;
245 - ] [ sp:object _:b17 ; 245 + sp:modMin 0 ;
246 - sp:predicate ddr:uom ; 246 + sp:subPath rdfs:subClassOf
247 - sp:subject _:b16 247 + ] ;
248 - ] [ sp:object _:b18 ; 248 + sp:subject _:b17
249 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 249 + ] [ sp:object _:b19 ;
250 - sp:subject _:b16 250 + sp:predicate rdfs:subClassOf ;
251 - ] [ sp:object _:b16 ; 251 + sp:subject _:b18
252 - sp:predicate _:b19 ; 252 + ] [ sp:object owl:Restriction ;
253 - sp:subject _:b20 253 + sp:predicate rdf:type ;
254 - ] [ sp:object rdf:Statement ; 254 + sp:subject _:b19
255 - sp:predicate rdf:type ; 255 + ] [ sp:object _:b20 ;
256 - sp:subject _:b21 256 + sp:predicate owl:allValuesFrom ;
257 - ] [ sp:object _:b20 ; 257 + sp:subject _:b19
258 - sp:predicate rdf:subject ; 258 + ] [ sp:object _:b10 ;
259 - sp:subject _:b21 259 + sp:predicate owl:onProperty ;
260 - ] [ sp:object _:b19 ; 260 + sp:subject _:b19
261 - sp:predicate rdf:predicate ; 261 + ] [ rdf:type sp:TriplePath ;
262 - sp:subject _:b21 262 + sp:object xsd:string ;
263 - ] [ sp:object _:b18 ; 263 + sp:path [ rdf:type sp:ModPath ;
264 - sp:predicate rdf:object ; 264 + sp:modMax -2 ;
265 - sp:subject _:b21 265 + sp:modMin 0 ;
266 - ] [ sp:object _:b21 ; 266 + sp:subPath rdfs:subClassOf
267 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 267 + ] ;
268 - sp:subject _:b22 268 + sp:subject _:b20
269 - ]) ; 269 + ])
270 - sp:where ([ sp:object _:b22 ; 270 + ] ;
271 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 271 + spin:rule
272 - sp:subject _:b20 272 + [ rdf:type sp:Construct ;
273 - ] [ sp:object _:b23 ; 273 + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ;
274 - sp:predicate rdf:type ; 274 + sp:templates ([ sp:object _:b21 ;
275 - sp:subject _:b22 275 + sp:predicate _:b22 ;
276 - ] [ sp:object _:b17 ; 276 + sp:subject _:b23
277 - sp:predicate ddr:uom ; 277 + ] [ sp:object rdf:Statement ;
278 - sp:subject _:b22 278 + sp:predicate rdf:type ;
279 - ] [ rdf:type sp:NotExists ; 279 + sp:subject _:b24
280 - sp:elements ([ sp:object 280 + ] [ sp:object _:b23 ;
281 - [ sp:varName "aNode"^^xsd:string 281 + sp:predicate rdf:subject ;
282 - ] ; 282 + sp:subject _:b24
283 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 283 + ] [ sp:object _:b22 ;
284 - sp:subject _:b22 284 + sp:predicate rdf:predicate ;
285 - ]) 285 + sp:subject _:b24
286 - ] [ rdf:type sp:Bind ; 286 + ] [ sp:object _:b21 ;
287 - sp:expression 287 + sp:predicate rdf:object ;
288 - [ rdf:type afn:localname ; 288 + sp:subject _:b24
289 - sp:arg1 _:b23 289 + ] [ sp:object _:b24 ;
290 - ] ; 290 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
291 - sp:variable _:b24 291 + sp:subject _:b25
292 - ] [ rdf:type sp:Bind ; 292 + ]) ;
293 - sp:expression 293 + sp:where ([ sp:object _:b25 ;
294 - [ rdf:type smf:buildURI ; 294 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
295 - sp:arg1 [ rdf:type fn:concat ; 295 + sp:subject _:b23
296 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 296 + ] [ sp:object _:b26 ;
297 - sp:arg2 [ rdf:type smf:titleCase ; 297 + sp:predicate rdf:type ;
298 - sp:arg1 _:b24 298 + sp:subject _:b25
299 - ] 299 + ] [ rdf:type sp:NotExists ;
300 - ] 300 + sp:elements ([ sp:object
301 - ] ; 301 + [ sp:varName "uom"^^xsd:string
302 - sp:variable _:b19 302 + ] ;
303 - ] [ sp:object owl:ObjectProperty ; 303 + sp:predicate ddr:uom ;
304 - sp:predicate rdf:type ; 304 + sp:subject _:b25
305 - sp:subject _:b19 305 + ])
306 - ] [ sp:object _:b25 ; 306 + ] [ rdf:type sp:Bind ;
307 - sp:predicate rdf:type ; 307 + sp:expression
308 - sp:subject _:b20 308 + [ rdf:type smf:titleCase ;
309 - ] [ rdf:type sp:TriplePath ; 309 + sp:arg1 [ rdf:type afn:localname ;
310 - sp:object _:b26 ; 310 + sp:arg1 _:b26
311 - sp:path [ rdf:type sp:ModPath ; 311 + ]
312 - sp:modMax -2 ; 312 + ] ;
313 - sp:modMin 0 ; 313 + sp:variable _:b27
314 - sp:subPath rdfs:subClassOf 314 + ] [ rdf:type sp:Bind ;
315 - ] ; 315 + sp:expression
316 - sp:subject _:b25 316 + [ rdf:type smf:buildURI ;
317 - ] [ sp:object _:b27 ; 317 + sp:arg1 [ rdf:type fn:concat ;
318 - sp:predicate rdfs:subClassOf ; 318 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
319 - sp:subject _:b26 319 + sp:arg2 _:b27
320 - ] [ sp:object owl:Restriction ; 320 + ]
321 - sp:predicate rdf:type ; 321 + ] ;
322 - sp:subject _:b27 322 + sp:variable _:b22
323 - ] [ sp:object _:b15 ; 323 + ] [ sp:object owl:ObjectProperty ;
324 - sp:predicate owl:allValuesFrom ; 324 + sp:predicate rdf:type ;
325 - sp:subject _:b27 325 + sp:subject _:b22
326 - ] [ sp:object _:b19 ; 326 + ] [ sp:object _:b28 ;
327 - sp:predicate owl:onProperty ; 327 + sp:predicate rdf:type ;
328 - sp:subject _:b27 328 + sp:subject _:b23
329 - ] [ sp:object _:b28 ; 329 + ] [ rdf:type sp:TriplePath ;
330 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 330 + sp:object _:b29 ;
331 - sp:subject _:b22 331 + sp:path [ rdf:type sp:ModPath ;
332 - ] [ sp:object sxml:TextNode ; 332 + sp:modMax -2 ;
333 - sp:predicate rdf:type ; 333 + sp:modMin 0 ;
334 - sp:subject _:b28 334 + sp:subPath rdfs:subClassOf
335 - ] [ sp:object _:b29 ; 335 + ] ;
336 - sp:predicate sxml:text ; 336 + sp:subject _:b28
337 - sp:subject _:b28 337 + ] [ sp:object _:b30 ;
338 - ] [ rdf:type sp:Bind ; 338 + sp:predicate rdfs:subClassOf ;
339 - sp:expression 339 + sp:subject _:b29
340 - [ rdf:type xsd:double ; 340 + ] [ sp:object owl:Restriction ;
341 - sp:arg1 _:b29 341 + sp:predicate rdf:type ;
342 - ] ; 342 + sp:subject _:b30
343 - sp:variable _:b18 343 + ] [ sp:object _:b22 ;
344 - ]) 344 + sp:predicate owl:onProperty ;
345 - ] ; 345 + sp:subject _:b30
346 - spin:rule 346 + ] [ sp:object _:b31 ;
347 - [ rdf:type sp:Construct ; 347 + sp:predicate owl:allValuesFrom ;
348 - rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; 348 + sp:subject _:b30
349 - sp:templates ([ sp:object _:b30 ; 349 + ] [ rdf:type sp:TriplePath ;
350 - sp:predicate _:b31 ; 350 + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ;
351 - sp:subject _:b32 351 + sp:path [ rdf:type sp:ModPath ;
352 - ] [ sp:object rdf:Statement ; 352 + sp:modMax -2 ;
353 - sp:predicate rdf:type ; 353 + sp:modMin 0 ;
354 - sp:subject _:b33 354 + sp:subPath rdfs:subClassOf
355 - ] [ sp:object _:b32 ; 355 + ] ;
356 - sp:predicate rdf:subject ; 356 + sp:subject _:b31
357 - sp:subject _:b33 357 + ] [ sp:object _:b32 ;
358 - ] [ sp:object _:b31 ; 358 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
359 - sp:predicate rdf:predicate ; 359 + sp:subject _:b25
360 - sp:subject _:b33 360 + ] [ sp:object sxml:TextNode ;
361 - ] [ sp:object _:b30 ; 361 + sp:predicate rdf:type ;
362 - sp:predicate rdf:object ; 362 + sp:subject _:b32
363 - sp:subject _:b33 363 + ] [ sp:object _:b33 ;
364 - ] [ sp:object _:b33 ; 364 + sp:predicate sxml:text ;
365 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 365 + sp:subject _:b32
366 - sp:subject _:b34 366 + ] [ sp:object _:b31 ;
367 - ]) ; 367 + sp:predicate rdf:type ;
368 - sp:where ([ sp:object _:b34 ; 368 + sp:subject _:b21
369 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 369 + ] [ sp:object _:b33 ;
370 - sp:subject _:b32 370 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
371 - ] [ sp:object _:b35 ; 371 + sp:subject _:b21
372 - sp:predicate rdf:type ; 372 + ])
373 - sp:subject _:b34 373 + ] ;
374 - ] [ rdf:type sp:NotExists ; 374 + spin:rule
375 - sp:elements ([ sp:object 375 + [ rdf:type sp:Construct ;
376 - [ sp:varName "uom"^^xsd:string 376 + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
377 - ] ; 377 + sp:templates ([ sp:object _:b34 ;
378 - sp:predicate ddr:uom ; 378 + sp:predicate rdf:type ;
379 - sp:subject _:b34 379 + sp:subject _:b35
380 - ]) 380 + ] [ sp:object _:b36 ;
381 - ] [ rdf:type sp:Bind ; 381 + sp:predicate ddr:uom ;
382 - sp:expression 382 + sp:subject _:b35
383 - [ rdf:type smf:titleCase ; 383 + ] [ sp:object _:b37 ;
384 - sp:arg1 [ rdf:type afn:localname ; 384 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
385 - sp:arg1 _:b35 385 + sp:subject _:b35
386 - ] 386 + ] [ sp:object _:b35 ;
387 - ] ; 387 + sp:predicate _:b38 ;
388 - sp:variable _:b36 388 + sp:subject _:b39
389 - ] [ rdf:type sp:Bind ; 389 + ] [ sp:object rdf:Statement ;
390 - sp:expression 390 + sp:predicate rdf:type ;
391 - [ rdf:type smf:buildURI ; 391 + sp:subject _:b40
392 - sp:arg1 [ rdf:type fn:concat ; 392 + ] [ sp:object _:b39 ;
393 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 393 + sp:predicate rdf:subject ;
394 - sp:arg2 _:b36 394 + sp:subject _:b40
395 - ] 395 + ] [ sp:object _:b38 ;
396 - ] ; 396 + sp:predicate rdf:predicate ;
397 - sp:variable _:b31 397 + sp:subject _:b40
398 - ] [ sp:object owl:ObjectProperty ; 398 + ] [ sp:object _:b37 ;
399 - sp:predicate rdf:type ; 399 + sp:predicate rdf:object ;
400 - sp:subject _:b31 400 + sp:subject _:b40
401 - ] [ sp:object _:b37 ; 401 + ] [ sp:object _:b40 ;
402 - sp:predicate rdf:type ; 402 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
403 - sp:subject _:b32 403 + sp:subject _:b41
404 - ] [ rdf:type sp:TriplePath ; 404 + ]) ;
405 - sp:object _:b38 ; 405 + sp:where ([ sp:object _:b41 ;
406 - sp:path [ rdf:type sp:ModPath ; 406 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
407 - sp:modMax -2 ; 407 + sp:subject _:b39
408 - sp:modMin 0 ; 408 + ] [ sp:object _:b42 ;
409 - sp:subPath rdfs:subClassOf 409 + sp:predicate rdf:type ;
410 - ] ; 410 + sp:subject _:b41
411 - sp:subject _:b37 411 + ] [ sp:object _:b36 ;
412 - ] [ sp:object _:b39 ; 412 + sp:predicate ddr:uom ;
413 - sp:predicate rdfs:subClassOf ; 413 + sp:subject _:b41
414 - sp:subject _:b38 414 + ] [ rdf:type sp:NotExists ;
415 - ] [ sp:object owl:Restriction ; 415 + sp:elements ([ sp:object
416 - sp:predicate rdf:type ; 416 + [ sp:varName "aNode"^^xsd:string
417 - sp:subject _:b39 417 + ] ;
418 - ] [ sp:object _:b31 ; 418 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
419 - sp:predicate owl:onProperty ; 419 + sp:subject _:b41
420 - sp:subject _:b39 420 + ])
421 - ] [ sp:object _:b40 ; 421 + ] [ rdf:type sp:Bind ;
422 - sp:predicate owl:allValuesFrom ; 422 + sp:expression
423 - sp:subject _:b39 423 + [ rdf:type afn:localname ;
424 - ] [ rdf:type sp:TriplePath ; 424 + sp:arg1 _:b42
425 - sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; 425 + ] ;
426 - sp:path [ rdf:type sp:ModPath ; 426 + sp:variable _:b43
427 - sp:modMax -2 ; 427 + ] [ rdf:type sp:Bind ;
428 - sp:modMin 0 ; 428 + sp:expression
429 - sp:subPath rdfs:subClassOf 429 + [ rdf:type smf:buildURI ;
430 - ] ; 430 + sp:arg1 [ rdf:type fn:concat ;
431 - sp:subject _:b40 431 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
432 - ] [ sp:object _:b41 ; 432 + sp:arg2 [ rdf:type smf:titleCase ;
433 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 433 + sp:arg1 _:b43
434 - sp:subject _:b34 434 + ]
435 - ] [ sp:object sxml:TextNode ; 435 + ]
436 - sp:predicate rdf:type ; 436 + ] ;
437 - sp:subject _:b41 437 + sp:variable _:b38
438 - ] [ sp:object _:b42 ; 438 + ] [ sp:object owl:ObjectProperty ;
439 - sp:predicate sxml:text ; 439 + sp:predicate rdf:type ;
440 - sp:subject _:b41 440 + sp:subject _:b38
441 - ] [ sp:object _:b40 ; 441 + ] [ sp:object _:b44 ;
442 - sp:predicate rdf:type ; 442 + sp:predicate rdf:type ;
443 - sp:subject _:b30 443 + sp:subject _:b39
444 - ] [ sp:object _:b42 ; 444 + ] [ rdf:type sp:TriplePath ;
445 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 445 + sp:object _:b45 ;
446 - sp:subject _:b30 446 + sp:path [ rdf:type sp:ModPath ;
447 - ]) 447 + sp:modMax -2 ;
448 - ] ; 448 + sp:modMin 0 ;
449 - spin:rule 449 + sp:subPath rdfs:subClassOf
450 - [ rdf:type sp:Construct ; 450 + ] ;
451 - rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; 451 + sp:subject _:b44
452 - sp:templates ([ sp:object _:b43 ; 452 + ] [ sp:object _:b46 ;
453 - sp:predicate _:b44 ; 453 + sp:predicate rdfs:subClassOf ;
454 - sp:subject _:b45 454 + sp:subject _:b45
455 - ] [ sp:object rdf:Statement ; 455 + ] [ sp:object owl:Restriction ;
456 - sp:predicate rdf:type ; 456 + sp:predicate rdf:type ;
457 - sp:subject _:b46 457 + sp:subject _:b46
458 - ] [ sp:object _:b45 ; 458 + ] [ sp:object _:b34 ;
459 - sp:predicate rdf:subject ; 459 + sp:predicate owl:allValuesFrom ;
460 - sp:subject _:b46 460 + sp:subject _:b46
461 - ] [ sp:object _:b44 ; 461 + ] [ sp:object _:b38 ;
462 - sp:predicate rdf:predicate ; 462 + sp:predicate owl:onProperty ;
463 - sp:subject _:b46 463 + sp:subject _:b46
464 - ] [ sp:object _:b43 ; 464 + ] [ sp:object _:b47 ;
465 - sp:predicate rdf:object ; 465 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
466 - sp:subject _:b46 466 + sp:subject _:b41
467 - ] [ sp:object _:b46 ; 467 + ] [ sp:object sxml:TextNode ;
468 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 468 + sp:predicate rdf:type ;
469 - sp:subject _:b47 469 + sp:subject _:b47
470 - ]) ; 470 + ] [ sp:object _:b48 ;
471 - sp:where ([ sp:object _:b47 ; 471 + sp:predicate sxml:text ;
472 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 472 + sp:subject _:b47
473 - sp:subject _:b45 473 + ] [ rdf:type sp:Bind ;
474 - ] [ sp:object _:b48 ; 474 + sp:expression
475 - sp:predicate rdf:type ; 475 + [ rdf:type xsd:double ;
476 - sp:subject _:b47 476 + sp:arg1 _:b48
477 - ] [ rdf:type sp:NotExists ; 477 + ] ;
478 - sp:elements ([ sp:object 478 + sp:variable _:b37
479 - [ sp:varName "uom"^^xsd:string 479 + ])
480 - ] ; 480 + ] ;
481 - sp:predicate ddr:uom ; 481 + spin:rule
482 - sp:subject _:b47 482 + [ rdf:type sp:Construct ;
483 - ]) 483 + rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ;
484 - ] [ rdf:type sp:Bind ; 484 + sp:templates ([ sp:object _:b49 ;
485 - sp:expression 485 + sp:predicate _:b50 ;
486 - [ rdf:type afn:localname ; 486 + sp:subject _:b51
487 - sp:arg1 _:b48 487 + ] [ sp:object rdf:Statement ;
488 - ] ; 488 + sp:predicate rdf:type ;
489 - sp:variable _:b49 489 + sp:subject _:b52
490 - ] [ rdf:type sp:Bind ; 490 + ] [ sp:object _:b51 ;
491 - sp:expression 491 + sp:predicate rdf:subject ;
492 - [ rdf:type smf:buildURI ; 492 + sp:subject _:b52
493 - sp:arg1 [ rdf:type fn:concat ; 493 + ] [ sp:object _:b50 ;
494 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 494 + sp:predicate rdf:predicate ;
495 - sp:arg2 _:b49 495 + sp:subject _:b52
496 - ] 496 + ] [ sp:object _:b49 ;
497 - ] ; 497 + sp:predicate rdf:object ;
498 - sp:variable _:b44 498 + sp:subject _:b52
499 - ] [ sp:object owl:DatatypeProperty ; 499 + ] [ sp:object _:b52 ;
500 - sp:predicate rdf:type ; 500 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
501 - sp:subject _:b44 501 + sp:subject _:b53
502 - ] [ sp:object _:b50 ; 502 + ]) ;
503 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 503 + sp:where ([ sp:object _:b53 ;
504 - sp:subject _:b47 504 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
505 - ] [ sp:object sxml:TextNode ; 505 + sp:subject _:b51
506 - sp:predicate rdf:type ; 506 + ] [ sp:object _:b54 ;
507 - sp:subject _:b50 507 + sp:predicate rdf:type ;
508 - ] [ sp:object _:b43 ; 508 + sp:subject _:b53
509 - sp:predicate sxml:text ; 509 + ] [ rdf:type sp:NotExists ;
510 - sp:subject _:b50 510 + sp:elements ([ sp:object
511 - ] [ sp:object _:b51 ; 511 + [ sp:varName "uom"^^xsd:string
512 - sp:predicate rdf:type ; 512 + ] ;
513 - sp:subject _:b45 513 + sp:predicate ddr:uom ;
514 - ] [ rdf:type sp:TriplePath ; 514 + sp:subject _:b53
515 - sp:object _:b52 ; 515 + ])
516 - sp:path [ rdf:type sp:ModPath ; 516 + ] [ rdf:type sp:Bind ;
517 - sp:modMax -2 ; 517 + sp:expression
518 - sp:modMin 0 ; 518 + [ rdf:type afn:localname ;
519 - sp:subPath rdfs:subClassOf 519 + sp:arg1 _:b54
520 - ] ; 520 + ] ;
521 - sp:subject _:b51 521 + sp:variable _:b55
522 - ] [ sp:object _:b53 ; 522 + ] [ rdf:type sp:Bind ;
523 - sp:predicate rdfs:subClassOf ; 523 + sp:expression
524 - sp:subject _:b52 524 + [ rdf:type smf:buildURI ;
525 - ] [ sp:object owl:Restriction ; 525 + sp:arg1 [ rdf:type fn:concat ;
526 - sp:predicate rdf:type ; 526 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
527 - sp:subject _:b53 527 + sp:arg2 _:b55
528 - ] [ sp:object _:b54 ; 528 + ]
529 - sp:predicate owl:allValuesFrom ; 529 + ] ;
530 - sp:subject _:b53 530 + sp:variable _:b50
531 - ] [ sp:object _:b44 ; 531 + ] [ sp:object owl:DatatypeProperty ;
532 - sp:predicate owl:onProperty ; 532 + sp:predicate rdf:type ;
533 - sp:subject _:b53 533 + sp:subject _:b50
534 - ] [ rdf:type sp:TriplePath ; 534 + ] [ sp:object _:b56 ;
535 - sp:object xsd:string ; 535 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
536 - sp:path [ rdf:type sp:ModPath ; 536 + sp:subject _:b53
537 - sp:modMax -2 ; 537 + ] [ sp:object sxml:TextNode ;
538 - sp:modMin 0 ; 538 + sp:predicate rdf:type ;
539 - sp:subPath rdfs:subClassOf 539 + sp:subject _:b56
540 - ] ; 540 + ] [ sp:object _:b57 ;
541 - sp:subject _:b54 541 + sp:predicate sxml:text ;
542 - ]) 542 + sp:subject _:b56
543 - ] ; 543 + ] [ sp:object _:b58 ;
544 - spin:rule 544 + sp:predicate rdf:type ;
545 - [ rdf:type sp:Construct ; 545 + sp:subject _:b51
546 - rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; 546 + ] [ rdf:type sp:TriplePath ;
547 - sp:templates ([ sp:object _:b55 ; 547 + sp:object _:b59 ;
548 - sp:predicate _:b56 ; 548 + sp:path [ rdf:type sp:ModPath ;
549 - sp:subject _:b57 549 + sp:modMax -2 ;
550 - ] [ sp:object rdf:Statement ; 550 + sp:modMin 0 ;
551 - sp:predicate rdf:type ; 551 + sp:subPath rdfs:subClassOf
552 - sp:subject _:b58 552 + ] ;
553 - ] [ sp:object _:b57 ; 553 + sp:subject _:b58
554 - sp:predicate rdf:subject ; 554 + ] [ sp:object _:b60 ;
555 - sp:subject _:b58 555 + sp:predicate rdfs:subClassOf ;
556 - ] [ sp:object _:b56 ; 556 + sp:subject _:b59
557 - sp:predicate rdf:predicate ; 557 + ] [ sp:object owl:Restriction ;
558 - sp:subject _:b58 558 + sp:predicate rdf:type ;
559 - ] [ sp:object _:b55 ; 559 + sp:subject _:b60
560 - sp:predicate rdf:object ; 560 + ] [ sp:object _:b61 ;
561 - sp:subject _:b58 561 + sp:predicate owl:allValuesFrom ;
562 - ] [ sp:object _:b58 ; 562 + sp:subject _:b60
563 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 563 + ] [ sp:object _:b50 ;
564 - sp:subject _:b55 564 + sp:predicate owl:onProperty ;
565 - ]) ; 565 + sp:subject _:b60
566 - sp:where ([ sp:object _:b55 ; 566 + ] [ rdf:type sp:TriplePath ;
567 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 567 + sp:object xsd:dateTime ;
568 - sp:subject _:b57 568 + sp:path [ rdf:type sp:ModPath ;
569 - ] [ sp:object _:b59 ; 569 + sp:modMax -2 ;
570 - sp:predicate rdf:type ; 570 + sp:modMin 0 ;
571 - sp:subject _:b55 571 + sp:subPath rdfs:subClassOf
572 - ] [ sp:object _:b60 ; 572 + ] ;
573 - sp:predicate rdf:type ; 573 + sp:subject _:b61
574 - sp:subject _:b57 574 + ] [ rdf:type sp:Bind ;
575 - ] [ rdf:type sp:TriplePath ; 575 + sp:expression
576 - sp:object _:b61 ; 576 + [ rdf:type xsd:dateTime ;
577 - sp:path [ rdf:type sp:ModPath ; 577 + sp:arg1 _:b57
578 - sp:modMax -2 ; 578 + ] ;
579 - sp:modMin 0 ; 579 + sp:variable _:b49
580 - sp:subPath rdfs:subClassOf 580 + ])
581 - ] ; 581 + ] ;
582 - sp:subject _:b60 582 + spin:rule
583 - ] [ sp:object _:b62 ; 583 + [ rdf:type sp:Construct ;
584 - sp:predicate rdfs:subClassOf ; 584 + rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ;
585 - sp:subject _:b61 585 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ;
586 - ] [ sp:object owl:Restriction ; 586 + sp:predicate rdf:type ;
587 - sp:predicate rdf:type ; 587 + sp:subject _:b62
588 - sp:subject _:b62 588 + ]) ;
589 - ] [ sp:object _:b56 ; 589 + sp:where ([ sp:object ddr:Cs_activity ;
590 - sp:predicate owl:onProperty ; 590 + sp:predicate rdf:type ;
591 - sp:subject _:b62 591 + sp:subject _:b62
592 - ] [ sp:object _:b59 ; 592 + ])
593 - sp:predicate owl:allValuesFrom ; 593 + ] .
594 - sp:subject _:b62 594 +
595 - ]) 595 +ddr:schemaLocation
596 - ] . 596 + rdfs:domain ddr:Obj_drillReports ;
597 - 597 + sxml:attribute "xsi:schemaLocation"^^xsd:string .
598 -ddr:schemaLocation 598 +
599 - rdfs:domain ddr:Obj_drillReports ; 599 +ddr:uom
600 - sxml:attribute "xsi:schemaLocation"^^xsd:string . 600 + sxml:attribute "uom"^^xsd:string .
601 - 601 +
602 -ddr:uom 602 +ddr:version
603 - sxml:attribute "uom"^^xsd:string . 603 + rdfs:domain ddr:DrillReports ;
604 - 604 + sxml:attribute "version"^^xsd:string .
605 -ddr:version 605 +
606 - rdfs:domain ddr:DrillReports ; 606 +<http://www.reportinghub.no/ep/transform/1.1/ddr>
607 - sxml:attribute "version"^^xsd:string . 607 + rdf:type owl:Ontology ;
608 - 608 + owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ;
609 -<http://www.reportinghub.no/ep/transform/1.1/ddr> 609 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
610 - rdf:type owl:Ontology ; 610 +
611 - owl:imports <http://www.reportinghub.no/1.1/schema/map> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/1.1/map/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ; 611 +owl:Thing
612 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 612 + spin:query
613 - 613 + [ rdf:type sp:Select ;
614 -owl:Thing 614 + sp:resultVariables (_:b63 _:b64 _:b65 _:b66) ;
615 - spin:query 615 + sp:where ([ sp:object _:b66 ;
616 - [ rdf:type sp:Select ; 616 + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
617 - sp:resultVariables (_:b63 _:b64 _:b65 _:b66) ; 617 + sp:subject _:b65
618 - sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; 618 + ] [ sp:object _:b65 ;
619 - sp:predicate rdf:type ; 619 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
620 - sp:subject _:b67 620 + sp:subject _:b64
621 - ] [ rdf:type sp:TriplePath ; 621 + ] [ rdf:type sp:Union ;
622 - sp:object _:b68 ; 622 + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
623 - sp:path [ rdf:type sp:ModPath ; 623 + sp:predicate rdf:type ;
624 - sp:modMax -2 ; 624 + sp:subject _:b64
625 - sp:modMin 0 ; 625 + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
626 - sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> 626 + sp:predicate rdf:type ;
627 - ] ; 627 + sp:subject _:b64
628 - sp:subject _:b67 628 + ]))
629 - ] [ sp:object _:b69 ; 629 + ] [ sp:object _:b64 ;
630 - sp:predicate <http://topbraid.org/sxsd#name> ; 630 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
631 - sp:subject _:b67 631 + sp:subject _:b63
632 - ] [ sp:object _:b66 ; 632 + ])
633 - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; 633 + ] ;
634 - sp:subject _:b68 634 + spin:query
635 - ] [ sp:object _:b70 ; 635 + [ rdf:type sp:Select ;
636 - sp:predicate <http://topbraid.org/sxsd#name> ; 636 + sp:resultVariables (_:b67 _:b68 _:b69 _:b70) ;
637 - sp:subject _:b68 637 + sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ;
638 - ] [ rdf:type sp:Bind ; 638 + sp:predicate rdf:type ;
639 - sp:expression 639 + sp:subject _:b71
640 - [ rdf:type spif:titleCase ; 640 + ] [ rdf:type sp:TriplePath ;
641 - sp:arg1 _:b70 641 + sp:object _:b72 ;
642 - ] ; 642 + sp:path [ rdf:type sp:ModPath ;
643 - sp:variable _:b71 643 + sp:modMax -2 ;
644 - ] [ rdf:type sp:Bind ; 644 + sp:modMin 0 ;
645 - sp:expression 645 + sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child>
646 - [ rdf:type smf:buildURI ; 646 + ] ;
647 - sp:arg1 [ rdf:type fn:concat ; 647 + sp:subject _:b71
648 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 648 + ] [ sp:object _:b73 ;
649 - sp:arg2 _:b71 649 + sp:predicate <http://topbraid.org/sxsd#name> ;
650 - ] 650 + sp:subject _:b71
651 - ] ; 651 + ] [ sp:object _:b70 ;
652 - sp:variable _:b65 652 + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
653 - ] [ rdf:type sp:Bind ; 653 + sp:subject _:b72
654 - sp:expression 654 + ] [ sp:object _:b74 ;
655 - [ rdf:type spif:titleCase ; 655 + sp:predicate <http://topbraid.org/sxsd#name> ;
656 - sp:arg1 _:b69 ; 656 + sp:subject _:b72
657 - sp:arg2 "[a-z]s" 657 + ] [ rdf:type sp:Bind ;
658 - ] ; 658 + sp:expression
659 - sp:variable _:b72 659 + [ rdf:type spif:titleCase ;
660 - ] [ rdf:type sp:Bind ; 660 + sp:arg1 _:b74
661 - sp:expression 661 + ] ;
662 - [ rdf:type smf:buildURI ; 662 + sp:variable _:b75
663 - sp:arg1 [ rdf:type fn:concat ; 663 + ] [ rdf:type sp:Bind ;
664 - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 664 + sp:expression
665 - sp:arg2 _:b72 665 + [ rdf:type smf:buildURI ;
666 - ] 666 + sp:arg1 [ rdf:type fn:concat ;
667 - ] ; 667 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
668 - sp:variable _:b64 668 + sp:arg2 _:b75
669 - ] [ rdf:type sp:Bind ; 669 + ]
670 - sp:expression 670 + ] ;
671 - [ rdf:type smf:buildURI ; 671 + sp:variable _:b69
672 - sp:arg1 [ rdf:type fn:concat ; 672 + ] [ rdf:type sp:Bind ;
673 - sp:arg1 "http://www.reportinghub.no/map/ddr#" ; 673 + sp:expression
674 - sp:arg2 _:b72 ; 674 + [ rdf:type spif:titleCase ;
675 - sp:arg3 "-has" ; 675 + sp:arg1 _:b73 ;
676 - sp:arg4 _:b71 676 + sp:arg2 "[a-z]s"
677 - ] 677 + ] ;
678 - ] ; 678 + sp:variable _:b76
679 - sp:variable _:b63 679 + ] [ rdf:type sp:Bind ;
680 - ]) 680 + sp:expression
681 - ] ; 681 + [ rdf:type smf:buildURI ;
682 - spin:query 682 + sp:arg1 [ rdf:type fn:concat ;
683 - [ rdf:type sp:Select ; 683 + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
684 - sp:resultVariables (_:b73 _:b74 _:b75 _:b76) ; 684 + sp:arg2 _:b76
685 - sp:where ([ sp:object _:b76 ; 685 + ]
686 - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; 686 + ] ;
687 - sp:subject _:b75 687 + sp:variable _:b68
688 - ] [ sp:object _:b75 ; 688 + ] [ rdf:type sp:Bind ;
689 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 689 + sp:expression
690 - sp:subject _:b74 690 + [ rdf:type smf:buildURI ;
691 - ] [ rdf:type sp:Union ; 691 + sp:arg1 [ rdf:type fn:concat ;
692 - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; 692 + sp:arg1 "http://www.reportinghub.no/map/ddr#" ;
693 - sp:predicate rdf:type ; 693 + sp:arg2 _:b76 ;
694 - sp:subject _:b74 694 + sp:arg3 "-has" ;
695 - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; 695 + sp:arg4 _:b75
696 - sp:predicate rdf:type ; 696 + ]
697 - sp:subject _:b74 697 + ] ;
698 - ])) 698 + sp:variable _:b67
699 - ] [ sp:object _:b74 ; 699 + ])
700 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 700 + ] .
701 - sp:subject _:b73 701 +
702 - ]) 702 +_:b66
703 - ] . 703 + sp:varName "e"^^xsd:string .
704 - 704 +
705 -_:b55 705 +_:b65
706 - sp:varName "child"^^xsd:string . 706 + sp:varName "s"^^xsd:string .
707 - 707 +
708 -_:b56 708 +_:b64
709 - sp:varName "formalProperty"^^xsd:string . 709 + sp:varName "p"^^xsd:string .
710 - 710 +
711 -_:b57 711 +_:b63
712 - sp:varName "inst"^^xsd:string . 712 + sp:varName "pp"^^xsd:string .
713 - 713 +
714 -_:b59 714 +_:b76
715 - sp:varName "childType"^^xsd:string . 715 + sp:varName "tcname"^^xsd:string .
716 - 716 +
717 -_:b60 717 +_:b75
718 - sp:varName "instType"^^xsd:string . 718 + sp:varName "tcpname"^^xsd:string .
719 - 719 +
720 -_:b61 720 +_:b74
721 - sp:varName "instClass"^^xsd:string . 721 + sp:varName "pname"^^xsd:string .
722 - 722 +
723 -_:b62 723 +_:b73
724 - sp:varName "valuesRestriction"^^xsd:string . 724 + sp:varName "name"^^xsd:string .
725 - 725 +
726 -_:b43 726 +_:b72
727 - sp:varName "text"^^xsd:string . 727 + sp:varName "c"^^xsd:string .
728 - 728 +
729 -_:b44 729 +_:b71
730 - sp:varName "dtpnameU"^^xsd:string . 730 + sp:varName "s"^^xsd:string .
731 - 731 +
732 -_:b45 732 +_:b70
733 - sp:varName "inst"^^xsd:string . 733 + sp:varName "mre"^^xsd:string .
734 - 734 +
735 -_:b47 735 +_:b69
736 - sp:varName "child"^^xsd:string . 736 + sp:varName "ddrPU"^^xsd:string .
737 - 737 +
738 -_:b48 738 +_:b68
739 - sp:varName "childType"^^xsd:string . 739 + sp:varName "ddrCU"^^xsd:string .
740 - 740 +
741 -_:b49 741 +_:b67
742 - sp:varName "childLocalName"^^xsd:string . 742 + sp:varName "ddrCPU"^^xsd:string .
743 - 743 +
744 -_:b50 744 +_:b8 sp:varName "valuesRestriction"^^xsd:string .
745 - sp:varName "textNode"^^xsd:string . 745 +
746 - 746 +_:b7 sp:varName "instClass"^^xsd:string .
747 -_:b51 747 +
748 - sp:varName "instType"^^xsd:string . 748 +_:b6 sp:varName "instType"^^xsd:string .
749 - 749 +
750 -_:b52 750 +_:b5 sp:varName "childType"^^xsd:string .
751 - sp:varName "instClass"^^xsd:string . 751 +
752 - 752 +_:b3 sp:varName "inst"^^xsd:string .
753 -_:b53 753 +
754 - sp:varName "valuesRestriction"^^xsd:string . 754 +_:b2 sp:varName "formalProperty"^^xsd:string .
755 - 755 +
756 -_:b54 756 +_:b1 sp:varName "child"^^xsd:string .
757 - sp:varName "rangeType"^^xsd:string . 757 +
758 - 758 +_:b20
759 -_:b30 759 + sp:varName "rangeType"^^xsd:string .
760 - sp:varName "enumeratedValue"^^xsd:string . 760 +
761 - 761 +_:b19
762 -_:b31 762 + sp:varName "valuesRestriction"^^xsd:string .
763 - sp:varName "opnameU"^^xsd:string . 763 +
764 - 764 +_:b18
765 -_:b32 765 + sp:varName "instClass"^^xsd:string .
766 - sp:varName "inst"^^xsd:string . 766 +
767 - 767 +_:b17
768 -_:b34 768 + sp:varName "instType"^^xsd:string .
769 - sp:varName "child"^^xsd:string . 769 +
770 - 770 +_:b16
771 -_:b35 771 + sp:varName "textNode"^^xsd:string .
772 - sp:varName "childType"^^xsd:string . 772 +
773 - 773 +_:b15
774 -_:b36 774 + sp:varName "childLocalName"^^xsd:string .
775 - sp:varName "childLocalName"^^xsd:string . 775 +
776 - 776 +_:b14
777 -_:b37 777 + sp:varName "childType"^^xsd:string .
778 - sp:varName "instType"^^xsd:string . 778 +
779 - 779 +_:b13
780 -_:b38 780 + sp:varName "child"^^xsd:string .
781 - sp:varName "instClass"^^xsd:string . 781 +
782 - 782 +_:b11
783 -_:b39 783 + sp:varName "inst"^^xsd:string .
784 - sp:varName "valuesRestriction"^^xsd:string . 784 +
785 - 785 +_:b10
786 -_:b40 786 + sp:varName "dtpnameU"^^xsd:string .
787 - sp:varName "rangeU"^^xsd:string . 787 +
788 - 788 +_:b9 sp:varName "text"^^xsd:string .
789 -_:b41 789 +
790 - sp:varName "textNode"^^xsd:string . 790 +_:b33
791 - 791 + sp:varName "text"^^xsd:string .
792 -_:b42 792 +
793 - sp:varName "text"^^xsd:string . 793 +_:b32
794 - 794 + sp:varName "textNode"^^xsd:string .
795 -_:b15 795 +
796 - sp:varName "rangeU"^^xsd:string . 796 +_:b31
797 - 797 + sp:varName "rangeU"^^xsd:string .
798 -_:b17 798 +
799 - sp:varName "uom"^^xsd:string . 799 +_:b30
800 - 800 + sp:varName "valuesRestriction"^^xsd:string .
801 -_:b18 801 +
802 - sp:varName "value"^^xsd:string . 802 +_:b29
803 - 803 + sp:varName "instClass"^^xsd:string .
804 -_:b19 804 +
805 - sp:varName "opnameU"^^xsd:string . 805 +_:b28
806 - 806 + sp:varName "instType"^^xsd:string .
807 -_:b20 807 +
808 - sp:varName "inst"^^xsd:string . 808 +_:b27
809 - 809 + sp:varName "childLocalName"^^xsd:string .
810 -_:b22 810 +
811 - sp:varName "child"^^xsd:string . 811 +_:b26
812 - 812 + sp:varName "childType"^^xsd:string .
813 -_:b23 813 +
814 - sp:varName "childType"^^xsd:string . 814 +_:b25
815 - 815 + sp:varName "child"^^xsd:string .
816 -_:b24 816 +
817 - sp:varName "childLocalName"^^xsd:string . 817 +_:b23
818 - 818 + sp:varName "inst"^^xsd:string .
819 -_:b25 819 +
820 - sp:varName "instType"^^xsd:string . 820 +_:b22
821 - 821 + sp:varName "opnameU"^^xsd:string .
822 -_:b26 822 +
823 - sp:varName "instClass"^^xsd:string . 823 +_:b21
824 - 824 + sp:varName "enumeratedValue"^^xsd:string .
825 -_:b27 825 +
826 - sp:varName "allValuesRestriction"^^xsd:string . 826 +_:b48
827 - 827 + sp:varName "text"^^xsd:string .
828 -_:b28 828 +
829 - sp:varName "textNode"^^xsd:string . 829 +_:b47
830 - 830 + sp:varName "textNode"^^xsd:string .
831 -_:b29 831 +
832 - sp:varName "text"^^xsd:string . 832 +_:b46
833 - 833 + sp:varName "allValuesRestriction"^^xsd:string .
834 -_:b2 sp:varName "dateTime"^^xsd:string . 834 +
835 - 835 +_:b45
836 -_:b3 sp:varName "dtpnameU"^^xsd:string . 836 + sp:varName "instClass"^^xsd:string .
837 - 837 +
838 -_:b4 sp:varName "inst"^^xsd:string . 838 +_:b44
839 - 839 + sp:varName "instType"^^xsd:string .
840 -_:b6 sp:varName "child"^^xsd:string . 840 +
841 - 841 +_:b43
842 -_:b7 sp:varName "childType"^^xsd:string . 842 + sp:varName "childLocalName"^^xsd:string .
843 - 843 +
844 -_:b8 sp:varName "childLocalName"^^xsd:string . 844 +_:b42
845 - 845 + sp:varName "childType"^^xsd:string .
846 -_:b9 sp:varName "textNode"^^xsd:string . 846 +
847 - 847 +_:b41
848 -_:b10 848 + sp:varName "child"^^xsd:string .
849 - sp:varName "text"^^xsd:string . 849 +
850 - 850 +_:b39
851 -_:b11 851 + sp:varName "inst"^^xsd:string .
852 - sp:varName "instType"^^xsd:string . 852 +
853 - 853 +_:b38
854 -_:b12 854 + sp:varName "opnameU"^^xsd:string .
855 - sp:varName "instClass"^^xsd:string . 855 +
856 - 856 +_:b37
857 -_:b13 857 + sp:varName "value"^^xsd:string .
858 - sp:varName "valuesRestriction"^^xsd:string . 858 +
859 - 859 +_:b36
860 -_:b14 860 + sp:varName "uom"^^xsd:string .
861 - sp:varName "rangeType"^^xsd:string . 861 +
862 - 862 +_:b34
863 -_:b73 863 + sp:varName "rangeU"^^xsd:string .
864 - sp:varName "pp"^^xsd:string . 864 +
865 - 865 +_:b61
866 -_:b74 866 + sp:varName "rangeType"^^xsd:string .
867 - sp:varName "p"^^xsd:string . 867 +
868 - 868 +_:b60
869 -_:b75 869 + sp:varName "valuesRestriction"^^xsd:string .
870 - sp:varName "s"^^xsd:string . 870 +
871 - 871 +_:b59
872 -_:b76 872 + sp:varName "instClass"^^xsd:string .
873 - sp:varName "e"^^xsd:string . 873 +
874 - 874 +_:b58
875 -_:b63 875 + sp:varName "instType"^^xsd:string .
876 - sp:varName "ddrCPU"^^xsd:string . 876 +
877 - 877 +_:b57
878 -_:b64 878 + sp:varName "text"^^xsd:string .
879 - sp:varName "ddrCU"^^xsd:string . 879 +
880 - 880 +_:b56
881 -_:b65 881 + sp:varName "textNode"^^xsd:string .
882 - sp:varName "ddrPU"^^xsd:string . 882 +
883 - 883 +_:b55
884 -_:b66 884 + sp:varName "childLocalName"^^xsd:string .
885 - sp:varName "mre"^^xsd:string . 885 +
886 - 886 +_:b54
887 -_:b67 887 + sp:varName "childType"^^xsd:string .
888 - sp:varName "s"^^xsd:string . 888 +
889 - 889 +_:b53
890 -_:b68 890 + sp:varName "child"^^xsd:string .
891 - sp:varName "c"^^xsd:string . 891 +
892 - 892 +_:b51
893 -_:b69 893 + sp:varName "inst"^^xsd:string .
894 - sp:varName "name"^^xsd:string . 894 +
895 - 895 +_:b50
896 -_:b70 896 + sp:varName "dtpnameU"^^xsd:string .
897 - sp:varName "pname"^^xsd:string . 897 +
898 - 898 +_:b49
899 -_:b71 899 + sp:varName "dateTime"^^xsd:string .
900 - sp:varName "tcpname"^^xsd:string . 900 +
901 - 901 +_:b62
902 -_:b72 902 + sp:varName "activity"^^xsd:string .
903 - sp:varName "tcname"^^xsd:string .
904 -
905 -_:b1 sp:varName "activity"^^xsd:string .
......