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

Allow prefixed names in shape maps without white spaces #48

Open
labra opened this issue Sep 21, 2017 · 0 comments
Open

Allow prefixed names in shape maps without white spaces #48

labra opened this issue Sep 21, 2017 · 0 comments

Comments

@labra
Copy link
Member

labra commented Sep 21, 2017

Although the shape map spec doesn't talk about prefixed names, they are much more useful than long IRIs. Instead of

<http://example.org/alice>@<http://shapes.org/User>

it is more readable to use:

:alice@s:User

At this moment, this feature is supported by the parser, but there is a conflict between the @ employed as a separator between node selectors and shapes, and the @ employed in language tagged literals. The current parser handles it right if there is a white space as:

:alice @ s:User

It would be better to handle it even without the white space, but the ANTLR grammar must probably be changed.

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

No branches or pull requests

1 participant