A computer program product is provided that includes a storage medium having instructions executable by a computer to perform a method. The method calculates, using a parse tree obtained by parsing text, a dependency graph across contextual tokens created from the text. The method generates concept instance candidates and parent-child relationships based on pattern matching and transformation of the parse tree. The method groups concept instance candidates into concept candidates and arranges the concept candidates into a tree having tree nodes. The method provides an ontology based on the tree and text and formed as an output graph of nodes. The method provides a user interface for editing the ontology by selectively adding a new node to the output graph, removing an existing node, moving a node or sub-graph across a parent-child hierarchy in the output graph, creating a new relation across the nodes, and removing an existing relation edge.
展开▼