Showing
20 changed files
with
3020 additions
and
0 deletions
1 | +@prefix : <http://www.energistics.org/schemas/abstract#> . | ||
2 | +@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> . | ||
3 | +@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
4 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
5 | +@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> . | ||
6 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
7 | +@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
8 | + | ||
9 | +:AbstractDataObject | ||
10 | + a <http://www.w3.org/2002/07/owl#Class> ; | ||
11 | + <http://www.w3.org/2000/01/rdf-schema#label> | ||
12 | + "Abstract data object"^^xsd:string ; | ||
13 | + <http://www.w3.org/2000/01/rdf-schema#subClassOf> | ||
14 | + :AbstractObject ; | ||
15 | + dc:description "Substitution group for normative data objects."^^xsd:string . | ||
16 | + | ||
17 | +:AbstractContextualObject | ||
18 | + a <http://www.w3.org/2002/07/owl#Class> ; | ||
19 | + <http://www.w3.org/2000/01/rdf-schema#label> | ||
20 | + "Abstract contextual object"^^xsd:string ; | ||
21 | + <http://www.w3.org/2000/01/rdf-schema#subClassOf> | ||
22 | + :AbstractObject ; | ||
23 | + dc:description "Substitution group for contextual objects."^^xsd:string . | ||
24 | + | ||
25 | +dc:description | ||
26 | + <http://www.w3.org/2000/01/rdf-schema#label> | ||
27 | + "description"^^xsd:string . | ||
28 | + | ||
29 | +:AbstractObject | ||
30 | + a <http://www.w3.org/2002/07/owl#Class> ; | ||
31 | + <http://www.w3.org/2000/01/rdf-schema#label> | ||
32 | + "Abstract object"^^xsd:string ; | ||
33 | + dc:description """The intended abstract supertype of all schema roots | ||
34 | + that may be a member of a substitution group (whether contextual or data). | ||
35 | + The type of root global elements should be extended from this type and the | ||
36 | + root global element should be declared to be a member of one of the above substitution groups."""^^xsd:string . | ||
37 | + | ||
38 | +skos:prefLabel | ||
39 | + a <http://www.w3.org/2002/07/owl#AnnotationProperty> ; | ||
40 | + <http://www.w3.org/2000/01/rdf-schema#label> | ||
41 | + "pref label"^^xsd:string . | ||
42 | + | ||
43 | +<http://www.energistics.org/schemas/abstract> | ||
44 | + a <http://www.w3.org/2002/07/owl#Ontology> ; | ||
45 | + <http://www.w3.org/2002/07/owl#imports> | ||
46 | + <http://www.linkedmodel.org/schema/dtype> , <http://www.linkedmodel.org/schema/vaem> ; | ||
47 | + <http://www.w3.org/2002/07/owl#versionInfo> | ||
48 | + "Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"^^xsd:string . |
1 | +# Saved by TopBraid on Wed Jul 27 19:44:43 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity | ||
3 | +# imports: http://www.linkedmodel.org/1.2/schema/vaem | ||
4 | +# imports: http://www.reportinghub.no/ep/schema/1.1/well | ||
5 | +# imports: http://www.reportinghub.no/ep/schema/1.1/equipment | ||
6 | +# imports: http://www.linkedmodel.org/1.1/schema/ordered | ||
7 | +# imports: http://www.reportinghub.no/ep/schema/1.1/core | ||
8 | + | ||
9 | +@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . | ||
10 | +@prefix ep-activity-1.1: <http://www.reportinghub.no/ep/schema/1.1/activity#> . | ||
11 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
12 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
13 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
14 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
15 | + | ||
16 | +<http://www.reportinghub.no/ep/schema/1.1/activity> | ||
17 | + rdf:type owl:Ontology ; | ||
18 | + owl:imports <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.1/well> , <http://www.reportinghub.no/ep/schema/1.1/equipment> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.1/core> ; | ||
19 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
20 | + | ||
21 | +ep-activity:Activity | ||
22 | + rdf:type owl:Class ; | ||
23 | + rdfs:label "Activity"^^xsd:string ; | ||
24 | + rdfs:subClassOf owl:Thing ; | ||
25 | + rdfs:subClassOf | ||
26 | + [ rdf:type owl:Restriction ; | ||
27 | + owl:allValuesFrom ep-activity:Activity ; | ||
28 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> | ||
29 | + ] ; | ||
30 | + rdfs:subClassOf | ||
31 | + [ rdf:type owl:Restriction ; | ||
32 | + owl:allValuesFrom ep-activity:Activity ; | ||
33 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> | ||
34 | + ] ; | ||
35 | + rdfs:subClassOf | ||
36 | + [ rdf:type owl:Restriction ; | ||
37 | + owl:allValuesFrom ep-activity:Activity ; | ||
38 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> | ||
39 | + ] ; | ||
40 | + rdfs:subClassOf | ||
41 | + [ rdf:type owl:Restriction ; | ||
42 | + owl:allValuesFrom ep-activity:Activity ; | ||
43 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> | ||
44 | + ] ; | ||
45 | + rdfs:subClassOf | ||
46 | + [ rdf:type owl:Restriction ; | ||
47 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
48 | + owl:onProperty ep-activity:finishedAt | ||
49 | + ] ; | ||
50 | + rdfs:subClassOf | ||
51 | + [ rdf:type owl:Restriction ; | ||
52 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
53 | + owl:onProperty ep-activity:startedAt | ||
54 | + ] . | ||
55 | + | ||
56 | +ep-activity:DailyDrillingActivity | ||
57 | + rdf:type owl:Class ; | ||
58 | + rdfs:label "Daily drilling activity"^^xsd:string ; | ||
59 | + rdfs:subClassOf ep-activity:OffshoreWellActivity ; | ||
60 | + rdfs:subClassOf | ||
61 | + [ rdf:type owl:Restriction ; | ||
62 | + owl:allValuesFrom ep-activity:DrillingActivity ; | ||
63 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | ||
64 | + ] ; | ||
65 | + rdfs:subClassOf | ||
66 | + [ rdf:type owl:Restriction ; | ||
67 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
68 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
69 | + ] ; | ||
70 | + rdfs:subClassOf | ||
71 | + [ rdf:type owl:Restriction ; | ||
72 | + owl:allValuesFrom ep-activity:DrillingActivity ; | ||
73 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
74 | + ] ; | ||
75 | + rdfs:subClassOf | ||
76 | + [ rdf:type owl:Restriction ; | ||
77 | + owl:allValuesFrom ep-activity:DrillingActivity ; | ||
78 | + owl:onProperty ep-activity:hasSubActivity | ||
79 | + ] . | ||
80 | + | ||
81 | +ep-activity:DailyDrillingReport | ||
82 | + rdf:type owl:Class ; | ||
83 | + rdfs:label "Daily drilling report"^^xsd:string ; | ||
84 | + rdfs:subClassOf ep-activity:Report ; | ||
85 | + rdfs:subClassOf | ||
86 | + [ rdf:type owl:Restriction ; | ||
87 | + owl:allValuesFrom ep-activity:DailyDrillingActivity ; | ||
88 | + owl:onProperty ep-activity:reportOn | ||
89 | + ] . | ||
90 | + | ||
91 | +ep-activity:DailyProductionActivity | ||
92 | + rdf:type owl:Class ; | ||
93 | + rdfs:label "Daily production activity"^^xsd:string ; | ||
94 | + rdfs:subClassOf ep-activity:OffshoreWellActivity ; | ||
95 | + rdfs:subClassOf | ||
96 | + [ rdf:type owl:Restriction ; | ||
97 | + owl:allValuesFrom ep-activity:ProductionActivity ; | ||
98 | + owl:onProperty ep-activity:hasSubActivity | ||
99 | + ] . | ||
100 | + | ||
101 | +ep-activity:DrillingActivity | ||
102 | + rdf:type owl:Class ; | ||
103 | + rdfs:label "Drilling activity"^^xsd:string ; | ||
104 | + rdfs:subClassOf ep-activity:OffshoreWellActivity . | ||
105 | + | ||
106 | +ep-activity:MonthlyDrillingActivity | ||
107 | + rdf:type owl:Class ; | ||
108 | + rdfs:label "Weekly drilling activity"^^xsd:string ; | ||
109 | + rdfs:subClassOf ep-activity:OffshoreWellActivity ; | ||
110 | + rdfs:subClassOf | ||
111 | + [ rdf:type owl:Restriction ; | ||
112 | + owl:allValuesFrom ep-activity:WeeklyDrillingActivity ; | ||
113 | + owl:onProperty ep-activity:hasSubActivity | ||
114 | + ] . | ||
115 | + | ||
116 | +ep-activity:MonthlyProductionActivity | ||
117 | + rdf:type owl:Class ; | ||
118 | + rdfs:label "Monthly production activity"^^xsd:string ; | ||
119 | + rdfs:subClassOf ep-activity:OffshoreWellActivity ; | ||
120 | + rdfs:subClassOf | ||
121 | + [ rdf:type owl:Restriction ; | ||
122 | + owl:allValuesFrom ep-activity:WeeklyProductionActivity ; | ||
123 | + owl:onProperty ep-activity:hasSubActivity | ||
124 | + ] . | ||
125 | + | ||
126 | +ep-activity:OffshoreActivity | ||
127 | + rdf:type owl:Class ; | ||
128 | + rdfs:label "Offshore activity"^^xsd:string ; | ||
129 | + rdfs:subClassOf ep-activity:Activity . | ||
130 | + | ||
131 | +ep-activity:OffshoreWellActivity | ||
132 | + rdf:type owl:Class ; | ||
133 | + rdfs:label "Offshore well activity"^^xsd:string ; | ||
134 | + rdfs:subClassOf ep-activity:OffshoreActivity ; | ||
135 | + rdfs:subClassOf | ||
136 | + [ rdf:type owl:Restriction ; | ||
137 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
138 | + owl:onProperty ep-activity:onWell | ||
139 | + ] ; | ||
140 | + rdfs:subClassOf | ||
141 | + [ rdf:type owl:Restriction ; | ||
142 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ; | ||
143 | + owl:onProperty ep-activity:onRig | ||
144 | + ] ; | ||
145 | + rdfs:subClassOf | ||
146 | + [ rdf:type owl:Restriction ; | ||
147 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
148 | + owl:onProperty ep-activity:onRig | ||
149 | + ] ; | ||
150 | + rdfs:subClassOf | ||
151 | + [ rdf:type owl:Restriction ; | ||
152 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
153 | + owl:onProperty ep-activity:onWell | ||
154 | + ] . | ||
155 | + | ||
156 | +ep-activity:ProductionActivity | ||
157 | + rdf:type owl:Class ; | ||
158 | + rdfs:label "Production activity"^^xsd:string ; | ||
159 | + rdfs:subClassOf ep-activity:OffshoreWellActivity . | ||
160 | + | ||
161 | +ep-activity:Report | ||
162 | + rdf:type owl:Class ; | ||
163 | + rdfs:label "Report"^^xsd:string ; | ||
164 | + rdfs:subClassOf owl:Thing ; | ||
165 | + rdfs:subClassOf | ||
166 | + [ rdf:type owl:Restriction ; | ||
167 | + owl:allValuesFrom ep-activity:Activity ; | ||
168 | + owl:onProperty ep-activity:reportOn | ||
169 | + ] . | ||
170 | + | ||
171 | +ep-activity:WeeklyDrillingActivity | ||
172 | + rdf:type owl:Class ; | ||
173 | + rdfs:label "Weekly drilling activity"^^xsd:string ; | ||
174 | + rdfs:subClassOf ep-activity:OffshoreWellActivity ; | ||
175 | + rdfs:subClassOf | ||
176 | + [ rdf:type owl:Restriction ; | ||
177 | + owl:allValuesFrom ep-activity:DailyDrillingActivity ; | ||
178 | + owl:onProperty ep-activity:hasSubActivity | ||
179 | + ] . | ||
180 | + | ||
181 | +ep-activity:WeeklyProductionActivity | ||
182 | + rdf:type owl:Class ; | ||
183 | + rdfs:label "Weekly production activity"^^xsd:string ; | ||
184 | + rdfs:subClassOf ep-activity:OffshoreWellActivity ; | ||
185 | + rdfs:subClassOf | ||
186 | + [ rdf:type owl:Restriction ; | ||
187 | + owl:allValuesFrom ep-activity:DailyProductionActivity ; | ||
188 | + owl:onProperty ep-activity:hasSubActivity | ||
189 | + ] . | ||
190 | + | ||
191 | +ep-activity:finishedAt | ||
192 | + rdf:type owl:DatatypeProperty ; | ||
193 | + rdfs:label "finished at"^^xsd:string ; | ||
194 | + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | ||
195 | + | ||
196 | +ep-activity:hasSubActivity | ||
197 | + rdf:type owl:ObjectProperty ; | ||
198 | + rdfs:label "has sub activity"^^xsd:string . | ||
199 | + | ||
200 | +ep-activity:onRig | ||
201 | + rdf:type owl:ObjectProperty ; | ||
202 | + rdfs:label "on rig"^^xsd:string . | ||
203 | + | ||
204 | +ep-activity:onWell | ||
205 | + rdf:type owl:ObjectProperty ; | ||
206 | + rdfs:label "on well"^^xsd:string . | ||
207 | + | ||
208 | +ep-activity:reportOn | ||
209 | + rdf:type owl:ObjectProperty ; | ||
210 | + rdfs:label "report on"^^xsd:string . | ||
211 | + | ||
212 | +ep-activity:startedAt | ||
213 | + rdf:type owl:DatatypeProperty ; | ||
214 | + rdfs:label "started at"^^xsd:string ; | ||
215 | + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
1 | +# Saved by TopBraid on Mon Aug 01 13:33:06 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.1/core | ||
3 | +# imports: http://www.linkedmodel.org/1.2/schema/vaem | ||
4 | + | ||
5 | +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . | ||
6 | +@prefix ep-core-1.1: <http://www.reportinghub.no/ep/schema/1.1/core#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +<http://www.reportinghub.no/ep/schema/1.1/core> | ||
13 | + rdf:type owl:Ontology ; | ||
14 | + owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; | ||
15 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
16 | + | ||
17 | +ep-core:basisFor | ||
18 | + rdf:type owl:ObjectProperty ; | ||
19 | + rdfs:label "basis for"^^xsd:string . | ||
20 | + | ||
21 | +ep-core:derivedFrom | ||
22 | + rdf:type owl:TransitiveProperty , owl:ObjectProperty ; | ||
23 | + rdfs:label "derived from"^^xsd:string . | ||
24 | + | ||
25 | +ep-core:hasPart | ||
26 | + rdf:type owl:ObjectProperty ; | ||
27 | + rdfs:label "has part"^^xsd:string . | ||
28 | + | ||
29 | +ep-core:name | ||
30 | + rdf:type owl:DatatypeProperty ; | ||
31 | + rdfs:label "name"^^xsd:string ; | ||
32 | + rdfs:range xsd:string . |
This diff could not be displayed because it is too large.
1 | +# Saved by TopBraid on Tue Jul 26 22:48:40 CEST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.1/equipment | ||
3 | +# imports: http://www.reportinghub.no/ep/schema/1.1/core | ||
4 | + | ||
5 | +@prefix ep-eqt: <http://www.reportinghub.no/ep/schema/equipment#> . | ||
6 | +@prefix ep-eqt-1.1: <http://www.reportinghub.no/ep/schema/1.1/equipment#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +<http://www.reportinghub.no/ep/schema/1.1/equipment> | ||
13 | + rdf:type owl:Ontology ; | ||
14 | + owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; | ||
15 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
16 | + | ||
17 | +ep-eqt:Equipment | ||
18 | + rdf:type owl:Class ; | ||
19 | + rdfs:label "Equipment"^^xsd:string ; | ||
20 | + rdfs:subClassOf owl:Thing . | ||
21 | + | ||
22 | +ep-eqt:Rig | ||
23 | + rdf:type owl:Class ; | ||
24 | + rdfs:label "Rig"^^xsd:string ; | ||
25 | + rdfs:subClassOf ep-eqt:Equipment . |
1 | +# Saved by TopBraid on Tue Jul 26 22:56:33 CEST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.1/report | ||
3 | +# imports: http://www.reportinghub.no/ep/schema/1.1/activity | ||
4 | +# imports: http://www.reportinghub.no/ep/schema/1.1/core | ||
5 | + | ||
6 | +@prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> . | ||
7 | +@prefix ep-report-1.1: <http://www.reportinghub.no/ep/schema/1.1/report#> . | ||
8 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
9 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
10 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
12 | + | ||
13 | +<http://www.reportinghub.no/ep/schema/1.1/report> | ||
14 | + rdf:type owl:Ontology ; | ||
15 | + owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/schema/1.1/core> ; | ||
16 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
1 | +# Saved by TopBraid on Mon Aug 01 13:33:39 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.1/well | ||
3 | +# imports: http://www.reportinghub.no/ep/schema/1.1/core | ||
4 | + | ||
5 | +@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> . | ||
6 | +@prefix ep-well-1.1: <http://www.reportinghub.no/ep/schema/1.1/well#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +<http://www.reportinghub.no/ep/schema/1.1/well> | ||
13 | + rdf:type owl:Ontology ; | ||
14 | + owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; | ||
15 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
16 | + | ||
17 | +ep-well:Well | ||
18 | + rdf:type owl:Class ; | ||
19 | + rdfs:label "Well"^^xsd:string ; | ||
20 | + rdfs:subClassOf owl:Thing ; | ||
21 | + rdfs:subClassOf | ||
22 | + [ rdf:type owl:Restriction ; | ||
23 | + owl:allValuesFrom ep-well:WellBore ; | ||
24 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> | ||
25 | + ] ; | ||
26 | + rdfs:subClassOf | ||
27 | + [ rdf:type owl:Restriction ; | ||
28 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
29 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#name> | ||
30 | + ] . | ||
31 | + | ||
32 | +ep-well:WellBore | ||
33 | + rdf:type owl:Class ; | ||
34 | + rdfs:label "Well bore"^^xsd:string ; | ||
35 | + rdfs:subClassOf owl:Thing ; | ||
36 | + rdfs:subClassOf | ||
37 | + [ rdf:type owl:Restriction ; | ||
38 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
39 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#name> | ||
40 | + ] . |
1 | +# Saved by TopBraid on Thu Jul 28 13:04:59 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/1.1/scripts/ddr-refactoring | ||
3 | +# imports: http://www.linkedmodel.org/1.2/schema/vaem | ||
4 | +# imports: http://topbraid.org/sparqlmotionfunctions | ||
5 | +# imports: http://www.linkedmodel.org/1.0/schema/dtype | ||
6 | +# imports: http://topbraid.org/sxsd | ||
7 | +# imports: http://topbraid.org/sparqlmotionlib-tbc | ||
8 | + | ||
9 | +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | ||
10 | +@prefix ddr: <http://www.reportinghub.no/schema/ddr#> . | ||
11 | +@prefix ddr-refactoring: <http://www.reportinghub.no/scripts/ddr-refactoring#> . | ||
12 | +@prefix ddr-refactoring-1.0: <http://www.reportinghub.no/1.1/scripts/ddr-refactoring#> . | ||
13 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
14 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
15 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
16 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
17 | +@prefix sawsdl: <http://www.w3.org/ns/sawsdl#> . | ||
18 | +@prefix sm: <http://topbraid.org/sparqlmotion#> . | ||
19 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
20 | +@prefix sml: <http://topbraid.org/sparqlmotionlib#> . | ||
21 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
22 | +@prefix spif: <http://spinrdf.org/spif#> . | ||
23 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
24 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
25 | + | ||
26 | +<http://www.reportinghub.no/1.1/scripts/ddr-refactoring> | ||
27 | + rdf:type owl:Ontology ; | ||
28 | + owl:imports <http://www.linkedmodel.org/1.0/schema/dtype> , <http://topbraid.org/sxsd> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://topbraid.org/sparqlmotionlib-tbc> , <http://topbraid.org/sparqlmotionfunctions> ; | ||
29 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
30 | + | ||
31 | +ddr-refactoring:Add_Abstract_SimpleType_Class | ||
32 | + rdf:type sml:ApplyConstruct ; | ||
33 | + rdfs:label "Add Abstract Simple type Class"^^xsd:string ; | ||
34 | + sm:next ddr-refactoring:Sync_On_XSD_Work ; | ||
35 | + sml:constructQuery | ||
36 | + [ rdf:type sp:Construct ; | ||
37 | + sp:templates ([ sp:object owl:Class ; | ||
38 | + sp:predicate rdf:type ; | ||
39 | + sp:subject ddr:AbstractSimpleType | ||
40 | + ] [ sp:object "Abstract Simpletype" ; | ||
41 | + sp:predicate rdfs:label ; | ||
42 | + sp:subject ddr:AbstractSimpleType | ||
43 | + ] [ sp:object ddr:AbstractSimpleType ; | ||
44 | + sp:predicate rdfs:subClassOf ; | ||
45 | + sp:subject ddr:AbstractBoolean | ||
46 | + ] [ sp:object ddr:AbstractSimpleType ; | ||
47 | + sp:predicate rdfs:subClassOf ; | ||
48 | + sp:subject ddr:AbstractDate | ||
49 | + ] [ sp:object ddr:AbstractSimpleType ; | ||
50 | + sp:predicate rdfs:subClassOf ; | ||
51 | + sp:subject ddr:AbstractDateTime | ||
52 | + ] [ sp:object ddr:AbstractSimpleType ; | ||
53 | + sp:predicate rdfs:subClassOf ; | ||
54 | + sp:subject ddr:AbstractDouble | ||
55 | + ] [ sp:object ddr:AbstractSimpleType ; | ||
56 | + sp:predicate rdfs:subClassOf ; | ||
57 | + sp:subject ddr:AbstractShort | ||
58 | + ] [ sp:object ddr:AbstractSimpleType ; | ||
59 | + sp:predicate rdfs:subClassOf ; | ||
60 | + sp:subject ddr:AbstractString | ||
61 | + ]) ; | ||
62 | + sp:where () | ||
63 | + ] . | ||
64 | + | ||
65 | +ddr-refactoring:Add_Imports | ||
66 | + rdf:type sml:ApplyConstruct ; | ||
67 | + rdfs:label "Add Imports"^^xsd:string ; | ||
68 | + sm:next ddr-refactoring:Sync_On_XSD_Work ; | ||
69 | + sml:constructQuery | ||
70 | + [ rdf:type sp:Construct ; | ||
71 | + sp:templates ([ sp:object <http://www.reportinghub.no/1.1/schema/epc> ; | ||
72 | + sp:predicate owl:imports ; | ||
73 | + sp:subject _:b1 | ||
74 | + ] [ sp:object <http://www.reportinghub.no/1.1/schema/epa> ; | ||
75 | + sp:predicate owl:imports ; | ||
76 | + sp:subject _:b1 | ||
77 | + ]) ; | ||
78 | + sp:where ([ sp:object owl:Ontology ; | ||
79 | + sp:predicate rdf:type ; | ||
80 | + sp:subject _:b1 | ||
81 | + ]) | ||
82 | + ] . | ||
83 | + | ||
84 | +ddr-refactoring:Add_POSC_References_for_Enumerated_Values | ||
85 | + rdf:type sml:ApplyConstruct ; | ||
86 | + rdfs:label "Add POSC References for Enumerated Values"^^xsd:string ; | ||
87 | + sm:next ddr-refactoring:Sync_On_XSD_Work ; | ||
88 | + sml:constructQuery | ||
89 | + [ rdf:type sp:Construct ; | ||
90 | + rdfs:comment "Annotate enumeration values with RDL references"^^xsd:string ; | ||
91 | + sp:templates ([ sp:object _:b2 ; | ||
92 | + sp:predicate sawsdl:modelReference ; | ||
93 | + sp:subject _:b3 | ||
94 | + ]) ; | ||
95 | + sp:where ([ sp:object <http://topbraid.org/sxsd#Enumeration> ; | ||
96 | + sp:predicate rdf:type ; | ||
97 | + sp:subject _:b4 | ||
98 | + ] [ sp:object _:b2 ; | ||
99 | + sp:predicate sawsdl:modelReference-xsdenumeration ; | ||
100 | + sp:subject _:b4 | ||
101 | + ] [ sp:object _:b5 ; | ||
102 | + sp:predicate <http://topbraid.org/sxsd#value> ; | ||
103 | + sp:subject _:b4 | ||
104 | + ] [ sp:object _:b5 ; | ||
105 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
106 | + sp:subject _:b3 | ||
107 | + ] [ sp:object _:b6 ; | ||
108 | + sp:predicate rdf:type ; | ||
109 | + sp:subject _:b3 | ||
110 | + ] [ rdf:type sp:TriplePath ; | ||
111 | + sp:object ddr:EnumeratedValue ; | ||
112 | + sp:path [ rdf:type sp:ModPath ; | ||
113 | + sp:modMax -2 ; | ||
114 | + sp:modMin 0 ; | ||
115 | + sp:subPath rdfs:subClassOf | ||
116 | + ] ; | ||
117 | + sp:subject _:b6 | ||
118 | + ]) | ||
119 | + ] . | ||
120 | + | ||
121 | +ddr-refactoring:Add_POSC_References_to_Object_Properties | ||
122 | + rdf:type sml:ApplyConstruct ; | ||
123 | + rdfs:label "Add POSC References to Object Properties"^^xsd:string ; | ||
124 | + sm:next ddr-refactoring:Sync_On_XSD_Work ; | ||
125 | + sml:constructQuery | ||
126 | + [ rdf:type sp:Construct ; | ||
127 | + sp:templates ([ sp:object _:b7 ; | ||
128 | + sp:predicate sawsdl:modelReference ; | ||
129 | + sp:subject _:b8 | ||
130 | + ]) ; | ||
131 | + sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; | ||
132 | + sp:predicate rdf:type ; | ||
133 | + sp:subject _:b9 | ||
134 | + ] [ rdf:type sp:TriplePath ; | ||
135 | + sp:object _:b10 ; | ||
136 | + sp:path [ rdf:type sp:ModPath ; | ||
137 | + sp:modMax -2 ; | ||
138 | + sp:modMin 0 ; | ||
139 | + sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> | ||
140 | + ] ; | ||
141 | + sp:subject _:b9 | ||
142 | + ] [ sp:object _:b11 ; | ||
143 | + sp:predicate <http://topbraid.org/sxsd#name> ; | ||
144 | + sp:subject _:b9 | ||
145 | + ] [ sp:object _:b7 ; | ||
146 | + sp:predicate sawsdl:modelReference-xsdelement ; | ||
147 | + sp:subject _:b10 | ||
148 | + ] [ sp:object _:b12 ; | ||
149 | + sp:predicate <http://topbraid.org/sxsd#name> ; | ||
150 | + sp:subject _:b10 | ||
151 | + ] [ rdf:type sp:Bind ; | ||
152 | + sp:expression | ||
153 | + [ rdf:type spif:titleCase ; | ||
154 | + sp:arg1 _:b12 | ||
155 | + ] ; | ||
156 | + sp:variable _:b13 | ||
157 | + ] [ rdf:type sp:Bind ; | ||
158 | + sp:expression | ||
159 | + [ rdf:type spif:buildURI ; | ||
160 | + sp:arg1 [ rdf:type fn:concat ; | ||
161 | + sp:arg1 "http://www.reportinghub.no/schema/ddr#has" ; | ||
162 | + sp:arg2 _:b13 | ||
163 | + ] | ||
164 | + ] ; | ||
165 | + sp:variable _:b14 | ||
166 | + ] [ rdf:type sp:Bind ; | ||
167 | + sp:expression | ||
168 | + [ rdf:type spif:titleCase ; | ||
169 | + sp:arg1 _:b11 ; | ||
170 | + sp:arg2 "[a-z]s" | ||
171 | + ] ; | ||
172 | + sp:variable _:b15 | ||
173 | + ] [ rdf:type sp:Bind ; | ||
174 | + sp:expression | ||
175 | + [ rdf:type spif:buildURI ; | ||
176 | + sp:arg1 [ rdf:type fn:concat ; | ||
177 | + sp:arg1 "http://www.reportinghub.no/schema/ddr#" ; | ||
178 | + sp:arg2 _:b15 | ||
179 | + ] | ||
180 | + ] ; | ||
181 | + sp:variable _:b16 | ||
182 | + ] [ sp:object _:b8 ; | ||
183 | + sp:predicate rdfs:subClassOf ; | ||
184 | + sp:subject _:b16 | ||
185 | + ] [ sp:object _:b14 ; | ||
186 | + sp:predicate owl:onProperty ; | ||
187 | + sp:subject _:b8 | ||
188 | + ] [ sp:object | ||
189 | + [ sp:varName "range"^^xsd:string | ||
190 | + ] ; | ||
191 | + sp:predicate owl:allValuesFrom ; | ||
192 | + sp:subject _:b8 | ||
193 | + ]) | ||
194 | + ] . | ||
195 | + | ||
196 | +ddr-refactoring:Add_UOM_Datatype_Property | ||
197 | + rdf:type sml:ApplyConstruct ; | ||
198 | + rdfs:label "Add UOM Datatype Property"^^xsd:string ; | ||
199 | + sm:next ddr-refactoring:Return ; | ||
200 | + sml:constructQuery | ||
201 | + [ rdf:type sp:Construct ; | ||
202 | + sp:templates ([ sp:object owl:DatatypeProperty ; | ||
203 | + sp:predicate rdf:type ; | ||
204 | + sp:subject _:b17 | ||
205 | + ] [ sp:object "uom" ; | ||
206 | + sp:predicate rdfs:label ; | ||
207 | + sp:subject _:b17 | ||
208 | + ] [ sp:object owl:Restriction ; | ||
209 | + sp:predicate rdf:type ; | ||
210 | + sp:subject _:b18 | ||
211 | + ] [ sp:object _:b17 ; | ||
212 | + sp:predicate owl:onProperty ; | ||
213 | + sp:subject _:b18 | ||
214 | + ] [ sp:object 1 ; | ||
215 | + sp:predicate | ||
216 | + [ sp:varName "cardinalityProperty"^^xsd:string | ||
217 | + ] ; | ||
218 | + sp:subject _:b18 | ||
219 | + ] [ sp:object _:b18 ; | ||
220 | + sp:predicate rdfs:subClassOf ; | ||
221 | + sp:subject ddr:AbstractMeasure | ||
222 | + ]) ; | ||
223 | + sp:where ([ rdf:type sp:Bind ; | ||
224 | + sp:expression | ||
225 | + [ rdf:type smf:buildURI ; | ||
226 | + sp:arg1 [ rdf:type fn:concat ; | ||
227 | + sp:arg1 "http://www.reportinghub.no/schema/ddr#" ; | ||
228 | + sp:arg2 "uom" | ||
229 | + ] | ||
230 | + ] ; | ||
231 | + sp:variable _:b17 | ||
232 | + ]) | ||
233 | + ] . | ||
234 | + | ||
235 | +ddr-refactoring:Construct_Class_To_SXML_Element_Associations | ||
236 | + rdf:type sml:ApplyConstruct ; | ||
237 | + rdfs:label "Construct Class To SXML Element Associations"^^xsd:string ; | ||
238 | + sm:next ddr-refactoring:Sync_On_XSD_Work ; | ||
239 | + sml:constructQuery | ||
240 | + [ rdf:type sp:Construct ; | ||
241 | + sp:templates ([ sp:object _:b19 ; | ||
242 | + sp:predicate <http://topbraid.org/sxml#element> ; | ||
243 | + sp:subject _:b20 | ||
244 | + ]) ; | ||
245 | + sp:where ([ sp:object owl:Class ; | ||
246 | + sp:predicate rdf:type ; | ||
247 | + sp:subject _:b20 | ||
248 | + ] [ rdf:type sp:Filter ; | ||
249 | + sp:expression | ||
250 | + [ rdf:type sp:eq ; | ||
251 | + sp:arg1 [ rdf:type smf:prefix ; | ||
252 | + sp:arg1 _:b20 | ||
253 | + ] ; | ||
254 | + sp:arg2 "ddr" | ||
255 | + ] | ||
256 | + ] [ rdf:type sp:Filter ; | ||
257 | + sp:expression | ||
258 | + [ rdf:type fn:starts-with ; | ||
259 | + sp:arg1 [ rdf:type afn:localname ; | ||
260 | + sp:arg1 _:b20 | ||
261 | + ] ; | ||
262 | + sp:arg2 "Cs_" | ||
263 | + ] | ||
264 | + ] [ rdf:type sp:Bind ; | ||
265 | + sp:expression | ||
266 | + [ rdf:type fn:concat ; | ||
267 | + sp:arg1 "witsml:" ; | ||
268 | + sp:arg2 [ rdf:type smf:regex ; | ||
269 | + sp:arg1 [ rdf:type afn:localname ; | ||
270 | + sp:arg1 _:b20 | ||
271 | + ] ; | ||
272 | + sp:arg2 "Cs_([a-zA-Z]*)" ; | ||
273 | + sp:arg3 "$1" | ||
274 | + ] | ||
275 | + ] ; | ||
276 | + sp:variable _:b19 | ||
277 | + ]) | ||
278 | + ] . | ||
279 | + | ||
280 | +ddr-refactoring:Delete_ObjectProperties_For_Strings | ||
281 | + rdf:type sml:PerformUpdate ; | ||
282 | + rdfs:label "Delete ObjectProperty Axioms For Strings"^^xsd:string ; | ||
283 | + sm:next ddr-refactoring:Return ; | ||
284 | + sml:updateQuery | ||
285 | + [ rdf:type sp:Modify ; | ||
286 | + sp:deletePattern ([ sp:object _:b21 ; | ||
287 | + sp:predicate rdfs:subClassOf ; | ||
288 | + sp:subject _:b22 | ||
289 | + ] [ sp:object _:b23 ; | ||
290 | + sp:predicate rdfs:subClassOf ; | ||
291 | + sp:subject _:b22 | ||
292 | + ] [ sp:object _:b24 ; | ||
293 | + sp:predicate owl:allValuesFrom ; | ||
294 | + sp:subject _:b21 | ||
295 | + ] [ sp:object _:b25 ; | ||
296 | + sp:predicate _:b26 ; | ||
297 | + sp:subject _:b21 | ||
298 | + ] [ sp:object _:b27 ; | ||
299 | + sp:predicate _:b28 ; | ||
300 | + sp:subject _:b23 | ||
301 | + ]) ; | ||
302 | + sp:where ([ rdf:type sp:TriplePath ; | ||
303 | + sp:object ddr:AbstractStringDatatype ; | ||
304 | + sp:path [ rdf:type sp:ModPath ; | ||
305 | + sp:modMax -2 ; | ||
306 | + sp:modMin 1 ; | ||
307 | + sp:subPath rdfs:subClassOf | ||
308 | + ] ; | ||
309 | + sp:subject _:b29 | ||
310 | + ] [ sp:object _:b29 ; | ||
311 | + sp:predicate owl:allValuesFrom ; | ||
312 | + sp:subject _:b30 | ||
313 | + ] [ sp:object owl:Restriction ; | ||
314 | + sp:predicate rdf:type ; | ||
315 | + sp:subject _:b30 | ||
316 | + ] [ sp:object _:b30 ; | ||
317 | + sp:predicate rdfs:subClassOf ; | ||
318 | + sp:subject _:b24 | ||
319 | + ] [ sp:object _:b24 ; | ||
320 | + sp:predicate owl:allValuesFrom ; | ||
321 | + sp:subject _:b21 | ||
322 | + ] [ sp:object _:b31 ; | ||
323 | + sp:predicate owl:onProperty ; | ||
324 | + sp:subject _:b21 | ||
325 | + ] [ sp:object owl:Restriction ; | ||
326 | + sp:predicate rdf:type ; | ||
327 | + sp:subject _:b21 | ||
328 | + ] [ sp:object owl:ObjectProperty ; | ||
329 | + sp:predicate rdf:type ; | ||
330 | + sp:subject _:b31 | ||
331 | + ] [ sp:object _:b21 ; | ||
332 | + sp:predicate rdfs:subClassOf ; | ||
333 | + sp:subject _:b22 | ||
334 | + ] [ sp:object _:b23 ; | ||
335 | + sp:predicate rdfs:subClassOf ; | ||
336 | + sp:subject _:b22 | ||
337 | + ] [ sp:object owl:Restriction ; | ||
338 | + sp:predicate rdf:type ; | ||
339 | + sp:subject _:b23 | ||
340 | + ] [ sp:object _:b31 ; | ||
341 | + sp:predicate owl:onProperty ; | ||
342 | + sp:subject _:b23 | ||
343 | + ] [ rdf:type sp:Filter ; | ||
344 | + sp:expression | ||
345 | + [ rdf:type sp:ne ; | ||
346 | + sp:arg1 _:b23 ; | ||
347 | + sp:arg2 _:b21 | ||
348 | + ] | ||
349 | + ] [ sp:object _:b25 ; | ||
350 | + sp:predicate _:b26 ; | ||
351 | + sp:subject _:b21 | ||
352 | + ] [ sp:object _:b27 ; | ||
353 | + sp:predicate _:b28 ; | ||
354 | + sp:subject _:b23 | ||
355 | + ]) | ||
356 | + ] . | ||
357 | + | ||
358 | +ddr-refactoring:Delete_ObjectProperty_Axioms_For_Timestamps | ||
359 | + rdf:type sml:PerformUpdate ; | ||
360 | + rdfs:label "Delete Object property Axioms For Timestamps"^^xsd:string ; | ||
361 | + sm:next ddr-refactoring:Return . | ||
362 | + | ||
363 | +ddr-refactoring:Deprecate_Object_Properties_That_Are_Now_Datatype_Properties | ||
364 | + rdf:type sml:ApplyConstruct ; | ||
365 | + rdfs:label "Deprecate Object Properties That Should Have Been Datatype Properties"^^xsd:string ; | ||
366 | + sm:next ddr-refactoring:Return ; | ||
367 | + sml:constructQuery | ||
368 | + [ rdf:type sp:Construct ; | ||
369 | + sp:templates ([ sp:object owl:DeprecatedProperty ; | ||
370 | + sp:predicate rdf:type ; | ||
371 | + sp:subject _:b32 | ||
372 | + ]) ; | ||
373 | + sp:where ([ rdf:type sp:TriplePath ; | ||
374 | + sp:object ddr:Thing ; | ||
375 | + sp:path [ rdf:type sp:ModPath ; | ||
376 | + sp:modMax -2 ; | ||
377 | + sp:modMin 0 ; | ||
378 | + sp:subPath rdfs:subClassOf | ||
379 | + ] ; | ||
380 | + sp:subject _:b33 | ||
381 | + ] [ sp:object _:b34 ; | ||
382 | + sp:predicate rdfs:subClassOf ; | ||
383 | + sp:subject _:b33 | ||
384 | + ] [ sp:object _:b35 ; | ||
385 | + sp:predicate owl:allValuesFrom ; | ||
386 | + sp:subject _:b34 | ||
387 | + ] [ sp:object _:b32 ; | ||
388 | + sp:predicate owl:onProperty ; | ||
389 | + sp:subject _:b34 | ||
390 | + ] [ sp:object owl:ObjectProperty ; | ||
391 | + sp:predicate rdf:type ; | ||
392 | + sp:subject _:b32 | ||
393 | + ] [ rdf:type sp:TriplePath ; | ||
394 | + sp:object ddr:AbstractSimpleType ; | ||
395 | + sp:path [ rdf:type sp:ModPath ; | ||
396 | + sp:modMax -2 ; | ||
397 | + sp:modMin 0 ; | ||
398 | + sp:subPath rdfs:subClassOf | ||
399 | + ] ; | ||
400 | + sp:subject _:b35 | ||
401 | + ]) | ||
402 | + ] ; | ||
403 | + sml:replace "true"^^xsd:boolean . | ||
404 | + | ||
405 | +ddr-refactoring:Fix_Strings | ||
406 | + rdf:type sml:PerformUpdate ; | ||
407 | + rdfs:label "Fix Strings"^^xsd:string ; | ||
408 | + sm:next ddr-refactoring:Sync_On_XSD_Work ; | ||
409 | + sml:updateQuery | ||
410 | + [ rdf:type sp:Modify ; | ||
411 | + sp:deletePattern ([ sp:object _:b36 ; | ||
412 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
413 | + sp:subject _:b37 | ||
414 | + ]) ; | ||
415 | + sp:insertPattern ([ sp:object _:b38 ; | ||
416 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
417 | + sp:subject _:b37 | ||
418 | + ]) ; | ||
419 | + sp:where ([ sp:object _:b36 ; | ||
420 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
421 | + sp:subject _:b37 | ||
422 | + ] [ rdf:type sp:Bind ; | ||
423 | + sp:expression | ||
424 | + [ rdf:type smf:regex ; | ||
425 | + sp:arg1 _:b36 ; | ||
426 | + sp:arg2 "\\s+" ; | ||
427 | + sp:arg3 " " | ||
428 | + ] ; | ||
429 | + sp:variable _:b38 | ||
430 | + ] [ rdf:type sp:Filter ; | ||
431 | + sp:expression | ||
432 | + [ rdf:type sp:ne ; | ||
433 | + sp:arg1 _:b38 ; | ||
434 | + sp:arg2 _:b36 | ||
435 | + ] | ||
436 | + ]) | ||
437 | + ] . | ||
438 | + | ||
439 | +ddr-refactoring:Import_DDR_Schema | ||
440 | + rdf:type sml:ImportRDFFromWorkspace ; | ||
441 | + rdfs:label "Import DDR Schema"^^xsd:string ; | ||
442 | + sm:next ddr-refactoring:Construct_Class_To_SXML_Element_Associations , ddr-refactoring:Add_POSC_References_to_Object_Properties , ddr-refactoring:Add_Imports , ddr-refactoring:Add_Abstract_SimpleType_Class , ddr-refactoring:Fix_Strings , ddr-refactoring:Add_POSC_References_for_Enumerated_Values ; | ||
443 | + sml:baseURI "http://www.reportinghub.no/1.1/schema/ddr"^^xsd:string ; | ||
444 | + sml:ignoreImports "false"^^xsd:boolean . | ||
445 | + | ||
446 | +ddr-refactoring:Return | ||
447 | + rdf:type sml:ReturnText ; | ||
448 | + rdfs:label "Return"^^xsd:string ; | ||
449 | + sml:mimeType "text"^^xsd:string . | ||
450 | + | ||
451 | +ddr-refactoring:Sync_On_XSD_Work | ||
452 | + rdf:type sml:Merge ; | ||
453 | + rdfs:label "Sync On XSD Work"^^xsd:string ; | ||
454 | + sm:next ddr-refactoring:Transform_UOM_Properties , ddr-refactoring:Transform_Strings , ddr-refactoring:Add_UOM_Datatype_Property , ddr-refactoring:Transfrom_TimeStamps . | ||
455 | + | ||
456 | +ddr-refactoring:Transform_Strings | ||
457 | + rdf:type sml:ApplyConstruct ; | ||
458 | + rdfs:label "Transform Strings"^^xsd:string ; | ||
459 | + sm:next ddr-refactoring:Delete_ObjectProperties_For_Strings ; | ||
460 | + sml:constructQuery | ||
461 | + [ rdf:type sp:Construct ; | ||
462 | + sp:templates ([ sp:object owl:DatatypeProperty ; | ||
463 | + sp:predicate rdf:type ; | ||
464 | + sp:subject _:b39 | ||
465 | + ] [ sp:object _:b40 ; | ||
466 | + sp:predicate rdfs:label ; | ||
467 | + sp:subject _:b39 | ||
468 | + ] [ sp:object owl:Restriction ; | ||
469 | + sp:predicate rdf:type ; | ||
470 | + sp:subject _:b41 | ||
471 | + ] [ sp:object _:b42 ; | ||
472 | + sp:predicate owl:allValuesFrom ; | ||
473 | + sp:subject _:b41 | ||
474 | + ] [ sp:object _:b39 ; | ||
475 | + sp:predicate owl:onProperty ; | ||
476 | + sp:subject _:b41 | ||
477 | + ] [ sp:object _:b43 ; | ||
478 | + sp:predicate sawsdl:modelReference ; | ||
479 | + sp:subject _:b41 | ||
480 | + ] [ sp:object _:b44 ; | ||
481 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
482 | + sp:subject _:b41 | ||
483 | + ] [ sp:object owl:Restriction ; | ||
484 | + sp:predicate rdf:type ; | ||
485 | + sp:subject _:b45 | ||
486 | + ] [ sp:object _:b46 ; | ||
487 | + sp:predicate _:b47 ; | ||
488 | + sp:subject _:b45 | ||
489 | + ] [ sp:object _:b39 ; | ||
490 | + sp:predicate owl:onProperty ; | ||
491 | + sp:subject _:b45 | ||
492 | + ] [ sp:object _:b41 ; | ||
493 | + sp:predicate rdfs:subClassOf ; | ||
494 | + sp:subject _:b48 | ||
495 | + ] [ sp:object _:b45 ; | ||
496 | + sp:predicate rdfs:subClassOf ; | ||
497 | + sp:subject _:b48 | ||
498 | + ]) ; | ||
499 | + sp:where ([ rdf:type sp:TriplePath ; | ||
500 | + sp:object ddr:AbstractStringDatatype ; | ||
501 | + sp:path [ rdf:type sp:ModPath ; | ||
502 | + sp:modMax -2 ; | ||
503 | + sp:modMin 1 ; | ||
504 | + sp:subPath rdfs:subClassOf | ||
505 | + ] ; | ||
506 | + sp:subject _:b42 | ||
507 | + ] [ sp:object _:b42 ; | ||
508 | + sp:predicate owl:allValuesFrom ; | ||
509 | + sp:subject _:b49 | ||
510 | + ] [ sp:object _:b49 ; | ||
511 | + sp:predicate rdfs:subClassOf ; | ||
512 | + sp:subject _:b50 | ||
513 | + ] [ sp:object _:b50 ; | ||
514 | + sp:predicate owl:allValuesFrom ; | ||
515 | + sp:subject _:b51 | ||
516 | + ] [ sp:object _:b52 ; | ||
517 | + sp:predicate owl:onProperty ; | ||
518 | + sp:subject _:b51 | ||
519 | + ] [ sp:object _:b51 ; | ||
520 | + sp:predicate rdfs:subClassOf ; | ||
521 | + sp:subject _:b48 | ||
522 | + ] [ rdf:type sp:Optional ; | ||
523 | + sp:elements ([ sp:object _:b43 ; | ||
524 | + sp:predicate sawsdl:modelReference ; | ||
525 | + sp:subject _:b51 | ||
526 | + ]) | ||
527 | + ] [ rdf:type sp:Optional ; | ||
528 | + sp:elements ([ sp:object _:b44 ; | ||
529 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
530 | + sp:subject _:b51 | ||
531 | + ]) | ||
532 | + ] [ sp:object _:b53 ; | ||
533 | + sp:predicate rdfs:subClassOf ; | ||
534 | + sp:subject _:b48 | ||
535 | + ] [ sp:object owl:Restriction ; | ||
536 | + sp:predicate rdf:type ; | ||
537 | + sp:subject _:b53 | ||
538 | + ] [ sp:object _:b52 ; | ||
539 | + sp:predicate owl:onProperty ; | ||
540 | + sp:subject _:b53 | ||
541 | + ] [ rdf:type sp:Filter ; | ||
542 | + sp:expression | ||
543 | + [ rdf:type sp:ne ; | ||
544 | + sp:arg1 _:b53 ; | ||
545 | + sp:arg2 _:b51 | ||
546 | + ] | ||
547 | + ] [ rdf:type sp:Union ; | ||
548 | + sp:elements (([ sp:object _:b46 ; | ||
549 | + sp:predicate owl:cardinality ; | ||
550 | + sp:subject _:b53 | ||
551 | + ] [ rdf:type sp:Bind ; | ||
552 | + sp:expression owl:cardinality ; | ||
553 | + sp:variable _:b47 | ||
554 | + ]) ([ sp:object _:b46 ; | ||
555 | + sp:predicate owl:maxCardinality ; | ||
556 | + sp:subject _:b53 | ||
557 | + ] [ rdf:type sp:Bind ; | ||
558 | + sp:expression owl:maxCardinality ; | ||
559 | + sp:variable _:b47 | ||
560 | + ]) ([ rdf:type sp:NotExists ; | ||
561 | + sp:elements ([ sp:object _:b46 ; | ||
562 | + sp:predicate owl:maxCardinality ; | ||
563 | + sp:subject _:b53 | ||
564 | + ]) | ||
565 | + ] [ rdf:type sp:NotExists ; | ||
566 | + sp:elements ([ sp:object _:b46 ; | ||
567 | + sp:predicate owl:cardinality ; | ||
568 | + sp:subject _:b53 | ||
569 | + ]) | ||
570 | + ] [ rdf:type sp:Bind ; | ||
571 | + sp:expression owl:minCardinality ; | ||
572 | + sp:variable _:b47 | ||
573 | + ] [ rdf:type sp:Bind ; | ||
574 | + sp:expression 0 ; | ||
575 | + sp:variable _:b46 | ||
576 | + ])) | ||
577 | + ] [ rdf:type sp:Bind ; | ||
578 | + sp:expression | ||
579 | + [ rdf:type afn:localname ; | ||
580 | + sp:arg1 _:b52 | ||
581 | + ] ; | ||
582 | + sp:variable _:b54 | ||
583 | + ] [ rdf:type sp:Bind ; | ||
584 | + sp:expression | ||
585 | + [ rdf:type smf:lowerTitleCase ; | ||
586 | + sp:arg1 [ rdf:type smf:regex ; | ||
587 | + sp:arg1 _:b54 ; | ||
588 | + sp:arg2 "has(.*)" ; | ||
589 | + sp:arg3 "$1" | ||
590 | + ] | ||
591 | + ] ; | ||
592 | + sp:variable _:b40 | ||
593 | + ] [ rdf:type sp:Bind ; | ||
594 | + sp:expression | ||
595 | + [ rdf:type smf:buildURI ; | ||
596 | + sp:arg1 [ rdf:type fn:concat ; | ||
597 | + sp:arg1 "http://www.reportinghub.no/schema/ddr#" ; | ||
598 | + sp:arg2 _:b40 | ||
599 | + ] | ||
600 | + ] ; | ||
601 | + sp:variable _:b39 | ||
602 | + ]) | ||
603 | + ] . | ||
604 | + | ||
605 | +ddr-refactoring:Transform_UOM_Properties | ||
606 | + rdf:type sml:ApplyConstruct ; | ||
607 | + rdfs:label "Transform UOM Properties"^^xsd:string ; | ||
608 | + sm:next ddr-refactoring:Return ; | ||
609 | + sml:constructQuery | ||
610 | + [ rdf:type sp:Construct ; | ||
611 | + sp:templates ([ sp:object owl:DatatypeProperty ; | ||
612 | + sp:predicate rdf:type ; | ||
613 | + sp:subject _:b55 | ||
614 | + ] [ sp:object _:b56 ; | ||
615 | + sp:predicate rdfs:label ; | ||
616 | + sp:subject _:b55 | ||
617 | + ] [ sp:object owl:Restriction ; | ||
618 | + sp:predicate rdf:type ; | ||
619 | + sp:subject _:b57 | ||
620 | + ] [ sp:object _:b58 ; | ||
621 | + sp:predicate owl:allValuesFrom ; | ||
622 | + sp:subject _:b57 | ||
623 | + ] [ sp:object _:b55 ; | ||
624 | + sp:predicate owl:onProperty ; | ||
625 | + sp:subject _:b57 | ||
626 | + ] [ sp:object _:b59 ; | ||
627 | + sp:predicate sawsdl:modelReference ; | ||
628 | + sp:subject _:b57 | ||
629 | + ] [ sp:object _:b60 ; | ||
630 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
631 | + sp:subject _:b57 | ||
632 | + ] [ sp:object owl:Restriction ; | ||
633 | + sp:predicate rdf:type ; | ||
634 | + sp:subject _:b61 | ||
635 | + ] [ sp:object _:b62 ; | ||
636 | + sp:predicate _:b63 ; | ||
637 | + sp:subject _:b61 | ||
638 | + ] [ sp:object _:b55 ; | ||
639 | + sp:predicate owl:onProperty ; | ||
640 | + sp:subject _:b61 | ||
641 | + ] [ sp:object _:b57 ; | ||
642 | + sp:predicate rdfs:subClassOf ; | ||
643 | + sp:subject _:b64 | ||
644 | + ] [ sp:object _:b61 ; | ||
645 | + sp:predicate rdfs:subClassOf ; | ||
646 | + sp:subject _:b64 | ||
647 | + ]) ; | ||
648 | + sp:where ([ rdf:type sp:TriplePath ; | ||
649 | + sp:object ddr:AbstractUomEnum ; | ||
650 | + sp:path [ rdf:type sp:ModPath ; | ||
651 | + sp:modMax -2 ; | ||
652 | + sp:modMin 1 ; | ||
653 | + sp:subPath rdfs:subClassOf | ||
654 | + ] ; | ||
655 | + sp:subject _:b58 | ||
656 | + ] [ sp:object _:b58 ; | ||
657 | + sp:predicate owl:allValuesFrom ; | ||
658 | + sp:subject _:b65 | ||
659 | + ] [ sp:object _:b65 ; | ||
660 | + sp:predicate rdfs:subClassOf ; | ||
661 | + sp:subject _:b66 | ||
662 | + ] [ sp:object _:b66 ; | ||
663 | + sp:predicate owl:allValuesFrom ; | ||
664 | + sp:subject _:b67 | ||
665 | + ] [ sp:object _:b68 ; | ||
666 | + sp:predicate owl:onProperty ; | ||
667 | + sp:subject _:b67 | ||
668 | + ] [ sp:object _:b67 ; | ||
669 | + sp:predicate rdfs:subClassOf ; | ||
670 | + sp:subject _:b64 | ||
671 | + ] [ rdf:type sp:Optional ; | ||
672 | + sp:elements ([ sp:object _:b60 ; | ||
673 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
674 | + sp:subject _:b67 | ||
675 | + ]) | ||
676 | + ] [ rdf:type sp:Optional ; | ||
677 | + sp:elements ([ sp:object _:b59 ; | ||
678 | + sp:predicate sawsdl:modelReference ; | ||
679 | + sp:subject _:b67 | ||
680 | + ]) | ||
681 | + ] [ sp:object _:b69 ; | ||
682 | + sp:predicate rdfs:subClassOf ; | ||
683 | + sp:subject _:b64 | ||
684 | + ] [ sp:object owl:Restriction ; | ||
685 | + sp:predicate rdf:type ; | ||
686 | + sp:subject _:b69 | ||
687 | + ] [ sp:object _:b68 ; | ||
688 | + sp:predicate owl:onProperty ; | ||
689 | + sp:subject _:b69 | ||
690 | + ] [ rdf:type sp:Filter ; | ||
691 | + sp:expression | ||
692 | + [ rdf:type sp:ne ; | ||
693 | + sp:arg1 _:b69 ; | ||
694 | + sp:arg2 _:b67 | ||
695 | + ] | ||
696 | + ] [ rdf:type sp:Union ; | ||
697 | + sp:elements (([ sp:object _:b62 ; | ||
698 | + sp:predicate owl:cardinality ; | ||
699 | + sp:subject _:b69 | ||
700 | + ] [ rdf:type sp:Bind ; | ||
701 | + sp:expression owl:cardinality ; | ||
702 | + sp:variable _:b63 | ||
703 | + ]) ([ sp:object _:b62 ; | ||
704 | + sp:predicate owl:maxCardinality ; | ||
705 | + sp:subject _:b69 | ||
706 | + ] [ rdf:type sp:Bind ; | ||
707 | + sp:expression owl:maxCardinality ; | ||
708 | + sp:variable _:b63 | ||
709 | + ]) ([ rdf:type sp:NotExists ; | ||
710 | + sp:elements ([ sp:object _:b62 ; | ||
711 | + sp:predicate owl:maxCardinality ; | ||
712 | + sp:subject _:b69 | ||
713 | + ]) | ||
714 | + ] [ rdf:type sp:NotExists ; | ||
715 | + sp:elements ([ sp:object _:b62 ; | ||
716 | + sp:predicate owl:cardinality ; | ||
717 | + sp:subject _:b69 | ||
718 | + ]) | ||
719 | + ] [ rdf:type sp:Bind ; | ||
720 | + sp:expression owl:minCardinality ; | ||
721 | + sp:variable _:b63 | ||
722 | + ] [ rdf:type sp:Bind ; | ||
723 | + sp:expression 0 ; | ||
724 | + sp:variable _:b62 | ||
725 | + ])) | ||
726 | + ] [ rdf:type sp:Bind ; | ||
727 | + sp:expression | ||
728 | + [ rdf:type afn:localname ; | ||
729 | + sp:arg1 _:b68 | ||
730 | + ] ; | ||
731 | + sp:variable _:b70 | ||
732 | + ] [ rdf:type sp:Bind ; | ||
733 | + sp:expression | ||
734 | + [ rdf:type smf:lowerTitleCase ; | ||
735 | + sp:arg1 [ rdf:type smf:regex ; | ||
736 | + sp:arg1 _:b70 ; | ||
737 | + sp:arg2 "has(.*)" ; | ||
738 | + sp:arg3 "$1" | ||
739 | + ] | ||
740 | + ] ; | ||
741 | + sp:variable _:b56 | ||
742 | + ] [ rdf:type sp:Bind ; | ||
743 | + sp:expression | ||
744 | + [ rdf:type smf:buildURI ; | ||
745 | + sp:arg1 [ rdf:type fn:concat ; | ||
746 | + sp:arg1 "http://www.reportinghub.no/schema/ddr#" ; | ||
747 | + sp:arg2 _:b56 | ||
748 | + ] | ||
749 | + ] ; | ||
750 | + sp:variable _:b55 | ||
751 | + ]) | ||
752 | + ] . | ||
753 | + | ||
754 | +ddr-refactoring:Transfrom_TimeStamps | ||
755 | + rdf:type sml:ApplyConstruct ; | ||
756 | + rdfs:label "Transfrom Time stamps"^^xsd:string ; | ||
757 | + sm:next ddr-refactoring:Delete_ObjectProperty_Axioms_For_Timestamps ; | ||
758 | + sml:constructQuery | ||
759 | + [ rdf:type sp:Construct ; | ||
760 | + sp:templates ([ sp:object owl:DatatypeProperty ; | ||
761 | + sp:predicate rdf:type ; | ||
762 | + sp:subject _:b71 | ||
763 | + ] [ sp:object _:b72 ; | ||
764 | + sp:predicate rdfs:label ; | ||
765 | + sp:subject _:b71 | ||
766 | + ] [ sp:object owl:Restriction ; | ||
767 | + sp:predicate rdf:type ; | ||
768 | + sp:subject _:b73 | ||
769 | + ] [ sp:object ddr:TimestampDatatype ; | ||
770 | + sp:predicate owl:allValuesFrom ; | ||
771 | + sp:subject _:b73 | ||
772 | + ] [ sp:object _:b74 ; | ||
773 | + sp:predicate sawsdl:modelReference ; | ||
774 | + sp:subject _:b73 | ||
775 | + ] [ sp:object _:b75 ; | ||
776 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
777 | + sp:subject _:b73 | ||
778 | + ] [ sp:object _:b71 ; | ||
779 | + sp:predicate owl:onProperty ; | ||
780 | + sp:subject _:b73 | ||
781 | + ] [ sp:object owl:Restriction ; | ||
782 | + sp:predicate rdf:type ; | ||
783 | + sp:subject _:b76 | ||
784 | + ] [ sp:object _:b77 ; | ||
785 | + sp:predicate _:b78 ; | ||
786 | + sp:subject _:b76 | ||
787 | + ] [ sp:object _:b71 ; | ||
788 | + sp:predicate owl:onProperty ; | ||
789 | + sp:subject _:b76 | ||
790 | + ] [ sp:object _:b73 ; | ||
791 | + sp:predicate rdfs:subClassOf ; | ||
792 | + sp:subject _:b79 | ||
793 | + ] [ sp:object _:b76 ; | ||
794 | + sp:predicate rdfs:subClassOf ; | ||
795 | + sp:subject _:b79 | ||
796 | + ]) ; | ||
797 | + sp:where ([ sp:object ddr:Timestamp ; | ||
798 | + sp:predicate owl:allValuesFrom ; | ||
799 | + sp:subject _:b80 | ||
800 | + ] [ sp:object _:b81 ; | ||
801 | + sp:predicate owl:onProperty ; | ||
802 | + sp:subject _:b80 | ||
803 | + ] [ sp:object _:b80 ; | ||
804 | + sp:predicate rdfs:subClassOf ; | ||
805 | + sp:subject _:b79 | ||
806 | + ] [ sp:object _:b82 ; | ||
807 | + sp:predicate rdfs:subClassOf ; | ||
808 | + sp:subject _:b79 | ||
809 | + ] [ rdf:type sp:Optional ; | ||
810 | + sp:elements ([ sp:object _:b74 ; | ||
811 | + sp:predicate sawsdl:modelReference ; | ||
812 | + sp:subject _:b80 | ||
813 | + ]) | ||
814 | + ] [ rdf:type sp:Optional ; | ||
815 | + sp:elements ([ sp:object _:b75 ; | ||
816 | + sp:predicate <http://purl.org/dc/elements/1.1/description> ; | ||
817 | + sp:subject _:b80 | ||
818 | + ]) | ||
819 | + ] [ sp:object owl:Restriction ; | ||
820 | + sp:predicate rdf:type ; | ||
821 | + sp:subject _:b82 | ||
822 | + ] [ sp:object _:b81 ; | ||
823 | + sp:predicate owl:onProperty ; | ||
824 | + sp:subject _:b82 | ||
825 | + ] [ rdf:type sp:Union ; | ||
826 | + sp:elements (([ rdf:type sp:Optional ; | ||
827 | + sp:elements ([ sp:object _:b77 ; | ||
828 | + sp:predicate owl:cardinality ; | ||
829 | + sp:subject _:b82 | ||
830 | + ] [ rdf:type sp:Bind ; | ||
831 | + sp:expression owl:cardinality ; | ||
832 | + sp:variable _:b78 | ||
833 | + ]) | ||
834 | + ]) ([ rdf:type sp:Optional ; | ||
835 | + sp:elements ([ sp:object _:b77 ; | ||
836 | + sp:predicate owl:maxCardinality ; | ||
837 | + sp:subject _:b82 | ||
838 | + ] [ rdf:type sp:Bind ; | ||
839 | + sp:expression owl:maxCardinality ; | ||
840 | + sp:variable _:b78 | ||
841 | + ]) | ||
842 | + ])) | ||
843 | + ] [ rdf:type sp:Bind ; | ||
844 | + sp:expression | ||
845 | + [ rdf:type afn:localname ; | ||
846 | + sp:arg1 _:b81 | ||
847 | + ] ; | ||
848 | + sp:variable _:b83 | ||
849 | + ] [ rdf:type sp:Bind ; | ||
850 | + sp:expression | ||
851 | + [ rdf:type smf:lowerTitleCase ; | ||
852 | + sp:arg1 [ rdf:type smf:regex ; | ||
853 | + sp:arg1 _:b83 ; | ||
854 | + sp:arg2 "has(.*)" ; | ||
855 | + sp:arg3 "$1" | ||
856 | + ] | ||
857 | + ] ; | ||
858 | + sp:variable _:b72 | ||
859 | + ] [ rdf:type sp:Bind ; | ||
860 | + sp:expression | ||
861 | + [ rdf:type smf:buildURI ; | ||
862 | + sp:arg1 [ rdf:type fn:concat ; | ||
863 | + sp:arg1 "http://www.reportinghub.no/schema/ddr#" ; | ||
864 | + sp:arg2 _:b72 | ||
865 | + ] | ||
866 | + ] ; | ||
867 | + sp:variable _:b71 | ||
868 | + ]) | ||
869 | + ] . | ||
870 | + | ||
871 | +sawsdl:modelReference | ||
872 | + rdf:type owl:AnnotationProperty ; | ||
873 | + rdfs:label "model reference"^^xsd:string . | ||
874 | + | ||
875 | +sawsdl:modelReference-xsdelement | ||
876 | + rdf:type owl:AnnotationProperty ; | ||
877 | + rdfs:label "model reference-xsdelement"^^xsd:string . | ||
878 | + | ||
879 | +sawsdl:modelReference-xsdenumeration | ||
880 | + rdf:type owl:AnnotationProperty ; | ||
881 | + rdfs:label "model reference-xsdenumeration"^^xsd:string . | ||
882 | + | ||
883 | +_:b1 sp:varName "ont"^^xsd:string . | ||
884 | + | ||
885 | +_:b2 sp:varName "mre"^^xsd:string . | ||
886 | + | ||
887 | +_:b3 sp:varName "evU"^^xsd:string . | ||
888 | + | ||
889 | +_:b4 sp:varName "s"^^xsd:string . | ||
890 | + | ||
891 | +_:b5 sp:varName "value"^^xsd:string . | ||
892 | + | ||
893 | +_:b6 sp:varName "evClass"^^xsd:string . | ||
894 | + | ||
895 | +_:b7 sp:varName "mre"^^xsd:string . | ||
896 | + | ||
897 | +_:b8 sp:varName "res"^^xsd:string . | ||
898 | + | ||
899 | +_:b9 sp:varName "s"^^xsd:string . | ||
900 | + | ||
901 | +_:b10 | ||
902 | + sp:varName "c"^^xsd:string . | ||
903 | + | ||
904 | +_:b11 | ||
905 | + sp:varName "name"^^xsd:string . | ||
906 | + | ||
907 | +_:b12 | ||
908 | + sp:varName "pname"^^xsd:string . | ||
909 | + | ||
910 | +_:b13 | ||
911 | + sp:varName "tcpname"^^xsd:string . | ||
912 | + | ||
913 | +_:b14 | ||
914 | + sp:varName "ddrPU"^^xsd:string . | ||
915 | + | ||
916 | +_:b15 | ||
917 | + sp:varName "tcname"^^xsd:string . | ||
918 | + | ||
919 | +_:b16 | ||
920 | + sp:varName "ddrCU"^^xsd:string . | ||
921 | + | ||
922 | +_:b17 | ||
923 | + sp:varName "uom"^^xsd:string . | ||
924 | + | ||
925 | +_:b19 | ||
926 | + sp:varName "name"^^xsd:string . | ||
927 | + | ||
928 | +_:b20 | ||
929 | + sp:varName "c"^^xsd:string . | ||
930 | + | ||
931 | +_:b21 | ||
932 | + sp:varName "clientRes"^^xsd:string . | ||
933 | + | ||
934 | +_:b22 | ||
935 | + sp:varName "client"^^xsd:string . | ||
936 | + | ||
937 | +_:b23 | ||
938 | + sp:varName "cardinalityRes"^^xsd:string . | ||
939 | + | ||
940 | +_:b24 | ||
941 | + sp:varName "dtClass"^^xsd:string . | ||
942 | + | ||
943 | +_:b25 | ||
944 | + sp:varName "clientResObject"^^xsd:string . | ||
945 | + | ||
946 | +_:b26 | ||
947 | + sp:varName "clientResPredicate"^^xsd:string . | ||
948 | + | ||
949 | +_:b27 | ||
950 | + sp:varName "cardinalityResObject"^^xsd:string . | ||
951 | + | ||
952 | +_:b28 | ||
953 | + sp:varName "cardinalityResPredicate"^^xsd:string . | ||
954 | + | ||
955 | +_:b29 | ||
956 | + sp:varName "sdtClass"^^xsd:string . | ||
957 | + | ||
958 | +_:b30 | ||
959 | + sp:varName "res"^^xsd:string . | ||
960 | + | ||
961 | +_:b31 | ||
962 | + sp:varName "property"^^xsd:string . | ||
963 | + | ||
964 | +_:b36 | ||
965 | + sp:varName "desc"^^xsd:string . | ||
966 | + | ||
967 | +_:b37 | ||
968 | + sp:varName "s"^^xsd:string . | ||
969 | + | ||
970 | +_:b38 | ||
971 | + sp:varName "newDesc"^^xsd:string . | ||
972 | + | ||
973 | +_:b39 | ||
974 | + sp:varName "dtpnameU"^^xsd:string . | ||
975 | + | ||
976 | +_:b40 | ||
977 | + sp:varName "dtpname"^^xsd:string . | ||
978 | + | ||
979 | +_:b42 | ||
980 | + sp:varName "sdtClass"^^xsd:string . | ||
981 | + | ||
982 | +_:b43 | ||
983 | + sp:varName "rdl"^^xsd:string . | ||
984 | + | ||
985 | +_:b44 | ||
986 | + sp:varName "desc"^^xsd:string . | ||
987 | + | ||
988 | +_:b46 | ||
989 | + sp:varName "cardinality"^^xsd:string . | ||
990 | + | ||
991 | +_:b47 | ||
992 | + sp:varName "cardinalityProperty"^^xsd:string . | ||
993 | + | ||
994 | +_:b48 | ||
995 | + sp:varName "client"^^xsd:string . | ||
996 | + | ||
997 | +_:b49 | ||
998 | + sp:varName "res"^^xsd:string . | ||
999 | + | ||
1000 | +_:b50 | ||
1001 | + sp:varName "dtClass"^^xsd:string . | ||
1002 | + | ||
1003 | +_:b51 | ||
1004 | + sp:varName "clientRes"^^xsd:string . | ||
1005 | + | ||
1006 | +_:b52 | ||
1007 | + sp:varName "prop"^^xsd:string . | ||
1008 | + | ||
1009 | +_:b53 | ||
1010 | + sp:varName "cardinalityRes"^^xsd:string . | ||
1011 | + | ||
1012 | +_:b54 | ||
1013 | + sp:varName "pname"^^xsd:string . | ||
1014 | + | ||
1015 | +_:b55 | ||
1016 | + sp:varName "dtpnameU"^^xsd:string . | ||
1017 | + | ||
1018 | +_:b56 | ||
1019 | + sp:varName "dtpname"^^xsd:string . | ||
1020 | + | ||
1021 | +_:b58 | ||
1022 | + sp:varName "uomClass"^^xsd:string . | ||
1023 | + | ||
1024 | +_:b59 | ||
1025 | + sp:varName "rdl"^^xsd:string . | ||
1026 | + | ||
1027 | +_:b60 | ||
1028 | + sp:varName "desc"^^xsd:string . | ||
1029 | + | ||
1030 | +_:b62 | ||
1031 | + sp:varName "cardinality"^^xsd:string . | ||
1032 | + | ||
1033 | +_:b63 | ||
1034 | + sp:varName "cardinalityProperty"^^xsd:string . | ||
1035 | + | ||
1036 | +_:b64 | ||
1037 | + sp:varName "client"^^xsd:string . | ||
1038 | + | ||
1039 | +_:b65 | ||
1040 | + sp:varName "res"^^xsd:string . | ||
1041 | + | ||
1042 | +_:b66 | ||
1043 | + sp:varName "dtClass"^^xsd:string . | ||
1044 | + | ||
1045 | +_:b67 | ||
1046 | + sp:varName "clientRes"^^xsd:string . | ||
1047 | + | ||
1048 | +_:b68 | ||
1049 | + sp:varName "prop"^^xsd:string . | ||
1050 | + | ||
1051 | +_:b69 | ||
1052 | + sp:varName "cardinalityRes"^^xsd:string . | ||
1053 | + | ||
1054 | +_:b70 | ||
1055 | + sp:varName "pname"^^xsd:string . | ||
1056 | + | ||
1057 | +_:b71 | ||
1058 | + sp:varName "dtpnameU"^^xsd:string . | ||
1059 | + | ||
1060 | +_:b72 | ||
1061 | + sp:varName "dtpname"^^xsd:string . | ||
1062 | + | ||
1063 | +_:b74 | ||
1064 | + sp:varName "rdl"^^xsd:string . | ||
1065 | + | ||
1066 | +_:b75 | ||
1067 | + sp:varName "desc"^^xsd:string . | ||
1068 | + | ||
1069 | +_:b77 | ||
1070 | + sp:varName "cardinality"^^xsd:string . | ||
1071 | + | ||
1072 | +_:b78 | ||
1073 | + sp:varName "cardinalityProperty"^^xsd:string . | ||
1074 | + | ||
1075 | +_:b79 | ||
1076 | + sp:varName "client"^^xsd:string . | ||
1077 | + | ||
1078 | +_:b80 | ||
1079 | + sp:varName "res"^^xsd:string . | ||
1080 | + | ||
1081 | +_:b81 | ||
1082 | + sp:varName "prop"^^xsd:string . | ||
1083 | + | ||
1084 | +_:b82 | ||
1085 | + sp:varName "cardinalityRes"^^xsd:string . | ||
1086 | + | ||
1087 | +_:b83 | ||
1088 | + sp:varName "pname"^^xsd:string . | ||
1089 | + | ||
1090 | +_:b33 | ||
1091 | + sp:varName "type"^^xsd:string . | ||
1092 | + | ||
1093 | +_:b34 | ||
1094 | + sp:varName "valueRestriction"^^xsd:string . | ||
1095 | + | ||
1096 | +_:b35 | ||
1097 | + sp:varName "rangeType"^^xsd:string . | ||
1098 | + | ||
1099 | +_:b32 | ||
1100 | + sp:varName "pname"^^xsd:string . |
1 | +# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | ||
3 | +# imports: http://spinrdf.org/spin | ||
4 | + | ||
5 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
6 | +@prefix ep-spin-lib-1.1: <http://www.reportinghub.no/ep/spin/1.1/lib#> . | ||
7 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
8 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
9 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
10 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
11 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
12 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
13 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
14 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
15 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
16 | + | ||
17 | +<http://www.reportinghub.no/ep/spin/1.1/lib> | ||
18 | + rdf:type owl:Ontology ; | ||
19 | + owl:imports <http://spinrdf.org/spin> ; | ||
20 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
21 | + | ||
22 | +ep-spin-lib:Function | ||
23 | + rdf:type spin:Function ; | ||
24 | + rdfs:label "Function"^^xsd:string ; | ||
25 | + rdfs:subClassOf spin:Functions . | ||
26 | + | ||
27 | +ep-spin-lib:buildURI | ||
28 | + rdf:type spin:Function ; | ||
29 | + rdfs:label "build URI"^^xsd:string ; | ||
30 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
31 | + spin:body | ||
32 | + [ rdf:type sp:Select ; | ||
33 | + sp:resultVariables (_:b1) ; | ||
34 | + sp:where ([ rdf:type sp:Bind ; | ||
35 | + sp:expression | ||
36 | + [ rdf:type smf:resource ; | ||
37 | + sp:arg1 [ rdf:type fn:concat ; | ||
38 | + sp:arg1 spin:_arg1 ; | ||
39 | + sp:arg2 spin:_arg2 | ||
40 | + ] | ||
41 | + ] ; | ||
42 | + sp:variable _:b1 | ||
43 | + ]) | ||
44 | + ] ; | ||
45 | + spin:constraint | ||
46 | + [ rdf:type spl:Argument ; | ||
47 | + spl:predicate sp:arg1 ; | ||
48 | + spl:valueType xsd:string | ||
49 | + ] ; | ||
50 | + spin:constraint | ||
51 | + [ rdf:type spl:Argument ; | ||
52 | + spl:predicate sp:arg2 ; | ||
53 | + spl:valueType xsd:string | ||
54 | + ] . | ||
55 | + | ||
56 | +ep-spin-lib:buildWellBoreURI | ||
57 | + rdf:type spin:Function ; | ||
58 | + rdfs:label "build well bore URI"^^xsd:string ; | ||
59 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
60 | + spin:body | ||
61 | + [ rdf:type sp:Select ; | ||
62 | + sp:resultVariables (_:b2) ; | ||
63 | + sp:where ([ rdf:type sp:Bind ; | ||
64 | + sp:expression | ||
65 | + [ rdf:type ep-spin-lib:buildURI ; | ||
66 | + sp:arg1 "https://www.reportinghub.no/ep/data/L_9999/W_9999#" ; | ||
67 | + sp:arg2 spin:_arg1 | ||
68 | + ] ; | ||
69 | + sp:variable _:b2 | ||
70 | + ]) | ||
71 | + ] . | ||
72 | + | ||
73 | +ep-spin-lib:buildWellURI | ||
74 | + rdf:type spin:Function ; | ||
75 | + rdfs:label "build well URI"^^xsd:string ; | ||
76 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
77 | + spin:body | ||
78 | + [ rdf:type sp:Select ; | ||
79 | + sp:resultVariables (_:b3) ; | ||
80 | + sp:where ([ rdf:type sp:Bind ; | ||
81 | + sp:expression | ||
82 | + [ rdf:type ep-spin-lib:buildURI ; | ||
83 | + sp:arg1 "https://www.reportinghub.no/ep/data/L_9999#" ; | ||
84 | + sp:arg2 spin:_arg1 | ||
85 | + ] ; | ||
86 | + sp:variable _:b3 | ||
87 | + ]) | ||
88 | + ] . | ||
89 | + | ||
90 | +ep-spin-lib:normalizeString | ||
91 | + rdf:type spin:Function ; | ||
92 | + rdfs:label "normalize string"^^xsd:string ; | ||
93 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
94 | + spin:body | ||
95 | + [ rdf:type sp:Select ; | ||
96 | + sp:resultVariables (_:b4) ; | ||
97 | + sp:where ([ rdf:type sp:Bind ; | ||
98 | + sp:expression | ||
99 | + [ rdf:type smf:regex ; | ||
100 | + sp:arg1 spin:_arg1 ; | ||
101 | + sp:arg2 "\\((.*)\\)" ; | ||
102 | + sp:arg3 "" | ||
103 | + ] ; | ||
104 | + sp:variable _:b5 | ||
105 | + ] [ rdf:type sp:Bind ; | ||
106 | + sp:expression | ||
107 | + [ rdf:type smf:trim ; | ||
108 | + sp:arg1 _:b5 | ||
109 | + ] ; | ||
110 | + sp:variable _:b6 | ||
111 | + ] [ rdf:type sp:Bind ; | ||
112 | + sp:expression | ||
113 | + [ rdf:type smf:encodeURL ; | ||
114 | + sp:arg1 _:b6 | ||
115 | + ] ; | ||
116 | + sp:variable _:b7 | ||
117 | + ] [ rdf:type sp:Bind ; | ||
118 | + sp:expression | ||
119 | + [ rdf:type smf:regex ; | ||
120 | + sp:arg1 _:b7 ; | ||
121 | + sp:arg2 "%2F" ; | ||
122 | + sp:arg3 "_" | ||
123 | + ] ; | ||
124 | + sp:variable _:b8 | ||
125 | + ] [ rdf:type sp:Bind ; | ||
126 | + sp:expression | ||
127 | + [ rdf:type smf:regex ; | ||
128 | + sp:arg1 _:b8 ; | ||
129 | + sp:arg2 "%[0-9A-F][0-9A-F]" ; | ||
130 | + sp:arg3 "" | ||
131 | + ] ; | ||
132 | + sp:variable _:b9 | ||
133 | + ] [ rdf:type sp:Bind ; | ||
134 | + sp:expression | ||
135 | + [ rdf:type smf:regex ; | ||
136 | + sp:arg1 _:b9 ; | ||
137 | + sp:arg2 "\\+" ; | ||
138 | + sp:arg3 "_" | ||
139 | + ] ; | ||
140 | + sp:variable _:b10 | ||
141 | + ] [ rdf:type sp:Bind ; | ||
142 | + sp:expression | ||
143 | + [ rdf:type smf:regex ; | ||
144 | + sp:arg1 _:b10 ; | ||
145 | + sp:arg2 "_+" ; | ||
146 | + sp:arg3 "_" | ||
147 | + ] ; | ||
148 | + sp:variable _:b11 | ||
149 | + ] [ rdf:type sp:Bind ; | ||
150 | + sp:expression | ||
151 | + [ rdf:type smf:regex ; | ||
152 | + sp:arg1 _:b11 ; | ||
153 | + sp:arg2 "\\*" ; | ||
154 | + sp:arg3 "" | ||
155 | + ] ; | ||
156 | + sp:variable _:b12 | ||
157 | + ] [ rdf:type sp:Bind ; | ||
158 | + sp:expression | ||
159 | + [ rdf:type xsd:string ; | ||
160 | + sp:arg1 [ rdf:type smf:upperCase ; | ||
161 | + sp:arg1 _:b12 | ||
162 | + ] | ||
163 | + ] ; | ||
164 | + sp:variable _:b4 | ||
165 | + ]) | ||
166 | + ] ; | ||
167 | + spin:constraint | ||
168 | + [ rdf:type spl:Argument ; | ||
169 | + spl:predicate sp:arg1 ; | ||
170 | + spl:valueType xsd:string | ||
171 | + ] . | ||
172 | + | ||
173 | +_:b2 sp:varName "uri"^^xsd:string . | ||
174 | + | ||
175 | +_:b3 sp:varName "uri"^^xsd:string . | ||
176 | + | ||
177 | +_:b1 sp:varName "uri"^^xsd:string . | ||
178 | + | ||
179 | +_:b5 sp:varName "s1"^^xsd:string . | ||
180 | + | ||
181 | +_:b6 sp:varName "s2"^^xsd:string . | ||
182 | + | ||
183 | +_:b7 sp:varName "t0a"^^xsd:string . | ||
184 | + | ||
185 | +_:b8 sp:varName "t0b"^^xsd:string . | ||
186 | + | ||
187 | +_:b9 sp:varName "t1"^^xsd:string . | ||
188 | + | ||
189 | +_:b10 | ||
190 | + sp:varName "t2"^^xsd:string . | ||
191 | + | ||
192 | +_:b11 | ||
193 | + sp:varName "t3"^^xsd:string . | ||
194 | + | ||
195 | +_:b12 | ||
196 | + sp:varName "t4"^^xsd:string . | ||
197 | + | ||
198 | +_:b4 sp:varName "normalizedStr"^^xsd:string . |
1 | +# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011 | ||
2 | +# baseURI: null | ||
3 | + | ||
4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | +@prefix visual: <http://topbraid.org/visual#> . | ||
11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
12 | + | ||
13 | +[] rdf:type inference:Configuration ; | ||
14 | + composite:child | ||
15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
16 | + composite:index "0"^^xsd:int | ||
17 | + ] . |
1 | +# Saved by TopBraid on Wed Jul 27 19:58:27 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
3 | +# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | ||
4 | +# imports: http://www.reportinghub.no/1.1/map/ddr | ||
5 | +# imports: http://www.reportinghub.no/1.1/schema/map | ||
6 | +# imports: http://spinrdf.org/spin | ||
7 | +# imports: http://topbraid.org/sxml | ||
8 | + | ||
9 | +@prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . | ||
10 | +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | ||
11 | +@prefix ddr: <http://www.reportinghub.no/ep/schema/ddr#> . | ||
12 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
13 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
14 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
15 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
16 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
17 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
18 | +@prefix spif: <http://spinrdf.org/spif#> . | ||
19 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
20 | +@prefix sxml: <http://topbraid.org/sxml#> . | ||
21 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
22 | + | ||
23 | +ddr:Cs_activity | ||
24 | + sxml:element "witsml:activity"^^xsd:string . | ||
25 | + | ||
26 | +ddr:Cs_alias | ||
27 | + sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . | ||
28 | + | ||
29 | +ddr:Cs_bitRecord | ||
30 | + sxml:element "witsml:bitRecord" . | ||
31 | + | ||
32 | +ddr:Cs_documentAudit | ||
33 | + sxml:element "witsml:documentAudit" . | ||
34 | + | ||
35 | +ddr:Cs_documentEvent | ||
36 | + sxml:element "witsml:documentEvent" . | ||
37 | + | ||
38 | +ddr:Cs_documentFileCreation | ||
39 | + sxml:element "witsml:documentFileCreation" . | ||
40 | + | ||
41 | +ddr:Cs_documentInfo | ||
42 | + sxml:element "witsml:documentInfo" . | ||
43 | + | ||
44 | +ddr:Cs_documentSecurityInfo | ||
45 | + sxml:element "witsml:documentSecurityInfo" . | ||
46 | + | ||
47 | +ddr:Cs_drillReportControlIncidentInfo | ||
48 | + sxml:element "witsml:drillReportControlIncidentInfo" . | ||
49 | + | ||
50 | +ddr:Cs_drillReportCoreInfo | ||
51 | + sxml:element "witsml:drillReportCoreInfo" . | ||
52 | + | ||
53 | +ddr:Cs_drillReportEquipFailureInfo | ||
54 | + sxml:element "witsml:drillReportEquipFailureInfo" . | ||
55 | + | ||
56 | +ddr:Cs_drillReportFormTestInfo | ||
57 | + sxml:element "witsml:drillReportFormTestInfo" . | ||
58 | + | ||
59 | +ddr:Cs_drillReportGasReadingInfo | ||
60 | + sxml:element "witsml:drillReportGasReadingInfo" . | ||
61 | + | ||
62 | +ddr:Cs_drillReportLithShowInfo | ||
63 | + sxml:element "witsml:drillReportLithShowInfo" . | ||
64 | + | ||
65 | +ddr:Cs_drillReportLogInfo | ||
66 | + sxml:element "witsml:drillReportLogInfo" . | ||
67 | + | ||
68 | +ddr:Cs_drillReportPerfInfo | ||
69 | + sxml:element "witsml:drillReportPerfInfo" . | ||
70 | + | ||
71 | +ddr:Cs_drillReportPorePressure | ||
72 | + sxml:element "witsml:drillReportPorePressure" . | ||
73 | + | ||
74 | +ddr:Cs_drillReportStatusInfo | ||
75 | + sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" . | ||
76 | + | ||
77 | +ddr:Cs_drillReportStratInfo | ||
78 | + sxml:element "witsml:drillReportStratInfo" . | ||
79 | + | ||
80 | +ddr:Cs_drillReportSurveyStation | ||
81 | + sxml:element "witsml:drillReportSurveyStation" . | ||
82 | + | ||
83 | +ddr:Cs_drillReportWellTestInfo | ||
84 | + sxml:element "witsml:drillReportWellTestInfo" . | ||
85 | + | ||
86 | +ddr:Cs_drillReportWellboreInfo | ||
87 | + sxml:element "witsml:drillReportWellboreInfo" . | ||
88 | + | ||
89 | +ddr:Cs_fluid | ||
90 | + sxml:element "witsml:fluid" . | ||
91 | + | ||
92 | +ddr:Cs_geodeticModel | ||
93 | + sxml:element "witsml:geodeticModel" . | ||
94 | + | ||
95 | +ddr:Cs_localCRS | ||
96 | + sxml:element "witsml:localCRS" . | ||
97 | + | ||
98 | +ddr:Cs_location | ||
99 | + sxml:element "witsml:location" . | ||
100 | + | ||
101 | +ddr:Cs_projectionx | ||
102 | + sxml:element "witsml:projectionx" . | ||
103 | + | ||
104 | +ddr:Cs_refWellWellbore | ||
105 | + sxml:element "witsml:refWellWellbore" . | ||
106 | + | ||
107 | +ddr:Cs_refWellWellboreRig | ||
108 | + sxml:element "witsml:refWellWellboreRig" . | ||
109 | + | ||
110 | +ddr:Cs_wellAlias | ||
111 | + sxml:element "witsml:wellAlias" , "witsml:wellboreAlias"^^xsd:string . | ||
112 | + | ||
113 | +ddr:Cs_wellCRS | ||
114 | + sxml:element "witsml:wellCRS" . | ||
115 | + | ||
116 | +ddr:Cs_wellDatum | ||
117 | + sxml:element "witsml:wellDatum" . | ||
118 | + | ||
119 | +ddr:DrillReports | ||
120 | + sxml:element "witsml:drillReports"^^xsd:string . | ||
121 | + | ||
122 | +ddr:Obj_drillReport | ||
123 | + sxml:element "witsml:drillReport"^^xsd:string . | ||
124 | + | ||
125 | +ddr:Thing | ||
126 | + spin:rule | ||
127 | + [ rdf:type sp:Construct ; | ||
128 | + rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; | ||
129 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; | ||
130 | + sp:predicate rdf:type ; | ||
131 | + sp:subject _:b1 | ||
132 | + ]) ; | ||
133 | + sp:where ([ sp:object ddr:Cs_activity ; | ||
134 | + sp:predicate rdf:type ; | ||
135 | + sp:subject _:b1 | ||
136 | + ]) | ||
137 | + ] ; | ||
138 | + spin:rule | ||
139 | + [ rdf:type sp:Construct ; | ||
140 | + rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; | ||
141 | + sp:templates ([ sp:object _:b2 ; | ||
142 | + sp:predicate _:b3 ; | ||
143 | + sp:subject _:b4 | ||
144 | + ] [ sp:object rdf:Statement ; | ||
145 | + sp:predicate rdf:type ; | ||
146 | + sp:subject _:b5 | ||
147 | + ] [ sp:object _:b4 ; | ||
148 | + sp:predicate rdf:subject ; | ||
149 | + sp:subject _:b5 | ||
150 | + ] [ sp:object _:b3 ; | ||
151 | + sp:predicate rdf:predicate ; | ||
152 | + sp:subject _:b5 | ||
153 | + ] [ sp:object _:b2 ; | ||
154 | + sp:predicate rdf:object ; | ||
155 | + sp:subject _:b5 | ||
156 | + ] [ sp:object _:b5 ; | ||
157 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
158 | + sp:subject _:b6 | ||
159 | + ]) ; | ||
160 | + sp:where ([ sp:object _:b6 ; | ||
161 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
162 | + sp:subject _:b4 | ||
163 | + ] [ sp:object _:b7 ; | ||
164 | + sp:predicate rdf:type ; | ||
165 | + sp:subject _:b6 | ||
166 | + ] [ rdf:type sp:NotExists ; | ||
167 | + sp:elements ([ sp:object | ||
168 | + [ sp:varName "uom"^^xsd:string | ||
169 | + ] ; | ||
170 | + sp:predicate ddr:uom ; | ||
171 | + sp:subject _:b6 | ||
172 | + ]) | ||
173 | + ] [ rdf:type sp:Bind ; | ||
174 | + sp:expression | ||
175 | + [ rdf:type afn:localname ; | ||
176 | + sp:arg1 _:b7 | ||
177 | + ] ; | ||
178 | + sp:variable _:b8 | ||
179 | + ] [ rdf:type sp:Bind ; | ||
180 | + sp:expression | ||
181 | + [ rdf:type smf:buildURI ; | ||
182 | + sp:arg1 [ rdf:type fn:concat ; | ||
183 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | ||
184 | + sp:arg2 _:b8 | ||
185 | + ] | ||
186 | + ] ; | ||
187 | + sp:variable _:b3 | ||
188 | + ] [ sp:object owl:DatatypeProperty ; | ||
189 | + sp:predicate rdf:type ; | ||
190 | + sp:subject _:b3 | ||
191 | + ] [ sp:object _:b9 ; | ||
192 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
193 | + sp:subject _:b6 | ||
194 | + ] [ sp:object sxml:TextNode ; | ||
195 | + sp:predicate rdf:type ; | ||
196 | + sp:subject _:b9 | ||
197 | + ] [ sp:object _:b10 ; | ||
198 | + sp:predicate sxml:text ; | ||
199 | + sp:subject _:b9 | ||
200 | + ] [ sp:object _:b11 ; | ||
201 | + sp:predicate rdf:type ; | ||
202 | + sp:subject _:b4 | ||
203 | + ] [ rdf:type sp:TriplePath ; | ||
204 | + sp:object _:b12 ; | ||
205 | + sp:path [ rdf:type sp:ModPath ; | ||
206 | + sp:modMax -2 ; | ||
207 | + sp:modMin 0 ; | ||
208 | + sp:subPath rdfs:subClassOf | ||
209 | + ] ; | ||
210 | + sp:subject _:b11 | ||
211 | + ] [ sp:object _:b13 ; | ||
212 | + sp:predicate rdfs:subClassOf ; | ||
213 | + sp:subject _:b12 | ||
214 | + ] [ sp:object owl:Restriction ; | ||
215 | + sp:predicate rdf:type ; | ||
216 | + sp:subject _:b13 | ||
217 | + ] [ sp:object _:b14 ; | ||
218 | + sp:predicate owl:allValuesFrom ; | ||
219 | + sp:subject _:b13 | ||
220 | + ] [ sp:object _:b3 ; | ||
221 | + sp:predicate owl:onProperty ; | ||
222 | + sp:subject _:b13 | ||
223 | + ] [ rdf:type sp:TriplePath ; | ||
224 | + sp:object xsd:dateTime ; | ||
225 | + sp:path [ rdf:type sp:ModPath ; | ||
226 | + sp:modMax -2 ; | ||
227 | + sp:modMin 0 ; | ||
228 | + sp:subPath rdfs:subClassOf | ||
229 | + ] ; | ||
230 | + sp:subject _:b14 | ||
231 | + ] [ rdf:type sp:Bind ; | ||
232 | + sp:expression | ||
233 | + [ rdf:type xsd:dateTime ; | ||
234 | + sp:arg1 _:b10 | ||
235 | + ] ; | ||
236 | + sp:variable _:b2 | ||
237 | + ]) | ||
238 | + ] ; | ||
239 | + spin:rule | ||
240 | + [ rdf:type sp:Construct ; | ||
241 | + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; | ||
242 | + sp:templates ([ sp:object _:b15 ; | ||
243 | + sp:predicate rdf:type ; | ||
244 | + sp:subject _:b16 | ||
245 | + ] [ sp:object _:b17 ; | ||
246 | + sp:predicate ddr:uom ; | ||
247 | + sp:subject _:b16 | ||
248 | + ] [ sp:object _:b18 ; | ||
249 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
250 | + sp:subject _:b16 | ||
251 | + ] [ sp:object _:b16 ; | ||
252 | + sp:predicate _:b19 ; | ||
253 | + sp:subject _:b20 | ||
254 | + ] [ sp:object rdf:Statement ; | ||
255 | + sp:predicate rdf:type ; | ||
256 | + sp:subject _:b21 | ||
257 | + ] [ sp:object _:b20 ; | ||
258 | + sp:predicate rdf:subject ; | ||
259 | + sp:subject _:b21 | ||
260 | + ] [ sp:object _:b19 ; | ||
261 | + sp:predicate rdf:predicate ; | ||
262 | + sp:subject _:b21 | ||
263 | + ] [ sp:object _:b18 ; | ||
264 | + sp:predicate rdf:object ; | ||
265 | + sp:subject _:b21 | ||
266 | + ] [ sp:object _:b21 ; | ||
267 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
268 | + sp:subject _:b22 | ||
269 | + ]) ; | ||
270 | + sp:where ([ sp:object _:b22 ; | ||
271 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
272 | + sp:subject _:b20 | ||
273 | + ] [ sp:object _:b23 ; | ||
274 | + sp:predicate rdf:type ; | ||
275 | + sp:subject _:b22 | ||
276 | + ] [ sp:object _:b17 ; | ||
277 | + sp:predicate ddr:uom ; | ||
278 | + sp:subject _:b22 | ||
279 | + ] [ rdf:type sp:NotExists ; | ||
280 | + sp:elements ([ sp:object | ||
281 | + [ sp:varName "aNode"^^xsd:string | ||
282 | + ] ; | ||
283 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
284 | + sp:subject _:b22 | ||
285 | + ]) | ||
286 | + ] [ rdf:type sp:Bind ; | ||
287 | + sp:expression | ||
288 | + [ rdf:type afn:localname ; | ||
289 | + sp:arg1 _:b23 | ||
290 | + ] ; | ||
291 | + sp:variable _:b24 | ||
292 | + ] [ rdf:type sp:Bind ; | ||
293 | + sp:expression | ||
294 | + [ rdf:type smf:buildURI ; | ||
295 | + sp:arg1 [ rdf:type fn:concat ; | ||
296 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | ||
297 | + sp:arg2 [ rdf:type smf:titleCase ; | ||
298 | + sp:arg1 _:b24 | ||
299 | + ] | ||
300 | + ] | ||
301 | + ] ; | ||
302 | + sp:variable _:b19 | ||
303 | + ] [ sp:object owl:ObjectProperty ; | ||
304 | + sp:predicate rdf:type ; | ||
305 | + sp:subject _:b19 | ||
306 | + ] [ sp:object _:b25 ; | ||
307 | + sp:predicate rdf:type ; | ||
308 | + sp:subject _:b20 | ||
309 | + ] [ rdf:type sp:TriplePath ; | ||
310 | + sp:object _:b26 ; | ||
311 | + sp:path [ rdf:type sp:ModPath ; | ||
312 | + sp:modMax -2 ; | ||
313 | + sp:modMin 0 ; | ||
314 | + sp:subPath rdfs:subClassOf | ||
315 | + ] ; | ||
316 | + sp:subject _:b25 | ||
317 | + ] [ sp:object _:b27 ; | ||
318 | + sp:predicate rdfs:subClassOf ; | ||
319 | + sp:subject _:b26 | ||
320 | + ] [ sp:object owl:Restriction ; | ||
321 | + sp:predicate rdf:type ; | ||
322 | + sp:subject _:b27 | ||
323 | + ] [ sp:object _:b15 ; | ||
324 | + sp:predicate owl:allValuesFrom ; | ||
325 | + sp:subject _:b27 | ||
326 | + ] [ sp:object _:b19 ; | ||
327 | + sp:predicate owl:onProperty ; | ||
328 | + sp:subject _:b27 | ||
329 | + ] [ sp:object _:b28 ; | ||
330 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
331 | + sp:subject _:b22 | ||
332 | + ] [ sp:object sxml:TextNode ; | ||
333 | + sp:predicate rdf:type ; | ||
334 | + sp:subject _:b28 | ||
335 | + ] [ sp:object _:b29 ; | ||
336 | + sp:predicate sxml:text ; | ||
337 | + sp:subject _:b28 | ||
338 | + ] [ rdf:type sp:Bind ; | ||
339 | + sp:expression | ||
340 | + [ rdf:type xsd:double ; | ||
341 | + sp:arg1 _:b29 | ||
342 | + ] ; | ||
343 | + sp:variable _:b18 | ||
344 | + ]) | ||
345 | + ] ; | ||
346 | + spin:rule | ||
347 | + [ rdf:type sp:Construct ; | ||
348 | + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; | ||
349 | + sp:templates ([ sp:object _:b30 ; | ||
350 | + sp:predicate _:b31 ; | ||
351 | + sp:subject _:b32 | ||
352 | + ] [ sp:object rdf:Statement ; | ||
353 | + sp:predicate rdf:type ; | ||
354 | + sp:subject _:b33 | ||
355 | + ] [ sp:object _:b32 ; | ||
356 | + sp:predicate rdf:subject ; | ||
357 | + sp:subject _:b33 | ||
358 | + ] [ sp:object _:b31 ; | ||
359 | + sp:predicate rdf:predicate ; | ||
360 | + sp:subject _:b33 | ||
361 | + ] [ sp:object _:b30 ; | ||
362 | + sp:predicate rdf:object ; | ||
363 | + sp:subject _:b33 | ||
364 | + ] [ sp:object _:b33 ; | ||
365 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
366 | + sp:subject _:b34 | ||
367 | + ]) ; | ||
368 | + sp:where ([ sp:object _:b34 ; | ||
369 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
370 | + sp:subject _:b32 | ||
371 | + ] [ sp:object _:b35 ; | ||
372 | + sp:predicate rdf:type ; | ||
373 | + sp:subject _:b34 | ||
374 | + ] [ rdf:type sp:NotExists ; | ||
375 | + sp:elements ([ sp:object | ||
376 | + [ sp:varName "uom"^^xsd:string | ||
377 | + ] ; | ||
378 | + sp:predicate ddr:uom ; | ||
379 | + sp:subject _:b34 | ||
380 | + ]) | ||
381 | + ] [ rdf:type sp:Bind ; | ||
382 | + sp:expression | ||
383 | + [ rdf:type smf:titleCase ; | ||
384 | + sp:arg1 [ rdf:type afn:localname ; | ||
385 | + sp:arg1 _:b35 | ||
386 | + ] | ||
387 | + ] ; | ||
388 | + sp:variable _:b36 | ||
389 | + ] [ rdf:type sp:Bind ; | ||
390 | + sp:expression | ||
391 | + [ rdf:type smf:buildURI ; | ||
392 | + sp:arg1 [ rdf:type fn:concat ; | ||
393 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | ||
394 | + sp:arg2 _:b36 | ||
395 | + ] | ||
396 | + ] ; | ||
397 | + sp:variable _:b31 | ||
398 | + ] [ sp:object owl:ObjectProperty ; | ||
399 | + sp:predicate rdf:type ; | ||
400 | + sp:subject _:b31 | ||
401 | + ] [ sp:object _:b37 ; | ||
402 | + sp:predicate rdf:type ; | ||
403 | + sp:subject _:b32 | ||
404 | + ] [ rdf:type sp:TriplePath ; | ||
405 | + sp:object _:b38 ; | ||
406 | + sp:path [ rdf:type sp:ModPath ; | ||
407 | + sp:modMax -2 ; | ||
408 | + sp:modMin 0 ; | ||
409 | + sp:subPath rdfs:subClassOf | ||
410 | + ] ; | ||
411 | + sp:subject _:b37 | ||
412 | + ] [ sp:object _:b39 ; | ||
413 | + sp:predicate rdfs:subClassOf ; | ||
414 | + sp:subject _:b38 | ||
415 | + ] [ sp:object owl:Restriction ; | ||
416 | + sp:predicate rdf:type ; | ||
417 | + sp:subject _:b39 | ||
418 | + ] [ sp:object _:b31 ; | ||
419 | + sp:predicate owl:onProperty ; | ||
420 | + sp:subject _:b39 | ||
421 | + ] [ sp:object _:b40 ; | ||
422 | + sp:predicate owl:allValuesFrom ; | ||
423 | + sp:subject _:b39 | ||
424 | + ] [ rdf:type sp:TriplePath ; | ||
425 | + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | ||
426 | + sp:path [ rdf:type sp:ModPath ; | ||
427 | + sp:modMax -2 ; | ||
428 | + sp:modMin 0 ; | ||
429 | + sp:subPath rdfs:subClassOf | ||
430 | + ] ; | ||
431 | + sp:subject _:b40 | ||
432 | + ] [ sp:object _:b41 ; | ||
433 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
434 | + sp:subject _:b34 | ||
435 | + ] [ sp:object sxml:TextNode ; | ||
436 | + sp:predicate rdf:type ; | ||
437 | + sp:subject _:b41 | ||
438 | + ] [ sp:object _:b42 ; | ||
439 | + sp:predicate sxml:text ; | ||
440 | + sp:subject _:b41 | ||
441 | + ] [ sp:object _:b40 ; | ||
442 | + sp:predicate rdf:type ; | ||
443 | + sp:subject _:b30 | ||
444 | + ] [ sp:object _:b42 ; | ||
445 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
446 | + sp:subject _:b30 | ||
447 | + ]) | ||
448 | + ] ; | ||
449 | + spin:rule | ||
450 | + [ rdf:type sp:Construct ; | ||
451 | + rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; | ||
452 | + sp:templates ([ sp:object _:b43 ; | ||
453 | + sp:predicate _:b44 ; | ||
454 | + sp:subject _:b45 | ||
455 | + ] [ sp:object rdf:Statement ; | ||
456 | + sp:predicate rdf:type ; | ||
457 | + sp:subject _:b46 | ||
458 | + ] [ sp:object _:b45 ; | ||
459 | + sp:predicate rdf:subject ; | ||
460 | + sp:subject _:b46 | ||
461 | + ] [ sp:object _:b44 ; | ||
462 | + sp:predicate rdf:predicate ; | ||
463 | + sp:subject _:b46 | ||
464 | + ] [ sp:object _:b43 ; | ||
465 | + sp:predicate rdf:object ; | ||
466 | + sp:subject _:b46 | ||
467 | + ] [ sp:object _:b46 ; | ||
468 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
469 | + sp:subject _:b47 | ||
470 | + ]) ; | ||
471 | + sp:where ([ sp:object _:b47 ; | ||
472 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
473 | + sp:subject _:b45 | ||
474 | + ] [ sp:object _:b48 ; | ||
475 | + sp:predicate rdf:type ; | ||
476 | + sp:subject _:b47 | ||
477 | + ] [ rdf:type sp:NotExists ; | ||
478 | + sp:elements ([ sp:object | ||
479 | + [ sp:varName "uom"^^xsd:string | ||
480 | + ] ; | ||
481 | + sp:predicate ddr:uom ; | ||
482 | + sp:subject _:b47 | ||
483 | + ]) | ||
484 | + ] [ rdf:type sp:Bind ; | ||
485 | + sp:expression | ||
486 | + [ rdf:type afn:localname ; | ||
487 | + sp:arg1 _:b48 | ||
488 | + ] ; | ||
489 | + sp:variable _:b49 | ||
490 | + ] [ rdf:type sp:Bind ; | ||
491 | + sp:expression | ||
492 | + [ rdf:type smf:buildURI ; | ||
493 | + sp:arg1 [ rdf:type fn:concat ; | ||
494 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | ||
495 | + sp:arg2 _:b49 | ||
496 | + ] | ||
497 | + ] ; | ||
498 | + sp:variable _:b44 | ||
499 | + ] [ sp:object owl:DatatypeProperty ; | ||
500 | + sp:predicate rdf:type ; | ||
501 | + sp:subject _:b44 | ||
502 | + ] [ sp:object _:b50 ; | ||
503 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
504 | + sp:subject _:b47 | ||
505 | + ] [ sp:object sxml:TextNode ; | ||
506 | + sp:predicate rdf:type ; | ||
507 | + sp:subject _:b50 | ||
508 | + ] [ sp:object _:b43 ; | ||
509 | + sp:predicate sxml:text ; | ||
510 | + sp:subject _:b50 | ||
511 | + ] [ sp:object _:b51 ; | ||
512 | + sp:predicate rdf:type ; | ||
513 | + sp:subject _:b45 | ||
514 | + ] [ rdf:type sp:TriplePath ; | ||
515 | + sp:object _:b52 ; | ||
516 | + sp:path [ rdf:type sp:ModPath ; | ||
517 | + sp:modMax -2 ; | ||
518 | + sp:modMin 0 ; | ||
519 | + sp:subPath rdfs:subClassOf | ||
520 | + ] ; | ||
521 | + sp:subject _:b51 | ||
522 | + ] [ sp:object _:b53 ; | ||
523 | + sp:predicate rdfs:subClassOf ; | ||
524 | + sp:subject _:b52 | ||
525 | + ] [ sp:object owl:Restriction ; | ||
526 | + sp:predicate rdf:type ; | ||
527 | + sp:subject _:b53 | ||
528 | + ] [ sp:object _:b54 ; | ||
529 | + sp:predicate owl:allValuesFrom ; | ||
530 | + sp:subject _:b53 | ||
531 | + ] [ sp:object _:b44 ; | ||
532 | + sp:predicate owl:onProperty ; | ||
533 | + sp:subject _:b53 | ||
534 | + ] [ rdf:type sp:TriplePath ; | ||
535 | + sp:object xsd:string ; | ||
536 | + sp:path [ rdf:type sp:ModPath ; | ||
537 | + sp:modMax -2 ; | ||
538 | + sp:modMin 0 ; | ||
539 | + sp:subPath rdfs:subClassOf | ||
540 | + ] ; | ||
541 | + sp:subject _:b54 | ||
542 | + ]) | ||
543 | + ] ; | ||
544 | + spin:rule | ||
545 | + [ rdf:type sp:Construct ; | ||
546 | + rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; | ||
547 | + sp:templates ([ sp:object _:b55 ; | ||
548 | + sp:predicate _:b56 ; | ||
549 | + sp:subject _:b57 | ||
550 | + ] [ sp:object rdf:Statement ; | ||
551 | + sp:predicate rdf:type ; | ||
552 | + sp:subject _:b58 | ||
553 | + ] [ sp:object _:b57 ; | ||
554 | + sp:predicate rdf:subject ; | ||
555 | + sp:subject _:b58 | ||
556 | + ] [ sp:object _:b56 ; | ||
557 | + sp:predicate rdf:predicate ; | ||
558 | + sp:subject _:b58 | ||
559 | + ] [ sp:object _:b55 ; | ||
560 | + sp:predicate rdf:object ; | ||
561 | + sp:subject _:b58 | ||
562 | + ] [ sp:object _:b58 ; | ||
563 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
564 | + sp:subject _:b55 | ||
565 | + ]) ; | ||
566 | + sp:where ([ sp:object _:b55 ; | ||
567 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
568 | + sp:subject _:b57 | ||
569 | + ] [ sp:object _:b59 ; | ||
570 | + sp:predicate rdf:type ; | ||
571 | + sp:subject _:b55 | ||
572 | + ] [ sp:object _:b60 ; | ||
573 | + sp:predicate rdf:type ; | ||
574 | + sp:subject _:b57 | ||
575 | + ] [ rdf:type sp:TriplePath ; | ||
576 | + sp:object _:b61 ; | ||
577 | + sp:path [ rdf:type sp:ModPath ; | ||
578 | + sp:modMax -2 ; | ||
579 | + sp:modMin 0 ; | ||
580 | + sp:subPath rdfs:subClassOf | ||
581 | + ] ; | ||
582 | + sp:subject _:b60 | ||
583 | + ] [ sp:object _:b62 ; | ||
584 | + sp:predicate rdfs:subClassOf ; | ||
585 | + sp:subject _:b61 | ||
586 | + ] [ sp:object owl:Restriction ; | ||
587 | + sp:predicate rdf:type ; | ||
588 | + sp:subject _:b62 | ||
589 | + ] [ sp:object _:b56 ; | ||
590 | + sp:predicate owl:onProperty ; | ||
591 | + sp:subject _:b62 | ||
592 | + ] [ sp:object _:b59 ; | ||
593 | + sp:predicate owl:allValuesFrom ; | ||
594 | + sp:subject _:b62 | ||
595 | + ]) | ||
596 | + ] . | ||
597 | + | ||
598 | +ddr:schemaLocation | ||
599 | + rdfs:domain ddr:Obj_drillReports ; | ||
600 | + sxml:attribute "xsi:schemaLocation"^^xsd:string . | ||
601 | + | ||
602 | +ddr:uom | ||
603 | + sxml:attribute "uom"^^xsd:string . | ||
604 | + | ||
605 | +ddr:version | ||
606 | + rdfs:domain ddr:DrillReports ; | ||
607 | + sxml:attribute "version"^^xsd:string . | ||
608 | + | ||
609 | +<http://www.reportinghub.no/ep/transform/1.1/ddr> | ||
610 | + rdf:type owl:Ontology ; | ||
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> ; | ||
612 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
613 | + | ||
614 | +owl:Thing | ||
615 | + spin:query | ||
616 | + [ rdf:type sp:Select ; | ||
617 | + sp:resultVariables (_:b63 _:b64 _:b65 _:b66) ; | ||
618 | + sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; | ||
619 | + sp:predicate rdf:type ; | ||
620 | + sp:subject _:b67 | ||
621 | + ] [ rdf:type sp:TriplePath ; | ||
622 | + sp:object _:b68 ; | ||
623 | + sp:path [ rdf:type sp:ModPath ; | ||
624 | + sp:modMax -2 ; | ||
625 | + sp:modMin 0 ; | ||
626 | + sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> | ||
627 | + ] ; | ||
628 | + sp:subject _:b67 | ||
629 | + ] [ sp:object _:b69 ; | ||
630 | + sp:predicate <http://topbraid.org/sxsd#name> ; | ||
631 | + sp:subject _:b67 | ||
632 | + ] [ sp:object _:b66 ; | ||
633 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
634 | + sp:subject _:b68 | ||
635 | + ] [ sp:object _:b70 ; | ||
636 | + sp:predicate <http://topbraid.org/sxsd#name> ; | ||
637 | + sp:subject _:b68 | ||
638 | + ] [ rdf:type sp:Bind ; | ||
639 | + sp:expression | ||
640 | + [ rdf:type spif:titleCase ; | ||
641 | + sp:arg1 _:b70 | ||
642 | + ] ; | ||
643 | + sp:variable _:b71 | ||
644 | + ] [ rdf:type sp:Bind ; | ||
645 | + sp:expression | ||
646 | + [ rdf:type smf:buildURI ; | ||
647 | + sp:arg1 [ rdf:type fn:concat ; | ||
648 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | ||
649 | + sp:arg2 _:b71 | ||
650 | + ] | ||
651 | + ] ; | ||
652 | + sp:variable _:b65 | ||
653 | + ] [ rdf:type sp:Bind ; | ||
654 | + sp:expression | ||
655 | + [ rdf:type spif:titleCase ; | ||
656 | + sp:arg1 _:b69 ; | ||
657 | + sp:arg2 "[a-z]s" | ||
658 | + ] ; | ||
659 | + sp:variable _:b72 | ||
660 | + ] [ rdf:type sp:Bind ; | ||
661 | + sp:expression | ||
662 | + [ rdf:type smf:buildURI ; | ||
663 | + sp:arg1 [ rdf:type fn:concat ; | ||
664 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | ||
665 | + sp:arg2 _:b72 | ||
666 | + ] | ||
667 | + ] ; | ||
668 | + sp:variable _:b64 | ||
669 | + ] [ rdf:type sp:Bind ; | ||
670 | + sp:expression | ||
671 | + [ rdf:type smf:buildURI ; | ||
672 | + sp:arg1 [ rdf:type fn:concat ; | ||
673 | + sp:arg1 "http://www.reportinghub.no/map/ddr#" ; | ||
674 | + sp:arg2 _:b72 ; | ||
675 | + sp:arg3 "-has" ; | ||
676 | + sp:arg4 _:b71 | ||
677 | + ] | ||
678 | + ] ; | ||
679 | + sp:variable _:b63 | ||
680 | + ]) | ||
681 | + ] ; | ||
682 | + spin:query | ||
683 | + [ rdf:type sp:Select ; | ||
684 | + sp:resultVariables (_:b73 _:b74 _:b75 _:b76) ; | ||
685 | + sp:where ([ sp:object _:b76 ; | ||
686 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
687 | + sp:subject _:b75 | ||
688 | + ] [ sp:object _:b75 ; | ||
689 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
690 | + sp:subject _:b74 | ||
691 | + ] [ rdf:type sp:Union ; | ||
692 | + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | ||
693 | + sp:predicate rdf:type ; | ||
694 | + sp:subject _:b74 | ||
695 | + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; | ||
696 | + sp:predicate rdf:type ; | ||
697 | + sp:subject _:b74 | ||
698 | + ])) | ||
699 | + ] [ sp:object _:b74 ; | ||
700 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
701 | + sp:subject _:b73 | ||
702 | + ]) | ||
703 | + ] . | ||
704 | + | ||
705 | +_:b55 | ||
706 | + sp:varName "child"^^xsd:string . | ||
707 | + | ||
708 | +_:b56 | ||
709 | + sp:varName "formalProperty"^^xsd:string . | ||
710 | + | ||
711 | +_:b57 | ||
712 | + sp:varName "inst"^^xsd:string . | ||
713 | + | ||
714 | +_:b59 | ||
715 | + sp:varName "childType"^^xsd:string . | ||
716 | + | ||
717 | +_:b60 | ||
718 | + sp:varName "instType"^^xsd:string . | ||
719 | + | ||
720 | +_:b61 | ||
721 | + sp:varName "instClass"^^xsd:string . | ||
722 | + | ||
723 | +_:b62 | ||
724 | + sp:varName "valuesRestriction"^^xsd:string . | ||
725 | + | ||
726 | +_:b43 | ||
727 | + sp:varName "text"^^xsd:string . | ||
728 | + | ||
729 | +_:b44 | ||
730 | + sp:varName "dtpnameU"^^xsd:string . | ||
731 | + | ||
732 | +_:b45 | ||
733 | + sp:varName "inst"^^xsd:string . | ||
734 | + | ||
735 | +_:b47 | ||
736 | + sp:varName "child"^^xsd:string . | ||
737 | + | ||
738 | +_:b48 | ||
739 | + sp:varName "childType"^^xsd:string . | ||
740 | + | ||
741 | +_:b49 | ||
742 | + sp:varName "childLocalName"^^xsd:string . | ||
743 | + | ||
744 | +_:b50 | ||
745 | + sp:varName "textNode"^^xsd:string . | ||
746 | + | ||
747 | +_:b51 | ||
748 | + sp:varName "instType"^^xsd:string . | ||
749 | + | ||
750 | +_:b52 | ||
751 | + sp:varName "instClass"^^xsd:string . | ||
752 | + | ||
753 | +_:b53 | ||
754 | + sp:varName "valuesRestriction"^^xsd:string . | ||
755 | + | ||
756 | +_:b54 | ||
757 | + sp:varName "rangeType"^^xsd:string . | ||
758 | + | ||
759 | +_:b30 | ||
760 | + sp:varName "enumeratedValue"^^xsd:string . | ||
761 | + | ||
762 | +_:b31 | ||
763 | + sp:varName "opnameU"^^xsd:string . | ||
764 | + | ||
765 | +_:b32 | ||
766 | + sp:varName "inst"^^xsd:string . | ||
767 | + | ||
768 | +_:b34 | ||
769 | + sp:varName "child"^^xsd:string . | ||
770 | + | ||
771 | +_:b35 | ||
772 | + sp:varName "childType"^^xsd:string . | ||
773 | + | ||
774 | +_:b36 | ||
775 | + sp:varName "childLocalName"^^xsd:string . | ||
776 | + | ||
777 | +_:b37 | ||
778 | + sp:varName "instType"^^xsd:string . | ||
779 | + | ||
780 | +_:b38 | ||
781 | + sp:varName "instClass"^^xsd:string . | ||
782 | + | ||
783 | +_:b39 | ||
784 | + sp:varName "valuesRestriction"^^xsd:string . | ||
785 | + | ||
786 | +_:b40 | ||
787 | + sp:varName "rangeU"^^xsd:string . | ||
788 | + | ||
789 | +_:b41 | ||
790 | + sp:varName "textNode"^^xsd:string . | ||
791 | + | ||
792 | +_:b42 | ||
793 | + sp:varName "text"^^xsd:string . | ||
794 | + | ||
795 | +_:b15 | ||
796 | + sp:varName "rangeU"^^xsd:string . | ||
797 | + | ||
798 | +_:b17 | ||
799 | + sp:varName "uom"^^xsd:string . | ||
800 | + | ||
801 | +_:b18 | ||
802 | + sp:varName "value"^^xsd:string . | ||
803 | + | ||
804 | +_:b19 | ||
805 | + sp:varName "opnameU"^^xsd:string . | ||
806 | + | ||
807 | +_:b20 | ||
808 | + sp:varName "inst"^^xsd:string . | ||
809 | + | ||
810 | +_:b22 | ||
811 | + sp:varName "child"^^xsd:string . | ||
812 | + | ||
813 | +_:b23 | ||
814 | + sp:varName "childType"^^xsd:string . | ||
815 | + | ||
816 | +_:b24 | ||
817 | + sp:varName "childLocalName"^^xsd:string . | ||
818 | + | ||
819 | +_:b25 | ||
820 | + sp:varName "instType"^^xsd:string . | ||
821 | + | ||
822 | +_:b26 | ||
823 | + sp:varName "instClass"^^xsd:string . | ||
824 | + | ||
825 | +_:b27 | ||
826 | + sp:varName "allValuesRestriction"^^xsd:string . | ||
827 | + | ||
828 | +_:b28 | ||
829 | + sp:varName "textNode"^^xsd:string . | ||
830 | + | ||
831 | +_:b29 | ||
832 | + sp:varName "text"^^xsd:string . | ||
833 | + | ||
834 | +_:b2 sp:varName "dateTime"^^xsd:string . | ||
835 | + | ||
836 | +_:b3 sp:varName "dtpnameU"^^xsd:string . | ||
837 | + | ||
838 | +_:b4 sp:varName "inst"^^xsd:string . | ||
839 | + | ||
840 | +_:b6 sp:varName "child"^^xsd:string . | ||
841 | + | ||
842 | +_:b7 sp:varName "childType"^^xsd:string . | ||
843 | + | ||
844 | +_:b8 sp:varName "childLocalName"^^xsd:string . | ||
845 | + | ||
846 | +_:b9 sp:varName "textNode"^^xsd:string . | ||
847 | + | ||
848 | +_:b10 | ||
849 | + sp:varName "text"^^xsd:string . | ||
850 | + | ||
851 | +_:b11 | ||
852 | + sp:varName "instType"^^xsd:string . | ||
853 | + | ||
854 | +_:b12 | ||
855 | + sp:varName "instClass"^^xsd:string . | ||
856 | + | ||
857 | +_:b13 | ||
858 | + sp:varName "valuesRestriction"^^xsd:string . | ||
859 | + | ||
860 | +_:b14 | ||
861 | + sp:varName "rangeType"^^xsd:string . | ||
862 | + | ||
863 | +_:b73 | ||
864 | + sp:varName "pp"^^xsd:string . | ||
865 | + | ||
866 | +_:b74 | ||
867 | + sp:varName "p"^^xsd:string . | ||
868 | + | ||
869 | +_:b75 | ||
870 | + sp:varName "s"^^xsd:string . | ||
871 | + | ||
872 | +_:b76 | ||
873 | + sp:varName "e"^^xsd:string . | ||
874 | + | ||
875 | +_:b63 | ||
876 | + sp:varName "ddrCPU"^^xsd:string . | ||
877 | + | ||
878 | +_:b64 | ||
879 | + sp:varName "ddrCU"^^xsd:string . | ||
880 | + | ||
881 | +_:b65 | ||
882 | + sp:varName "ddrPU"^^xsd:string . | ||
883 | + | ||
884 | +_:b66 | ||
885 | + sp:varName "mre"^^xsd:string . | ||
886 | + | ||
887 | +_:b67 | ||
888 | + sp:varName "s"^^xsd:string . | ||
889 | + | ||
890 | +_:b68 | ||
891 | + sp:varName "c"^^xsd:string . | ||
892 | + | ||
893 | +_:b69 | ||
894 | + sp:varName "name"^^xsd:string . | ||
895 | + | ||
896 | +_:b70 | ||
897 | + sp:varName "pname"^^xsd:string . | ||
898 | + | ||
899 | +_:b71 | ||
900 | + sp:varName "tcpname"^^xsd:string . | ||
901 | + | ||
902 | +_:b72 | ||
903 | + sp:varName "tcname"^^xsd:string . | ||
904 | + | ||
905 | +_:b1 sp:varName "activity"^^xsd:string . |
1 | +# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization | ||
3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
4 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
5 | +# imports: http://spinrdf.org/spin | ||
6 | + | ||
7 | +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | ||
8 | +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | ||
9 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
10 | +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | ||
11 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
12 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
13 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
14 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
15 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
16 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
17 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
18 | + | ||
19 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
20 | + spin:rule | ||
21 | + [ rdf:type sp:Construct ; | ||
22 | + rdfs:comment "STEP 101 Make Well and Well Bore Instances"^^xsd:string ; | ||
23 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
24 | + sp:predicate rdf:type ; | ||
25 | + sp:subject _:b1 | ||
26 | + ] [ sp:object _:b2 ; | ||
27 | + sp:predicate rdfs:label ; | ||
28 | + sp:subject _:b1 | ||
29 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
30 | + sp:predicate rdf:type ; | ||
31 | + sp:subject _:b3 | ||
32 | + ] [ sp:object _:b4 ; | ||
33 | + sp:predicate rdfs:label ; | ||
34 | + sp:subject _:b3 | ||
35 | + ] [ sp:object _:b1 ; | ||
36 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
37 | + sp:subject _:b3 | ||
38 | + ]) ; | ||
39 | + sp:where ([ sp:object _:b2 ; | ||
40 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
41 | + sp:subject spin:_this | ||
42 | + ] [ sp:object _:b4 ; | ||
43 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
44 | + sp:subject spin:_this | ||
45 | + ] [ rdf:type sp:Bind ; | ||
46 | + sp:expression | ||
47 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
48 | + sp:arg1 _:b4 | ||
49 | + ] ; | ||
50 | + sp:variable _:b5 | ||
51 | + ] [ rdf:type sp:Bind ; | ||
52 | + sp:expression | ||
53 | + [ rdf:type ep-spin-lib:buildWellURI ; | ||
54 | + sp:arg1 _:b5 | ||
55 | + ] ; | ||
56 | + sp:variable _:b3 | ||
57 | + ] [ rdf:type sp:Bind ; | ||
58 | + sp:expression | ||
59 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
60 | + sp:arg1 _:b2 | ||
61 | + ] ; | ||
62 | + sp:variable _:b6 | ||
63 | + ] [ rdf:type sp:Bind ; | ||
64 | + sp:expression | ||
65 | + [ rdf:type ep-spin-lib:buildWellBoreURI ; | ||
66 | + sp:arg1 _:b6 | ||
67 | + ] ; | ||
68 | + sp:variable _:b1 | ||
69 | + ]) | ||
70 | + ] . | ||
71 | + | ||
72 | +<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization> | ||
73 | + rdf:type owl:Ontology ; | ||
74 | + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ; | ||
75 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
76 | + | ||
77 | +_:b2 sp:varName "nameWellBore"^^xsd:string . | ||
78 | + | ||
79 | +_:b4 sp:varName "nameWell"^^xsd:string . | ||
80 | + | ||
81 | +_:b5 sp:varName "normalizedWellName"^^xsd:string . | ||
82 | + | ||
83 | +_:b3 sp:varName "normalizedWellNameU"^^xsd:string . | ||
84 | + | ||
85 | +_:b6 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
86 | + | ||
87 | +_:b1 sp:varName "normalizedWellBoreNameU"^^xsd:string . |
1 | +# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 | ||
2 | +# baseURI: null | ||
3 | + | ||
4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | +@prefix visual: <http://topbraid.org/visual#> . | ||
11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
12 | + | ||
13 | +[] rdf:type inference:Configuration ; | ||
14 | + composite:child | ||
15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
16 | + <http://spinrdf.org/spin#topSPINOptions> | ||
17 | + "singlePass" ; | ||
18 | + composite:index "0"^^xsd:int | ||
19 | + ] . |
1 | +# Saved by TopBraid on Mon Aug 01 13:35:23 PDT 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/normalization | ||
3 | + | ||
4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | +@prefix visual: <http://topbraid.org/visual#> . | ||
11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
12 | + | ||
13 | +[] rdf:type inference:Configuration ; | ||
14 | + composite:child | ||
15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
16 | + composite:index "0"^^xsd:int | ||
17 | + ] . |
1 | +<witsml:drillReports version="1.4.0.0" xmlns:witsml="http://www.witsml.org/schemas/1series" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.witsml.org/schemas/1series http://www.npd.no/schema/DDRS/1series/WITSML_drillReport_profiled_schema_phase2.xsd"> | ||
2 | + <witsml:drillReport> | ||
3 | + <witsml:nameWell>25/8-C-23</witsml:nameWell> | ||
4 | + <witsml:nameWellbore>25/08-C-23 B</witsml:nameWellbore> | ||
5 | + <witsml:name>25/8-C-23</witsml:name> | ||
6 | + <witsml:dTimStart>2011-04-05T06:00:00.001Z</witsml:dTimStart> | ||
7 | + <witsml:dTimEnd>2011-04-06T06:00:00.001Z</witsml:dTimEnd> | ||
8 | + <witsml:versionKind>normal</witsml:versionKind> | ||
9 | + <witsml:createDate>2011-04-12T10:47:00.001Z</witsml:createDate> | ||
10 | + <witsml:wellAlias> | ||
11 | + <witsml:name>25/8-C-23</witsml:name> | ||
12 | + <witsml:namingSystem>NPD code</witsml:namingSystem> | ||
13 | + </witsml:wellAlias> | ||
14 | + <witsml:wellboreAlias> | ||
15 | + <witsml:name>25/8-C-23 B</witsml:name> | ||
16 | + <witsml:namingSystem>NPD code</witsml:namingSystem> | ||
17 | + </witsml:wellboreAlias> | ||
18 | + <witsml:wellboreAlias> | ||
19 | + <witsml:name>6480</witsml:name> | ||
20 | + <witsml:namingSystem>NPD number</witsml:namingSystem> | ||
21 | + </witsml:wellboreAlias> | ||
22 | + <witsml:wellDatum> | ||
23 | + <witsml:name>Kelly Bushing</witsml:name> | ||
24 | + <witsml:code>KB</witsml:code> | ||
25 | + <witsml:elevation uom="m">32</witsml:elevation> | ||
26 | + </witsml:wellDatum> | ||
27 | + <witsml:wellDatum> | ||
28 | + <witsml:name>Sea Level</witsml:name> | ||
29 | + <witsml:code>SL</witsml:code> | ||
30 | + <witsml:elevation uom="m">32</witsml:elevation> | ||
31 | + </witsml:wellDatum> | ||
32 | + <witsml:wellboreInfo> | ||
33 | + <witsml:dTimSpud>2011-01-24T06:00:00.001Z</witsml:dTimSpud> | ||
34 | + <witsml:operator>Esso Norway</witsml:operator> | ||
35 | + <witsml:drillContractor>KCA Deutag</witsml:drillContractor> | ||
36 | + <witsml:rigAlias> | ||
37 | + <witsml:name>Ringhorne</witsml:name> | ||
38 | + <witsml:namingSystem>NPD Name</witsml:namingSystem> | ||
39 | + </witsml:rigAlias> | ||
40 | + <witsml:rigAlias> | ||
41 | + <witsml:name>280849</witsml:name> | ||
42 | + <witsml:namingSystem>NPD Code</witsml:namingSystem> | ||
43 | + </witsml:rigAlias> | ||
44 | + </witsml:wellboreInfo> | ||
45 | + <witsml:statusInfo> | ||
46 | + <witsml:dTim>2011-04-05T06:00:00.001Z</witsml:dTim> | ||
47 | + <witsml:md uom="m">6292</witsml:md> | ||
48 | + <witsml:presTestType>formation integrity test</witsml:presTestType> | ||
49 | + <witsml:distDrill uom="m">138</witsml:distDrill> | ||
50 | + <witsml:elevKelly uom="m">60.2999992370605</witsml:elevKelly> | ||
51 | + <witsml:sum24Hr>Circulate and condition hole at 6154m. Resume drilling 8-1/2" production hole section from 6154m to 6162m. Continue to circulate and condition hole to remove cuttings from hole and attempt to reduce loss rate. Resume drilling 8-1/2" production hole section from 6162m to 6292m. Losses ranging from 6 m3/hr to 19 m3/hr while drilling and circulating. </witsml:sum24Hr> | ||
52 | + <witsml:forecast24Hr>Continue to drill 8-1/2" production hole section to TD. Circulate and condition hole.</witsml:forecast24Hr> | ||
53 | + <witsml:ropCurrent uom="m/h">9.51724137931035</witsml:ropCurrent> | ||
54 | + </witsml:statusInfo> | ||
55 | + <witsml:bitRecord> | ||
56 | + <witsml:numBit>b6</witsml:numBit> | ||
57 | + <witsml:diaBit uom="in">8.50000015393957</witsml:diaBit> | ||
58 | + <witsml:manufacturer>Hughes-Christensen</witsml:manufacturer> | ||
59 | + <witsml:codeMfg>HCM 607</witsml:codeMfg> | ||
60 | + </witsml:bitRecord> | ||
61 | + <witsml:bitRecord> | ||
62 | + <witsml:numBit>b6</witsml:numBit> | ||
63 | + <witsml:diaBit uom="in">8.50000015393957</witsml:diaBit> | ||
64 | + <witsml:manufacturer>Hughes-Christensen</witsml:manufacturer> | ||
65 | + <witsml:codeMfg>HCM 607</witsml:codeMfg> | ||
66 | + </witsml:bitRecord> | ||
67 | + <witsml:bitRecord> | ||
68 | + <witsml:numBit>b6</witsml:numBit> | ||
69 | + <witsml:diaBit uom="in">8.50000015393957</witsml:diaBit> | ||
70 | + <witsml:manufacturer>Hughes-Christensen</witsml:manufacturer> | ||
71 | + <witsml:codeMfg>HCM 607</witsml:codeMfg> | ||
72 | + </witsml:bitRecord> | ||
73 | + <witsml:bitRecord> | ||
74 | + <witsml:numBit>b6</witsml:numBit> | ||
75 | + <witsml:diaBit uom="in">8.50000015393957</witsml:diaBit> | ||
76 | + <witsml:manufacturer>Hughes-Christensen</witsml:manufacturer> | ||
77 | + <witsml:codeMfg>HCM 607</witsml:codeMfg> | ||
78 | + </witsml:bitRecord> | ||
79 | + <witsml:fluid> | ||
80 | + <witsml:type>Oil Based</witsml:type> | ||
81 | + <witsml:dTim>2011-04-05T09:00:00.001Z</witsml:dTim> | ||
82 | + <witsml:md uom="m">6162</witsml:md> | ||
83 | + <witsml:tvd uom="m">1799.94559164957</witsml:tvd> | ||
84 | + <witsml:presBopRating uom="bar">344.7378515625</witsml:presBopRating> | ||
85 | + <witsml:mudClass>oil based</witsml:mudClass> | ||
86 | + <witsml:density uom="g/cm3">1370</witsml:density> | ||
87 | + <witsml:pv uom="mPa.s">19</witsml:pv> | ||
88 | + <witsml:yp uom="Pa">5.745631</witsml:yp> | ||
89 | + </witsml:fluid> | ||
90 | + <witsml:fluid> | ||
91 | + <witsml:type>Oil Based</witsml:type> | ||
92 | + <witsml:dTim>2011-04-05T14:00:00.001Z</witsml:dTim> | ||
93 | + <witsml:md uom="m">6162</witsml:md> | ||
94 | + <witsml:tvd uom="m">1799.94559164957</witsml:tvd> | ||
95 | + <witsml:presBopRating uom="bar">344.7378515625</witsml:presBopRating> | ||
96 | + <witsml:mudClass>oil based</witsml:mudClass> | ||
97 | + <witsml:density uom="g/cm3">1380</witsml:density> | ||
98 | + <witsml:pv uom="mPa.s">17</witsml:pv> | ||
99 | + <witsml:yp uom="Pa">5.266829</witsml:yp> | ||
100 | + </witsml:fluid> | ||
101 | + <witsml:fluid> | ||
102 | + <witsml:type>Oil Based</witsml:type> | ||
103 | + <witsml:dTim>2011-04-05T20:45:00.001Z</witsml:dTim> | ||
104 | + <witsml:md uom="m">6225</witsml:md> | ||
105 | + <witsml:tvd uom="m">1799.96139825117</witsml:tvd> | ||
106 | + <witsml:presBopRating uom="bar">344.7378515625</witsml:presBopRating> | ||
107 | + <witsml:presBopRating uom="bar">344.7378515625</witsml:presBopRating> | ||
108 | + <witsml:mudClass>oil based</witsml:mudClass> | ||
109 | + <witsml:density uom="g/cm3">1370</witsml:density> | ||
110 | + <witsml:pv uom="mPa.s">17</witsml:pv> | ||
111 | + <witsml:yp uom="Pa">5.745631</witsml:yp> | ||
112 | + </witsml:fluid> | ||
113 | + <witsml:fluid> | ||
114 | + <witsml:type>Oil Based</witsml:type> | ||
115 | + <witsml:dTim>2011-04-06T04:00:00.001Z</witsml:dTim> | ||
116 | + <witsml:md uom="m">6280</witsml:md> | ||
117 | + <witsml:mudClass>oil based</witsml:mudClass> | ||
118 | + <witsml:density uom="g/cm3">1380</witsml:density> | ||
119 | + <witsml:pv uom="mPa.s">18</witsml:pv> | ||
120 | + <witsml:yp uom="Pa">7.182039</witsml:yp> | ||
121 | + </witsml:fluid> | ||
122 | + <witsml:activity> | ||
123 | + <witsml:dTimStart>2011-04-05T06:00:00.001Z</witsml:dTimStart> | ||
124 | + <witsml:dTimEnd>2011-04-05T06:15:00.001Z</witsml:dTimEnd> | ||
125 | + <witsml:md uom="m">6154</witsml:md> | ||
126 | + <witsml:tvd uom="m">1799.94758440832</witsml:tvd> | ||
127 | + <witsml:phase>fixed</witsml:phase> | ||
128 | + <witsml:proprietaryCode>drilling -- circulating conditioning</witsml:proprietaryCode> | ||
129 | + <witsml:state>ok</witsml:state> | ||
130 | + <witsml:stateDetailActivity>success</witsml:stateDetailActivity> | ||
131 | + <witsml:comments>Continue to circulate and condition mud after hole attempting to pack off. Pump 1600 lpm / 177-185 bar, 150 RPM. Loss rate reduced to 15 m3/hr. | ||
132 | + | ||
133 | +ECD: 1,53 - 1,56 sg. | ||
134 | + | ||
135 | +Cuttings weight: | ||
136 | +0600hrs - 8kg/min (150 RPM, 1600 lpm)</witsml:comments> | ||
137 | + </witsml:activity> | ||
138 | + <witsml:activity> | ||
139 | + <witsml:dTimStart>2011-04-05T06:15:00.001Z</witsml:dTimStart> | ||
140 | + <witsml:dTimEnd>2011-04-05T08:30:00.001Z</witsml:dTimEnd> | ||
141 | + <witsml:md uom="m">6162</witsml:md> | ||
142 | + <witsml:tvd uom="m">1799.94559164957</witsml:tvd> | ||
143 | + <witsml:phase>fixed</witsml:phase> | ||
144 | + <witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode> | ||
145 | + <witsml:state>ok</witsml:state> | ||
146 | + <witsml:stateDetailActivity>success</witsml:stateDetailActivity> | ||
147 | + <witsml:comments>Continue drilling 8-1/2" production hole section. Reduce RPM to 80 and increase pump rate to 1850 lpm to send downlink. Resume drilling f/ 6154m to 6162m. 1600 lpm, 180 bar, 31-33 kNm drilling torque, 3-4 ton WOB. Losses while drilling from 8 m3/hr to 12,2m3/hr | ||
148 | + | ||
149 | +ECD: 1,50-1,55 sg | ||
150 | + | ||
151 | +Cuttings weight | ||
152 | +0700hrs - 6 kg/min | ||
153 | +0800hrs - 6 kg/min</witsml:comments> | ||
154 | + </witsml:activity> | ||
155 | + <witsml:activity> | ||
156 | + <witsml:dTimStart>2011-04-05T08:30:00.001Z</witsml:dTimStart> | ||
157 | + <witsml:dTimEnd>2011-04-05T14:15:00.001Z</witsml:dTimEnd> | ||
158 | + <witsml:md uom="m">6162</witsml:md> | ||
159 | + <witsml:tvd uom="m">1799.94559164957</witsml:tvd> | ||
160 | + <witsml:phase>fixed</witsml:phase> | ||
161 | + <witsml:proprietaryCode>drilling -- circulating conditioning</witsml:proprietaryCode> | ||
162 | + <witsml:state>ok</witsml:state> | ||
163 | + <witsml:stateDetailActivity>success</witsml:stateDetailActivity> | ||
164 | + <witsml:comments>Circulate and condtion hole to remove cuttings and attempt to heal loss rate. Pump 1600 lpm, 180 bar, 150 RPM. Step up pump rate from 1600 lpm to 1850 lpm in 50 lpm incriments. Observed stabile losses of 16-17 m3/hr while circulating. Reduced RPMs to 130 while stepping up flow rates to maintain stable losses. Continue circulating hole clean with 1800 lpm, 212 bar, 130 RPM, 30 kNm torque. Record string weights while circulating. 130 ton Up weight (145 ton peak), 60 ton Down weight (45 ton peak), 87 ton Rotating weight. | ||
165 | + | ||
166 | +Losses between 9 m3/hr to 23 m3/hr | ||
167 | + | ||
168 | +ECD: 1,54 to 1,57 sg | ||
169 | + | ||
170 | +Cuttings weight: | ||
171 | +0900hrs - 6 kg/min | ||
172 | +1030hrs - 6 kg/min | ||
173 | +1100hrs - 6 kg/min | ||
174 | +1200hrs - 6 kg/min | ||
175 | +1320hrs - 5,5 kg/min | ||
176 | +1400hrs - 3 kg/min</witsml:comments> | ||
177 | + </witsml:activity> | ||
178 | + <witsml:activity> | ||
179 | + <witsml:dTimStart>2011-04-05T14:15:00.001Z</witsml:dTimStart> | ||
180 | + <witsml:dTimEnd>2011-04-05T15:00:00.001Z</witsml:dTimEnd> | ||
181 | + <witsml:md uom="m">6169</witsml:md> | ||
182 | + <witsml:tvd uom="m">1799.94641821816</witsml:tvd> | ||
183 | + <witsml:phase>fixed</witsml:phase> | ||
184 | + <witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode> | ||
185 | + <witsml:state>ok</witsml:state> | ||
186 | + <witsml:stateDetailActivity>success</witsml:stateDetailActivity> | ||
187 | + <witsml:comments>Continue drilling 8-1/2" production hole section from 6162m to 6169m. 1700 lpm, 194 bar, 31-33 kNm drilling torque, 2-3 ton WOB. Lossrate 9 m3/hr to 12 m3/hr | ||
188 | + | ||
189 | +ECD: 1,54 sg | ||
190 | + | ||
191 | +Cuttings weight | ||
192 | +1500hrs - 3,5 kg/min | ||
193 | + | ||
194 | + | ||
195 | +Sand Zones: | ||
196 | +</witsml:comments> | ||
197 | + </witsml:activity> | ||
198 | + <witsml:activity> | ||
199 | + <witsml:dTimStart>2011-04-05T15:00:00.001Z</witsml:dTimStart> | ||
200 | + <witsml:dTimEnd>2011-04-05T15:15:00.001Z</witsml:dTimEnd> | ||
201 | + <witsml:md uom="m">6169</witsml:md> | ||
202 | + <witsml:tvd uom="m">1799.94641821816</witsml:tvd> | ||
203 | + <witsml:phase>fixed</witsml:phase> | ||
204 | + <witsml:proprietaryCode>interruption -- maintain</witsml:proprietaryCode> | ||
205 | + <witsml:state>ok</witsml:state> | ||
206 | + <witsml:stateDetailActivity>success</witsml:stateDetailActivity> | ||
207 | + <witsml:comments>Grease wash pipe.</witsml:comments> | ||
208 | + </witsml:activity> | ||
209 | + <witsml:activity> | ||
210 | + <witsml:dTimStart>2011-04-05T15:15:00.001Z</witsml:dTimStart> | ||
211 | + <witsml:dTimEnd>2011-04-06T06:00:00.001Z</witsml:dTimEnd> | ||
212 | + <witsml:md uom="m">6292</witsml:md> | ||
213 | + <witsml:phase>fixed</witsml:phase> | ||
214 | + <witsml:proprietaryCode>drilling -- drill</witsml:proprietaryCode> | ||
215 | + <witsml:state>ok</witsml:state> | ||
216 | + <witsml:stateDetailActivity>success</witsml:stateDetailActivity> | ||
217 | + <witsml:comments>Continue drilling 8-1/2" production hole section from 6169m to 6292m. Drill with 1800-1850 lpm, 210-218 bar, 150 RPM, 33-34 kNm torque. Losses increasing while drilling from 6 m3/hr to 18m3/hr. | ||
218 | + | ||
219 | +Losses: | ||
220 | +6169m - 6230m = 6 m3/hr to 9m3/hr | ||
221 | + ECD = 1,56 to 1,59 sg | ||
222 | +6230m - 6281m = 9,3 m3/hr to 14,7 m3/hr | ||
223 | + ECD = 1,56 to 1,59 sg | ||
224 | +6284m - 6292m = 15m3/hr to 17,9 m3/hr | ||
225 | + ECD = 1,55 to 1,56 sg | ||
226 | + | ||
227 | +Cuttings weight | ||
228 | +1600hrs - 5 kg/min | ||
229 | +1700hrs - 7,5 kg/min | ||
230 | +1800hrs - 16,5 kg/min | ||
231 | +1900hrs - 13 kg/min | ||
232 | +2000hrs - 19 kg/min | ||
233 | +2100hrs - 12 kg/min | ||
234 | +2200hrs - 9 kg/min | ||
235 | +2300hrs - 9 kg/min | ||
236 | +0000hrs - 2 kg/min | ||
237 | +0100hrs - 3 kg/min | ||
238 | +0200hrs - 3 kg/min | ||
239 | +0300hrs - 2 kg/min | ||
240 | +0400hrs - 2 kg/min | ||
241 | +0500hrs - 3 kg/min | ||
242 | +0600hrs - | ||
243 | + | ||
244 | + | ||
245 | +Sand Zones: | ||
246 | +6195m - 6196,4m | ||
247 | +6202m - 6204,5m | ||
248 | +6215m - 6224,5m | ||
249 | +6226,5m - 6235,5m | ||
250 | +6238m - 6248,7m | ||
251 | +6250m - 6254m | ||
252 | +6255,4m - 6264m | ||
253 | +6266m - 6269,5m | ||
254 | +6272,5m - 6274m | ||
255 | +6275m - 6276m | ||
256 | +6277m - 6280m | ||
257 | + | ||
258 | + | ||
259 | +0,08m above, 1,29m to the right of plan.</witsml:comments> | ||
260 | + </witsml:activity> | ||
261 | + </witsml:drillReport> | ||
262 | +</witsml:drillReports> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<xsd:schema | ||
3 | + elementFormDefault="qualified" | ||
4 | + attributeFormDefault="unqualified" | ||
5 | + targetNamespace="http://www.energistics.org/schemas/abstract" | ||
6 | + xmlns:abs="http://www.energistics.org/schemas/abstract" | ||
7 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
8 | + version="1.0.0"> | ||
9 | + | ||
10 | + <!-- Energistics License Agreement | ||
11 | + This file is distributed under the Energistics License Agreement at | ||
12 | + http://www.energistics.org | ||
13 | + Use of this file constitutes agreement with the Energistics License Agreement. | ||
14 | + Copyright (c) 2008 Energistics. All rights reserved. | ||
15 | + Energistics, WITSML, PRODML and RESQML are trademarks or registered trademarks of Energistics. | ||
16 | + --> | ||
17 | + <!-- --> | ||
18 | + <xsd:element name="abstractDataObject" type="abs:abstractObject" abstract="true"> | ||
19 | + <xsd:annotation> | ||
20 | + <xsd:documentation>Substitution group for normative data objects.</xsd:documentation> | ||
21 | + </xsd:annotation> | ||
22 | + </xsd:element> | ||
23 | + <!-- --> | ||
24 | + <xsd:element name="abstractContextualObject" type="abs:abstractObject" abstract="true"> | ||
25 | + <xsd:annotation> | ||
26 | + <xsd:documentation>Substitution group for contextual objects.</xsd:documentation> | ||
27 | + </xsd:annotation> | ||
28 | + </xsd:element> | ||
29 | + <!-- --> | ||
30 | + <xsd:complexType name="abstractObject" abstract="true"> | ||
31 | + <xsd:annotation> | ||
32 | + <xsd:documentation>The intended abstract supertype of all schema roots | ||
33 | + that may be a member of a substitution group (whether contextual or data). | ||
34 | + The type of root global elements should be extended from this type and the | ||
35 | + root global element should be declared to be a member of one of the above substitution groups.</xsd:documentation> | ||
36 | + </xsd:annotation> | ||
37 | + </xsd:complexType> | ||
38 | + <!-- --> | ||
39 | +</xsd:schema> |
-
Please register or login to post a comment