powered by
Consult a prolog database
consult(fname = system.file(file.path("pl", "family.pl"), package = "rolog"))
TRUE on success
TRUE
file name of database
once(), findall(), and query()/submit()/clear() for executing queries
once()
findall()
query()
submit()
clear()
consult(fname=system.file(file.path("pl", "family.pl"), package="rolog")) findall(call("ancestor", quote(pam), expression(X)))
Run the code above in your browser using DataLab