Pierre Grenon | 22 Feb 2011 21:52
Picon

Setting inference depth

Hello,

apologies if this is documented somewhere and has escaped my
attention, I'm wondering how to set inference depth when querying, in
particular using command line. I find myself a bit frustrated by depth
cutoff, if I understand what that is correctly, when backward chaining
and would be willing to wait a bit longer in exchange of a few extra
results..

many thanks in advance,
pierre
Hans Chalupsky | 25 Feb 2011 22:48
Picon
Favicon

Re: Setting inference depth

You can set the maximum inference depth via the :maximum-depth option to "ask"
or "retrieve".  For example,

(retrieve all (needs-lots-of-rules ?x ?y)
              :maximum-depth 120)

The default depth setting is 25.  And yes, it looks like this option is
undocumented, sorry.  We'll add that to the documentation for "ask" and
"retrieve" for the next release.

Hans

>>>>> Pierre Grenon <pierregrenon <at> gmail.com> writes:

> Hello,
> apologies if this is documented somewhere and has escaped my
> attention, I'm wondering how to set inference depth when querying, in
> particular using command line. I find myself a bit frustrated by depth
> cutoff, if I understand what that is correctly, when backward chaining
> and would be willing to wait a bit longer in exchange of a few extra
> results..

> many thanks in advance,
> pierre
> _______________________________________________
> powerloom-forum mailing list
> powerloom-forum <at> isi.edu
> http://mailman.isi.edu/mailman/listinfo/powerloom-forum

Gmane