query_database now allows us to do just that, er our /e/:qid behaves...somewhat (code's a bit ugly now)