2. The computer-implemented method of claim 1 wherein identifying the query as a semantic query comprises: determining that the query depends, for its application, on application of a 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.