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: 41 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for optimizing semantic web queries, the method comprising: receiving a semantic web query over a database, the semantic web query comprising a plurality of triple patterns; determining an optimal flow tree for a data flow graph through a parse tree for the semantic web query; creating a query plan in SPARQL for the semantic web query using the parse tree and the optimal flow tree, the query plan in SPARQL comprising an execution tree for the semantic web query; translating the query plan in SPARQL to an SQL query plan by: transforming the execution tree into an equivalent entity-orie
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (41)
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."