criteria for querying relevant jobs