Showing
8 changed files
with
114 additions
and
77 deletions
1 | -# Saved by TopBraid on Tue Aug 02 12:39:11 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 09:28:03 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/activity | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/activity |
3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem | 3 | # imports: http://www.linkedmodel.org/1.2/schema/vaem |
4 | # imports: http://www.reportinghub.no/ep/schema/1.1/well | 4 | # imports: http://www.reportinghub.no/ep/schema/1.1/well |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | 15 | ||
16 | <http://www.reportinghub.no/ep/schema/1.1/activity> | 16 | <http://www.reportinghub.no/ep/schema/1.1/activity> |
17 | rdf:type owl:Ontology ; | 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> ; | 18 | + owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.1/equipment> , <http://www.reportinghub.no/ep/schema/1.1/well> , <http://www.linkedmodel.org/1.1/schema/ordered> ; |
19 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 19 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
20 | 20 | ||
21 | ep-activity:Activity | 21 | ep-activity:Activity |
... | @@ -24,33 +24,33 @@ ep-activity:Activity | ... | @@ -24,33 +24,33 @@ ep-activity:Activity |
24 | rdfs:subClassOf owl:Thing ; | 24 | rdfs:subClassOf owl:Thing ; |
25 | rdfs:subClassOf | 25 | rdfs:subClassOf |
26 | [ rdf:type owl:Restriction ; | 26 | [ rdf:type owl:Restriction ; |
27 | - owl:allValuesFrom ep-activity:Activity ; | 27 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
28 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> | 28 | + owl:onProperty ep-activity:startedAt |
29 | ] ; | 29 | ] ; |
30 | rdfs:subClassOf | 30 | rdfs:subClassOf |
31 | [ rdf:type owl:Restriction ; | 31 | [ rdf:type owl:Restriction ; |
32 | - owl:allValuesFrom ep-activity:Activity ; | 32 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
33 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> | 33 | + owl:onProperty ep-activity:finishedAt |
34 | ] ; | 34 | ] ; |
35 | rdfs:subClassOf | 35 | rdfs:subClassOf |
36 | [ rdf:type owl:Restriction ; | 36 | [ rdf:type owl:Restriction ; |
37 | owl:allValuesFrom ep-activity:Activity ; | 37 | owl:allValuesFrom ep-activity:Activity ; |
38 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> | 38 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> |
39 | ] ; | 39 | ] ; |
40 | rdfs:subClassOf | 40 | rdfs:subClassOf |
41 | [ rdf:type owl:Restriction ; | 41 | [ rdf:type owl:Restriction ; |
42 | owl:allValuesFrom ep-activity:Activity ; | 42 | owl:allValuesFrom ep-activity:Activity ; |
43 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> | 43 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> |
44 | ] ; | 44 | ] ; |
45 | rdfs:subClassOf | 45 | rdfs:subClassOf |
46 | [ rdf:type owl:Restriction ; | 46 | [ rdf:type owl:Restriction ; |
47 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 47 | + owl:allValuesFrom ep-activity:Activity ; |
48 | - owl:onProperty ep-activity:finishedAt | 48 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> |
49 | ] ; | 49 | ] ; |
50 | rdfs:subClassOf | 50 | rdfs:subClassOf |
51 | [ rdf:type owl:Restriction ; | 51 | [ rdf:type owl:Restriction ; |
52 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 52 | + owl:allValuesFrom ep-activity:Activity ; |
53 | - owl:onProperty ep-activity:startedAt | 53 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> |
54 | ] . | 54 | ] . |
55 | 55 | ||
56 | ep-activity:DailyDrillingActivity | 56 | ep-activity:DailyDrillingActivity |
... | @@ -59,13 +59,13 @@ ep-activity:DailyDrillingActivity | ... | @@ -59,13 +59,13 @@ ep-activity:DailyDrillingActivity |
59 | rdfs:subClassOf ep-activity:OffshoreWellActivity ; | 59 | rdfs:subClassOf ep-activity:OffshoreWellActivity ; |
60 | rdfs:subClassOf | 60 | rdfs:subClassOf |
61 | [ rdf:type owl:Restriction ; | 61 | [ rdf:type owl:Restriction ; |
62 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 62 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; |
63 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | 63 | + owl:onProperty ep-activity:onWellBore |
64 | ] ; | 64 | ] ; |
65 | rdfs:subClassOf | 65 | rdfs:subClassOf |
66 | [ rdf:type owl:Restriction ; | 66 | [ rdf:type owl:Restriction ; |
67 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 67 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
68 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | 68 | + owl:onProperty ep-activity:hasSubActivity |
69 | ] ; | 69 | ] ; |
70 | rdfs:subClassOf | 70 | rdfs:subClassOf |
71 | [ rdf:type owl:Restriction ; | 71 | [ rdf:type owl:Restriction ; |
... | @@ -74,13 +74,13 @@ ep-activity:DailyDrillingActivity | ... | @@ -74,13 +74,13 @@ ep-activity:DailyDrillingActivity |
74 | ] ; | 74 | ] ; |
75 | rdfs:subClassOf | 75 | rdfs:subClassOf |
76 | [ rdf:type owl:Restriction ; | 76 | [ rdf:type owl:Restriction ; |
77 | - owl:allValuesFrom ep-activity:DrillingActivity ; | 77 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
78 | - owl:onProperty ep-activity:hasSubActivity | 78 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> |
79 | ] ; | 79 | ] ; |
80 | rdfs:subClassOf | 80 | rdfs:subClassOf |
81 | [ rdf:type owl:Restriction ; | 81 | [ rdf:type owl:Restriction ; |
82 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 82 | + owl:allValuesFrom ep-activity:DrillingActivity ; |
83 | - owl:onProperty ep-activity:onWellBore | 83 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> |
84 | ] . | 84 | ] . |
85 | 85 | ||
86 | ep-activity:DailyDrillingReport | 86 | ep-activity:DailyDrillingReport |
... | @@ -147,22 +147,22 @@ ep-activity:OffshoreWellActivity | ... | @@ -147,22 +147,22 @@ ep-activity:OffshoreWellActivity |
147 | rdfs:subClassOf ep-activity:OffshoreActivity ; | 147 | rdfs:subClassOf ep-activity:OffshoreActivity ; |
148 | rdfs:subClassOf | 148 | rdfs:subClassOf |
149 | [ rdf:type owl:Restriction ; | 149 | [ rdf:type owl:Restriction ; |
150 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 150 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; |
151 | owl:onProperty ep-activity:onWell | 151 | owl:onProperty ep-activity:onWell |
152 | ] ; | 152 | ] ; |
153 | rdfs:subClassOf | 153 | rdfs:subClassOf |
154 | [ rdf:type owl:Restriction ; | 154 | [ rdf:type owl:Restriction ; |
155 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ; | 155 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
156 | owl:onProperty ep-activity:onRig | 156 | owl:onProperty ep-activity:onRig |
157 | ] ; | 157 | ] ; |
158 | rdfs:subClassOf | 158 | rdfs:subClassOf |
159 | [ rdf:type owl:Restriction ; | 159 | [ rdf:type owl:Restriction ; |
160 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 160 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ; |
161 | owl:onProperty ep-activity:onRig | 161 | owl:onProperty ep-activity:onRig |
162 | ] ; | 162 | ] ; |
163 | rdfs:subClassOf | 163 | rdfs:subClassOf |
164 | [ rdf:type owl:Restriction ; | 164 | [ rdf:type owl:Restriction ; |
165 | - owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; | 165 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
166 | owl:onProperty ep-activity:onWell | 166 | owl:onProperty ep-activity:onWell |
167 | ] . | 167 | ] . |
168 | 168 | ||
... | @@ -206,7 +206,7 @@ ep-activity:WeeklyProductionActivity | ... | @@ -206,7 +206,7 @@ ep-activity:WeeklyProductionActivity |
206 | ] . | 206 | ] . |
207 | 207 | ||
208 | ep-activity:createdAt | 208 | ep-activity:createdAt |
209 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; | 209 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
210 | rdfs:label "created at"^^xsd:string ; | 210 | rdfs:label "created at"^^xsd:string ; |
211 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | 211 | rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . |
212 | 212 | ||
... | @@ -228,7 +228,7 @@ ep-activity:onWell | ... | @@ -228,7 +228,7 @@ ep-activity:onWell |
228 | rdfs:label "on well"^^xsd:string . | 228 | rdfs:label "on well"^^xsd:string . |
229 | 229 | ||
230 | ep-activity:onWellBore | 230 | ep-activity:onWellBore |
231 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | 231 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; |
232 | rdfs:label "on WellBore"^^xsd:string . | 232 | rdfs:label "on WellBore"^^xsd:string . |
233 | 233 | ||
234 | ep-activity:reportOn | 234 | ep-activity:reportOn | ... | ... |
1 | -# Saved by TopBraid on Mon Aug 01 13:33:39 PDT 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 10:01:25 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/well | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.1/well |
3 | # imports: http://www.reportinghub.no/ep/schema/1.1/core | 3 | # imports: http://www.reportinghub.no/ep/schema/1.1/core |
4 | 4 | ||
... | @@ -14,25 +14,34 @@ | ... | @@ -14,25 +14,34 @@ |
14 | owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; | 14 | owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ; |
15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
16 | 16 | ||
17 | +ep-well:AllOrPartOfTheLifeOfAWellBore | ||
18 | + rdf:type owl:Class ; | ||
19 | + rdfs:label "all or part of the life of a well bore"^^xsd:string . | ||
20 | + | ||
21 | +ep-well:TemporalPartOfAWellBore | ||
22 | + rdf:type owl:Class ; | ||
23 | + rdfs:label "temporal part of a well bore"^^xsd:string ; | ||
24 | + rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore . | ||
25 | + | ||
17 | ep-well:Well | 26 | ep-well:Well |
18 | rdf:type owl:Class ; | 27 | rdf:type owl:Class ; |
19 | rdfs:label "Well"^^xsd:string ; | 28 | rdfs:label "Well"^^xsd:string ; |
20 | rdfs:subClassOf owl:Thing ; | 29 | rdfs:subClassOf owl:Thing ; |
21 | rdfs:subClassOf | 30 | rdfs:subClassOf |
22 | [ rdf:type owl:Restriction ; | 31 | [ rdf:type owl:Restriction ; |
23 | - owl:allValuesFrom ep-well:WellBore ; | 32 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
24 | - owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> | 33 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#name> |
25 | ] ; | 34 | ] ; |
26 | rdfs:subClassOf | 35 | rdfs:subClassOf |
27 | [ rdf:type owl:Restriction ; | 36 | [ rdf:type owl:Restriction ; |
28 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 37 | + owl:allValuesFrom ep-well:WellBore ; |
29 | - owl:onProperty <http://www.reportinghub.no/ep/schema/core#name> | 38 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> |
30 | ] . | 39 | ] . |
31 | 40 | ||
32 | ep-well:WellBore | 41 | ep-well:WellBore |
33 | rdf:type owl:Class ; | 42 | rdf:type owl:Class ; |
34 | - rdfs:label "Well bore"^^xsd:string ; | 43 | + rdfs:label "well bore"^^xsd:string ; |
35 | - rdfs:subClassOf owl:Thing ; | 44 | + rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore ; |
36 | rdfs:subClassOf | 45 | rdfs:subClassOf |
37 | [ rdf:type owl:Restriction ; | 46 | [ rdf:type owl:Restriction ; |
38 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 47 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | ... | ... |
1 | -# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 09:22:54 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | 2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib |
3 | # imports: http://spinrdf.org/spin | 3 | # imports: http://spinrdf.org/spin |
4 | 4 | ||
... | @@ -66,13 +66,34 @@ ep-spin-lib:buildDailyDrillingReportURI | ... | @@ -66,13 +66,34 @@ ep-spin-lib:buildDailyDrillingReportURI |
66 | ]) | 66 | ]) |
67 | ] . | 67 | ] . |
68 | 68 | ||
69 | +ep-spin-lib:buildTemporalPartOfAWellBoreURI | ||
70 | + rdf:type spin:Function ; | ||
71 | + rdfs:label "build TemporalPartOfWellBore URI"^^xsd:string ; | ||
72 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
73 | + spin:body | ||
74 | + [ rdf:type sp:Select ; | ||
75 | + sp:resultVariables (_:b3) ; | ||
76 | + sp:where ([ rdf:type sp:Bind ; | ||
77 | + sp:expression | ||
78 | + [ rdf:type ep-spin-lib:buildURI ; | ||
79 | + sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; | ||
80 | + sp:arg2 [ rdf:type fn:concat ; | ||
81 | + sp:arg1 spin:_arg1 ; | ||
82 | + sp:arg2 "$" ; | ||
83 | + sp:arg3 spin:_arg2 | ||
84 | + ] | ||
85 | + ] ; | ||
86 | + sp:variable _:b3 | ||
87 | + ]) | ||
88 | + ] . | ||
89 | + | ||
69 | ep-spin-lib:buildURI | 90 | ep-spin-lib:buildURI |
70 | rdf:type spin:Function ; | 91 | rdf:type spin:Function ; |
71 | rdfs:label "build URI"^^xsd:string ; | 92 | rdfs:label "build URI"^^xsd:string ; |
72 | rdfs:subClassOf ep-spin-lib:Function ; | 93 | rdfs:subClassOf ep-spin-lib:Function ; |
73 | spin:body | 94 | spin:body |
74 | [ rdf:type sp:Select ; | 95 | [ rdf:type sp:Select ; |
75 | - sp:resultVariables (_:b3) ; | 96 | + sp:resultVariables (_:b4) ; |
76 | sp:where ([ rdf:type sp:Bind ; | 97 | sp:where ([ rdf:type sp:Bind ; |
77 | sp:expression | 98 | sp:expression |
78 | [ rdf:type smf:resource ; | 99 | [ rdf:type smf:resource ; |
... | @@ -81,17 +102,17 @@ ep-spin-lib:buildURI | ... | @@ -81,17 +102,17 @@ ep-spin-lib:buildURI |
81 | sp:arg2 spin:_arg2 | 102 | sp:arg2 spin:_arg2 |
82 | ] | 103 | ] |
83 | ] ; | 104 | ] ; |
84 | - sp:variable _:b3 | 105 | + sp:variable _:b4 |
85 | ]) | 106 | ]) |
86 | ] ; | 107 | ] ; |
87 | spin:constraint | 108 | spin:constraint |
88 | [ rdf:type spl:Argument ; | 109 | [ rdf:type spl:Argument ; |
89 | - spl:predicate sp:arg1 ; | 110 | + spl:predicate sp:arg2 ; |
90 | spl:valueType xsd:string | 111 | spl:valueType xsd:string |
91 | ] ; | 112 | ] ; |
92 | spin:constraint | 113 | spin:constraint |
93 | [ rdf:type spl:Argument ; | 114 | [ rdf:type spl:Argument ; |
94 | - spl:predicate sp:arg2 ; | 115 | + spl:predicate sp:arg1 ; |
95 | spl:valueType xsd:string | 116 | spl:valueType xsd:string |
96 | ] . | 117 | ] . |
97 | 118 | ||
... | @@ -101,14 +122,14 @@ ep-spin-lib:buildWellBoreURI | ... | @@ -101,14 +122,14 @@ ep-spin-lib:buildWellBoreURI |
101 | rdfs:subClassOf ep-spin-lib:Function ; | 122 | rdfs:subClassOf ep-spin-lib:Function ; |
102 | spin:body | 123 | spin:body |
103 | [ rdf:type sp:Select ; | 124 | [ rdf:type sp:Select ; |
104 | - sp:resultVariables (_:b4) ; | 125 | + sp:resultVariables (_:b5) ; |
105 | sp:where ([ rdf:type sp:Bind ; | 126 | sp:where ([ rdf:type sp:Bind ; |
106 | sp:expression | 127 | sp:expression |
107 | [ rdf:type ep-spin-lib:buildURI ; | 128 | [ rdf:type ep-spin-lib:buildURI ; |
108 | sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; | 129 | sp:arg1 "https://www.reportinghub.no/ep/data/WellBore#" ; |
109 | sp:arg2 spin:_arg1 | 130 | sp:arg2 spin:_arg1 |
110 | ] ; | 131 | ] ; |
111 | - sp:variable _:b4 | 132 | + sp:variable _:b5 |
112 | ]) | 133 | ]) |
113 | ] . | 134 | ] . |
114 | 135 | ||
... | @@ -118,14 +139,14 @@ ep-spin-lib:buildWellURI | ... | @@ -118,14 +139,14 @@ ep-spin-lib:buildWellURI |
118 | rdfs:subClassOf ep-spin-lib:Function ; | 139 | rdfs:subClassOf ep-spin-lib:Function ; |
119 | spin:body | 140 | spin:body |
120 | [ rdf:type sp:Select ; | 141 | [ rdf:type sp:Select ; |
121 | - sp:resultVariables (_:b5) ; | 142 | + sp:resultVariables (_:b6) ; |
122 | sp:where ([ rdf:type sp:Bind ; | 143 | sp:where ([ rdf:type sp:Bind ; |
123 | sp:expression | 144 | sp:expression |
124 | [ rdf:type ep-spin-lib:buildURI ; | 145 | [ rdf:type ep-spin-lib:buildURI ; |
125 | sp:arg1 "https://www.reportinghub.no/ep/data/Well#" ; | 146 | sp:arg1 "https://www.reportinghub.no/ep/data/Well#" ; |
126 | sp:arg2 spin:_arg1 | 147 | sp:arg2 spin:_arg1 |
127 | ] ; | 148 | ] ; |
128 | - sp:variable _:b5 | 149 | + sp:variable _:b6 |
129 | ]) | 150 | ]) |
130 | ] . | 151 | ] . |
131 | 152 | ||
... | @@ -135,7 +156,7 @@ ep-spin-lib:normalizeString | ... | @@ -135,7 +156,7 @@ ep-spin-lib:normalizeString |
135 | rdfs:subClassOf ep-spin-lib:Function ; | 156 | rdfs:subClassOf ep-spin-lib:Function ; |
136 | spin:body | 157 | spin:body |
137 | [ rdf:type sp:Select ; | 158 | [ rdf:type sp:Select ; |
138 | - sp:resultVariables (_:b6) ; | 159 | + sp:resultVariables (_:b7) ; |
139 | sp:where ([ rdf:type sp:Bind ; | 160 | sp:where ([ rdf:type sp:Bind ; |
140 | sp:expression | 161 | sp:expression |
141 | [ rdf:type smf:regex ; | 162 | [ rdf:type smf:regex ; |
... | @@ -143,67 +164,67 @@ ep-spin-lib:normalizeString | ... | @@ -143,67 +164,67 @@ ep-spin-lib:normalizeString |
143 | sp:arg2 "\\((.*)\\)" ; | 164 | sp:arg2 "\\((.*)\\)" ; |
144 | sp:arg3 "" | 165 | sp:arg3 "" |
145 | ] ; | 166 | ] ; |
146 | - sp:variable _:b7 | 167 | + sp:variable _:b8 |
147 | ] [ rdf:type sp:Bind ; | 168 | ] [ rdf:type sp:Bind ; |
148 | sp:expression | 169 | sp:expression |
149 | [ rdf:type smf:trim ; | 170 | [ rdf:type smf:trim ; |
150 | - sp:arg1 _:b7 | 171 | + sp:arg1 _:b8 |
151 | ] ; | 172 | ] ; |
152 | - sp:variable _:b8 | 173 | + sp:variable _:b9 |
153 | ] [ rdf:type sp:Bind ; | 174 | ] [ rdf:type sp:Bind ; |
154 | sp:expression | 175 | sp:expression |
155 | [ rdf:type smf:encodeURL ; | 176 | [ rdf:type smf:encodeURL ; |
156 | - sp:arg1 _:b8 | 177 | + sp:arg1 _:b9 |
157 | ] ; | 178 | ] ; |
158 | - sp:variable _:b9 | 179 | + sp:variable _:b10 |
159 | ] [ rdf:type sp:Bind ; | 180 | ] [ rdf:type sp:Bind ; |
160 | sp:expression | 181 | sp:expression |
161 | [ rdf:type smf:regex ; | 182 | [ rdf:type smf:regex ; |
162 | - sp:arg1 _:b9 ; | 183 | + sp:arg1 _:b10 ; |
163 | sp:arg2 "%2F" ; | 184 | sp:arg2 "%2F" ; |
164 | sp:arg3 "_" | 185 | sp:arg3 "_" |
165 | ] ; | 186 | ] ; |
166 | - sp:variable _:b10 | 187 | + sp:variable _:b11 |
167 | ] [ rdf:type sp:Bind ; | 188 | ] [ rdf:type sp:Bind ; |
168 | sp:expression | 189 | sp:expression |
169 | [ rdf:type smf:regex ; | 190 | [ rdf:type smf:regex ; |
170 | - sp:arg1 _:b10 ; | 191 | + sp:arg1 _:b11 ; |
171 | sp:arg2 "%[0-9A-F][0-9A-F]" ; | 192 | sp:arg2 "%[0-9A-F][0-9A-F]" ; |
172 | sp:arg3 "" | 193 | sp:arg3 "" |
173 | ] ; | 194 | ] ; |
174 | - sp:variable _:b11 | 195 | + sp:variable _:b12 |
175 | ] [ rdf:type sp:Bind ; | 196 | ] [ rdf:type sp:Bind ; |
176 | sp:expression | 197 | sp:expression |
177 | [ rdf:type smf:regex ; | 198 | [ rdf:type smf:regex ; |
178 | - sp:arg1 _:b11 ; | 199 | + sp:arg1 _:b12 ; |
179 | sp:arg2 "\\+" ; | 200 | sp:arg2 "\\+" ; |
180 | sp:arg3 "_" | 201 | sp:arg3 "_" |
181 | ] ; | 202 | ] ; |
182 | - sp:variable _:b12 | 203 | + sp:variable _:b13 |
183 | ] [ rdf:type sp:Bind ; | 204 | ] [ rdf:type sp:Bind ; |
184 | sp:expression | 205 | sp:expression |
185 | [ rdf:type smf:regex ; | 206 | [ rdf:type smf:regex ; |
186 | - sp:arg1 _:b12 ; | 207 | + sp:arg1 _:b13 ; |
187 | sp:arg2 "_+" ; | 208 | sp:arg2 "_+" ; |
188 | sp:arg3 "_" | 209 | sp:arg3 "_" |
189 | ] ; | 210 | ] ; |
190 | - sp:variable _:b13 | 211 | + sp:variable _:b14 |
191 | ] [ rdf:type sp:Bind ; | 212 | ] [ rdf:type sp:Bind ; |
192 | sp:expression | 213 | sp:expression |
193 | [ rdf:type smf:regex ; | 214 | [ rdf:type smf:regex ; |
194 | - sp:arg1 _:b13 ; | 215 | + sp:arg1 _:b14 ; |
195 | sp:arg2 "\\*" ; | 216 | sp:arg2 "\\*" ; |
196 | sp:arg3 "" | 217 | sp:arg3 "" |
197 | ] ; | 218 | ] ; |
198 | - sp:variable _:b14 | 219 | + sp:variable _:b15 |
199 | ] [ rdf:type sp:Bind ; | 220 | ] [ rdf:type sp:Bind ; |
200 | sp:expression | 221 | sp:expression |
201 | [ rdf:type xsd:string ; | 222 | [ rdf:type xsd:string ; |
202 | sp:arg1 [ rdf:type smf:upperCase ; | 223 | sp:arg1 [ rdf:type smf:upperCase ; |
203 | - sp:arg1 _:b14 | 224 | + sp:arg1 _:b15 |
204 | ] | 225 | ] |
205 | ] ; | 226 | ] ; |
206 | - sp:variable _:b6 | 227 | + sp:variable _:b7 |
207 | ]) | 228 | ]) |
208 | ] ; | 229 | ] ; |
209 | spin:constraint | 230 | spin:constraint |
... | @@ -212,34 +233,37 @@ ep-spin-lib:normalizeString | ... | @@ -212,34 +233,37 @@ ep-spin-lib:normalizeString |
212 | spl:valueType xsd:string | 233 | spl:valueType xsd:string |
213 | ] . | 234 | ] . |
214 | 235 | ||
215 | -_:b4 sp:varName "uri"^^xsd:string . | 236 | +_:b3 sp:varName "uri"^^xsd:string . |
216 | 237 | ||
217 | -_:b5 sp:varName "uri"^^xsd:string . | 238 | +_:b15 |
239 | + sp:varName "t4"^^xsd:string . | ||
218 | 240 | ||
219 | _:b14 | 241 | _:b14 |
220 | - sp:varName "t4"^^xsd:string . | 242 | + sp:varName "t3"^^xsd:string . |
221 | 243 | ||
222 | _:b13 | 244 | _:b13 |
223 | - sp:varName "t3"^^xsd:string . | 245 | + sp:varName "t2"^^xsd:string . |
224 | 246 | ||
225 | _:b12 | 247 | _:b12 |
226 | - sp:varName "t2"^^xsd:string . | 248 | + sp:varName "t1"^^xsd:string . |
227 | 249 | ||
228 | _:b11 | 250 | _:b11 |
229 | - sp:varName "t1"^^xsd:string . | 251 | + sp:varName "t0b"^^xsd:string . |
230 | 252 | ||
231 | _:b10 | 253 | _:b10 |
232 | - sp:varName "t0b"^^xsd:string . | 254 | + sp:varName "t0a"^^xsd:string . |
233 | 255 | ||
234 | -_:b9 sp:varName "t0a"^^xsd:string . | 256 | +_:b9 sp:varName "s2"^^xsd:string . |
235 | 257 | ||
236 | -_:b8 sp:varName "s2"^^xsd:string . | 258 | +_:b8 sp:varName "s1"^^xsd:string . |
237 | 259 | ||
238 | -_:b7 sp:varName "s1"^^xsd:string . | 260 | +_:b7 sp:varName "normalizedStr"^^xsd:string . |
239 | 261 | ||
240 | -_:b6 sp:varName "normalizedStr"^^xsd:string . | 262 | +_:b6 sp:varName "uri"^^xsd:string . |
241 | 263 | ||
242 | -_:b3 sp:varName "uri"^^xsd:string . | 264 | +_:b5 sp:varName "uri"^^xsd:string . |
265 | + | ||
266 | +_:b4 sp:varName "uri"^^xsd:string . | ||
243 | 267 | ||
244 | _:b2 sp:varName "uri"^^xsd:string . | 268 | _:b2 sp:varName "uri"^^xsd:string . |
245 | 269 | ... | ... |
1 | -# Saved by TopBraid on Wed Aug 03 06:33:37 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 09:22:54 BST 2011 |
2 | # baseURI: null | 2 | # baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
This diff is collapsed. Click to expand it.
1 | -# Saved by TopBraid on Wed Aug 03 12:31:51 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 10:29:52 BST 2011 |
2 | # baseURI: null | 2 | # baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
1 | -# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 10:31:12 BST 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization |
3 | +# imports: file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml | ||
3 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | 4 | # imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
5 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | ||
4 | # imports: http://spinrdf.org/spin | 6 | # imports: http://spinrdf.org/spin |
5 | 7 | ||
6 | @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . | 8 | @prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . |
... | @@ -14,5 +16,5 @@ | ... | @@ -14,5 +16,5 @@ |
14 | 16 | ||
15 | <http://www.reportinghub.no/ep/transform/1.1/normalization> | 17 | <http://www.reportinghub.no/ep/transform/1.1/normalization> |
16 | rdf:type owl:Ontology ; | 18 | rdf:type owl:Ontology ; |
17 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> ; | 19 | + owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> ; |
18 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 20 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Wed Aug 03 07:44:47 BST 2011 | 1 | +# Saved by TopBraid on Thu Aug 04 10:31:12 BST 2011 |
2 | # baseURI: null | 2 | # baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
... | @@ -13,5 +13,7 @@ | ... | @@ -13,5 +13,7 @@ |
13 | [] rdf:type inference:Configuration ; | 13 | [] rdf:type inference:Configuration ; |
14 | composite:child | 14 | composite:child |
15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
16 | + <http://spinrdf.org/spin#topSPINOptions> | ||
17 | + "singlePass" ; | ||
16 | composite:index "0"^^xsd:int | 18 | composite:index "0"^^xsd:int |
17 | ] . | 19 | ] . | ... | ... |
-
Please register or login to post a comment