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

40 - @keyword directive #40

Open
joshsh opened this issue Apr 8, 2011 · 0 comments
Open

40 - @keyword directive #40

joshsh opened this issue Apr 8, 2011 · 0 comments

Comments

@joshsh
Copy link
Owner

joshsh commented Apr 8, 2011

One outstanding problem in interpreting Ripple programs independently of a
query engine (among other things, preventing Ripple from being a proper RDF
format) is that keyword bindings are not explicitly given.  Thus, the
meaning of any source code which uses keywords depends on the configuration
of libraries and primitives in the Ripple environment, which is by no means
constant.  Providing a way to explicitly define keywords would:
1) make "complete", self-contained Ripple source files possible, and as an
added benefit,
2) allow users to create keywords for resources which are important to
their applications

This syntax would be handy:

@keyword foo: <http://example.org/ns#foo> .

This clashes a bit with N3's @keywords directive.  However, @keywords
apparently makes reference to the default namespace, so you'd have to use
it in conjunction with @prefix, in a rather awkward way, in order to
achieve the desired effect.

Original link: http://code.google.com/p/ripple/issues/detail?id=40
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

1 participant