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

Whitelisting rules #6

Open
grav opened this issue Aug 8, 2013 · 0 comments
Open

Whitelisting rules #6

grav opened this issue Aug 8, 2013 · 0 comments

Comments

@grav
Copy link
Contributor

grav commented Aug 8, 2013

In http://www.learndatalogtoday.org/chapter/8 excercise 1, it would be nice to be able to use other rules. But it seems there's a whitelist that's prohibiting me in doing so:

Rules:
[[(friends ?p1 ?p2)
(associated-with ?p1 ?movie)
(associated-with ?p2 ?movie)]
[(associated-with ?person ?movie)
[?movie :movie/cast ?person]]
[(associated-with ?person ?movie)
[?movie :movie/director ?person]]]

Output:
Oh snap!
Non-whitelist symbol used in query/args: #{associated-with}. The symbol whitelist is #{sum sequels not= friends tutorial.fns/age .getMonth .getDate count < = > max >= <= movie-year min avg}

Would it be possible to avoid the whitelist when it comes to 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

1 participant