| Line 63 was replaced by line 63 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Lines 66-71 were replaced by lines 66-68 |
| - This pattern can be read as "For each unique x value of R create |
| - an instance of C." In this example, the term "R.x" is a __<a |
| - href="#variable">resource variable</a>__. Executing this pattern |
| - results in the following document, assuming there are __n__ |
| - unique values of {{x}} in {{R}} <a |
| - href="#3">[4]</a>. As above, identifiers are generated as a result of |
| + This pattern can be read as "For each unique x value of R create |
| + an instance of C." In this example, the term "R.x" is a __resource variable__. Executing this pattern results in the following document, assuming there are __n__ |
| + unique values of {{x}} in {{R}}[4]. As above, identifiers are generated as a result of |
| Line 128 was replaced by line 125 |
| - <individual type="ont:C" foreach="R.x, R.y"/> |
| + <individual type="ont:C" foreach="DISTINCT R.x, R.y"/> |
| Line 151 was replaced by line 148 |
| - SELECT R1.x, R2.x |
| + SELECT DISTINCT R1.x, R2.x |
| Line 165 was replaced by line 162 |
| - <individual type="ont:C" foreach="R.x, R.y" if="R.x>0"/> |
| + <individual type="ont:C" foreach="DISTINCT R.x, R.y" if="R.x>0"/> |
| Line 205 was replaced by line 202 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Line 256 was replaced by line 253 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Line 281 was replaced by line 278 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Line 344 was replaced by line 341 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Line 364 was replaced by line 361 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Line 391 was replaced by line 388 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Line 415 was replaced by line 412 |
| - <individual type="ont:C" foreach="R1.x"> |
| + <individual type="ont:C" foreach="DISTINCT R1.x"> |
| Line 443 was replaced by line 440 |
| - <individual type="ont:C" foreach="R.x"> |
| + <individual type="ont:C" foreach="DISTINCT R.x"> |
| Line 489 was replaced by line 486 |
| - <individual label="o1" type="ont:C" foreach="R.x"/> |
| + <individual label="o1" type="ont:C" foreach="DISTINCT R.x"/> |
| Line 510 was replaced by line 507 |
| - <individual label="o2" type="ont:D" foreach="R.x, R.y"> |
| + <individual label="o2" type="ont:D" foreach="DISTINCT R.x, R.y"> |
| Line 539 was replaced by line 536 |
| - <individual label="o3" type="ont:D" foreach="R.y, R.z"> |
| + <individual label="o3" type="ont:D" foreach="DISTINCT R.y, R.z"> |
| Line 555 was replaced by line 552 |
| - <individual label="o5" type="ont:E" foreach="R.x, R.z"> |
| + <individual label="o5" type="ont:E" foreach="DISTINCT R.x, R.z"> |
| Line 559 was replaced by line 556 |
| - <individual label="o4" type="ont:D" foreach="R.y"> |
| + <individual label="o4" type="ont:D" foreach="DISTINCT R.y"> |
| Line 626 was replaced by line 623 |
| - <individual label="o6" type="ont:E" foreach="R.x, R.z"> |
| + <individual label="o6" type="ont:E" foreach="DISTINCT R.x, R.z"> |
| Lines 655-656 were replaced by lines 652-653 |
| - <individual label="o7" type="ont:E" foreach="R.x, R.z"> |
| - <property type="ont:Q" valuetype="ont:D" foreach="R.y" label="o8"> |
| + <individual label="o7" type="ont:E" foreach="DISTINCT R.x, R.z"> |
| + <property type="ont:Q" valuetype="ont:D" foreach="DISTINCT R.y" label="o8"> |