Skip to content

Update jsonld to rdf#499

Open
francescalb wants to merge 1 commit intoprefixes-keywords-scriptfrom
update_jsonld_to_rdf
Open

Update jsonld to rdf#499
francescalb wants to merge 1 commit intoprefixes-keywords-scriptfrom
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
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.

1 participant