1. A method comprising: identifying a document structure instance that includes a plurality of structure components; selecting one structure component from the structure components; selecting by a processor, a pre-configured core ontology hierarchy associated with the selected structure component, the pre-configured core ontology hierarchy including a plurality of classes, and a class definition relationships; generating a document specific ontology hierarchy based on the selected pre-configured core ontology, wherein the document specific ontology includes a subset of the classes included in the pre-configured core ontology hierarchy; inserting into the document specific ontology instance identifiers associated with each respective structure component; and outputting the document specific ontology hierarchy.