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

why order of atoms in body part of pattern affects results, best practices #67

Open
kliegr opened this issue Sep 20, 2021 · 0 comments
Open

Comments

@kliegr
Copy link

kliegr commented Sep 20, 2021

The same task with swapped atom patterns produces a vastly different result:

 ?b <molecularly_interacts_with> ?a & ?b <molecularly_interacts_with> <P12821> => ?a interacts_with <Q9BYF1>

results in an empty set after 2 seconds. When atoms in the body are swapped

 ?b <molecularly_interacts_with> <P12821> & ?b <molecularly_interacts_with> ?a &  => ?a interacts_with <Q9BYF1>

the result is 10000 rules after 12 mins.

(in both cases, "orderless" was disabled)

What is the recommended way of ordering atom patterns?

When the orderless option is enabled, the mining takes much longer. After 30 minutes, the progress is

  Action Amie rules mining, stage 2 of 4, steps: 8818 of 43157, progress: 20.0% (1.45 per sec ) -- processed rules, found closed rules: 0,

task_order.zip

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

1 participant