Thanks for the replys so far Let me make this more specific - the immediate goal is not query optimisation or federated search (the same query across multiple sources)  but query answering that relies on joins between two or more independent databases or sources