Skip to content

precedence of @vocab for compaction too strong? #526

Closed
@eroux

Description

@eroux

This is related to #235: When I have the following document:

{
  "@context": {
    "@vocab"  : "http://vocab.getty.edu/",
    "a"     : "http://vocab.getty.edu/aaaaaaaaaat/"
  }, 
  "@id" : "http://vocab.getty.edu/aaaaaaaaaat/5001065997",
  "@type": "http://vocab.getty.edu/aaaaaaaaaat/datatype"
}

By point 3 of the spec, because http://vocab.getty.edu/aaaaaaaaaat/5001065997 contains the value of @vocab, it gets compacted as aaaaaaaaaat/5001065997 without even looking at the prefixes. I think this is not reasonable, in this case a:5001065997 would look much nicer IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apideferIssue deferred to future Working Groupspec-design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions