Commit 525f580
Tom Johnson
Add support for
This allows Enumerables to decline to preserve term-inequality for
literals that are value-equal.
For example: `"01"^^xsd:integer` and `"1"^^xsd:integer` have equal
values, but are not equal per RDF term-equality. An enumerable
supporting `:literal_equality` must preserve this distinction across
reads; one that does not may canonicalize the lexical representation of
its literals at its own discretion.
Note that an `Enumerable` need not be `Mutable` to perform this
canonicalization. For example, a data store may have an "optimize"
operation which performs the canonicalization independent of RDF.rb's
interactions.:literal_equality
1 parent ef21136 commit 525f580
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
0 commit comments