Enabling semantically richer queries over unstructured data