<BUG>Resource next = getPageBuilder(container, offset + limit, limit, orderBy, desc).build().addProperty(GP.pageOf, container).</BUG><CONTEXT>addProperty(RDF.type, GP.Page).addProperty(XHV.next, page);if (log.isDebugEnabled()) log.debug("Adding page metadata: {} xhv:previous {}", page, prev);page.addProperty(XHV.prev, prev);}<extra_id_0>addProperty(RDF.type, GP.Page).addProperty(XHV.prev, page);</CONTEXT>
TemplateCall nextCall = SPINFactory.asTemplateCall(pageCall.removeAll(GP.offset).addLiteral(GP.offset, offset + limit));Resource next = getPageBuilder(pageBuilder, nextCall).build().addProperty(GP.pageOf, absolutePath).