select item_id from cr_items where name = lower(:word) and parent_id = :folder_id select instance_attributes from xowiki_form_pagei where item_id = :item_id and revision_id = :revision_id