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

Support JSON-LD 1.1 #203

Closed
miguel76 opened this issue Oct 17, 2017 · 4 comments
Closed

Support JSON-LD 1.1 #203

miguel76 opened this issue Oct 17, 2017 · 4 comments
Milestone

Comments

@miguel76
Copy link

Add support for the new features introduced in JSON-LD 1.1

@stain
Copy link

stain commented Oct 26, 2017

In particular this example with localized @vocab/@context seems to fail:

{ "@context": {    
  "oa": "http://www.w3.org/ns/oa#",
  "link": "https://tools.ietf.org/vocab/rfc5988#",  
  "rel": {
    "@id": "link:rel",
    "@type": "@vocab",
    "@context": {"@vocab": "https://www.iana.org/assignments/link-relations/"}
  },
  "anchor": {"@id": "link:anchor", "@type": "@id"},
  "href": {"@id": "link:href", "@type": "@id"},
  "title": {
      "@id": "http://purl.org/dc/terms/title"
   }  
 },
 "@graph": [
  
   {"href"   : "http://example.com/foo",
    "title": "Fred",
    "meh": "fred",
    "anchor" : "http://example.net/bar",
    "rel" : [ "next" , "http://example.net/linkrel" ] }
  ] 
}

http://rdf.greggkellogg.net/distiller will correctly honour the inner @context and outputs:

[]
   <https://tools.ietf.org/vocab/rfc5988#rel> <https://www.iana.org/assignments/link-relations/next>,
       <http://example.net/linkrel> .

@CumpsD
Copy link

CumpsD commented Nov 10, 2017

"@container": ["@set", "@language"], seems to fail as well:

Spec:
json-ld/json-ld.org#407
json-ld/json-ld.org#503

Example: http://tinyurl.com/y8ejvou9

@davidlehn
Copy link
Member

At the moment none of 1.1 has been implemented due to lack of time and resources. We'll get to 1.1 as soon as we can. We want to use the fancy new features too! Any help would be appreciated. The 0.5.x branch has progress on other issues.

@davidlehn davidlehn added this to the v0.6.x milestone Jan 17, 2018
@davidlehn
Copy link
Member

1.0.0 released supporting 1.1 draft features.
See https://github.com/digitalbazaar/jsonld.js#conformance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants