Add RdfReader supporting JSON-LD, TriG and RDF/XML - #1838
Merged
Merged
Conversation
niklasl
requested review from
andersju,
branchedelac,
jannistsiroyannis,
kwahlin and
olovy
September 20, 2026 17:34
niklasl
force-pushed
the
feature/load-rdf
branch
3 times, most recently
from
September 29, 2026 08:31
dbb65cb to
1981779
Compare
niklasl
marked this pull request as ready for review
September 29, 2026 11:51
niklasl
force-pushed
the
feature/load-rdf
branch
2 times, most recently
from
September 29, 2026 12:00
068bd53 to
04871b4
Compare
This was referenced Sep 29, 2026
niklasl
force-pushed
the
feature/load-rdf
branch
from
September 30, 2026 15:52
04871b4 to
dd421f7
Compare
- Add RdfXmlToJsonLdParser and EmbedBlanks - Adapt TrigToJsonLdParser - Adapt create-from-rdf.groovy example script
niklasl
force-pushed
the
feature/load-rdf
branch
from
October 1, 2026 10:51
dd421f7 to
6940910
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is mainly in preparation for ingesting RDF/XML (part of general importer improvements for systems librarians).
Feature includes:
Example test creation (replace
.rdfwith.ttlor.jsonldfor the different example input formats):$ cd whelktool/ $ java -Dxl.secret.properties=../some-secret.properties \ -Drdfdata=scripts/examples/records/libris-example-record.rdf \ -jar build/libs/whelktool.jar --dry-run --step scripts/examples/create-from-rdf.groovy(Each file contains one main entity (and some extra
metafor the record). It will fail since create requiresloudmode, but choosepto print the resulting jsonld form that would have been created in XL.)Following this, we want:
apply-rdf-patch.groovy.)