the query form for searching sentences restyled