tri_query
