Abstract
This paper introduces ExDB (Extraction Database), a system designed to transform the unstructured text of the World Wide Web into a structured, queryable probabilistic database. By combining unsupervised information extraction (IE) with probabilistic query processing, ExDB enables users to execute SQL-like queries over millions of web pages, retrieving ranked tables of facts rather than simple document links.
Introduction
Traditional search engines operate on a "keyword-in, documents-out" model. For complex information needs—such as finding a list of "scientists born before 1900 who invented a communications device"—users must manually aggregate data from numerous links. ExDB addresses this by automating the extraction and structuring of web data. The primary challenges involve the lack of a formal web schema and the inherent imprecision of extraction algorithms. Unlike previous "closed-world" IE systems, ExDB employs an "open-world" approach, treating the web itself as the schema to accommodate the constant emergence of new topics and relationships.
The ExDB Framework
The ExDB system treats the web as a massive, probabilistic relational database. The architecture follows a pipeline from raw web text to a structured data model capable of supporting complex queries.
Methods of Extraction and Modeling
- Unsupervised Extraction: The system utilizes TextRunner, an "Open IE" system that crawls the web to extract triples in the form of
(Object1, Relation, Object2). - The Web Data Model: Extracted data is organized into binary predicates (e.g., an
inventedtable) and unary tables representing "is-a" relationships (e.g.,scientist(Tesla)), the latter extracted via the KnowItAll system. - Managing Imprecision: Every extracted tuple is assigned a probability $p$. When joining tables, the system calculates the resulting probability as the product of individual tuple probabilities.
Probabilistic Data Representation
Because information extraction is inherently noisy, the data model explicitly accounts for uncertainty. This allows the system to rank results based on their likelihood of being correct.
To handle complex projections (e.g., "List scientists who invented anything"), ExDB uses a "Panel of Experts" heuristic. Instead of summing probabilities for every possible invention—which would introduce significant noise—it selects the top 5 most probable supporting facts to calculate the final score.
Evaluation and Key Results
The authors evaluated a prototype built on a 90-million-page web corpus, containing 102 million unique objects and 338 million extracted facts.
- Query Performance: Complex queries involving joins across the entire corpus typically took approximately 30 seconds. Optimization using join statistics further reduced some runtimes to 22 seconds.
- Quality vs. Search Engines: In head-to-head comparisons, ExDB provided clean, structured lists of relevant entities. For example, a query for "scientists who invented something" yielded a relevant table of figures like Tesla and Galileo, whereas standard search engines required manual synthesis of information from various articles.
Insights and Limitations
ExDB demonstrates that the web can serve as its own schema, with every unique string acting as a potential table name. The system also utilizes "extraction lineage" to point back to source web pages, providing transparency for its factual claims.
However, several technical challenges remain:
- Arity Constraints: The prototype was largely limited to binary predicates; extracting n-ary relationships (e.g., "X won award Y in year Z") is more complex.
- Object Synonymy: The system had limited capabilities for "reference reconciliation" (e.g., recognizing that "Einstein" and "A. Einstein" are the same entity).
- Scalability: Calculating exact probabilities for large-scale disjunctions is computationally expensive, necessitating the use of approximations like the Panel of Experts.
Summary updated