Database-based inference engine for RDFS/OWL constructs
First Claim
1. A method of inferencing semantic data in a relational database system, comprising:
- (a) creating a new partition in a semantic data table in the relational database system, creating an exchange table and a temporary table in the relational database system, wherein the exchange table has the same structure as the semantic data table;
(b) executing on the semantic data table one or more inference rules for a semantic data model;
(b1) wherein the inference rules are translated into queries and the executing of (b) comprises executing the queries on the semantic data table;
(c) adding into the temporary table any newly inferred semantic data generated by the execution of the inference rules;
(c1) wherein the adding of (c) comprises adding into the temporary table any newly inferred semantic data generated by the executing of the queries on the semantic data table(d) copying the inferred semantic data in the temporary table into the exchange table;
(e) building one or more indexes for the exchange table, wherein the indexes for the exchange table are same as indexes for the semantic data table; and
(f) exchanging, by using a processor, the indexed semantic data in the exchange table into the new partition in the semantic data table, in which the indexed semantic data has a format associated with the new partition in the semantic data table that is the same format as a format associated with the semantic data table.
1 Assignment
0 Petitions
Accused Products
Abstract
An un-indexed, partitioned temporary table and an exchange table are used in the inferencing of semantic data in a relational database system. The exchange table has the same structure as a semantic data table storing the semantic data. In the inferencing process, a new partition is created in the semantic data table. Inference rules are executed on the semantic data table, and any newly inferred semantic data generated is added to the temporary table. Once no new data is generated, the inferred semantic data is copied from the temporary table into the exchange table. Indexes that are the same as indexes for the semantic data table are built for the exchange table. The indexed data in the exchange table is then exchanged into the new partition in the semantic data table. By use of the un-indexed, partitioned temporary table, incremental maintenance of indexes is avoided, thus allowing for greater efficiency.
98 Citations
20 Claims
-
1. A method of inferencing semantic data in a relational database system, comprising:
-
(a) creating a new partition in a semantic data table in the relational database system, creating an exchange table and a temporary table in the relational database system, wherein the exchange table has the same structure as the semantic data table; (b) executing on the semantic data table one or more inference rules for a semantic data model; (b1) wherein the inference rules are translated into queries and the executing of (b) comprises executing the queries on the semantic data table; (c) adding into the temporary table any newly inferred semantic data generated by the execution of the inference rules; (c1) wherein the adding of (c) comprises adding into the temporary table any newly inferred semantic data generated by the executing of the queries on the semantic data table (d) copying the inferred semantic data in the temporary table into the exchange table; (e) building one or more indexes for the exchange table, wherein the indexes for the exchange table are same as indexes for the semantic data table; and (f) exchanging, by using a processor, the indexed semantic data in the exchange table into the new partition in the semantic data table, in which the indexed semantic data has a format associated with the new partition in the semantic data table that is the same format as a format associated with the semantic data table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory computer readable medium with program instructions for inferencing semantic data in a relational database system, comprising instructions for:
-
(a) creating a new partition in a semantic data table in the relational database system, creating an exchange table and a temporary in the relational database system, wherein the exchange table has the same structure as the semantic data table; (b) executing on the semantic data table one or more inference rules for a semantic data model; (b1) wherein the inference rules are translated into queries and the executing of (b) comprises executing the queries on the semantic data table; (c) adding into the temporary table any newly inferred semantic data generated by execution of the inference rules; (c1) wherein the adding of (c) comprises adding into the temporary table any newly inferred semantic data generated by the executing of the queries on the semantic data table (d) copying the inferred semantic data in the temporary table into the exchange table; (e) building one or more indexes for the exchange table, wherein the indexes for the exchange table are same as indexes for the semantic data table; and (f) exchanging the indexed semantic data in the exchange table into the new partition in the semantic data table, in which the indexed semantic data has a format associated with the new partition in the semantic data table that is the same format as a format associated with the semantic data table. - View Dependent Claims (20)
-
-
13. A relational database system for inferencing semantic data according to one or more inference rules for a semantic data model, comprising:
-
a persistent storage to store a semantic data table comprising semantic data for the semantic data model; and a storage media to store a temporary table and an exchange table, the exchange table having a same structure as the semantic data table, in which the inferencing comprises; creating a new partition in the semantic data table, executing the inference rules on the semantic data table, wherein the inference rules are translated into queries and the executing comprises executing the queries on the semantic data table; adding any newly inferred semantic data generated by the execution of the inference rules into the temporary table, wherein the adding comprises adding into the temporary table any newly inferred semantic data generated by the executing of the queries on the semantic data table copying the inferred semantic data in the temporary table into the exchange table, building one or more indexes for the exchange table, wherein the indexes for the exchange table are same as indexes for the semantic data table, and exchanging the indexed semantic data in the exchange table into the new partition in the semantic data table, in which the indexed semantic data has a format associated with the new partition in the semantic data table that is the same as a format associated with the semantic data table. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification