Skip to content

Use Top-Level Property Names as Node Identifiers #58

@filip26

Description

@filip26

All identifiable nodes are flattened as top-level objects, eliminating the need for constructs like @id in JSON-LD. A node is identified by its top-level property name and referenced using an ID that expands to the same URI as the property name, if present.

{

  // JSON-LD would use graph here to wrap an array of nodes
 "http:// ..... /id#1": {
  },
 "http:// ..... /id#2": {
  }

  // vs
 "@graph": [
    {
     "@id": "http:// ..... /id#1"
    },
    {
      "@id": "http:// ..... /id#2"
    }
 ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions