EXPRESSING AND EXECUTING SEMANTIC QUERIES WITHIN A RELATIONAL DATABASE
First Claim
Patent Images
1. A computer-implemented method of generating a semantic query, comprising:
- receiving a query at a relational database;
identifying the query as a semantic query;
determining whether the semantic query can be directly expressed within the relational database;
if so, generating a table valued function representing the semantic query within the relational database; and
if not, providing the semantic query to a semantic processing engine for processing.
2 Assignments
0 Petitions
Accused Products
Abstract
Semantic queries are expressed and executed within a relational database. This can be done by defining semantic rules applied to execute the semantic queries using table valued functions and common table expressions, and then simply calling the defined table valued functions to execute the queries.
12 Citations
20 Claims
-
1. A computer-implemented method of generating a semantic query, comprising:
-
receiving a query at a relational database; identifying the query as a semantic query; determining whether the semantic query can be directly expressed within the relational database; if so, generating a table valued function representing the semantic query within the relational database; and if not, providing the semantic query to a semantic processing engine for processing. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-implemented method of processing a semantic query, comprising:
-
receiving a query at a relational database; identifying the query as a semantic query; determining whether the semantic query can be directly expressed within the relational database; if so; generating a table valued function with a common table expression representing the semantic query within the relational database; and processing the semantic query by performing temporary tabling within the relational database, using the common table expression, to generate bindings within the relational database, without materializing the bindings in a memory external to the relational database; and if not, providing the semantic query to a semantic processing engine for processing. - View Dependent Claims (16, 17)
-
-
18. A computer-implemented method of retrieving data from a relational database having a processing component and a relational data store, comprising:
-
receiving a semantic query that depends, for its execution, on application of at least one semantic rule; expressing the semantic query within the relational database, using the processing component, wherein expressing the semantic query further comprises generating a table valued function that defines a semantic rule to be called in executing the semantic query; executing the semantic query against the relational data store, using the processing component within the relational database, wherein executing the semantic query further comprises calling the table valued function; and returning database results, using the processing component, generated from execution of the semantic query. - View Dependent Claims (19, 20)
-
Specification