grano icon indicating copy to clipboard operation
grano copied to clipboard

Consider JSON-LD for presenting data

Open jazzido opened this issue 11 years ago • 2 comments

See this post by one of the creators of the JSON-LD standard.

Why do I think it makes sense to switch to JSON-LD?

  • It's a perfect match: A @context is a schema, period.
  • It's still JSON, no need to deal with crazy triples, turtles and sparqls
  • It's a good compromise between pragmatism and ivory-tower RDF. If you want RDF you can transform it

jazzido avatar Mar 16 '14 04:03 jazzido

Interesting proposal - do you think it would make our API more accessible? I agree there's some momentum around JSON-LD, so there may be good tooling (such as JS libs) coming up (and bits of grano could go mainstream, e.g. form generation...). Otoh it is a fairly specific and limited data model to sign up to...

pudo avatar Mar 17 '14 16:03 pudo

Interesting proposal - do you think it would make our API more accessible? […]

It will, as long as JSON-LD picks up steam.

Otoh it is a fairly specific and limited data model to sign up to…

Why? It is only a thin wrapper around idiomatic JSON. In fact, grano’s current idiomatic JSON looks a lot like JSON-LD.

jazzido avatar Mar 17 '14 16:03 jazzido