query database with recognized entities