3. The computer-implemented method of claim 2 wherein generating a table valued function comprises: generating the table valued function with a common table expression to represent the semantic rule.
3. The computer-implemented method of claim 2 wherein generating a table valued function comprises: generating the table valued function with a common table expression to represent the semantic rule. 4. The computer-implemented method of claim 3 and further comprising: processing the semantic query within the relational database by calling the table valued function.