query links in books and rents