Skip to content

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

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

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

Conversation

@westei
Copy link

@westei westei commented Aug 28, 2015

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
Copy link
Member

ansell commented Sep 27, 2015

The Clerezza integration has been moved out to a separate repository. I ported this pull request (but there may be bugs with it) to the new structure. The new pull request is at:

jsonld-java/jsonld-java-clerezza#2

@ansell ansell closed this Sep 27, 2015
@westei
Copy link
Author

westei commented Oct 5, 2015

Hi,

I fixed a remaining issue with the META-INF/serivces/* files and also merged the current state of master into the branch you created.

Unit Tests are fine. I also tested the Parser/Serializer within an OSGI environment.

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