> Sure, Pilog works fine if you have something more complex, but you get
> quite far with (db), (aux) and (collect). As far as src and tgt goes
> if they are not unique you can do for instance:
> (collect 'src '+Test "D" "D")
> Then you get all objects with D as src, I think you need to come up
Correct, though in this case also just
(collect 'src '+Test "D")
'collect' with a single key argument will return a list of all hits
having that key. The list will have of course only zero or one elements
if the key is unique.
(collect 'src '+Test "from" "to")
will return a list of all hits between (and including) these keys.