Based on a specific query a classifier decides if a sentence is relevant to it or not.