-
Notifications
You must be signed in to change notification settings - Fork 29
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
OAK Adapters vs. Invalid URI/CURIEs #684
Comments
Mid term solution: https://github.com/INCATools/semantic-sql/pull/77/files (this means these specific IRIs wont show up as invalid after the next OBO OAK release). Please bring this issue to @cmungall attention. |
See also #688 In general the provider of upstream sources should try and provide prefix mappings such that the number of uncontracted URIs is minimal I realize that this is harder than it should be for sql sources, due to the way semsql prefixes work. I apologize for this, and there will be a fix in place when we move away from rdftab. See INCATools/semantic-sql#41. Even with this fix in place, there will inevitably be cases where URIs cannot be contracted (again, the number now is artifically high). In these cases we need to decide on the correct behavior:
I tend towards 3. I think this was @joeflack4's instincts with #688. However, I would do it this way:
We would also need a PR to change the default behavior of the rdf adapter |
On the typing front, I approve of the |
For completeness, there is also this option: ignore triples with entities that cannot be contracted and print a warning during semsql. For programmatic usage its always going to be a bit annoying to have to distinguish between CURIE and "something else" based on some syntactic convention but I guess the "quote" solution is alright. Its not much different tbh the the Maybe not a decision for Chrismtas period |
RE this option:
I'm OK with that sort of thing so long as it is parameterized. It would suck to be have such things be ignored and no way to circumvent that.
I think when Chris says "quoted", he means "enclosed with brackets" as such. That's the only URI "quoting", so to speak, that I've seen coming back from |
(Possibly related: #499)
It seems that any/many adapter methods are throwing errors/warnings about invalid URI/CURIEs:
It seems possible the issue is with
phenio.db
itself, but @madanucd informs me this happens with the mondo adapter as well.The adapter does seem to work regardless, but it is possible that the resulting database adapter is missing information about everything it skipped.
Unsure how to best debug/approach this, thoughts?
The text was updated successfully, but these errors were encountered: