1 / 25

Harvesting Relational Tables from Lists on the Web

Harvesting Relational Tables from Lists on the Web. Hazem Elmeleegy Jayant Madhavan Alon Halevy Presented By- Kapil Patil. INTRODUCTION. The World Wide Web is a large, but yet under-utilized source of structured data.

stew
Download Presentation

Harvesting Relational Tables from Lists on the Web

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Harvesting Relational Tables from Lists on the Web Hazem Elmeleegy Jayant Madhavan Alon Halevy Presented By- Kapil Patil

  2. INTRODUCTION • The World Wide Web is a large, but yet under-utilized source of structured data. • A large number of web pages contain data structured in the form of “lists”. • If many such lists can be further split into multi-column tables, they can be used in more semantically meaningful tasks. • However, harvesting relational tables from such lists is a challenging task.

  3. CHALLENGES • Lists are manually generated and hence need not have well defined templates. • In HTML lists there is no clear notion of columns or cells as in tables. • Delimiters are very inconsistent, and hence cannot be relied upon to split each line into the correct fields. • Moreover, information might be missing on some lines and hence not all lines can be split into the same number of fields.

  4. Example

  5. Observations • First, a period is used both to separate the serial number from the cartoon name, and to terminate abbreviations (e.g., the production company “Warner Bros.”). • Second, while the delimiter between the production company and year is typically a single slash (“/”), when abbreviations are used, the delimiter sequence is a period and a slash (“./”). • Third, the slash also appears in the name of one of the cartoons (“Duck Dodgers in the 24 1/2th Century”). • Finally, for cartoon “6. GertieThe Dinosaur”, the slash delimiter is absent (along with the production year).

  6. LISTEXTRACT • We propose a novel technique for extracting tables from lists called LISTEXTRACT. • Given an input list, LISTEXTRACT searches for the best possible table that the list can be segmented into. • The technique is designed to be completely domain-independent and it operates in a fully unsupervised manner.

  7. Consider a list L of n lines, where the ith line li consists of mi words (wi1, wi2, . . . , wimi ). • Our goal is to extract a table T that contains n rows and some number of columns, say k. • We refer to each line in the list (that becomes a row in the table) as a record and each cell value as a field. • We use the term field candidate to refer to a sequence of words that is being considered as a potential field.

  8. Phase I-Splitting • Each line in the input list is split into a multi-field record. • The splitting is performed independently hence the obtained records do not necessarily have the same number of fields.

  9. Field Quality Score • We use scoring functions to decide where to split individual records. • We use a Field Quality Score, FQ(f), to measure the quality of an individual field candidate f. • We use three sources of information: 1) Type score(Sts) 2) Language Model Score(Slms) 3)Table Corpus Support Score FQ(f) = ats×Sts(f)+alms×Slms(f)+atcs×Stcs(f)

  10. SplitLine Algorithm

  11. Observations • Line 6 is split correctly into a record of three fields as it is missing the year information. • However, lines 4, 15 and 17 (highlighted) were incorrectly split. • The cartoon’s name in line 17 had two very common substrings (“Popeye the Sailor” and “Sindbad the Sailor”), which lead the splitting algorithm to assign high scores to them, and thus treat each of them as a separate field.

  12. Phase II-Alignment • The second phase in ListExtract is alignment. The independently split records from the first phase are put together into an initial table and aligned. • Records with too many fields are re-merged and re-split using the BoundedSplitLine Algorithm to make sure that they fit into the output table. • Records with too few fields are expanded by inserting fields with a null value using AlignShortRecord Algorithm.

  13. Fieldtofield consistency score • The field-to-field consistency score, F2FC(f1, f2), measures the similarity between a pair of fields or of field candidates f1 and f2. • In particular, the F2FC has four components: 1) type consistency Stc, 2) table corpus consistency 3) Stcc, syntax consistency Ssc, 4) and delimiter consistency Sdc. • The F2FC is a linear combination of these factors. F2FC(f1, f2) = atc × Stc(f1, f2) + atcc Stcc(f1, f2) + asc ×Ssc(f1, f2) + adc × Sdc(f1, f2)

  14. CreateTable Algorithm

  15. Observations • Number of columns in the output table is set at four (the most common number of fields across all records). • Since record 17 has more than four fields, it is merged and re-split to force it to have no more than four fields. • The production year of record 4, and the serial number and production year for record 15 were placed in their correct columns • The split in 17 is inaccurate, again because the common sub-string “Sindbad the Sailor” is recognized as a separate field candidate.

  16. Phase III- Refinement • We can detect incorrectly split fields by identifying those that are poorly aligned with their columns in TI. • We call such fields inconsistent, and we detect them using their F2FC scores when compared to other fields in the same column. • Hence detected streaks, i.e., sequence of fields in a single record, are then merged together and re-split.

  17. Correcting inconsistent fields • Re-Merge:- All fields within detected streak are merged. • Re-Split:-The contents in the merged field are re-split using the BoundedSplitLine algorithm. • Re-Align:-Alignment is achieved using the AlignShortRecord algorithm

  18. Observations • All inconsistent fields are correctly detected by virtue of their low consistency scores with the other fields in their columns. • The corresponding streaks are merged and re-split. • This results in the correction of most of the fields. • Except 17 because of the high popularity of the substring “Popeye the Sailor”, which is a good match for the cartoon name column.

  19. Experimental Study & Conclusion • An experimental study was conducted using both real web lists and lists derived from tables on the Web. • The experiments demonstrated the ability of our technique to extract tables with high accuracy. • In addition, when applied on100,000 lists crawled from the Web. • The analysis have led us to believe that there are likely to be tens of millions of useful and query-able relational tables that can be extractable from lists on the Web.

  20. Thank You

More Related