Query 4: attribute each document from a list of document to the most appropriate user