How do you handle complex queries, especially in the legal world ?