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

Disallow BNode identifier as Graph Name #217

Closed
gkellogg opened this issue Jan 30, 2013 · 4 comments
Closed

Disallow BNode identifier as Graph Name #217

gkellogg opened this issue Jan 30, 2013 · 4 comments

Comments

@gkellogg
Copy link
Member

We discussed if it is appropriate for a Graph name to be a BNode identifier on yesterday's teleconference, and on #rdf-wg IRC. There are a couple of concerns: RDF Concepts defines a Named Graph as being an {IRI, Graph} pair, clearly this does not include a BNode Identifier. However, JSON-LD strays in some other areas, where it makes sense, for example using a BNode Identifier as a predicate. The later is for historical purposes, as RDF/XML can't express this, but the choice to limit Graph names to IRIs is not historical.

One of the issues is that the scope of BNodes is problematic, and it can't really be said that a BNode identifier is a name. Furthermore, as a BNode Identifier only has meaning in the scope of a document, you can't reference the same Named Graph from more than one document.

PROPOSAL: Limit the value of a Graph Name to be an IRI.

@lanthaler
Copy link
Member

RESOLVED: This group re-affirms that the common practice when naming a graph is to use either an IRI or a blank node identifier. The JSON-LD specification remains unchanged. When expressing graphs in Linked Data, the graph name SHOULD be an IRI.

@lanthaler
Copy link
Member

RESOLVED: JSON-LD will continue to support blank node identifiers for properties and graph names. When converting data to RDF 1.1, the specification will not introduce any special checks to handle these specific cases. It is up to the implementations to figure out how to convert this data to something conformant to RDF 1.1.

@gkellogg
Copy link
Member Author

To clarify, the spec will say that the blank nodes as predicates or graph names lead to undefined behavior when transforming to RDF. Conforming implementations can drop statements with bnode predicate triples, or graphs with bnode names.

@lanthaler
Copy link
Member

We have been discussing bnode ids as graph names for quite some time. The last discussion we had was in last week's telecon. The position of the CG didn't change and in the RDF WG consensus was found (some time ago) around allowing JSON-LD to deviate in very specific ways from RDF - which includes bnode ids as graph names.

Unless I hear objections, I will therefore close this issue in 24 hours.

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

2 participants