Task of checking query and view of query till showing a graph