li ne quary mining procedure