Method and apparatus for optimizing the evaluation of semantic web queries
Abstract
A semantic query over an RDF database is received with RDF database statistics and access methods for evaluating triple patterns in the query. The semantic query is expressed as a parse tree containing triple patterns and logical relationships among the triple patterns. The parse tree and access methods create a data flow graph containing a plurality of triple pattern and access method pair nodes connected by a plurality of edges, and an optimal flow tree through the data flow graph is determined such that costs are minimized and all triple patterns in the semantic query are contained in the optimal flow tree. A structure independent execution tree defining a sequence of evaluation through the optimal flow tree is created and is transformed into a database structure dependent query plan. This is used to create an SQL query that is used to evaluate the semantic query over the RDF database.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for optimizing semantic web queries, the method comprising: receiving a semantic query over a database, the semantic query comprising a plurality of triple patterns; creating a data flow graph that captures inter-relationships resulting from sharing of at least one of common variables and constraints among the plurality of triple patterns; using the data flow graph and costs estimates for traversing all triple patterns in the semantic query to determine an order of optimization of the plurality of triple patterns and a query plan for executing the semantic query; and using the query p
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| CN 107,818,100 B | SQL statement execution method and device | 2019 | 0 |
| CN 107,818,100 A | A kind of SQL statement performs method and device | — | 1 |
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- "4store-scalable RDF storage," http://4store.org/http://4store.org/.
- Abadi et al., "Scalable semantic web data management using vertical partitioning," in VLDB, 2007, pp. 411-422.
- Bednarek et al., "Using Methods of Parallel Semi-structured Data Processing for Semantic Web", 2009 Third International Conference on Advances in Semantic Processing.
- Chen et al., "Mapping XML to a Wide Sparse Table," in ICDE, 2012, pp. 630-641.
- DBpedia dataset, "http://dbpedia.org.".