Holger Knublauch

Attempt to fix conflict on DDR .uispin. file

Remove accidentally committed import of XML file into normalization
1 +# Saved by TopBraid on Thu Aug 11 18:18:26 BST 2011
1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity
2 -# imports: http://www.linkedmodel.org/1.1/schema/ordered
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/core 4 # imports: http://www.reportinghub.no/ep/schema/1.0/core
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
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/equipment
7 +# imports: http://www.linkedmodel.org/1.1/schema/ordered
7 8
8 @prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . 9 @prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
9 @prefix owl: <http://www.w3.org/2002/07/owl#> . 10 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -13,7 +14,7 @@ ...@@ -13,7 +14,7 @@
13 14
14 <http://www.reportinghub.no/ep/schema/1.0/activity> 15 <http://www.reportinghub.no/ep/schema/1.0/activity>
15 rdf:type owl:Ontology ; 16 rdf:type owl:Ontology ;
16 - owl:imports <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> ; 17 + 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> ;
17 owl:versionInfo "0.1.0"^^xsd:string . 18 owl:versionInfo "0.1.0"^^xsd:string .
18 19
19 ep-activity:Activity 20 ep-activity:Activity
...@@ -22,33 +23,33 @@ ep-activity:Activity ...@@ -22,33 +23,33 @@ ep-activity:Activity
22 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 23 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
23 rdfs:subClassOf 24 rdfs:subClassOf
24 [ rdf:type owl:Restriction ; 25 [ rdf:type owl:Restriction ;
25 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 26 + owl:allValuesFrom ep-activity:Activity ;
26 - owl:onProperty ep-activity:finishedAt 27 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
27 ] ; 28 ] ;
28 rdfs:subClassOf 29 rdfs:subClassOf
29 [ rdf:type owl:Restriction ; 30 [ rdf:type owl:Restriction ;
30 - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; 31 + owl:allValuesFrom ep-activity:Activity ;
31 - owl:onProperty ep-activity:startedAt 32 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
32 ] ; 33 ] ;
33 rdfs:subClassOf 34 rdfs:subClassOf
34 [ rdf:type owl:Restriction ; 35 [ rdf:type owl:Restriction ;
35 owl:allValuesFrom ep-activity:Activity ; 36 owl:allValuesFrom ep-activity:Activity ;
36 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> 37 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
37 ] ; 38 ] ;
38 rdfs:subClassOf 39 rdfs:subClassOf
39 [ rdf:type owl:Restriction ; 40 [ rdf:type owl:Restriction ;
40 owl:allValuesFrom ep-activity:Activity ; 41 owl:allValuesFrom ep-activity:Activity ;
41 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> 42 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
42 ] ; 43 ] ;
43 rdfs:subClassOf 44 rdfs:subClassOf
44 [ rdf:type owl:Restriction ; 45 [ rdf:type owl:Restriction ;
45 - owl:allValuesFrom ep-activity:Activity ; 46 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
46 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> 47 + owl:onProperty ep-activity:startedAt
47 ] ; 48 ] ;
48 rdfs:subClassOf 49 rdfs:subClassOf
49 [ rdf:type owl:Restriction ; 50 [ rdf:type owl:Restriction ;
50 - owl:allValuesFrom ep-activity:Activity ; 51 + owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
51 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> 52 + owl:onProperty ep-activity:finishedAt
52 ] . 53 ] .
53 54
54 ep-activity:DailyDrillingActivity 55 ep-activity:DailyDrillingActivity
...@@ -57,13 +58,13 @@ ep-activity:DailyDrillingActivity ...@@ -57,13 +58,13 @@ ep-activity:DailyDrillingActivity
57 rdfs:subClassOf ep-activity:DrillingActivity ; 58 rdfs:subClassOf ep-activity:DrillingActivity ;
58 rdfs:subClassOf 59 rdfs:subClassOf
59 [ rdf:type owl:Restriction ; 60 [ rdf:type owl:Restriction ;
60 - owl:allValuesFrom ep-activity:Activity ; 61 + owl:allValuesFrom ep-activity:DrillingActivity ;
61 - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> 62 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
62 ] ; 63 ] ;
63 rdfs:subClassOf 64 rdfs:subClassOf
64 [ rdf:type owl:Restriction ; 65 [ rdf:type owl:Restriction ;
65 - owl:allValuesFrom ep-activity:DrillingActivity ; 66 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
66 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> 67 + owl:onProperty ep-activity:onWellBore
67 ] ; 68 ] ;
68 rdfs:subClassOf 69 rdfs:subClassOf
69 [ rdf:type owl:Restriction ; 70 [ rdf:type owl:Restriction ;
...@@ -72,20 +73,15 @@ ep-activity:DailyDrillingActivity ...@@ -72,20 +73,15 @@ ep-activity:DailyDrillingActivity
72 ] ; 73 ] ;
73 rdfs:subClassOf 74 rdfs:subClassOf
74 [ rdf:type owl:Restriction ; 75 [ rdf:type owl:Restriction ;
75 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; 76 + owl:allValuesFrom ep-activity:DrillingActivity ;
76 - owl:onProperty ep-activity:onWellBore 77 + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
77 ] ; 78 ] ;
78 rdfs:subClassOf 79 rdfs:subClassOf
79 [ rdf:type owl:Restriction ; 80 [ rdf:type owl:Restriction ;
80 - owl:allValuesFrom ep-activity:DrillingActivity ; 81 + owl:allValuesFrom ep-activity:Activity ;
81 - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> 82 + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
82 ] . 83 ] .
83 84
84 -ep-activity:DailyDrillingReportFinalisationType
85 - rdf:type rdfs:Class ;
86 - rdfs:label "daily drilling report finalisation type"^^xsd:string ;
87 - rdfs:subClassOf owl:Class .
88 -
89 ep-activity:DailyProductionActivity 85 ep-activity:DailyProductionActivity
90 rdf:type owl:Class ; 86 rdf:type owl:Class ;
91 rdfs:label "Daily production activity"^^xsd:string ; 87 rdfs:label "Daily production activity"^^xsd:string ;
...@@ -132,13 +128,13 @@ ep-activity:DrillingActivity ...@@ -132,13 +128,13 @@ ep-activity:DrillingActivity
132 rdfs:subClassOf ep-activity:Activity . 128 rdfs:subClassOf ep-activity:Activity .
133 129
134 ep-activity:FormationIntegrityTest 130 ep-activity:FormationIntegrityTest
135 - rdf:type owl:Class , ep-activity:PressureTestType ; 131 + rdf:type ep-activity:PressureTestType , owl:Class ;
136 rdfs:label "formation integrity test"^^xsd:string ; 132 rdfs:label "formation integrity test"^^xsd:string ;
137 rdfs:subClassOf ep-activity:WellBorePressureTest ; 133 rdfs:subClassOf ep-activity:WellBorePressureTest ;
138 owl:disjointWith ep-activity:LeakOffTest . 134 owl:disjointWith ep-activity:LeakOffTest .
139 135
140 ep-activity:LeakOffTest 136 ep-activity:LeakOffTest
141 - rdf:type owl:Class , ep-activity:PressureTestType ; 137 + rdf:type ep-activity:PressureTestType , owl:Class ;
142 rdfs:label "leak-off test"^^xsd:string ; 138 rdfs:label "leak-off test"^^xsd:string ;
143 rdfs:subClassOf ep-activity:WellBorePressureTest ; 139 rdfs:subClassOf ep-activity:WellBorePressureTest ;
144 owl:disjointWith ep-activity:FormationIntegrityTest . 140 owl:disjointWith ep-activity:FormationIntegrityTest .
...@@ -174,7 +170,7 @@ ep-activity:OffshoreWellActivity ...@@ -174,7 +170,7 @@ ep-activity:OffshoreWellActivity
174 rdfs:subClassOf ep-activity:OffshoreActivity ; 170 rdfs:subClassOf ep-activity:OffshoreActivity ;
175 rdfs:subClassOf 171 rdfs:subClassOf
176 [ rdf:type owl:Restriction ; 172 [ rdf:type owl:Restriction ;
177 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 173 + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
178 owl:onProperty ep-activity:onWell 174 owl:onProperty ep-activity:onWell
179 ] ; 175 ] ;
180 rdfs:subClassOf 176 rdfs:subClassOf
...@@ -184,7 +180,7 @@ ep-activity:OffshoreWellActivity ...@@ -184,7 +180,7 @@ ep-activity:OffshoreWellActivity
184 ] ; 180 ] ;
185 rdfs:subClassOf 181 rdfs:subClassOf
186 [ rdf:type owl:Restriction ; 182 [ rdf:type owl:Restriction ;
187 - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; 183 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
188 owl:onProperty ep-activity:onWell 184 owl:onProperty ep-activity:onWell
189 ] . 185 ] .
190 186
...@@ -229,7 +225,7 @@ ep-activity:WellBorePressureTest ...@@ -229,7 +225,7 @@ ep-activity:WellBorePressureTest
229 rdfs:subClassOf ep-activity:Activity . 225 rdfs:subClassOf ep-activity:Activity .
230 226
231 ep-activity:createdAt 227 ep-activity:createdAt
232 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 228 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
233 rdfs:label "created at"^^xsd:string ; 229 rdfs:label "created at"^^xsd:string ;
234 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 230 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
235 231
...@@ -251,7 +247,7 @@ ep-activity:onWell ...@@ -251,7 +247,7 @@ ep-activity:onWell
251 rdfs:label "on well"^^xsd:string . 247 rdfs:label "on well"^^xsd:string .
252 248
253 ep-activity:onWellBore 249 ep-activity:onWellBore
254 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 250 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
255 rdfs:label "on WellBore"^^xsd:string . 251 rdfs:label "on WellBore"^^xsd:string .
256 252
257 ep-activity:reportOn 253 ep-activity:reportOn
...@@ -264,7 +260,7 @@ ep-activity:startedAt ...@@ -264,7 +260,7 @@ ep-activity:startedAt
264 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . 260 rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
265 261
266 ep-activity:wellBoreDrillingType 262 ep-activity:wellBoreDrillingType
267 - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; 263 + rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
268 rdfs:domain ep-activity:DrillingActivity ; 264 rdfs:domain ep-activity:DrillingActivity ;
269 rdfs:label "has sub activity"^^xsd:string ; 265 rdfs:label "has sub activity"^^xsd:string ;
270 rdfs:range ep-activity:WellBoreDrillingType ; 266 rdfs:range ep-activity:WellBoreDrillingType ;
......
1 +# Saved by TopBraid on Thu Aug 11 18:17:22 BST 2011
1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/report 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/report
2 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/well
3 # imports: http://www.reportinghub.no/ep/schema/1.0/core 4 # imports: http://www.reportinghub.no/ep/schema/1.0/core
4 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 5 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/well 6 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
6 7
7 @prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> . 8 @prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> .
8 @prefix owl: <http://www.w3.org/2002/07/owl#> . 9 @prefix owl: <http://www.w3.org/2002/07/owl#> .
...@@ -12,23 +13,27 @@ ...@@ -12,23 +13,27 @@
12 13
13 <http://www.reportinghub.no/ep/schema/1.0/report> 14 <http://www.reportinghub.no/ep/schema/1.0/report>
14 rdf:type owl:Ontology ; 15 rdf:type owl:Ontology ;
15 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> ; 16 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <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/well> ;
16 owl:versionInfo "0.1.0"^^xsd:string . 17 owl:versionInfo "0.1.0"^^xsd:string .
17 18
18 ep-report:DailyDrillingReport 19 ep-report:DailyDrillingReport
19 rdf:type owl:Class ; 20 rdf:type owl:Class ;
20 rdfs:subClassOf ep-report:Report . 21 rdfs:subClassOf ep-report:Report .
21 22
22 -ep-report:FinalDailyDrillingReport 23 +ep-report:DailyDrillingReportFinalisationType
23 rdf:type owl:Class ; 24 rdf:type owl:Class ;
25 + rdfs:subClassOf owl:Class .
26 +
27 +ep-report:FinalDailyDrillingReport
28 + rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
24 rdfs:subClassOf ep-report:DailyDrillingReport . 29 rdfs:subClassOf ep-report:DailyDrillingReport .
25 30
26 ep-report:NormalDailyDrillingReport 31 ep-report:NormalDailyDrillingReport
27 - rdf:type owl:Class ; 32 + rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
28 rdfs:subClassOf ep-report:DailyDrillingReport . 33 rdfs:subClassOf ep-report:DailyDrillingReport .
29 34
30 ep-report:PreliminaryDailyDrillingReport 35 ep-report:PreliminaryDailyDrillingReport
31 - rdf:type owl:Class ; 36 + rdf:type ep-report:DailyDrillingReportFinalisationType , owl:Class ;
32 rdfs:subClassOf ep-report:DailyDrillingReport . 37 rdfs:subClassOf ep-report:DailyDrillingReport .
33 38
34 ep-report:Report 39 ep-report:Report
......
1 -# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization 1 # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
3 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity 2 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
4 -# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
5 -# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
6 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport 3 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
7 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo 4 # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
5 +# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
6 +# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo
7 +# imports: http://www.reportinghub.no/swp/ddr
8 8
9 @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . 9 @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
10 +@prefix ddr1: <http://www.reportinghub.no/swp/ddr#> .
10 @prefix fn: <http://www.w3.org/2005/xpath-functions#> . 11 @prefix fn: <http://www.w3.org/2005/xpath-functions#> .
11 @prefix owl: <http://www.w3.org/2002/07/owl#> . 12 @prefix owl: <http://www.w3.org/2002/07/owl#> .
12 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 13 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
...@@ -21,7 +22,7 @@ ...@@ -21,7 +22,7 @@
21 22
22 <http://www.reportinghub.no/ep/transform/1.1/normalization> 23 <http://www.reportinghub.no/ep/transform/1.1/normalization>
23 rdf:type owl:Ontology ; 24 rdf:type owl:Ontology ;
24 - owl:imports <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> ; 25 + owl:imports <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/swp/ddr> ;
25 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 26 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
26 27
27 owl:Thing 28 owl:Thing
...@@ -62,8 +63,8 @@ owl:Thing ...@@ -62,8 +63,8 @@ owl:Thing
62 ]) 63 ])
63 ] . 64 ] .
64 65
65 -_:b1 sp:varName "oldLabel"^^xsd:string . 66 +_:b3 sp:varName "newLabel"^^xsd:string .
66 67
67 _:b2 sp:varName "p"^^xsd:string . 68 _:b2 sp:varName "p"^^xsd:string .
68 69
69 -_:b3 sp:varName "newLabel"^^xsd:string . 70 +_:b1 sp:varName "oldLabel"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011
2 # baseURI: null 1 # baseURI: null
3 2
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 3 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -# Saved by TopBraid on Wed Aug 10 18:50:05 PDT 2011 1 +# Saved by TopBraid on Wed Aug 10 23:13:44 PDT 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
...@@ -26,15 +26,6 @@ ...@@ -26,15 +26,6 @@
26 @prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . 26 @prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> .
27 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 27 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
28 28
29 -NPD_1104121247071:r-0-7
30 - sxml:element "witsml:wellAlias"^^xsd:string .
31 -
32 -NPD_1104121247071:r-0-8
33 - sxml:element "witsml:wellboreAlias"^^xsd:string .
34 -
35 -NPD_1104121247071:r-0-9
36 - sxml:element "witsml:wellboreAlias"^^xsd:string .
37 -
38 ddr:Cs_activity 29 ddr:Cs_activity
39 spin:rule 30 spin:rule
40 [ rdf:type sp:Construct ; 31 [ rdf:type sp:Construct ;
...@@ -48,7 +39,7 @@ ddr:Cs_activity ...@@ -48,7 +39,7 @@ ddr:Cs_activity
48 sxml:element "witsml:activity"^^xsd:string . 39 sxml:element "witsml:activity"^^xsd:string .
49 40
50 ddr:Cs_alias 41 ddr:Cs_alias
51 - sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . 42 + sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string .
52 43
53 ddr:Cs_bitRecord 44 ddr:Cs_bitRecord
54 sxml:element "witsml:bitRecord" . 45 sxml:element "witsml:bitRecord" .
...@@ -96,7 +87,7 @@ ddr:Cs_drillReportPorePressure ...@@ -96,7 +87,7 @@ ddr:Cs_drillReportPorePressure
96 sxml:element "witsml:drillReportPorePressure" . 87 sxml:element "witsml:drillReportPorePressure" .
97 88
98 ddr:Cs_drillReportStatusInfo 89 ddr:Cs_drillReportStatusInfo
99 - sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" . 90 + sxml:element "witsml:drillReportStatusInfo" , "witsml:statusInfo"^^xsd:string .
100 91
101 ddr:Cs_drillReportStratInfo 92 ddr:Cs_drillReportStratInfo
102 sxml:element "witsml:drillReportStratInfo" . 93 sxml:element "witsml:drillReportStratInfo" .
...@@ -132,7 +123,7 @@ ddr:Cs_refWellWellboreRig ...@@ -132,7 +123,7 @@ ddr:Cs_refWellWellboreRig
132 sxml:element "witsml:refWellWellboreRig" . 123 sxml:element "witsml:refWellWellboreRig" .
133 124
134 ddr:Cs_wellAlias 125 ddr:Cs_wellAlias
135 - sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias"^^xsd:string . 126 + sxml:element "witsml:wellAlias"^^xsd:string , "witsml:wellboreAlias"^^xsd:string .
136 127
137 ddr:Cs_wellCRS 128 ddr:Cs_wellCRS
138 sxml:element "witsml:wellCRS" . 129 sxml:element "witsml:wellCRS" .
...@@ -149,7 +140,7 @@ ddr:Obj_drillReport ...@@ -149,7 +140,7 @@ ddr:Obj_drillReport
149 ddr:Thing 140 ddr:Thing
150 spin:rule 141 spin:rule
151 [ rdf:type sp:Construct ; 142 [ rdf:type sp:Construct ;
152 - rdfs:comment "STEP 018 - Construct all other object properties - WIP"^^xsd:string ; 143 + rdfs:comment "STEP 018 - Construct all other object properties"^^xsd:string ;
153 sp:templates ([ sp:object _:b1 ; 144 sp:templates ([ sp:object _:b1 ;
154 sp:predicate _:b2 ; 145 sp:predicate _:b2 ;
155 sp:subject spin:_this 146 sp:subject spin:_this
...@@ -187,8 +178,15 @@ ddr:Thing ...@@ -187,8 +178,15 @@ ddr:Thing
187 ] [ sp:object _:b1 ; 178 ] [ sp:object _:b1 ;
188 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 179 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
189 sp:subject spin:_this 180 sp:subject spin:_this
181 + ] [ rdf:type sp:NotExists ;
182 + sp:elements ([ sp:object
183 + [ sp:varName "aNode"^^xsd:string
184 + ] ;
185 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
186 + sp:subject _:b1
187 + ])
190 ] [ sp:object _:b7 ; 188 ] [ sp:object _:b7 ;
191 - sp:predicate sxml:instanceElement ; 189 + sp:predicate sxml:tag ;
192 sp:subject _:b1 190 sp:subject _:b1
193 ] [ rdf:type sp:Bind ; 191 ] [ rdf:type sp:Bind ;
194 sp:expression 192 sp:expression
...@@ -219,175 +217,232 @@ ddr:Thing ...@@ -219,175 +217,232 @@ ddr:Thing
219 ] ; 217 ] ;
220 spin:rule 218 spin:rule
221 [ rdf:type sp:Construct ; 219 [ rdf:type sp:Construct ;
222 - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; 220 + rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ;
223 sp:templates ([ sp:object _:b10 ; 221 sp:templates ([ sp:object _:b10 ;
224 - sp:predicate rdf:type ; 222 + sp:predicate _:b11 ;
225 - sp:subject _:b11
226 - ] [ sp:object _:b12 ;
227 - sp:predicate ddr:uom ;
228 - sp:subject _:b11
229 - ] [ sp:object _:b13 ;
230 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
231 - sp:subject _:b11
232 - ] [ sp:object _:b11 ;
233 - sp:predicate _:b14 ;
234 sp:subject spin:_this 223 sp:subject spin:_this
235 ] [ sp:object rdf:Statement ; 224 ] [ sp:object rdf:Statement ;
236 sp:predicate rdf:type ; 225 sp:predicate rdf:type ;
237 - sp:subject _:b15 226 + sp:subject _:b12
238 ] [ sp:object spin:_this ; 227 ] [ sp:object spin:_this ;
239 sp:predicate rdf:subject ; 228 sp:predicate rdf:subject ;
240 - sp:subject _:b15 229 + sp:subject _:b12
241 - ] [ sp:object _:b14 ; 230 + ] [ sp:object _:b11 ;
242 sp:predicate rdf:predicate ; 231 sp:predicate rdf:predicate ;
243 - sp:subject _:b15 232 + sp:subject _:b12
244 - ] [ sp:object _:b13 ; 233 + ] [ sp:object _:b10 ;
245 sp:predicate rdf:object ; 234 sp:predicate rdf:object ;
246 - sp:subject _:b15 235 + sp:subject _:b12
247 - ] [ sp:object _:b15 ; 236 + ] [ sp:object _:b12 ;
248 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 237 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
249 - sp:subject _:b16 238 + sp:subject _:b13
250 ]) ; 239 ]) ;
251 - sp:where ([ sp:object _:b16 ; 240 + sp:where ([ sp:object _:b13 ;
252 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 241 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
253 sp:subject spin:_this 242 sp:subject spin:_this
254 - ] [ sp:object _:b17 ; 243 + ] [ sp:object _:b14 ;
255 sp:predicate rdf:type ; 244 sp:predicate rdf:type ;
256 - sp:subject _:b16 245 + sp:subject _:b13
257 - ] [ sp:object _:b12 ;
258 - sp:predicate ddr:uom ;
259 - sp:subject _:b16
260 ] [ rdf:type sp:NotExists ; 246 ] [ rdf:type sp:NotExists ;
261 sp:elements ([ sp:object 247 sp:elements ([ sp:object
262 - [ sp:varName "aNode"^^xsd:string 248 + [ sp:varName "uom"^^xsd:string
263 ] ; 249 ] ;
264 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 250 + sp:predicate ddr:uom ;
265 - sp:subject _:b16 251 + sp:subject _:b13
266 ]) 252 ])
267 ] [ rdf:type sp:Bind ; 253 ] [ rdf:type sp:Bind ;
268 sp:expression 254 sp:expression
269 [ rdf:type afn:localname ; 255 [ rdf:type afn:localname ;
270 - sp:arg1 _:b17 256 + sp:arg1 _:b14
271 ] ; 257 ] ;
272 - sp:variable _:b18 258 + sp:variable _:b15
273 ] [ rdf:type sp:Bind ; 259 ] [ rdf:type sp:Bind ;
274 sp:expression 260 sp:expression
275 [ rdf:type smf:buildURI ; 261 [ rdf:type smf:buildURI ;
276 sp:arg1 [ rdf:type fn:concat ; 262 sp:arg1 [ rdf:type fn:concat ;
277 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 263 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
278 - sp:arg2 _:b18 264 + sp:arg2 _:b15
279 ] 265 ]
280 ] ; 266 ] ;
281 - sp:variable _:b14 267 + sp:variable _:b11
282 - ] [ sp:object owl:ObjectProperty ; 268 + ] [ sp:object owl:DatatypeProperty ;
283 sp:predicate rdf:type ; 269 sp:predicate rdf:type ;
284 - sp:subject _:b14 270 + sp:subject _:b11
285 - ] [ sp:object _:b14 ; 271 + ] [ sp:object _:b11 ;
286 sp:predicate owl:onProperty ; 272 sp:predicate owl:onProperty ;
287 - sp:subject _:b19 273 + sp:subject _:b16
288 - ] [ sp:object _:b10 ; 274 + ] [ sp:object _:b17 ;
289 sp:predicate owl:allValuesFrom ; 275 sp:predicate owl:allValuesFrom ;
290 - sp:subject _:b19 276 + sp:subject _:b16
277 + ] [ rdf:type sp:TriplePath ;
278 + sp:object xsd:dateTime ;
279 + sp:path [ rdf:type sp:ModPath ;
280 + sp:modMax -2 ;
281 + sp:modMin 0 ;
282 + sp:subPath rdfs:subClassOf
283 + ] ;
284 + sp:subject _:b17
285 + ] [ sp:object _:b18 ;
286 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
287 + sp:subject _:b13
288 + ] [ sp:object sxml:TextNode ;
289 + sp:predicate rdf:type ;
290 + sp:subject _:b18
291 + ] [ sp:object _:b19 ;
292 + sp:predicate sxml:text ;
293 + sp:subject _:b18
291 ] [ sp:object _:b20 ; 294 ] [ sp:object _:b20 ;
292 sp:predicate rdf:type ; 295 sp:predicate rdf:type ;
293 sp:subject spin:_this 296 sp:subject spin:_this
294 ] [ rdf:type sp:TriplePath ; 297 ] [ rdf:type sp:TriplePath ;
295 - sp:object _:b19 ; 298 + sp:object _:b16 ;
296 sp:path [ rdf:type sp:ModPath ; 299 sp:path [ rdf:type sp:ModPath ;
297 sp:modMax -2 ; 300 sp:modMax -2 ;
298 sp:modMin 0 ; 301 sp:modMin 0 ;
299 sp:subPath rdfs:subClassOf 302 sp:subPath rdfs:subClassOf
300 ] ; 303 ] ;
301 sp:subject _:b20 304 sp:subject _:b20
302 - ] [ sp:object _:b21 ; 305 + ] [ rdf:type sp:Bind ;
303 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 306 + sp:expression
304 - sp:subject _:b16 307 + [ rdf:type xsd:dateTime ;
305 - ] [ sp:object sxml:TextNode ; 308 + sp:arg1 _:b19
309 + ] ;
310 + sp:variable _:b10
311 + ])
312 + ] ;
313 + spin:rule
314 + [ rdf:type sp:Construct ;
315 + rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ;
316 + sp:templates ([ sp:object _:b21 ;
317 + sp:predicate _:b22 ;
318 + sp:subject spin:_this
319 + ] [ sp:object rdf:Statement ;
306 sp:predicate rdf:type ; 320 sp:predicate rdf:type ;
321 + sp:subject _:b23
322 + ] [ sp:object spin:_this ;
323 + sp:predicate rdf:subject ;
324 + sp:subject _:b23
325 + ] [ sp:object _:b22 ;
326 + sp:predicate rdf:predicate ;
327 + sp:subject _:b23
328 + ] [ sp:object _:b21 ;
329 + sp:predicate rdf:object ;
330 + sp:subject _:b23
331 + ] [ sp:object _:b23 ;
332 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
307 sp:subject _:b21 333 sp:subject _:b21
334 + ]) ;
335 + sp:where ([ sp:object _:b24 ;
336 + sp:predicate owl:allValuesFrom ;
337 + sp:subject _:b25
308 ] [ sp:object _:b22 ; 338 ] [ sp:object _:b22 ;
309 - sp:predicate sxml:text ; 339 + sp:predicate owl:onProperty ;
340 + sp:subject _:b25
341 + ] [ sp:object _:b24 ;
342 + sp:predicate rdf:type ;
310 sp:subject _:b21 343 sp:subject _:b21
311 - ] [ rdf:type sp:Bind ; 344 + ] [ sp:object _:b21 ;
312 - sp:expression 345 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
313 - [ rdf:type xsd:double ; 346 + sp:subject spin:_this
314 - sp:arg1 _:b22 347 + ] [ rdf:type sp:NotExists ;
348 + sp:elements ([ sp:object
349 + [ sp:varName "aNode"^^xsd:string
350 + ] ;
351 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
352 + sp:subject _:b21
353 + ])
354 + ] [ rdf:type sp:NotExists ;
355 + sp:elements ([ sp:object
356 + [ sp:varName "xmlTag"^^xsd:string
357 + ] ;
358 + sp:predicate sxml:tag ;
359 + sp:subject _:b21
360 + ])
361 + ] [ sp:object _:b26 ;
362 + sp:predicate rdf:type ;
363 + sp:subject spin:_this
364 + ] [ rdf:type sp:TriplePath ;
365 + sp:object _:b25 ;
366 + sp:path [ rdf:type sp:ModPath ;
367 + sp:modMax -2 ;
368 + sp:modMin 0 ;
369 + sp:subPath rdfs:subClassOf
315 ] ; 370 ] ;
316 - sp:variable _:b13 371 + sp:subject _:b26
317 ]) 372 ])
318 ] ; 373 ] ;
319 spin:rule 374 spin:rule
320 [ rdf:type sp:Construct ; 375 [ rdf:type sp:Construct ;
321 rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; 376 rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ;
322 - sp:templates ([ sp:object _:b23 ; 377 + sp:templates ([ sp:object _:b27 ;
323 - sp:predicate _:b24 ; 378 + sp:predicate _:b28 ;
324 sp:subject spin:_this 379 sp:subject spin:_this
325 ] [ sp:object rdf:Statement ; 380 ] [ sp:object rdf:Statement ;
326 sp:predicate rdf:type ; 381 sp:predicate rdf:type ;
327 - sp:subject _:b25 382 + sp:subject _:b29
328 ] [ sp:object spin:_this ; 383 ] [ sp:object spin:_this ;
329 sp:predicate rdf:subject ; 384 sp:predicate rdf:subject ;
330 - sp:subject _:b25 385 + sp:subject _:b29
331 - ] [ sp:object _:b24 ; 386 + ] [ sp:object _:b28 ;
332 sp:predicate rdf:predicate ; 387 sp:predicate rdf:predicate ;
333 - sp:subject _:b25 388 + sp:subject _:b29
334 - ] [ sp:object _:b23 ; 389 + ] [ sp:object _:b27 ;
335 sp:predicate rdf:object ; 390 sp:predicate rdf:object ;
336 - sp:subject _:b25 391 + sp:subject _:b29
337 - ] [ sp:object _:b25 ; 392 + ] [ sp:object _:b29 ;
338 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; 393 sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
339 - sp:subject _:b26 394 + sp:subject _:b30
340 ]) ; 395 ]) ;
341 - sp:where ([ sp:object _:b26 ; 396 + sp:where ([ sp:object _:b30 ;
342 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 397 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
343 sp:subject spin:_this 398 sp:subject spin:_this
344 - ] [ sp:object _:b27 ; 399 + ] [ sp:object _:b31 ;
345 sp:predicate rdf:type ; 400 sp:predicate rdf:type ;
346 - sp:subject _:b26 401 + sp:subject _:b30
347 ] [ rdf:type sp:NotExists ; 402 ] [ rdf:type sp:NotExists ;
348 sp:elements ([ sp:object 403 sp:elements ([ sp:object
349 [ sp:varName "uom"^^xsd:string 404 [ sp:varName "uom"^^xsd:string
350 ] ; 405 ] ;
351 sp:predicate ddr:uom ; 406 sp:predicate ddr:uom ;
352 - sp:subject _:b26 407 + sp:subject _:b30
353 ]) 408 ])
354 ] [ rdf:type sp:Bind ; 409 ] [ rdf:type sp:Bind ;
355 sp:expression 410 sp:expression
356 [ rdf:type smf:titleCase ; 411 [ rdf:type smf:titleCase ;
357 sp:arg1 [ rdf:type afn:localname ; 412 sp:arg1 [ rdf:type afn:localname ;
358 - sp:arg1 _:b27 413 + sp:arg1 _:b31
359 ] 414 ]
360 ] ; 415 ] ;
361 - sp:variable _:b28 416 + sp:variable _:b32
362 ] [ rdf:type sp:Bind ; 417 ] [ rdf:type sp:Bind ;
363 sp:expression 418 sp:expression
364 [ rdf:type smf:buildURI ; 419 [ rdf:type smf:buildURI ;
365 sp:arg1 [ rdf:type fn:concat ; 420 sp:arg1 [ rdf:type fn:concat ;
366 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ; 421 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ;
367 - sp:arg2 _:b28 422 + sp:arg2 _:b32
368 ] 423 ]
369 ] ; 424 ] ;
370 - sp:variable _:b24 425 + sp:variable _:b28
371 ] [ sp:object owl:ObjectProperty ; 426 ] [ sp:object owl:ObjectProperty ;
372 sp:predicate rdf:type ; 427 sp:predicate rdf:type ;
373 - sp:subject _:b24 428 + sp:subject _:b28
374 - ] [ sp:object _:b24 ; 429 + ] [ sp:object _:b28 ;
375 sp:predicate owl:onProperty ; 430 sp:predicate owl:onProperty ;
376 - sp:subject _:b29 431 + sp:subject _:b33
377 - ] [ sp:object _:b30 ; 432 + ] [ sp:object _:b34 ;
378 sp:predicate owl:allValuesFrom ; 433 sp:predicate owl:allValuesFrom ;
379 - sp:subject _:b29 434 + sp:subject _:b33
380 - ] [ sp:object _:b31 ; 435 + ] [ sp:object _:b35 ;
381 sp:predicate rdf:type ; 436 sp:predicate rdf:type ;
382 sp:subject spin:_this 437 sp:subject spin:_this
383 ] [ rdf:type sp:TriplePath ; 438 ] [ rdf:type sp:TriplePath ;
384 - sp:object _:b29 ; 439 + sp:object _:b33 ;
385 sp:path [ rdf:type sp:ModPath ; 440 sp:path [ rdf:type sp:ModPath ;
386 sp:modMax -2 ; 441 sp:modMax -2 ;
387 sp:modMin 0 ; 442 sp:modMin 0 ;
388 sp:subPath rdfs:subClassOf 443 sp:subPath rdfs:subClassOf
389 ] ; 444 ] ;
390 - sp:subject _:b31 445 + sp:subject _:b35
391 ] [ rdf:type sp:TriplePath ; 446 ] [ rdf:type sp:TriplePath ;
392 sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; 447 sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ;
393 sp:path [ rdf:type sp:ModPath ; 448 sp:path [ rdf:type sp:ModPath ;
...@@ -395,171 +450,121 @@ ddr:Thing ...@@ -395,171 +450,121 @@ ddr:Thing
395 sp:modMin 0 ; 450 sp:modMin 0 ;
396 sp:subPath rdfs:subClassOf 451 sp:subPath rdfs:subClassOf
397 ] ; 452 ] ;
398 - sp:subject _:b30 453 + sp:subject _:b34
399 - ] [ sp:object _:b32 ; 454 + ] [ sp:object _:b36 ;
400 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 455 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
401 - sp:subject _:b26 456 + sp:subject _:b30
402 ] [ sp:object sxml:TextNode ; 457 ] [ sp:object sxml:TextNode ;
403 sp:predicate rdf:type ; 458 sp:predicate rdf:type ;
404 - sp:subject _:b32 459 + sp:subject _:b36
405 - ] [ sp:object _:b33 ; 460 + ] [ sp:object _:b37 ;
406 sp:predicate sxml:text ; 461 sp:predicate sxml:text ;
407 - sp:subject _:b32 462 + sp:subject _:b36
408 - ] [ sp:object _:b30 ; 463 + ] [ sp:object _:b34 ;
409 sp:predicate rdf:type ; 464 sp:predicate rdf:type ;
410 - sp:subject _:b23 465 + sp:subject _:b27
411 - ] [ sp:object _:b33 ; 466 + ] [ sp:object _:b37 ;
412 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 467 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
413 - sp:subject _:b23 468 + sp:subject _:b27
414 ]) 469 ])
415 ] ; 470 ] ;
416 spin:rule 471 spin:rule
417 [ rdf:type sp:Construct ; 472 [ rdf:type sp:Construct ;
418 - rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; 473 + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ;
419 - sp:templates ([ sp:object _:b34 ; 474 + sp:templates ([ sp:object _:b38 ;
420 - sp:predicate _:b35 ;
421 - sp:subject spin:_this
422 - ] [ sp:object rdf:Statement ;
423 - sp:predicate rdf:type ;
424 - sp:subject _:b36
425 - ] [ sp:object spin:_this ;
426 - sp:predicate rdf:subject ;
427 - sp:subject _:b36
428 - ] [ sp:object _:b35 ;
429 - sp:predicate rdf:predicate ;
430 - sp:subject _:b36
431 - ] [ sp:object _:b34 ;
432 - sp:predicate rdf:object ;
433 - sp:subject _:b36
434 - ] [ sp:object _:b36 ;
435 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
436 - sp:subject _:b34
437 - ]) ;
438 - sp:where ([ sp:object _:b37 ;
439 - sp:predicate owl:allValuesFrom ;
440 - sp:subject _:b38
441 - ] [ sp:object _:b35 ;
442 - sp:predicate owl:onProperty ;
443 - sp:subject _:b38
444 - ] [ sp:object _:b37 ;
445 - sp:predicate rdf:type ;
446 - sp:subject _:b34
447 - ] [ sp:object _:b34 ;
448 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
449 - sp:subject spin:_this
450 - ] [ rdf:type sp:NotExists ;
451 - sp:elements ([ sp:object
452 - [ sp:varName "xmlTag"^^xsd:string
453 - ] ;
454 - sp:predicate sxml:instanceElement ;
455 - sp:subject _:b34
456 - ])
457 - ] [ sp:object _:b39 ;
458 sp:predicate rdf:type ; 475 sp:predicate rdf:type ;
459 - sp:subject spin:_this
460 - ] [ rdf:type sp:TriplePath ;
461 - sp:object _:b38 ;
462 - sp:path [ rdf:type sp:ModPath ;
463 - sp:modMax -2 ;
464 - sp:modMin 0 ;
465 - sp:subPath rdfs:subClassOf
466 - ] ;
467 sp:subject _:b39 476 sp:subject _:b39
468 - ]) 477 + ] [ sp:object _:b40 ;
469 - ] ; 478 + sp:predicate ddr:uom ;
470 - spin:rule 479 + sp:subject _:b39
471 - [ rdf:type sp:Construct ; 480 + ] [ sp:object _:b41 ;
472 - rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; 481 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
473 - sp:templates ([ sp:object _:b40 ; 482 + sp:subject _:b39
474 - sp:predicate _:b41 ; 483 + ] [ sp:object _:b39 ;
484 + sp:predicate _:b42 ;
475 sp:subject spin:_this 485 sp:subject spin:_this
476 ] [ sp:object rdf:Statement ; 486 ] [ sp:object rdf:Statement ;
477 sp:predicate rdf:type ; 487 sp:predicate rdf:type ;
478 - sp:subject _:b42 488 + sp:subject _:b43
479 ] [ sp:object spin:_this ; 489 ] [ sp:object spin:_this ;
480 sp:predicate rdf:subject ; 490 sp:predicate rdf:subject ;
481 - sp:subject _:b42 491 + sp:subject _:b43
482 - ] [ sp:object _:b41 ; 492 + ] [ sp:object _:b42 ;
483 sp:predicate rdf:predicate ; 493 sp:predicate rdf:predicate ;
484 - sp:subject _:b42 494 + sp:subject _:b43
485 - ] [ sp:object _:b40 ; 495 + ] [ sp:object _:b41 ;
486 sp:predicate rdf:object ; 496 sp:predicate rdf:object ;
487 - sp:subject _:b42
488 - ] [ sp:object _:b42 ;
489 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
490 sp:subject _:b43 497 sp:subject _:b43
498 + ] [ sp:object _:b43 ;
499 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
500 + sp:subject _:b44
491 ]) ; 501 ]) ;
492 - sp:where ([ sp:object _:b43 ; 502 + sp:where ([ sp:object _:b44 ;
493 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; 503 sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
494 sp:subject spin:_this 504 sp:subject spin:_this
495 - ] [ sp:object _:b44 ; 505 + ] [ sp:object _:b45 ;
496 sp:predicate rdf:type ; 506 sp:predicate rdf:type ;
497 - sp:subject _:b43 507 + sp:subject _:b44
508 + ] [ sp:object _:b40 ;
509 + sp:predicate ddr:uom ;
510 + sp:subject _:b44
498 ] [ rdf:type sp:NotExists ; 511 ] [ rdf:type sp:NotExists ;
499 sp:elements ([ sp:object 512 sp:elements ([ sp:object
500 - [ sp:varName "uom"^^xsd:string 513 + [ sp:varName "aNode"^^xsd:string
501 ] ; 514 ] ;
502 - sp:predicate ddr:uom ; 515 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
503 - sp:subject _:b43 516 + sp:subject _:b44
504 ]) 517 ])
505 ] [ rdf:type sp:Bind ; 518 ] [ rdf:type sp:Bind ;
506 sp:expression 519 sp:expression
507 [ rdf:type afn:localname ; 520 [ rdf:type afn:localname ;
508 - sp:arg1 _:b44 521 + sp:arg1 _:b45
509 ] ; 522 ] ;
510 - sp:variable _:b45 523 + sp:variable _:b46
511 ] [ rdf:type sp:Bind ; 524 ] [ rdf:type sp:Bind ;
512 sp:expression 525 sp:expression
513 [ rdf:type smf:buildURI ; 526 [ rdf:type smf:buildURI ;
514 sp:arg1 [ rdf:type fn:concat ; 527 sp:arg1 [ rdf:type fn:concat ;
515 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 528 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
516 - sp:arg2 _:b45 529 + sp:arg2 _:b46
517 ] 530 ]
518 ] ; 531 ] ;
519 - sp:variable _:b41 532 + sp:variable _:b42
520 - ] [ sp:object owl:DatatypeProperty ; 533 + ] [ sp:object owl:ObjectProperty ;
521 sp:predicate rdf:type ; 534 sp:predicate rdf:type ;
522 - sp:subject _:b41 535 + sp:subject _:b42
523 - ] [ sp:object _:b41 ; 536 + ] [ sp:object _:b42 ;
524 sp:predicate owl:onProperty ; 537 sp:predicate owl:onProperty ;
525 - sp:subject _:b46 538 + sp:subject _:b47
526 - ] [ sp:object _:b47 ; 539 + ] [ sp:object _:b38 ;
527 sp:predicate owl:allValuesFrom ; 540 sp:predicate owl:allValuesFrom ;
528 - sp:subject _:b46
529 - ] [ rdf:type sp:TriplePath ;
530 - sp:object xsd:dateTime ;
531 - sp:path [ rdf:type sp:ModPath ;
532 - sp:modMax -2 ;
533 - sp:modMin 0 ;
534 - sp:subPath rdfs:subClassOf
535 - ] ;
536 sp:subject _:b47 541 sp:subject _:b47
537 ] [ sp:object _:b48 ; 542 ] [ sp:object _:b48 ;
538 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
539 - sp:subject _:b43
540 - ] [ sp:object sxml:TextNode ;
541 - sp:predicate rdf:type ;
542 - sp:subject _:b48
543 - ] [ sp:object _:b49 ;
544 - sp:predicate sxml:text ;
545 - sp:subject _:b48
546 - ] [ sp:object _:b50 ;
547 sp:predicate rdf:type ; 543 sp:predicate rdf:type ;
548 sp:subject spin:_this 544 sp:subject spin:_this
549 ] [ rdf:type sp:TriplePath ; 545 ] [ rdf:type sp:TriplePath ;
550 - sp:object _:b46 ; 546 + sp:object _:b47 ;
551 sp:path [ rdf:type sp:ModPath ; 547 sp:path [ rdf:type sp:ModPath ;
552 sp:modMax -2 ; 548 sp:modMax -2 ;
553 sp:modMin 0 ; 549 sp:modMin 0 ;
554 sp:subPath rdfs:subClassOf 550 sp:subPath rdfs:subClassOf
555 ] ; 551 ] ;
556 - sp:subject _:b50 552 + sp:subject _:b48
553 + ] [ sp:object _:b49 ;
554 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
555 + sp:subject _:b44
556 + ] [ sp:object sxml:TextNode ;
557 + sp:predicate rdf:type ;
558 + sp:subject _:b49
559 + ] [ sp:object _:b50 ;
560 + sp:predicate sxml:text ;
561 + sp:subject _:b49
557 ] [ rdf:type sp:Bind ; 562 ] [ rdf:type sp:Bind ;
558 sp:expression 563 sp:expression
559 - [ rdf:type xsd:dateTime ; 564 + [ rdf:type xsd:double ;
560 - sp:arg1 _:b49 565 + sp:arg1 _:b50
561 ] ; 566 ] ;
562 - sp:variable _:b40 567 + sp:variable _:b41
563 ]) 568 ])
564 ] ; 569 ] ;
565 spin:rule 570 spin:rule
...@@ -671,107 +676,107 @@ ddr:version ...@@ -671,107 +676,107 @@ ddr:version
671 owl:Thing 676 owl:Thing
672 spin:query 677 spin:query
673 [ rdf:type sp:Select ; 678 [ rdf:type sp:Select ;
674 - sp:resultVariables (_:b61 _:b62 _:b63 _:b64) ; 679 + sp:where ([ sp:object
680 + [ sp:varName "p"^^xsd:string
681 + ] ;
682 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
683 + sp:subject _:b61
684 + ] [ rdf:type sp:NotExists ;
685 + sp:elements ([ sp:object
686 + [ sp:varName "b"^^xsd:string
687 + ] ;
688 + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
689 + sp:subject _:b61
690 + ])
691 + ])
692 + ] ;
693 + spin:query
694 + [ rdf:type sp:Select ;
695 + sp:resultVariables (_:b62 _:b63 _:b64 _:b65) ;
696 + sp:where ([ sp:object _:b65 ;
697 + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
698 + sp:subject _:b64
699 + ] [ sp:object _:b64 ;
700 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
701 + sp:subject _:b63
702 + ] [ rdf:type sp:Union ;
703 + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
704 + sp:predicate rdf:type ;
705 + sp:subject _:b63
706 + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
707 + sp:predicate rdf:type ;
708 + sp:subject _:b63
709 + ]))
710 + ] [ sp:object _:b63 ;
711 + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
712 + sp:subject _:b62
713 + ])
714 + ] ;
715 + spin:query
716 + [ rdf:type sp:Select ;
717 + sp:resultVariables (_:b66 _:b67 _:b68 _:b69) ;
675 sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; 718 sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ;
676 sp:predicate rdf:type ; 719 sp:predicate rdf:type ;
677 - sp:subject _:b65 720 + sp:subject _:b70
678 ] [ rdf:type sp:TriplePath ; 721 ] [ rdf:type sp:TriplePath ;
679 - sp:object _:b66 ; 722 + sp:object _:b71 ;
680 sp:path [ rdf:type sp:ModPath ; 723 sp:path [ rdf:type sp:ModPath ;
681 sp:modMax -2 ; 724 sp:modMax -2 ;
682 sp:modMin 0 ; 725 sp:modMin 0 ;
683 sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> 726 sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child>
684 ] ; 727 ] ;
685 - sp:subject _:b65 728 + sp:subject _:b70
686 - ] [ sp:object _:b67 ; 729 + ] [ sp:object _:b72 ;
687 sp:predicate <http://topbraid.org/sxsd#name> ; 730 sp:predicate <http://topbraid.org/sxsd#name> ;
688 - sp:subject _:b65 731 + sp:subject _:b70
689 - ] [ sp:object _:b64 ; 732 + ] [ sp:object _:b69 ;
690 sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; 733 sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
691 - sp:subject _:b66 734 + sp:subject _:b71
692 - ] [ sp:object _:b68 ; 735 + ] [ sp:object _:b73 ;
693 sp:predicate <http://topbraid.org/sxsd#name> ; 736 sp:predicate <http://topbraid.org/sxsd#name> ;
694 - sp:subject _:b66 737 + sp:subject _:b71
695 ] [ rdf:type sp:Bind ; 738 ] [ rdf:type sp:Bind ;
696 sp:expression 739 sp:expression
697 [ rdf:type spif:titleCase ; 740 [ rdf:type spif:titleCase ;
698 - sp:arg1 _:b68 741 + sp:arg1 _:b73
699 ] ; 742 ] ;
700 - sp:variable _:b69 743 + sp:variable _:b74
701 ] [ rdf:type sp:Bind ; 744 ] [ rdf:type sp:Bind ;
702 sp:expression 745 sp:expression
703 [ rdf:type smf:buildURI ; 746 [ rdf:type smf:buildURI ;
704 sp:arg1 [ rdf:type fn:concat ; 747 sp:arg1 [ rdf:type fn:concat ;
705 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; 748 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ;
706 - sp:arg2 _:b69 749 + sp:arg2 _:b74
707 ] 750 ]
708 ] ; 751 ] ;
709 - sp:variable _:b63 752 + sp:variable _:b68
710 ] [ rdf:type sp:Bind ; 753 ] [ rdf:type sp:Bind ;
711 sp:expression 754 sp:expression
712 [ rdf:type spif:titleCase ; 755 [ rdf:type spif:titleCase ;
713 - sp:arg1 _:b67 ; 756 + sp:arg1 _:b72 ;
714 sp:arg2 "[a-z]s" 757 sp:arg2 "[a-z]s"
715 ] ; 758 ] ;
716 - sp:variable _:b70 759 + sp:variable _:b75
717 ] [ rdf:type sp:Bind ; 760 ] [ rdf:type sp:Bind ;
718 sp:expression 761 sp:expression
719 [ rdf:type smf:buildURI ; 762 [ rdf:type smf:buildURI ;
720 sp:arg1 [ rdf:type fn:concat ; 763 sp:arg1 [ rdf:type fn:concat ;
721 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; 764 sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ;
722 - sp:arg2 _:b70 765 + sp:arg2 _:b75
723 ] 766 ]
724 ] ; 767 ] ;
725 - sp:variable _:b62 768 + sp:variable _:b67
726 ] [ rdf:type sp:Bind ; 769 ] [ rdf:type sp:Bind ;
727 sp:expression 770 sp:expression
728 [ rdf:type smf:buildURI ; 771 [ rdf:type smf:buildURI ;
729 sp:arg1 [ rdf:type fn:concat ; 772 sp:arg1 [ rdf:type fn:concat ;
730 sp:arg1 "http://www.reportinghub.no/map/ddr#" ; 773 sp:arg1 "http://www.reportinghub.no/map/ddr#" ;
731 - sp:arg2 _:b70 ; 774 + sp:arg2 _:b75 ;
732 sp:arg3 "-has" ; 775 sp:arg3 "-has" ;
733 - sp:arg4 _:b69 776 + sp:arg4 _:b74
734 ] 777 ]
735 ] ; 778 ] ;
736 - sp:variable _:b61 779 + sp:variable _:b66
737 - ])
738 - ] ;
739 - spin:query
740 - [ rdf:type sp:Select ;
741 - sp:resultVariables (_:b71 _:b72 _:b73 _:b74) ;
742 - sp:where ([ sp:object _:b74 ;
743 - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ;
744 - sp:subject _:b73
745 - ] [ sp:object _:b73 ;
746 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
747 - sp:subject _:b72
748 - ] [ rdf:type sp:Union ;
749 - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ;
750 - sp:predicate rdf:type ;
751 - sp:subject _:b72
752 - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ;
753 - sp:predicate rdf:type ;
754 - sp:subject _:b72
755 - ]))
756 - ] [ sp:object _:b72 ;
757 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
758 - sp:subject _:b71
759 - ])
760 - ] ;
761 - spin:query
762 - [ rdf:type sp:Select ;
763 - sp:where ([ sp:object
764 - [ sp:varName "p"^^xsd:string
765 - ] ;
766 - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ;
767 - sp:subject _:b75
768 - ] [ rdf:type sp:NotExists ;
769 - sp:elements ([ sp:object
770 - [ sp:varName "b"^^xsd:string
771 - ] ;
772 - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ;
773 - sp:subject _:b75
774 - ])
775 ]) 780 ])
776 ] ; 781 ] ;
777 spin:update 782 spin:update
...@@ -811,171 +816,171 @@ owl:Thing ...@@ -811,171 +816,171 @@ owl:Thing
811 ]) 816 ])
812 ] . 817 ] .
813 818
814 -_:b51 819 +_:b38
815 - sp:varName "text"^^xsd:string . 820 + sp:varName "rangeU"^^xsd:string .
816 -
817 -_:b52
818 - sp:varName "dtpnameU"^^xsd:string .
819 -
820 -_:b54
821 - sp:varName "child"^^xsd:string .
822 -
823 -_:b55
824 - sp:varName "childType"^^xsd:string .
825 -
826 -_:b56
827 - sp:varName "childLocalName"^^xsd:string .
828 -
829 -_:b57
830 - sp:varName "valuesRestriction"^^xsd:string .
831 -
832 -_:b58
833 - sp:varName "rangeType"^^xsd:string .
834 -
835 -_:b59
836 - sp:varName "textNode"^^xsd:string .
837 -
838 -_:b60
839 - sp:varName "instType"^^xsd:string .
840 821
841 _:b40 822 _:b40
842 - sp:varName "dateTime"^^xsd:string . 823 + sp:varName "uom"^^xsd:string .
843 824
844 _:b41 825 _:b41
845 - sp:varName "dtpnameU"^^xsd:string . 826 + sp:varName "value"^^xsd:string .
846 827
847 -_:b43 828 +_:b42
848 - sp:varName "child"^^xsd:string . 829 + sp:varName "opnameU"^^xsd:string .
849 830
850 _:b44 831 _:b44
851 - sp:varName "childType"^^xsd:string . 832 + sp:varName "child"^^xsd:string .
852 833
853 _:b45 834 _:b45
854 - sp:varName "childLocalName"^^xsd:string . 835 + sp:varName "childType"^^xsd:string .
855 836
856 _:b46 837 _:b46
857 - sp:varName "valuesRestriction"^^xsd:string . 838 + sp:varName "childLocalName"^^xsd:string .
858 839
859 _:b47 840 _:b47
860 - sp:varName "rangeType"^^xsd:string . 841 + sp:varName "allValuesRestriction"^^xsd:string .
861 842
862 _:b48 843 _:b48
863 - sp:varName "textNode"^^xsd:string . 844 + sp:varName "instType"^^xsd:string .
864 845
865 _:b49 846 _:b49
866 - sp:varName "text"^^xsd:string . 847 + sp:varName "textNode"^^xsd:string .
867 848
868 _:b50 849 _:b50
869 - sp:varName "instType"^^xsd:string . 850 + sp:varName "text"^^xsd:string .
870 851
871 -_:b23 852 +_:b27
872 sp:varName "enumeratedValue"^^xsd:string . 853 sp:varName "enumeratedValue"^^xsd:string .
873 854
874 -_:b24 855 +_:b28
875 sp:varName "opnameU"^^xsd:string . 856 sp:varName "opnameU"^^xsd:string .
876 857
877 -_:b26 858 +_:b30
878 sp:varName "child"^^xsd:string . 859 sp:varName "child"^^xsd:string .
879 860
880 -_:b27 861 +_:b31
881 sp:varName "childType"^^xsd:string . 862 sp:varName "childType"^^xsd:string .
882 863
883 -_:b28 864 +_:b32
884 sp:varName "childLocalName"^^xsd:string . 865 sp:varName "childLocalName"^^xsd:string .
885 866
886 -_:b29 867 +_:b33
887 sp:varName "valuesRestriction"^^xsd:string . 868 sp:varName "valuesRestriction"^^xsd:string .
888 869
889 -_:b30 870 +_:b34
890 sp:varName "rangeU"^^xsd:string . 871 sp:varName "rangeU"^^xsd:string .
891 872
892 -_:b31 873 +_:b35
893 sp:varName "instType"^^xsd:string . 874 sp:varName "instType"^^xsd:string .
894 875
895 -_:b32 876 +_:b36
896 sp:varName "textNode"^^xsd:string . 877 sp:varName "textNode"^^xsd:string .
897 878
898 -_:b33 879 +_:b37
899 sp:varName "text"^^xsd:string . 880 sp:varName "text"^^xsd:string .
900 881
901 _:b10 882 _:b10
902 - sp:varName "rangeU"^^xsd:string . 883 + sp:varName "dateTime"^^xsd:string .
903 884
904 -_:b12 885 +_:b11
905 - sp:varName "uom"^^xsd:string . 886 + sp:varName "dtpnameU"^^xsd:string .
906 887
907 _:b13 888 _:b13
908 - sp:varName "value"^^xsd:string . 889 + sp:varName "child"^^xsd:string .
909 890
910 _:b14 891 _:b14
911 - sp:varName "opnameU"^^xsd:string . 892 + sp:varName "childType"^^xsd:string .
893 +
894 +_:b15
895 + sp:varName "childLocalName"^^xsd:string .
912 896
913 _:b16 897 _:b16
914 - sp:varName "child"^^xsd:string . 898 + sp:varName "valuesRestriction"^^xsd:string .
915 899
916 _:b17 900 _:b17
917 - sp:varName "childType"^^xsd:string . 901 + sp:varName "rangeType"^^xsd:string .
918 902
919 _:b18 903 _:b18
920 - sp:varName "childLocalName"^^xsd:string . 904 + sp:varName "textNode"^^xsd:string .
921 905
922 _:b19 906 _:b19
923 - sp:varName "allValuesRestriction"^^xsd:string . 907 + sp:varName "text"^^xsd:string .
924 908
925 _:b20 909 _:b20
926 sp:varName "instType"^^xsd:string . 910 sp:varName "instType"^^xsd:string .
927 911
928 -_:b21 912 +_:b51
929 - sp:varName "textNode"^^xsd:string .
930 -
931 -_:b22
932 sp:varName "text"^^xsd:string . 913 sp:varName "text"^^xsd:string .
933 914
934 -_:b75 915 +_:b52
935 - sp:varName "c"^^xsd:string . 916 + sp:varName "dtpnameU"^^xsd:string .
936 917
937 -_:b71 918 +_:b54
938 - sp:varName "pp"^^xsd:string . 919 + sp:varName "child"^^xsd:string .
939 920
940 -_:b72 921 +_:b55
941 - sp:varName "p"^^xsd:string . 922 + sp:varName "childType"^^xsd:string .
942 923
943 -_:b73 924 +_:b56
944 - sp:varName "s"^^xsd:string . 925 + sp:varName "childLocalName"^^xsd:string .
945 926
946 -_:b74 927 +_:b57
947 - sp:varName "e"^^xsd:string . 928 + sp:varName "valuesRestriction"^^xsd:string .
948 929
949 -_:b61 930 +_:b58
931 + sp:varName "rangeType"^^xsd:string .
932 +
933 +_:b59
934 + sp:varName "textNode"^^xsd:string .
935 +
936 +_:b60
937 + sp:varName "instType"^^xsd:string .
938 +
939 +_:b66
950 sp:varName "ddrCPU"^^xsd:string . 940 sp:varName "ddrCPU"^^xsd:string .
951 941
952 -_:b62 942 +_:b67
953 sp:varName "ddrCU"^^xsd:string . 943 sp:varName "ddrCU"^^xsd:string .
954 944
955 -_:b63 945 +_:b68
956 sp:varName "ddrPU"^^xsd:string . 946 sp:varName "ddrPU"^^xsd:string .
957 947
958 -_:b64 948 +_:b69
959 sp:varName "mre"^^xsd:string . 949 sp:varName "mre"^^xsd:string .
960 950
961 -_:b65 951 +_:b70
962 sp:varName "s"^^xsd:string . 952 sp:varName "s"^^xsd:string .
963 953
964 -_:b66 954 +_:b71
965 sp:varName "c"^^xsd:string . 955 sp:varName "c"^^xsd:string .
966 956
967 -_:b67 957 +_:b72
968 sp:varName "name"^^xsd:string . 958 sp:varName "name"^^xsd:string .
969 959
970 -_:b68 960 +_:b73
971 sp:varName "pname"^^xsd:string . 961 sp:varName "pname"^^xsd:string .
972 962
973 -_:b69 963 +_:b74
974 sp:varName "tcpname"^^xsd:string . 964 sp:varName "tcpname"^^xsd:string .
975 965
976 -_:b70 966 +_:b75
977 sp:varName "tcname"^^xsd:string . 967 sp:varName "tcname"^^xsd:string .
978 968
969 +_:b62
970 + sp:varName "pp"^^xsd:string .
971 +
972 +_:b63
973 + sp:varName "p"^^xsd:string .
974 +
975 +_:b64
976 + sp:varName "s"^^xsd:string .
977 +
978 +_:b65
979 + sp:varName "e"^^xsd:string .
980 +
981 +_:b61
982 + sp:varName "c"^^xsd:string .
983 +
979 _:b76 984 _:b76
980 sp:varName "oldLabel"^^xsd:string . 985 sp:varName "oldLabel"^^xsd:string .
981 986
...@@ -985,19 +990,19 @@ _:b77 ...@@ -985,19 +990,19 @@ _:b77
985 _:b78 990 _:b78
986 sp:varName "newLabel"^^xsd:string . 991 sp:varName "newLabel"^^xsd:string .
987 992
988 -_:b38 993 +_:b25
989 sp:varName "valuesRestriction"^^xsd:string . 994 sp:varName "valuesRestriction"^^xsd:string .
990 995
991 -_:b37 996 +_:b24
992 sp:varName "childType"^^xsd:string . 997 sp:varName "childType"^^xsd:string .
993 998
994 -_:b35 999 +_:b22
995 sp:varName "formalProperty"^^xsd:string . 1000 sp:varName "formalProperty"^^xsd:string .
996 1001
997 -_:b34 1002 +_:b21
998 sp:varName "child"^^xsd:string . 1003 sp:varName "child"^^xsd:string .
999 1004
1000 -_:b39 1005 +_:b26
1001 sp:varName "instType"^^xsd:string . 1006 sp:varName "instType"^^xsd:string .
1002 1007
1003 _:b5 sp:varName "valuesRestriction"^^xsd:string . 1008 _:b5 sp:varName "valuesRestriction"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Aug 10 18:50:05 PDT 2011 1 +# Saved by TopBraid on Wed Aug 10 23:13:45 PDT 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
13 <rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" /> 13 <rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" />
14 <rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" /> 14 <rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" />
15 <rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" /> 15 <rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" />
16 - <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{ spl:object(?this, ???) }" /> 16 + <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:elevKelly) }" />
17 <rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" /> 17 <rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" />
18 <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" /> 18 <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" />
19 <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" /> 19 <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" />
20 - <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdKickoff) }" /> 20 + <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdKickoff) }" />
21 - <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdPlugTop) }" /> 21 + <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdPlugTop) }" />
22 - <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{ spl:object(?activity, ???) }" /> 22 + <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= spl:object(?activity, ddr:ropCurrent) }" />
23 - <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{ spl:object(?this, ???) }" /> 23 + <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{# SELECT ui:label(?pressureTestType) WHERE { ?activity ep-core:hasPart/rdf:type ?pressureTestType . ?pressureTestType a ep-activity:PressureTestType} }" />
24 <rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdStrengthForm) }" /> 24 <rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdStrengthForm) }" />
25 <rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" /> 25 <rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" />
26 <rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdCsgLast) }" /> 26 <rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdCsgLast) }" />
...@@ -28,21 +28,21 @@ ...@@ -28,21 +28,21 @@
28 <td class="ddrSummaryRight"> 28 <td class="ddrSummaryRight">
29 <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?activity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?activity, ep-activity:finishedAt))) }" /> 29 <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?activity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?activity, ep-activity:finishedAt))) }" />
30 <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wellBore) }" /> 30 <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wellBore) }" />
31 - <rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ep-activity:createdAt) }" /> 31 + <rhswp:NameValuePair arg:name="Created date:" arg:value="{= ui:label(spl:object(?this, ep-activity:createdAt)) }" />
32 <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" /> 32 <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" />
33 <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" /> 33 <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" />
34 <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" /> 34 <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" />
35 <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" /> 35 <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" />
36 <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" /> 36 <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" />
37 - <rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{ spl:object(?this, ???) }" /> 37 + <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{ spl:object(?this, ???) }" />
38 <rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" /> 38 <rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" />
39 - <rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?activity, ddr:tvdKickoff) }" /> 39 + <rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?onWellBore, ddr:tvdKickoff) }" />
40 - <rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvd) }" /> 40 + <rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:tvd) }" />
41 <rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= rhspin:dtypeValue(?activity, ddr:distDrill) }" /> 41 <rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= rhspin:dtypeValue(?activity, ddr:distDrill) }" />
42 <rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdDiaHoleStart) }" /> 42 <rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdDiaHoleStart) }" />
43 - <rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= rhspin:dtypeValue(?activity, ddr:tvdStrengthForm) }" /> 43 + <rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:tvdStrengthForm) }" />
44 <rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" /> 44 <rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" />
45 - <rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{= rhspin:dtypeValue(?activity, ddr:mdCsgLast) }" /> 45 + <rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdCsgLast) }" />
46 </td> 46 </td>
47 </tr></table> 47 </tr></table>
48 </ui:group> 48 </ui:group>
......
1 +# Saved by TopBraid on Thu Aug 11 15:40:02 BST 2011
1 # baseURI: http://www.reportinghub.no/swp/ddr 2 # baseURI: http://www.reportinghub.no/swp/ddr
2 -# imports: http://uispin.org/tui 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/organization
3 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity
4 -# imports: http://www.reportinghub.no/ep/schema/1.0/core
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
6 -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
7 # imports: http://www.reportinghub.no/ep/schema/1.0/report 4 # imports: http://www.reportinghub.no/ep/schema/1.0/report
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
8 # imports: http://www.reportinghub.no/ep/schema/1.0/well 6 # imports: http://www.reportinghub.no/ep/schema/1.0/well
7 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
9 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
10 +# imports: http://www.reportinghub.no/ep/schema/1.0/facility
11 +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
12 +# imports: http://uispin.org/tui
9 13
10 @prefix : <http://www.reportinghub.no/swp/ddr#> . 14 @prefix : <http://www.reportinghub.no/swp/ddr#> .
11 @prefix let: <http://uispin.org/let#> . 15 @prefix let: <http://uispin.org/let#> .
...@@ -24,5 +28,5 @@ ...@@ -24,5 +28,5 @@
24 28
25 <http://www.reportinghub.no/swp/ddr> 29 <http://www.reportinghub.no/swp/ddr>
26 rdf:type owl:Ontology ; 30 rdf:type owl:Ontology ;
27 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> ; 31 + owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ;
28 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 32 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......