structural query module