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 blank node labels as annotation values #104

Open
joeltg opened this issue Jun 29, 2020 · 1 comment
Open

Allow blank node labels as annotation values #104

joeltg opened this issue Jun 29, 2020 · 1 comment

Comments

@joeltg
Copy link

joeltg commented Jun 29, 2020

PREFIX schema: <http://schema.org/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX ex: <http://example.com/>

_:foo {
  schema:name xsd:string // ex:reference _:bar ;
}

_:bar {
  a [ prov:Entity ] ;
  prov:generatedAtTime xsd:dateTime ;
}

Some kinds of annotations might want to reference blank node labels from the schema! Is there any reason not to allow this?

@ericprud
Copy link
Contributor

ericprud commented Jul 7, 2020

i actually mocked up a full ShEx-with-Turtle at some point but figured it would be complex enough that it would hamper implementation and adoption 'cause

  1. the grammar was about 20% larger
  2. parsers would become triple stores.

That said, I'm not convinced that I figured that right, or that the audience hasn't become more ambitious.

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