RDF to json-ld

Today i found a way to convert my RDF4J model into a json-ld representation that looks promising

I also have this cursed thing that passes all tests except some relative URI edge cases

Are you internally working with RDF ?

No, I’m converting json to my “local context”. I only use the RDF stuff for LD-signatures.

Don’t know the relevancy to both of you, but just FYI: yesterday AtomGraph was among the presenters of the NGI Linked Data webinar and they have this java-based JSON2RDF library: