move anno_query method to Triannon::Graph where it belongs