question(who,person). question(is,bool).
p.query('[questionmap]')
p.query('question(who,X)')
>>> l = list(p.query('question(who,X)'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python36-32\lib\site-packages\pyswip\prolog.py", line 1
27, in __call__
"Returned: '", str(term), "'."]))
pyswip.prolog.PrologError: Caused by: 'question(who,X)'. Returned: 'error(existe
nce_error(procedure, /(question, 2)), context(/(pyrun, 2), _436))'.
>>>
--
You received this message because you are subscribed to the Google Groups "pyswip" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyswip+un...@googlegroups.com.
To post to this group, send email to pys...@googlegroups.com.
Visit this group at https://groups.google.com/group/pyswip.
For more options, visit https://groups.google.com/d/optout.