An apparatus and method use ontological relationships in a query language
and a computer database to improve database performance and utility. A
set of ontological relationships are stored in the database and new query
clauses are used to query the data in advantageous ways. Ontological
relationships are preferably stored in a tree structure. This tree
structure then can be used to reflect the ontological relationships of
data stored in the columns of a database.