1. The method for processing data stored in a relational database comprising, in combination, the steps of: storing ontology data that specifies terms and relationships between pairs of said terms, forming a database query that includes a semantic matching operator that identifies said ontology data and a further specifies a stated relationship between two input terms, and executing said query to invoke said semantic matching operator to determine if said two input terms are related by the stated relationship by consulting said ontology data.