Dude, just flatten it. Nested linked data json is a nightmare to debug, and most processors handle flattened stuff better.
I’ve had good luck with Apache Any23 (https://any23.apache.org/) for cleaning up messy RDF/JSON-LD. It’s not perfect, but it’s way better than rolling your own parser.
Also, +1 on schema.org. Interop is already hard—don’t make it worse with niche vocabs unless you *really* need to.
I’ve had good luck with Apache Any23 (https://any23.apache.org/) for cleaning up messy RDF/JSON-LD. It’s not perfect, but it’s way better than rolling your own parser.
Also, +1 on schema.org. Interop is already hard—don’t make it worse with niche vocabs unless you *really* need to.
