Skip to content
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 PREFIX directives in turtle parsers. #626

Open
damooo opened this issue Nov 12, 2023 · 1 comment
Open

Support PREFIX directives in turtle parsers. #626

damooo opened this issue Nov 12, 2023 · 1 comment

Comments

@damooo
Copy link
Contributor

damooo commented Nov 12, 2023

Currently turtle parsers seems doesn't take PREFIX case-insensitive sparql-like directives, which are supported by turtle syntax since 2014. It would be highly valuble for their support to handle turtle from wild.

@TallTed
Copy link
Contributor

TallTed commented Nov 13, 2023

Important for implementation —

  • @prefix (with @) declarations ARE case sensitive.
  • PREFIX (without @) declarations ARE NOT case sensitive.

From the Turtle 1.1 spec

The Turtle language originally permitted only the syntax including the '@' character for writing prefix and base directives. The case-insensitive 'PREFIX' and 'BASE' forms were added to align Turtle's syntax with that of SPARQL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants