Generating CSV from JSON-LD: w3c tabular data vs frictionless

Dear all,

I wanted to identify a standard way of generating a CSV from a JSON-LD
and still being able
to generate back the original LD.

My first attempt was:

JSON-LD -- framing --> Flat JSON --> CSV

This CSV can be mapped back to JSON-LD using the @context provided in framing.
Clearly this does not provide a JSON Schema for data, but it can
be integrated with
https://ioggstream.github.io/draft-polli-restapi-ld-keywords/draft-polli-restapi-ld-keywords.html
to provide all the required information e.g. for auto-generating a
REST API via frictionless

I am now reading https://www.w3.org/TR/tabular-data-primer/
is that used? Does it work?

Have a nice day,
R.

Received on Thursday, 7 July 2022 14:26:29 UTC