-
Notifications
You must be signed in to change notification settings - Fork 4
Suggestions from January review on §1.4 #194
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
Open
pchampin
wants to merge
7
commits into
main
Choose a base branch
from
2025-01-reviews-s1.4
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4ec218a
concrete syntax allow to *associate* prefixes with IRIs
pchampin 30e15d4
pnames actually satisfy the IRI grammar
pchampin cf070ef
improve working around namespace table
pchampin f895a78
add missing verb, and follow @hartig's proposal
pchampin 851d2c1
Apply suggestions from code review
pchampin 6d11414
clarify text
pchampin 5f5790b
Update spec/index.html
pchampin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -269,10 +269,11 @@ <h3>RDF Vocabularies and Namespace IRIs</h3> | |||||
<p>The <a>IRIs</a> in an <a>RDF vocabulary</a> often begin with | ||||||
a common substring known as a <dfn>namespace IRI</dfn>. | ||||||
Some namespace IRIs are associated by convention with a short name | ||||||
known as a <dfn>namespace prefix</dfn>. Some examples: | ||||||
known as a <dfn>namespace prefix</dfn>. | ||||||
The table below provides some examples. | ||||||
|
||||||
<table id="tab-vocab-ns" class="simple"> | ||||||
<caption>Some example namespace prefixes and IRIs</caption> | ||||||
<caption>Some namespace prefixes and IRIs used in this specification</caption> | ||||||
<tr> | ||||||
<th>Namespace prefix</th> | ||||||
<th>Namespace IRI</th> | ||||||
|
@@ -293,16 +294,19 @@ <h3>RDF Vocabularies and Namespace IRIs</h3> | |||||
</tr> | ||||||
</table> | ||||||
|
||||||
<p>In some serialization formats it is common to abbreviate <a>IRIs</a> | ||||||
that start with <a>namespace IRIs</a> by using a | ||||||
<a>namespace prefix</a> in order to assist readability. For example, the IRI | ||||||
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral</code> | ||||||
<p>In some serialization formats, it is common | ||||||
to associate some [=namespace IRIs=] with arbitrary [=namespace prefixes=], | ||||||
and to improve readability by abbreviating <a>IRIs</a> that start with one of those <a>namespace IRIs</a> | ||||||
by using the corresponding <a>namespace prefix</a>. | ||||||
For example, | ||||||
based on the prefix mapping in <a href="#tab-vocab-ns"></a>, | ||||||
the IRI <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral</code> | ||||||
would be abbreviated as <code>rdf:XMLLiteral</code>. | ||||||
Note however that these abbreviations are <em>not</em> valid IRIs, | ||||||
and must not be used in contexts where IRIs are expected. | ||||||
Note, however, that these "prefixed name" abbreviations are generally <em>not</em> valid IRIs, | ||||||
and must not be used in contexts where only non-prefixed IRIs are expected. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. such as? Is this hinting at RDF/XML and qnames? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
Namespace IRIs and namespace prefixes are <em>not</em> a formal part of the | ||||||
RDF data model. They are merely a syntactic convenience for | ||||||
abbreviating IRIs.</p> | ||||||
RDF data model. They are merely a convenience for | ||||||
abbreviating IRIs in some syntaxes.</p> | ||||||
|
||||||
<p>The term “<dfn class="lint-ignore">namespace</dfn>” on its own does not have a | ||||||
well-defined meaning in the context of RDF, but is sometimes informally | ||||||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefixed names are not IRIs. They could be "expanded to give IRIs during parsing".
I am not sure what the "valid" means here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.