- From: Håvard Mikkelsen Ottestad <haavard.ottestad@acando.no>
- Date: Fri, 18 Mar 2016 13:04:08 +0000
- To: "public-linked-json@w3.org" <public-linked-json@w3.org>
Received on Friday, 18 March 2016 13:20:17 UTC
Hi, I’m wondering if there is some way of doing the following kind of transform with framing or something similar: ### FROM ### { "@context": { "status": { "@id": "http://example.com/status" }, "label": "http://example.com/label" }, "@graph": [ { "@id": "https://example.com/doc1", "status": { "@id": "http://example.com/valid", "label": "Valid status!" } } ] } ############ ### TO ### { "@graph": [ { "@id": "https://example.com/doc1", "status": "Valid status!" } ] } ########## Essentially embedding the status label as the actual status. I realize that this is a one-way transform, but it would be useful for making jsonld more accessible in frontend development. Regards, Håvard M. Ottestad
Received on Friday, 18 March 2016 13:20:17 UTC