-
Notifications
You must be signed in to change notification settings - Fork 0
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
Directional language-tagged strings #113
base: main
Are you sure you want to change the base?
Conversation
Currently WIP. |
701e3a1
to
571ef20
Compare
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.
(editorial) a couple of tweaks for clarity and typo fixes
argument is a literal with a language | ||
tag. Otherwise, the function returns false. | ||
</p> | ||
<p>If the argument is a lteral, the function is |
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.
<p>If the argument is a lteral, the function is | |
<p>If the argument is a literal, the function is |
The function <code>LANGDIR</code> returns the | ||
language direction of a literal with datatype | ||
<code>rdf:dirLangString</code>. | ||
Otherwise, the function return the empty |
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.
The function <code>LANGDIR</code> returns the | |
language direction of a literal with datatype | |
<code>rdf:dirLangString</code>. | |
Otherwise, the function return the empty | |
the function <code>LANGDIR</code> returns the | |
language direction of the literal with datatype | |
<code>rdf:dirLangString</code>; | |
otherwise, the function return the empty |
<td><code>false</code></td> | ||
</tr> | ||
<tr> | ||
<td><code>isLANG("abc@en--ltrl"</code></td> |
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.
Is the second double-quote meant to be before the language tag 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.
Yes. There is also a missing close-paren.
<td><code>isLANG("abc@en--ltrl"</code></td> | |
<td><code>isLANG("abc"@en--ltrl)</code></td> |
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.
Prefer the term "base direction" to "language direction";.
<p> | ||
If the argument is a literal, | ||
The function <code>LANGDIR</code> returns the | ||
language direction of a literal with datatype |
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.
"base direction" is the term from RDF Concepts. Maybe needs a reference?
language direction of a literal with datatype | |
base direction of a literal with datatype |
This PR is being broken up to make progress easier. #153 includes the grammar changes for initial text direction. |
This closes #112
Function and syntax for working with
rdf:dirLangString
.Preview | Diff