Skip to content

Update jsonld to rdf#499

Merged
francescalb merged 11 commits intomasterfrom
update_jsonld_to_rdf
Feb 11, 2026
Merged

Update jsonld to rdf#499
francescalb merged 11 commits intomasterfrom
update_jsonld_to_rdf

Conversation

@francescalb
Copy link
Contributor

Description

Currently saving an invalid jsonld to the triplestore does not raise an error
if the jsonld is invalid ( at least if expected IRIs are just literals).
It just passes, there are no warnings, but also nothing is adde to the triplestore.

This needs to be corrected. Question is how?

with rdflib we can parse the graph and add a base (namespace) to the
generated graph and then check if this generated graph contains irs with that namespace
afterwards.

The what do we want to do? Should this be done somewhere different?

Or shold we reeanblae validation.

Type of change

  • Bug fix and code cleanup
  • New feature
  • Documentation update
  • Testing

Checklist for the reviewer

This checklist should be used as a help for the reviewer.

  • Is the change limited to one issue?
  • Does this PR close the issue?
  • Is the code easy to read and understand?
  • Do all new feature have an accompanying new test?
  • Has the documentation been updated as necessary?
  • Is the code properly tested?

@francescalb francescalb changed the base branch from master to prefixes-keywords-script February 7, 2026 07:54
Base automatically changed from prefixes-keywords-script to master February 10, 2026 13:34
francescalb and others added 8 commits February 10, 2026 14:34
When storing to triplestore expected IRIs that are not valid will
throw an error. However, it is possible to add a baseiri
that should be used for relative iris (i.e. every time
and IRI is expected, if it is not valid it will be given the
baseiri)
Co-authored-by: Jesper Friis <jesper-friis@users.noreply.github.com>
Copy link
Contributor

@jesper-friis jesper-friis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added two suggestions

@francescalb francescalb merged commit 979400e into master Feb 11, 2026
14 of 20 checks passed
@francescalb francescalb deleted the update_jsonld_to_rdf branch February 11, 2026 10:49
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