Skip to content

Corese and RDF dataset canonicalization #189

Answered by remiceres
mereolog asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Pawel,

Thank you for your question. I see two things to modify:

First, Canonical-RDF is implemented in the development version of Corese but has not been released yet (it will be released in the next few months with version 4.5.1). You can test it now by downloading the development version (Nightly Build) directly from the release page of Corese: https://github.com/Wimmics/corese/releases, file corese-core-xxxxxxx-nightly.jar.

Second, you must use the rdfc10 result format ResultFormat.RDFC10_FORMAT instead of 'ResultFormat.N_QUADS'. Here is the code with the modification:

Graph graph = Graph.create();

// Load data
Load ld = Load.create(graph);
ld.parse("/test053-in.nq");

// Export…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by remiceres
Comment options

You must be logged in to vote
1 reply
@remiceres
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #186 on June 07, 2024 16:22.