1. A database apparatus storing a query-network comprising a set of nodes and a set of edges, said edges connecting pairs of said nodes wherein at least a subset of said nodes are each associated with at least one edge-defining query.