Skip to content

Use blank nodes instead of _new_ #374

@manishrjain

Description

@manishrjain
mutation {
 set {
  <_new_:class> <student> <_new_:x> .
  <_new_:x> <name> "alice" .
 }
}

Nquads syntax allows to specify file/request-local IDs called blank nodes (bnodes). This is a standard approach, and I think it will be better to use them to auto-assign internal IDs:

mutation {
 set {
  _:class <student> _:x .
  _:x <name> "alice" .
 }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/maintenanceMaintenance tasks, such as refactoring, with no impact in features.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions