monadic datalog and the expressive power of languages for web information extraction
Research on information extraction from Web pages (wrapping) has seen much activity in recent times (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 as a wrapping language (over ranked or unranked tree structures). Using previous work by Neven and Schwentick, we show that this simple language is equivalent to full 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 thus propose MSO as a yardstick for evaluating and comparing wrappers.Using the above result, we study the kernel fragment Elog - of the Elog wrapping language used in the Lixto system (a visual wrapper generator). The striking fact here is that Elog - exactly captures MSO, yet is easier to use. Indeed, programs in this language can be entirely visually specified. We also formally compare Elog to other wrapping languages proposed in the literature.
monadic datalog datalog expressiveness power language web information extraction research web page activation systems implementation formalism paper trees use order logic mso wrapper fragmentation visualization generation program html normalization regular tree languages web wrapping complexity query evaluation query container