An information retrieval language for legal studies