Add JSON LD parser and serializer support for Apache Clerezza by westei · Pull Request #146 · jsonld-java/jsonld-java · GitHub
Skip to content

Add JSON LD parser and serializer support for Apache Clerezza - #146

Closed
westei wants to merge 1 commit into
jsonld-java:masterfrom
westei:master
Closed

Add JSON LD parser and serializer support for Apache Clerezza#146
westei wants to merge 1 commit into
jsonld-java:masterfrom
westei:master

Conversation

@westei

@westei westei commented Aug 28, 2015

Copy link
Copy Markdown

With STANBOL-1439 I replaces the outdated JSON-LD implementation from Apache Stanbol with one that is based on jsonld-java. While doing so I recognized that the current Clerezza Integration of jsonld-java is incomplete.

This pull request provides both a Clerezza ParsingProviderand SerializingProvider implementation. With this Clerezza can parse and serialize application/ld+json. For the Serializer also application/json is registered as supported content type - meaning that JSON-LD will be the default for users requesting application/json for RDF data.

The provided implementation do work both inside and outside an OSGI Environment. The Serializer supports configuration option similar to those of the Sesame integration.

Their is a minor change to the JsonLdTripleCallback to correctly handle RDF 1.1 literals using the rdf:langString datatype.

NOTE: STANBOL-1439 is only an intermediate solution. The plan is to switch to this as soon as this get released.

best
Rupert

* Adapted the existing ClerezzaTripleCallback to correctly handle RDF 1.1 langString datatype literals
@ansell

ansell commented Sep 27, 2015

Copy link
Copy Markdown
Member

@ansell ansell closed this Sep 27, 2015
@westei

westei commented Oct 5, 2015

Copy link
Copy Markdown
Author

ansell added a commit to jsonld-java/jsonld-java-clerezza that referenced this pull request Oct 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants