Showing
20 changed files
with
753 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 | + ] . |
This diff is collapsed. Click to expand it.
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 | + ] . |
This diff is collapsed. Click to expand it.
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 | + ] . |
This diff is collapsed. Click to expand it.
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