Using tries for subset and superset queries - Bevc, Stas (Array, 2009)