Skip to content

Commit c39e892

Browse files
committed
RDF Reference IRI
1 parent c9c542d commit c39e892

File tree

1 file changed

+49
-15
lines changed

1 file changed

+49
-15
lines changed

spec/index.html

Lines changed: 49 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -989,8 +989,8 @@ <h3>IRIs</h3>
989989

990990
<p class="note">For convenience, a complete [[ABNF]] grammar
991991
from [[RFC3987]] is provided in <a href="#iri-abnf" class="sectionRef"></a>.</p>
992-
993-
<div class="note" id="note-iris">
992+
993+
<div class="note">
994994
<p><strong>URIs and IRIs:</strong>
995995
IRIs are a generalization of
996996
<dfn data-lt="URI" data-lt-noDefault><abbr title="Uniform Resource Identifier">URI</abbr>s</dfn>
@@ -1016,35 +1016,69 @@ <h3>IRIs</h3>
10161016
but is based on a processing model important for implementation
10171017
within web browsers and are not described using an [[ABNF]] grammar.
10181018
</p>
1019+
</div>
10191020

1020-
<p><strong>Relative IRI references:</strong>
1021+
<section id="reference-iris" class="informative">
1022+
<h4>RDF Reference IRIs</h4>
1023+
<p>
1024+
This section is advice to data publishers.
1025+
</p>
1026+
<p>
1027+
<a>IRIs</a> are used to denote <a>resources</a> and should identify the same
1028+
resource regardless of where the IRI reference is used.
1029+
[[RFC3987]] defines a syntax that can express
1030+
IRIs which do not meet the requirement of being a global reference.
1031+
URI schemes add addition requirements; for example, the
1032+
<a data-cite="rfc7230#section-2.7.1">HTTP URI scheme</a> defines
1033+
<a data-cite="rfc7230#http-URI">`http-URI`</a>, which
1034+
requires the presence of a non-empty host name, and, as a consequence,
1035+
the path component will start with `/`.
1036+
The [[RFC3987]] syntax permits `http:abcd` and `http:///abcd`
1037+
which do not meet the HTTP URI scheme.
1038+
</p>
1039+
<p>
1040+
An <dfn data-lt="RDF reference">RDF Reference IRI</dfn>,
1041+
sometimes just <a>RDF Reference</a>,
1042+
is an <a>IRI</a> that is suitable for use as a global reference.
1043+
</p>
1044+
1045+
<p>
1046+
<b>Reference Resolution:</b>
1047+
An <a>RDF Reference IRI</a> is unchanged by
1048+
<a data-cite="RFC3986#section-5">reference resolution</a>.
1049+
The <a data-cite="RFC3986#section-3.3">path component</a>
1050+
starts with a `/` character and does not contain `.` or `..` segments.
1051+
</p>
1052+
<p>
1053+
<strong>Relative IRI references:</strong>
10211054
Some <a>concrete RDF syntaxes</a> permit
10221055
<span id="dfn-relative-iris"><!-- obsolete term--></span>
1023-
<dfn id="dfn-relative-iri" data-lt="relative iri reference">relative IRI references</dfn> as a convenient shorthand
1024-
that allows authoring of documents independently from their final
1025-
publishing location.
1026-
Relative IRI references must be
1056+
<dfn id="dfn-relative-iri" data-lt="relative iri reference">relative IRI references</dfn>
1057+
as a convenient shorthand that allows authoring of documents independently from their final
1058+
publishing location. Relative IRI references must be
10271059
<a data-cite="rfc3986#section-5.2">resolved against</a> a
10281060
<dfn class="export">base IRI</dfn>.
10291061
Therefore, the RDF graph serialized in such syntaxes is well-defined only
1030-
if a <a data-cite="rfc3986#section-5.1">base IRI
1031-
can be established</a> [[RFC3986]].</p>
1062+
if a <a data-cite="rfc3986#section-5.1">base IRI can be established</a> [[RFC3986]].
1063+
</p>
10321064

1033-
<p><strong>URI Schemes:</strong>
1034-
Implementations are encouraged to enforce the scheme-specific rules of
1065+
<p>
1066+
<strong>URI Schemes:</strong>
1067+
Implementations are encouraged to follow the scheme-specific rules of
10351068
the common schemes, such as the
1036-
<a data-cite="RFC7230#section-2.7.1">scheme rules for HTTP/HTTPS</a> and the
1069+
<a data-cite="RFC7230#section-2.7">scheme rules for HTTP/HTTPS</a> and the
10371070
<a data-cite="did-core#identifier">DID syntax</a>.
10381071
Implementations ignore URI scheme rules
10391072
for schemes they do not recognize.
10401073
</p>
10411074

1042-
<p><strong>IRI normalization:</strong>
1075+
<p>
1076+
<strong>IRI normalization:</strong>
10431077
Interoperability problems can be avoided by minting
10441078
only IRIs that are normalized according to
10451079
<a data-cite="rfc3987#section-5">Section 5</a>
10461080
of [[!RFC3987]].
1047-
</p>
1081+
</p>
10481082

10491083
<ul>
10501084
<li>Use lowercase characters in scheme names.</li>
@@ -1068,7 +1102,7 @@ <h3>IRIs</h3>
10681102
(ASCII, punycode-encoded name]) for Internationalized Domain Names [[RFC5890]] in IRIs.</li>
10691103
<li>Use IRIs in Unicode [=Normalization Form C=] [[I18N-Glossary]].</li>
10701104
</ul>
1071-
</div>
1105+
</section>
10721106
</section>
10731107

10741108
<section id="section-Graph-Literal">

0 commit comments

Comments
 (0)