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

New method: apply-chain-rules #365

Open
matentzn opened this issue Apr 9, 2023 · 4 comments
Open

New method: apply-chain-rules #365

matentzn opened this issue Apr 9, 2023 · 4 comments
Assignees

Comments

@matentzn
Copy link
Collaborator

matentzn commented Apr 9, 2023

Despite some overlap with boomer, I would like to have a function that basically implements https://mapping-commons.github.io/sssom/chaining_rules/ after all.

Basically, the method should work just like invert, but create new mappings by applying the chaining rules above - once. For example, if we have (:A)-[predicate_id]->(:B)-[predicate_id]->(:C), we should infer: (:A)-[predicate_id]->(:C).

Chris will be against this adding all these methods here, but they are needed for our vision of mapping commons.

@cmungall
Copy link
Collaborator

cmungall commented Apr 10, 2023 via email

@cthoyt
Copy link
Member

cthoyt commented May 12, 2023

I've implemented these functionalities in semra. I will be giving Nico a walkthrough next week.

@cmungall
Copy link
Collaborator

cmungall commented Sep 6, 2023

I'm OK with implementing in sssom-py. If it's not urgent then we could wait til whelk.rs is ready and avoid writing our own reasoner

@matentzn
Copy link
Collaborator Author

matentzn commented Sep 7, 2023

Ok, thanks. I would suggest not to call simple rule execution reasoning to avoid mistaking it for Tableau or CBR; I would suggest we keep the scope down to a few well defined rules: https://mapping-commons.github.io/sssom/chaining_rules/

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

No branches or pull requests

4 participants