Add query to facilitate XACML batching for books.