Fork me on GitHub
John Conti16:09:28

Would not recursion rely on having all recursive traversals be of the same key, and hence the same arity?


Thanks @U01L5R113AL I wasn’t sure if this was how it worked


I thought maybe there was some type of recursion based on the fragment specified


This makes sense though

John Conti20:09:09

Using a query, one can recur on multiple keys. The way this works is one defines a rule that picks the key to recur on:

[(ancestor ?child ?parent)
 (or [?child ?mother ?parent]
     [?child ?father ?parent])]

John Conti20:09:29

That is not a complete solution. But I cannot find my notes at the moment.