I would like to query a relational database if a set of items exists.
The data I am modeling are of the following form:
key1 = [ item1, item3, item5
This query has a well known name. Google "relational division", "set containment join", "set equality join".