Uncovering mental structure through data-driven ontology discovery