How to query again with query results?

You need your code to do this, it's nothing ES or KB can do for you.