-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for base direction #32
Comments
Alternatively, we could recognize only the directions
which would be matched in a case-sensitive manner, which reduces runtime checks at the expense of parse errors which could convey less meaningful error messages. |
See #33 |
SPARQL is a bit more sensitive to the choice because of use in triple patterns and also in expressions. There is a case of the sequence It is easy to avoid by having no numbers in the direction part, c.f. the first subtag "language".
My preference is to have the |
…m construtors for creating directional language-tagged strings. Fixes #32.
…m construtors for creating directional language-tagged strings. Fixes #32.
* Adds BNF and text to extend LANGTAG to support base direction and term construtors for creating directional language-tagged strings. Fixes #32. * Update spec/ntriples.bnf * Rename `LANGTAG` to `LANG_DIR` and improve description. * Chanage `langTag` class to `langDir`. * Use code for codepoints, and clarify the code points used for '--' * Update character representation and fix BNF issues based on similar changes to Turtle. * Fix some missing local references. --------- Co-authored-by: Andy Seaborne <andy@apache.org> Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Relates to w3c/rdf-concepts#9 and discussed in the Text Direction Proposal.
This will support directional language-tagged strings using the following syntax:
This adds some text to 2.4 RDF Literals to allow base direction and an additional triple to EXAMPLE 4. Also, additional rules in 6.1 RDF Term Constructors.
The text was updated successfully, but these errors were encountered: