Monadic Datalog and the Expressive Power of Languages for Web Information Extraction
Georg Gottlob, Christoph Koch

TL;DR
This paper studies monadic datalog over trees as a formal framework for web information extraction, showing its equivalence to monadic second order logic and proposing it as a standard for evaluating wrappers, with practical implications for visual wrapper design.
Contribution
It establishes the equivalence of monadic datalog over trees to MSO logic for web wrapping and analyzes the complexity and normal forms of these languages.
Findings
Monadic datalog over trees is equivalent to MSO in expressiveness.
Elog$^-$ captures MSO and is easier to use, enabling visual specification.
Complexity results for query evaluation and containment are provided.
Abstract
Research on information extraction from Web pages (wrapping) has seen much activity recently (particularly systems implementations), but little work has been done on formally studying the expressiveness of the formalisms proposed or on the theoretical foundations of wrapping. In this paper, we first study monadic datalog over trees as a wrapping language. We show that this simple language is equivalent to monadic second order logic (MSO) in its ability to specify wrappers. We believe that MSO has the right expressiveness required for Web information extraction and propose MSO as a yardstick for evaluating and comparing wrappers. Along the way, several other results on the complexity of query evaluation and query containment for monadic datalog over trees are established, and a simple normal form for this language is presented. Using the above results, we subsequently study the kernel…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Data Mining and Analysis · Natural Language Processing Techniques
