Detecting Task-Based Query Sessions Using Collaborative Knowledge