Closed tkgesis closed 2 years ago
Describe the bug When rendering n-quads from json-ld, items containing lists only output one instead of all items.
To Reproduce
JsonArray rdfStar = JsonLd.expand(urlToJsonLD).rdfStar().get(); RdfDataset rdfDataset = JsonLd.toRdf(JsonDocument.of(rdfStar)).get(); StringWriter stringWriter = new StringWriter(); Rdf.createWriter(com.apicatalog.jsonld.http.media.MediaType.N_QUADS, stringWriter).write(rdfDataset);
"Terms": [ { "@language": "woi", "@value": "Muut=ak" }, { "@language": "en-x-lgr", "@value": "citrus=DEF" } ]
Expected behavior The list of n-quads contains statement for each item of the list
Additional context Tested with jdk 11, with & without prior expansion.
see RFC 5646 2.2.7 - Private Use Subtags
Describe the bug When rendering n-quads from json-ld, items containing lists only output one instead of all items.
To Reproduce
Call in java:
Sample item with list as value
Expected behavior The list of n-quads contains statement for each item of the list
Additional context Tested with jdk 11, with & without prior expansion.