Skip to main content
QUICK REVIEW

[Paper Review] Document Spanners for Extracting Incomplete Information: Expressiveness and Complexity

Francisco Maturana, Cristian Riveros|arXiv (Cornell University)|Jul 4, 2017
Data Quality and ManagementDecision Sciences15 references4 citations
TL;DR

This paper introduces document spanners enhanced with mappings to handle incomplete or optional information in semistructured data, extending regex formulas and extraction rules with declarative semantics. It establishes expressive power equivalence between the two formalisms, proves containment and satisfiability are PSPACE-complete, and shows query enumeration is tractable under certain conditions.

ABSTRACT

Rule-based information extraction has lately received a fair amount of attention from the database community, with several languages appearing in the last few years. Although information extraction systems are intended to deal with semistructured data, all language proposals introduced so far are designed to output relations, thus making them incapable of handling incomplete information. To remedy the situation, we propose to extend information extraction languages with the ability to use mappings, thus allowing us to work with documents which have missing or optional parts. Using this approach, we simplify the semantics of regex formulas and extraction rules, two previously defined methods for extracting information, extend them with the ability to handle incomplete data, and study how they compare in terms of expressive power. We also study computational properties of these languages, focusing on the query enumeration problem, as well as satisfiability and containment.

Motivation & Objective

  • Address the limitation of existing rule-based information extraction systems that require all variables to be assigned, making them unsuitable for documents with missing or optional fields.
  • Introduce a declarative semantics for regex-based and Datalog-like extraction rules to simplify and unify their interpretation.
  • Enable extraction of partial or incomplete information by allowing mappings to represent optional or missing data components.
  • Study the expressive power, satisfiability, and containment problems for the new formalism to better understand its theoretical foundations.
  • Analyze the computational complexity of query enumeration, a key task in information extraction systems handling potentially exponential outputs.

Proposed method

  • Extend traditional document spanners by introducing mappings—partial functions from variables to spans—to represent optional or missing data.
  • Define two formalisms: regex formulas with mappings and Datalog-like extraction rules with mappings, both with declarative semantics.
  • Use deterministic sequential variable automata (VA) to model the behavior of spanner queries, ensuring point-disjoint mappings and unique runs per document-mapping pair.
  • Prove that the two formalisms are expressively equivalent by constructing equivalent automata for each formalism.
  • Reduce the satisfiability and containment problems to model-checking problems over variable automata, showing PSPACE-completeness.
  • Demonstrate that query enumeration is tractable (in polynomial delay) when the spanner is expressed as a deterministic sequential VA with point-disjoint mappings.

Experimental results

Research questions

  • RQ1Can rule-based information extraction languages be extended to handle incomplete or optional data without sacrificing semantic clarity?
  • RQ2What is the expressive power of regex-based and Datalog-like spanner formalisms when enhanced with mappings for incomplete data?
  • RQ3How do satisfiability and containment problems behave in the new formalism, and what is their computational complexity?
  • RQ4Is query enumeration over the new spanner formalism tractable, and under what conditions?
  • RQ5Can the semantics of regex formulas and extraction rules be made fully declarative rather than procedural?

Key findings

  • The proposed formalism with mappings allows extracting partial or incomplete information from documents with missing or optional fields, overcoming a key limitation of prior systems.
  • Regex formulas with mappings and Datalog-like rules with mappings are expressively equivalent, meaning both can represent the same class of spanner queries.
  • The satisfiability and containment problems for the new formalism are PSPACE-complete, indicating high but decidable complexity.
  • Query enumeration over the new spanner formalism is tractable when the underlying automaton is deterministic and sequential with point-disjoint mappings, allowing polynomial delay enumeration.
  • The use of deterministic sequential variable automata ensures unique runs per document-mapping pair, enabling correct and efficient decision procedures.
  • The formalism supports a declarative semantics that avoids procedural interpretations based on parse trees or automata construction, improving clarity and correctness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.