Compressed Indexes for String Searching in Labeled Graphs