Adding links and subtitles for queries