Building the unstructured data warehouse