-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support directional language-tagged strings, Closes #32 #33
Conversation
I note that previously |
Good idea, I'll look into adding this. |
Co-authored-by: Ted Thibodeau Jr <[email protected]>
spec/index.html
Outdated
@@ -513,6 +517,7 @@ <h4>Encoding RDF terms</h4> | |||
<p>The blank node label is scoped to the results object. That is, two blank nodes with the same label in a single SPARQL Results JSON object are the same blank node. This is not an | |||
indication of any internal system identifier the SPARQL processor may use. Use of the same label in another SPARQL Results JSON object does not imply it is the same blank node.</p> | |||
<p>The subject, predicate, and object of a quoted triple are encoded using the same format, recursively.</p> | |||
<p class="note">The "xml:lang" and "its:dir" keys resemble usage of XML namespaces due to alignment with the [[[SPARQL12-RESULTS-XML]]] specification, but namespaces do not exist JSON, which means that these keys should be used as-is.</p> |
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.
"xml:lang"
- > <code>xml:lang</code>
, the same with its:dir
.
"its:dir"
was chosen as key to be aligned with"xml:lang"
following https://www.w3.org/TR/2007/REC-its-20070403/#att.dirPreview | Diff