The document describes using a wavelet tree data structure to enable fast similarity searches of massive graph databases. A Weisfeiler-Lehman procedure is used to represent graphs as bags-of-words. The wavelet tree indexes these bags-of-words and allows semi-conjunctive queries to find graphs sharing a minimum number of words with a query graph in sublinear time. Experiments on 25 million molecular graphs showed the approach significantly outperformed inverted indexes in search time and memory usage.