jena
jena copied to clipboard
Write rdf as JsonLd 1.1 Compact format
Version
4.5.0
Suggestion
As of now, a Model can be written in many different RDFFormats. However I noticed there are no JSONLD 1.1 Compact options, such as there are for JSON LD 1.0
Is this something that could be added?
Hi @Yalz -- what sort for formatting of JSON-LD output are you using with JSON-LD 1.0 / jsonld-java via Jena?
Yes, it can be added - the project welcomes contributions.
A couple of thoughts:
- Titanium JSON-LD has the JSON-LD algorithms and it might be better to use Titanium directly if an API becomes little more than reflecting the Titanium capabilities.
- Can we lean from the JSON-LD 1.0 experience where there are many formats - are they all equally valuable or are some commonly used and other rarely used?
- And is there a common subset that can become the default
JSONLD_PRETTYfor any RDF or is the problem always going to involves data-specific configuration?