use factor indicator function to incorporate query evidence.