Hey guys,

 

I'm trying to store a WoT-TD (JSON-LD format) in Dataset of embedded fuseki.
When using:

 

InputStream inputStream = new
ByteArrayInputStream(exposedThing.toJson().getBytes(StandardCharsets.UTF_8))
;
Object jsonObject = JsonUtils.fromInputStream(inputStream);
Object compact = JsonLdProcessor.toRDF(jsonObject);

 

The compact-Object is a list of triples, so i assume it's correct. But
somehow i don't get it how to read this into a dataset. Can anyone help me?

 

Best regards

Phil

Reply via email to