Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification of the points of 'literal term equality' #167

Merged
merged 4 commits into from
Mar 20, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -789,18 +789,19 @@ <h3>Literals</h3>
if and only if the following are all true:</p>

<ul>
<li>The two <a>lexical forms</a> compare equal.</li>
<li>The two <a>datatype IRIs</a> compare equal.</li>
<li>The two <a>language tags</a> are either both absent, or both present and compare equal.</li>
<li>The two <a>lexical forms</a> compare equal,
where this comparison is performed using
<a data-cite="I18N-GLOSSARY#dfn-case-sensitive">case-sensitive matching</a>
(see description of string comparison in
<a href="#rdf-strings" class="sectionRef"></a>).</li>
<li>The two <a>datatype IRIs</a> compare [=IRI equality|equal=]
(per [=IRI equality=]).</li>
<li>The two <a>language tags</a> are either both absent, or both present and compare equal,
where this comparison is performed using
<a data-cite="I18N-GLOSSARY#dfn-case-sensitive">ASCII case-insensitive matching</a>
(in contrast to the case-sensitive comparison of the lexical forms).</li>
<li>The two <a>base directions</a> are either both absent, both `ltr`, or both `rtl`.</li>
</ul>
<p>Comparison of the [=lexical forms=] and of the [=datatype IRIs=] is performed using
<a data-cite="I18N-GLOSSARY#dfn-case-sensitive">case sensitive matching</a>
(see description of string comparison in
<a href="#rdf-strings" class="sectionRef"></a>).
Comparison of the [=language tags=] is performed using
<a data-cite="I18N-GLOSSARY#dfn-case-sensitive">ASCII case-insensitive matching</a>.
</p>

<section>
<h2>Representation of literals</h2>
Expand Down
Loading