-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: support CURIES in config #60
Comments
When looking for crates to carry out the task, I first checked sophia and the only thing I found was about IRIs: https://docs.rs/sophia_iri/0.9.0/sophia_iri/index.html Unless there's a strong opinion, I'd go for the second option since it seems to be fitting the cause (even though very very new). |
Expand ont eh
Important: be consistent in the formatting of the URI, CURIES crate doesn't use |
Switch from |
I made some pretty decent progress on this feature and I have to admit that it looks easier in theory than in practice. This is the high-level flow of the PR so far: flowchart TD
return(Return expanded cURIs)
flow(Normal tripsu flow)
rules.yaml --> has_valid_curies_and_uris
has_valid_curies_and_uris --> |no| Error
has_valid_curies_and_uris --> |yes| return
return --> flow
The code for
The missing pieces and to dos are the following:
|
due to the lack of inference, tripsu configs can be very redundant.
To reduce this redundancy, we could support compact uris using something like this in the config file:
The text was updated successfully, but these errors were encountered: