Indexes for Jumbled Pattern Matching in Strings, Trees, and Graphs