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

Incomplete predicate extension when using existential rules #61

Closed
larry-gonzalez opened this issue Oct 13, 2020 · 0 comments
Closed

Incomplete predicate extension when using existential rules #61

larry-gonzalez opened this issue Oct 13, 2020 · 0 comments
Labels

Comments

@larry-gonzalez
Copy link
Contributor

larry-gonzalez commented Oct 13, 2020

Let's consider the following program:

edb.conf:

EDB0_predname=p
EDB0_type=INMEMORY
EDB0_param0=.
EDB0_param1=p

p.csv:

a

rules.txt:

q(X,Y,Z) :- p(X)
q(X,Y,Y) :- p(X)

After materialization, the extension of q (in VLog syntax) should be something like

1	a	1_2_0	1_3_0
2	a	1_4_0	1_4_0

but, on commit 017d66d, VLog only produces

1	a	1_2_0	1_3_0

which is incomplete.


As a side note, if the rule set would had contained the same rules but in the inverse order, the extension of q would have been correct, namely

q(X,Y,Y) :- p(X)
q(X,Y,Z) :- p(X)

and

1	a	1_2_0	1_2_0
CerielJacobs added a commit that referenced this issue Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants