Query to show which application made a certain request

In the Query log, it would be beneficial to show which application made a request.

That's not information we can get. Pi-hole only knows about the DNS query, nothing about the application that requested it.