Algorithm Search⌘K

Data integration and cleaning

Problems

  • Entity resolution

    Find the records in one or more data sets that refer to the same real-world entity, and link or merge them. Exact methods compare all pairs; blocking and windows make it fast.

    O(n^2) worstcore
  • Schema matching

    Find the correspondences between the elements of two schemas that denote the same thing, as the first step of a mapping.

    core
  • Answering queries using views

    Rewrite a query over a schema into one that uses only a given set of views, either equivalently or as a maximally contained rewriting.

    advanced
  • Consistent query answering

    Return the answers to a query that hold in every repair of an inconsistent database, without choosing one repair.

    advanced
  • Data exchange problem

    Given a source instance and a schema mapping, build a target instance that satisfies the mapping and answer queries over it.

    advanced
  • Database repair

    Change a database that violates integrity constraints so that it satisfies them, by deletions, insertions or value updates that are minimal under a chosen measure of change.

    advanced
  • Functional dependency discovery

    Given one relation instance, list every minimal functional dependency X -> A that holds in it. The output can be exponential in the number of attributes.

    O(m n 2^m) worstadvanced
  • Truth discovery

    Find the true value of each object from sources that conflict, and estimate how reliable each source is at the same time, without labels. A vote is the baseline.

    O(k n) worstadvanced
  • Schema mapping composition

    Given mappings from A to B and from B to C, find one mapping from A to C with the same meaning; it may need second-order dependencies.

    research

Algorithms

  • Sorted neighborhood method

    Sort the records by a key and compare each record only with the w - 1 records before it. Several passes with different keys and a transitive closure give the duplicate clusters.

    O(p (n log n + w n)) worst · average · best1 languagescore
  • Bucket algorithm

    Rewrite a query using views: put in a bucket for each subgoal the views that can cover it, then test each combination of bucket entries for containment.

    O(a n (k m)^(2n) (n m)^(3n)) worst1 languagesadvanced
  • Inverse rules algorithm

    Turn each local-as-view definition into Datalog rules with Skolem terms that derive global facts from source facts, then evaluate the query and drop answers with Skolem terms.

    O(N^(r(b+1))) worst1 languagesadvanced
  • MiniCon algorithm

    Rewrite a conjunctive query using views: form minimal descriptions of the subgoals each view can cover, then combine sets of them that cover the query exactly once.

    O(a n k (m+1)^n (n k m+1)^n) worst1 languagesadvanced
  • R-Swoosh

    Resolve entities with black-box match and merge functions: merge each record with the first resolved record it matches and put the result back. Under the ICAR properties the output is exact.

    O(n^2) worst · average1 languagesadvanced
  • Similarity flooding

    Match two schema graphs by propagating initial similarities of nodes to their neighbors until a fixpoint, then filtering the pairs.

    O(s(v + e) + v log v) worst1 languagesadvanced
  • TANE

    Find all minimal functional dependencies of a relation by a levelwise search over attribute sets. Stripped partitions test each candidate, and candidate sets and keys prune the search.

    O((n + m^2.5) 2^m) worst1 languagesadvanced
  • TruthFinder

    Iterate between the trust of sources and the confidence of the facts they claim, with similar facts supporting each other and conflicting facts counting against each other.

    O(k n d) worst · average1 languagesadvanced
  • Core computation for data exchange

    Compute the core, the smallest universal solution: chase, then retract blocks of nulls. Polynomial in data complexity for s-t tgds, and for weakly acyclic target tgds with egds.

    O(m^(w+2)) worst1 languagesresearch
  • HoloClean probabilistic repair

    Repair data by compiling constraints, value statistics and external data into one probabilistic model, learning its weights on clean cells and inferring the most likely value of each noisy cell.

    O(n^2 a v q p + e n a v (a + q)) worst1 languagesresearch

Techniques

  • Blocking for entity resolution

    Group records by cheap keys and compare only pairs within the same block. Several keys raise recall, and pair completeness and reduction ratio measure the result.

    core
  • Collective entity resolution

    Resolve references jointly: the links between records, such as shared co-authors, add evidence, and each merge changes the evidence for the pairs that are left.

    advanced

Concepts

  • Global-as-view and local-as-view

    Two ways to relate sources to a mediated schema: define each global relation as a view of sources, or each source as a view of the global schema.

    core

Definitions

  • Schema mapping

    A specification, usually by tuple-generating dependencies, of how the data of a source schema relates to a target schema.

    core
  • Certain answers

    The tuples that are answers to a query in every possible database consistent with the data and the mapping.

    advanced
  • Conditional functional dependency

    A functional dependency that holds only on the tuples that match a pattern of constants and wildcards. It can also fix the value that a matching tuple must have.

    1 languagesadvanced
  • Denial constraint

    A constraint that forbids any choice of tuples that makes a conjunction of comparisons true. It generalizes functional dependencies and is used to detect errors.

    1 languagesadvanced
  • Universal solution

    A solution to a data exchange problem that maps homomorphically into every other solution; the chase computes one when it ends.

    advanced

Theorems

  • NP-completeness of rewriting queries using views

    Deciding whether a conjunctive query has an equivalent rewriting using conjunctive views is NP-complete, and a rewriting needs no more view atoms than the query has subgoals.

    advanced
  • Weak acyclicity and chase termination

    If the dependency graph of the tgds has no cycle through a special edge, each chase stops in polynomially many steps, for a fixed set of dependencies, in the size of the instance (data complexity).

    advanced

Models

  • Fellegi-Sunter model

    A probabilistic model of record linkage: score each pair by the likelihood ratio of its field agreements under match and non-match, and link, review or reject it by two thresholds.

    core