apply threshold on graph
extent query threshold
percent queries