So, I want to store sets of key-value pairs in a database and then retrieve a combined set of the key-value pairs based on a series of sets. Each set might not be complete.