Skip to content

JSON-LD 1.1 Feature Request: New @label keyword #371

@jasnell

Description

@jasnell

In the spirit of "Labeling Everything" (http://patterns.dataincubator.org/book/label-everything.html) ... it would be worthwhile, IMO, for JSON-LD to provide a basic @Label keyword for use both in @context and nodes. It's largely syntactic sugar but would be useful.

For example:

{
  "@context": {
    "@label": "An Example Context",
    "displayName": "@label",
  },
  "displayName": "A Simple Label"
}

Which would expand to:

_:c14n0 <http://www.w3.org/2000/01/rdf-schema#label> "A Simple Label" .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions