ranking-agent / strider

A TRAPI-compliant component of ARAGORN that queries distributed KPs and assembles answers to user questions.
MIT License
3 stars 0 forks source link

Multiquery optimization #376

Open cbizon opened 2 years ago

cbizon commented 2 years ago

Right now, multiquery uses a shared cache, but that's not clearly a win because the cache is at the request/response level. That might work ok for the first hop, but rarely beyond that.

Another point worth considering: Sometimes we will have a rule like (Pinned)-[related to]-(?)-[p1]-(?). and a different rule like (Pinned)-[associated with]-(?)-[p2]-(?). In this case, associated with is a subclass of related to, so running the associated with query in principle adds no new information and can be dispensed with.