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

Write datalog programs #552

Open
wangk7 opened this issue Jan 16, 2017 · 2 comments
Open

Write datalog programs #552

wangk7 opened this issue Jan 16, 2017 · 2 comments

Comments

@wangk7
Copy link

wangk7 commented Jan 16, 2017

Hi,
I'm new raco user. Can I write datalog programs under raco?

I tried to write datalog programs and get logical plan by using Myria Demo Service. It worked for simple datalog queries, for example, "A(x,z) :- R(x,y), R(y,z)". But when I was trying "CC(x,$Min(z)) :- CC(x,z), Edges(x,z) " or "TC(x,z) :- TC(x,y), Edges(y,z)", there were some exceptions. It seems the same predicate can not be in both head and body? I'm wondering how should I write datalog programs under raco?

Thank you.

@senderista
Copy link
Contributor

@jingjingwang could you comment?

@jingjingwang
Copy link
Contributor

I'm afraid that I can't comment on the Datalog code path, I'm not sure if @billhowe or @shrjain has some insights on this issue? However once #545 is merged, you will be able to write something similar in MyriaL.

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

3 participants