Patents
US 8,332,385 B2#26727910 Most CitedActiveUnited States (USPTO)Utility

Approximating query results by relations over types for error detection and optimization

4Forward Citations (#26727910 Global)
0.3/yrCitation Velocity (#26401737 Global)
1.17Citation PageRank (#33539525 Global)
3Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and system is provided for computing an approximation of the results of a query. The approximation represents a superset of all possible results, by computing a set of records of types (as opposed to a set of records of values, which is the normal result of a query). This is different from conventional systems, which typically infer types for each field individually. For each record of types, one may also keep track of equalities of fields to improve the precision of the approximation. The approximation can be used to detect erroneous parts of queries that always return an empty result, regardless of the contents of the data source. Furthermore, the same approximation is also useful in performing optimizations: first, by eliminating parts of procedure calls that are guaranteed to be irrelevant to the calling context, and second, by eliminating unnecessary type tests in the query.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for approximating any results returned by a query over a relational data source, the method comprising: receiving, at a computer system, a set of entity types, wherein an entity type in the set of entity types represents a superset of a set of values that is storable in that field; receiving, at the computer system, an entity type for each field in a schema, wherein the schema describes a relational data source to be searched; producing, at the computer system, at least one approximation of at least one result returned by a query, wherein the query includes calls

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗