Skip to content

JCL-190: Use commons-rdf#187

Merged
acoburn merged 8 commits into
mainfrom
JCL-190-commons-rdf
Dec 27, 2022
Merged

JCL-190: Use commons-rdf#187
acoburn merged 8 commits into
mainfrom
JCL-190-commons-rdf

Conversation

@acoburn

@acoburn acoburn commented Dec 20, 2022

Copy link
Copy Markdown
Contributor

This replaces our custom RDF wrapping code with code from the Apache commons-rdf project. This results in considerably less code for us to maintain

@acoburn
acoburn marked this pull request as ready for review December 22, 2022 20:39
@acoburn
acoburn requested a review from timea-solid as a code owner December 22, 2022 20:39
@acoburn
acoburn force-pushed the JCL-190-commons-rdf branch from 17a51ea to f3898c4 Compare December 22, 2022 21:19
@timea-solid

Copy link
Copy Markdown
Contributor

I keep looking at the rd4j commons. Why not use org.apache.commons.rdf.rdf4j: https://commons.apache.org/proper/commons-rdf/implementations.html#Eclipse_RDF4J ?
Seems to be the reason it was never taken into the lib itself: eclipse-rdf4j/rdf4j#386

@acoburn

acoburn commented Dec 27, 2022

Copy link
Copy Markdown
Contributor Author

Why not use org.apache.commons.rdf.rdf4j

Because it only works with RDF4J 2.x. When using RDF4J 4.x, it completely blows up because the call to Repository::initialize in AbstractRepositoryGraphLike does not exist (it was renamed to Repository::init), and unfortunately there is no other way around that

@acoburn
acoburn merged commit ede9ada into main Dec 27, 2022
@acoburn
acoburn deleted the JCL-190-commons-rdf branch December 27, 2022 15:23
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