The method for processing data in a relational database wherein ontology
data that specifies terms and relationships between pairs of said terms
expressed in an OWL document is stored in the database, database queries
that include a semantic matching operator are formed which identify the
ontology data and further specify a stated relationship between two input
terms, and the query is executed to invoke the semantic matching operator
to determine if the two input terms are related by the stated
relationship by consulting said ontology data.