forked from JohnPool/CSharpProlog
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
The answer set for this query var solution = prolog.GetAllSolutions(null, query: "person(P), loc(P,bedroom)."); is:
Solution 1
P (atom) = adam
Solution 2
P (atom) = clara
Solution 3
P (namedvar) = P
Given the content of the database, there should only be two solutions. Why is "P" included and how can I avoid it? Do I need to check for the type (namedvar) or phrase my queries differently?
jsakamoto
Metadata
Metadata
Assignees
Labels
No labels