Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data error handling (e.g., lenient mode) #68

Open
bjdmeest opened this issue Aug 30, 2023 · 1 comment
Open

Data error handling (e.g., lenient mode) #68

bjdmeest opened this issue Aug 30, 2023 · 1 comment

Comments

@bjdmeest
Copy link
Member

There are a couple of MUST statements in the spec that depend on the actual data that could be revisited to support some kind of 'lenient' mode of processing the mapping document.

For example: I have a mapping file with 10 triples maps that map 10 tables, which I use for mapping databases A and B (and many more others). 3 of those tables are optional in database B, crashing the mapping engine due to the fact that a logical source description MUST resolve to a data source (see eg R2RML spec)

  • lenient mode: process only the 7 resolvable triples maps
  • similar for The referenced columns of all term maps of a triples map (subject map, predicate maps, object maps, graph maps) MUST be column names that exist in the term map's logical table.: don't crash if you don't have all references, but generate all others

It's an open question on whether this is functionality of the mapping engine or a feature of the language, however I think it would be good to clarify which errors should result in exiting the engine vs handling gracefully

@dachafra
Copy link
Member

dachafra commented Jul 3, 2024

I think this issue is very related to the recent issue closed #32. IMHO, at this moment, it is out of the scope of the CG but we can transfer this issue to best-practices and/or mark it as working-group. In a more general way, but these issues are clarified in Data Errors section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants