1 / 48

The Cimple Project on Community Information Management

The Cimple Project on Community Information Management . AnHai Doan University of Wisconsin-Madison. The CIM Problem. Numerous online communities database researchers, movie fans, legal professionals, bioinformatics, enterprise intranets, tech support groups

ely
Download Presentation

The Cimple Project on Community Information Management

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. The Cimple Project on Community Information Management AnHai Doan University of Wisconsin-Madison

  2. The CIM Problem • Numerous online communities • database researchers, movie fans, legal professionals, bioinformatics, enterprise intranets, tech support groups • Each community = many data sources + many members • Database community • home pages, project pages, DBworld, DBLP, conference pages, ... • Movie fan community • review sites, movie home pages, theatre listings, ... • Legal profession community • law firm home pages

  3. The CIM Problem • Members often want to discovery, query, monitor information in the community • Database community • what is new in the past week in the database community? • any interesting connection between researchers X and Y? • find all citations of this paper in the past one week on the Web • what are current hot topics? who has moved where? • Legal profession community • which lawyers have moved where? • which law firms have taken on which cases?

  4. The CIM Problem • To address such needs, build data portals • Starting out topic-based, now structured data portals • DBLP, Citeseer, IMDB, GlobalSpec, etc. • Limitations of current solutions • mostly by hand, labor intensive, error prone • hard-to-port solutions • few services other than browsing and keyword search

  5. Keyword search SQL querying Question answering Browse Mining Alert/Monitor News summary Jim Gray Jim Gray Researcher Homepages Conference Pages Group Pages DBworld mailing list DBLP Web pages * * * * give-talk * * * SIGMOD-04 SIGMOD-04 * * * * * * * * Text documents Personalize system, provide feedback Cimple Project @ Wisconsin / Yahoo! Research Develop generic solutions to create structured data portals via extraction + integration + mass collaboration

  6. The Research Team • Faculty / Vice President • AnHai Doan • Raghu Ramakrishnan • Current students • Pedro DeRose • Warren Shen • Fei Chen • Yoonkyong Lee • Doug Burdick • Mayssam Sayyadian • Xiaoyong Chai • Ting Chen

  7. Prototype System: DBLife • Integrate data of the DB research community • 1164 data sources Crawled daily, 11000+ pages = 160+ MB / day

  8. Data Extraction

  9. Data Integration Raghu Ramakrishnan co-authors = A. Doan, Divesh Srivastava, ...

  10. “Proactive Re-optimization write write write Pedro Bizarro Shivnath Babu coauthor coauthor David DeWitt advise advise coauthor Jennifer Widom PC-member PC-Chair SIGMOD 2005 Resulting ER Graph

  11. David DeWitt David DeWitt David DeWitt SIGMOD 2005 Querying The ER Graph Query: “David DeWitt Jennifer Widom” coauthor 1. Jennifer Widom coauthor Jennifer Widom 2. PC-member PC-Chair Shivnath Babu coauthor 3. advise coauthor Jennifer Widom

  12. Provide Services • DBLife system

  13. Mass Collaboration: Example 1 Picture is removed if enough users vote “no”.

  14. Mass Collaboration Meets Jeff Naughton Jeffrey F. Naughton swears that this is David J. DeWitt

  15. Mass Collaboration: Example 2 Community Wikipedia backed up by a structured underlying database

  16. What We Have Done • Define the CIM problem / understand it a little bit • start to talk about it in the DB community [SIGMOD-06 tutorial, IEEE DEB-06, CIDR-07] • Build DBLife / helps clarify research issues • live at dblife.cs.wisc.edu • latest stuff at dblife-labs.cs.wisc.edu • Start some preliminary research • ICDE-07a, ICDE-07b, ICDE-07b

  17. What We Would Like to Do Next • Release DBLife • as a research / education toolpossible service to the DB community demo of CIM systems benchmark / challenge for data integration / extraction • Develop and release a generic Cimple platform • anyone can use it to build structured data portals • Build CimBase: a hosting service • anyone can specify a structured portal on CimBase • we will build and host it • Continue research / expand team / build alliance

  18. Research Challenges (1) • Information extraction • Data integration • Mass collaboration Keyword search SQL querying Question answering Browse Mining Alert/Monitor News summary Jim Gray Jim Gray Researcher Homepages Conference Pages Group Pages DBworld mailing list DBLP Web pages * * * * give-talk * * * SIGMOD-04 SIGMOD-04 * * * * * * * * Text documents Personalize system, provide feedback

  19. Research Challenges (2) • Exploiting extracted data • Handling uncertainty / provenance / explanation • Dealing with evolving data, versioning, temporal data Keyword search SQL querying Question answering Browse Mining Alert/Monitor News summary Jim Gray Jim Gray Researcher Homepages Conference Pages Group Pages DBworld mailing list DBLP Web pages * * * * give-talk * * * SIGMOD-04 SIGMOD-04 * * * * * * * * Text documents Personalize system, provide feedback

  20. Research Challenges (3) • What is the right architecture? • What is the right data model / storage? • How to build continuously running systems • How to build massively scalable hosting services? • How to build a generic CIM platform? Keyword search SQL querying Question answering Browse Mining Alert/Monitor News summary Jim Gray Jim Gray Researcher Homepages Conference Pages Group Pages DBworld mailing list DBLP Web pages * * * * give-talk * * * SIGMOD-04 SIGMOD-04 * * * * * * * * Text documents Personalize system, provide feedback

  21. Rest of the Talk • The CIM problem • The Cimple solution approach • What we have done / plan to do • Research challenges • information extraction • data integration (focus on entity matching) • mass collaboration • Broader perspectives

  22. DECLARATIVE IE Dr. R. Ramakrishnan This is a fun topic ... Declarative IE • Current IE research • develops learning- & rule-based solutions [SIGMOD-06 tutorial] • focuses largely on improving accuracy • Real-world IE applications • glue multiple such solutions together, using Perl • Serious problems • hard to develop, understand, debug, and optimize

  23. Example in DBLife Find conference name in raw text ############################################################################## Regular expressions to construct the pattern to extract conference names############################################################################## These are subordinate patternsmy $wordOrdinals="(?:first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth)";my $numberOrdinals="(?:\\d?(?:1st|2nd|3rd|1th|2th|3th|4th|5th|6th|7th|8th|9th|0th))";my $ordinals="(?:$wordOrdinals|$numberOrdinals)";my $confTypes="(?:Conference|Workshop|Symposium)";my $words="(?:[A-Z]\\w+\\s*)"; # A word starting with a capital letter and ending with 0 or more spacesmy $confDescriptors="(?:international\\s+|[A-Z]+\\s+)"; # .e.g "International Conference ...' or the conference name for workshops (e.g. "VLDB Workshop ...")my $connectors="(?:on|of)";my $abbreviations="(?:\\([A-Z]\\w\\w+[\\W\\s]*?(?:\\d\\d+)?\\))"; # Conference abbreviations like "(SIGMOD'06)"# The actual pattern we search for.  A typical conference name this pattern will find is# "3rd International Conference on Blah Blah Blah (ICBBB-05)"my $fullNamePattern="((?:$ordinals\\s+$words*|$confDescriptors)?$confTypes(?:\\s+$connectors\\s+.*?|\\s+)?$abbreviations?)(?:\\n|\\r|\\.|<)";############################## ################################# Given a <dbworldMessage>, look for the conference pattern##############################################################lookForPattern($dbworldMessage, $fullNamePattern);########################################################## In a given <file>, look for occurrences of <pattern># <pattern> is a regular expression#########################################################sub lookForPattern {    my ($file,$pattern) = @_;

  24. Example in DBLife (cont.) # Only look for conference names in the top 20 lines of the file    my $maxLines=20;    my $topOfFile=getTopOfFile($file,$maxLines);    # Look for the match in the top 20 lines - case insenstive, allow matches spanning multiple lines    if($topOfFile=~/(.*?)$pattern/is) {        my ($prefix,$name)=($1,$2);        # If it matches, do a sanity check and clean up the match        # Get the first letter        # Verify that the first letter is a capital letter or number        if(!($name=~/^\W*?[A-Z0-9]/)) { return (); }         # If there is an abbreviation, cut off whatever comes after that        if($name=~/^(.*?$abbreviations)/s) { $name=$1; }         # If the name is too long, it probably isn't a conference        if(scalar($name=~/[^\s]/g) > 100) { return (); }        # Get the first letter of the last word (need to this after chopping off parts of it due to abbreviation        my ($letter,$nonLetter)=("[A-Za-z]","[^A-Za-z]");        " $name"=~/$nonLetter($letter) $letter*$nonLetter*$/; # Need a space before $name to handle the first $nonLetter in the pattern if there is only one word in name        my $lastLetter=$1;        if(!($lastLetter=~/[A-Z]/)) { return (); } # Verify that the first letter of the last word is a capital letter        # Passed test, return a new crutch        return newCrutch(length($prefix),length($prefix)+length($name),$name,"Matched pattern in top $maxLines lines","conference name",getYear($name));    }    return ();}

  25. DECLARATIVE IE Dr. R. Ramakrishnan This is a fun topic ... Solution: Declarative, Compositional IE • Treat each solution as a “black box” • Glue black boxes using a Datalog-like language • author(y,d) :- docs(d), name(y,d), title(x,d), distance-line(x,y)<3 • name(y,d) :- docs(d), seeds(s), namepatterns(s,p), match(p,d,y) • title(x,d) :- docs(d), lines(x,n,d), allcaps(x), (n<5) seeds(s) Raghu, Ramakrishnan Divesh, Srivastava ... p = Raghu Ramakrishnan R. Ramakrishnan Dr. Ramakrishnan, etc.

  26. DECLARATIVE IE Dr. R. Ramakrishnan This is a fun topic ... IE Execution Plan PROJECT_[y,d] distance-line(x,y)<3 match(y,p,d) SELECT_[allcaps(x) and (n<5)] lines(x,n,d) namepatterns(p,s) docs(d) docs(d) seeds(s)

  27. DECLARATIVE IE Dr. R. Ramakrishnan This is a fun topic ... Sample Optimization: Push Down Selections PROJECT_[y,d] distance-line(x,y)<3 match(y,p,d) SELECT_[allcaps(x) and (n<5)] lines(x,n,d) namepatterns(p,s) docs(d) docs(d) seeds(s)

  28. DECLARATIVE IE Dr. R. Ramakrishnan This is a fun topic ... Sample Optimization: Order Operations PROJECT_[y,d] distance-line(x,y)<3 match(y,p,d) SELECT_[allcaps(x) and (n<5)] lines(x,n,d) namepatterns(p,s) docs(d) docs(d) seeds(s)

  29. DECLARATIVE IE Dr. R. Ramakrishnan This is a fun topic ... Sample Optimization: Efficient Large-Scale Pattern Matching PROJECT_[y,d] distance-line(x,y)<3 match(y,p,d) SELECT_[allcaps(x) and (n<5)] lines(x,n,d) namepatterns(p,s) docs(d) docs(d) seeds(s)

  30. ContactPattern  RegularExpression(Email.body,”can be reached at”) PersonPhone  Precedes ( Precedes (Person, ContactPattern, D), Phone, D) Related Project: Avatar @ IBM Almaden Person can be reached at PhoneNumber Person followed by ContactPattern followed by PhoneNumber Declarative Query Language

  31. DECLARATIVE IE Dr. R. Ramakrishnan This is a fun topic ... Information Extraction: Another Example DECLARATIVE IE Dr. R. Ramakrishnan This is a great topic ... DECLARATIVE IE Dr. R. Ramakrishnan More will follow soon ... time 0 time 1 time 2  How to efficiently extract information over text streams?

  32. Data Integration Research: Setting the Context • Past and current work • build the foundation: TSIMMIS, Information Manifold, UPenn, P2P, etc. • develop solutions for specific integration tasks:wrapping, schema matching, entity matching, adaptive QP, etc. • branching into many app. domains: bioinformatics, PIM (e.g., semex, iMemex), etc. • top-k, topX query processing • Our work in Cimple • compositional solutions for schema matching, entity matching, etc.[VLDB-05a, VLDBJ-06, ICDE-07a, Tech Report-07a] • best-effort data integration: e.g. keyword search + automatic schema matching + automatic entity matching over relational databases [ICDE-07b] • data integration for masses[Tech Report-07b]

  33. Sample Data Integration Challenge in Cimple:Matching Mentions of Entities Keyword search SQL querying Question answering Browse Mining Alert/Monitor News summary Jim Gray Jim Gray Researcher Homepages Conference Pages Group Pages DBworld mailing list DBLP Web pages * * * * give-talk * * * SIGMOD-04 SIGMOD-04 * * * * * * * * Text documents Personalize system, provide feedback

  34. Extremely Important Problem! • Appears in numerous real-world contexts • Plagues many applications that we have seen • Citeseer, Rexa, DBLP, InfoZoom, etc. Why so important? • Many services rely on correct mention matching • Incorrect matching propagates errors

  35. An Example Discover related organizations using occurrence analysis: “J. Han ... Centrum voor Wiskunde en Informatica” DBLife incorrectly matches this mention “J. Han” with “Jiawei Han”, but it actually refers to “Jianchao Han”.

  36. Classical Mention Matching • Applies just a single “matcher” • Focuses mainly on improving matcher accuracy Our key observation: • A single matcher often has limited utility

  37. Illustrating Example Only one Luis Gravano d1: Luis Gravano’s Homepage d2: Columbia DB Group Page d3: DBLP Luis Gravano, Kenneth Ross. Digital Libraries. SIGMOD 04 Luis Gravano, Jingren Zhou. Fuzzy Matching. VLDB 01 Luis Gravano, Jorge Sanz. Packet Routing. SPAA 91 L. Gravano, K. Ross. Text Databases. SIGMOD 03 L. Gravano, J. Sanz. Packet Routing. SPAA 91 Members L. Gravano K. Ross J. Zhou L. Gravano, J. Zhou. Text Retrieval. VLDB 04 d4: Chen Li’s Homepage Chen Li, Anthony Tung. Entity Matching. KDD 03 Chen Li, Chris Brown. Interfaces. HCI 99 C. Li. Machine Learning. AAAI 04 C. Li, A. Tung. Entity Matching. KDD 03 Two Chen Li-s What is the best way to match mentions here?

  38. A liberal matcher: good for matching Luis Gravano, bad for matching Chen Li s0 matcher: two mentions match if they share the same name. d1: Luis Gravano’s Homepage d2: Columbia DB Group Page d3: DBLP Luis Gravano, Kenneth Ross. Digital Libraries. SIGMOD 04 Luis Gravano, Jingren Zhou. Fuzzy Matching. VLDB 01 Luis Gravano, Jorge Sanz. Packet Routing. SPAA 91 L. Gravano, K. Ross. Text Databases. SIGMOD 03 L. Gravano, J. Sanz. Packet Routing. SPAA 91 Members L. Gravano K. Ross J. Zhou L. Gravano, J. Zhou. Text Retrieval. VLDB 04 d4: Chen Li’s Homepage Chen Li, Anthony Tung. Entity Matching. KDD 03 Chen Li, Chris Brown. Interfaces. HCI 99 C. Li. Machine Learning. AAAI 04 C. Li, A. Tung. Entity Matching. KDD 03

  39. A conservative matcher: good for matching Chen Li, bad for matching Luis Gravano s1 matcher: two mentions match if they share the same name and at least one co-author name. d1: Luis Gravano’s Homepage d2: Columbia DB Group Page d3: DBLP Luis Gravano, Kenneth Ross. Digital Libraries. SIGMOD 04 Luis Gravano, Jingren Zhou. Fuzzy Matching. VLDB 01 Luis Gravano, Jorge Sanz. Packet Routing. SPAA 91 L. Gravano, K. Ross. Text Databases. SIGMOD 03 L. Gravano, J. Sanz. Packet Routing. SPAA 91 Members L. Gravano K. Ross J. Zhou L. Gravano, J. Zhou. Text Retrieval. VLDB 04 d4: Chen Li’s Homepage Chen Li, Anthony Tung. Entity Matching. KDD 03 Chen Li, Chris Brown. Interfaces. HCI 99 C. Li. Machine Learning. AAAI 04 C. Li, A. Tung. Entity Matching. KDD 03

  40. d1 d2 Better solution: apply both matchers in a workflow d1: Luis Gravano’s Homepage d2: Columbia DB Group Page d3: DBLP Luis Gravano, Kenneth Ross. Digital Libraries. SIGMOD 04 Luis Gravano, Jingren Zhou. Fuzzy Matching. VLDB 01 Luis Gravano, Jorge Sanz. Packet Routing. SPAA 91 L. Gravano, K. Ross. Text Databases. SIGMOD 03 L. Gravano, J. Sanz. Packet Routing. SPAA 91 Members L. Gravano K. Ross J. Zhou L. Gravano, J. Zhou. Text Retrieval. VLDB 04 d4: Chen Li’s Homepage Chen Li, Anthony Tung. Entity Matching. KDD 03 Chen Li, Chris Brown. Interfaces. HCI 99 C. Li. Machine Learning. AAAI 04 C. Li, A. Tung. Entity Matching. KDD 03 s1 union s0 matcher: two mentions match if they share the same name. d3 s0 s0 d4 union s1 matcher: two mentions match if they share the same name and at least one co-author name.

  41. d1 d2 Key Challenges • How to compose matchers, to form a space of workflows? • How to estimate the accuracy of each workflow? • How to efficiently find one with high accuracy? s1 union d3 s0 s0 d4 union [See ICDE-07a]

  42. Mass Collaboration: The General Idea • Many applications have multiple developers / users • how to exploit feedback from all of them? • Variants of this is known as • collective development of system, mass collaboration, collective curation, Web 2.0 applications, social software, etc. • Has been applied to many applications • open-source software, bug detection, tech support group, Yahoo! Answers, Google Co-op, and many more • Studied in some academic contexts, e.g., ESP Game • Little has been done in extraction / integration contexts • except in industry, e.g., epinions.com

  43. Sample Mass Collaboration in DBLife

  44. Sample Mass Collaboration in DBLife IE W1 W2 Raw data Wn

  45. Key Challenges • What types of extraction / integration tasks are most amenable to mass collaboration? • e.g., see MOBS project at Illinois [WebDB-03, ICDE-05] • How to entice people to contribute? • What can they contribute? • What is the underlying data model? • How to handle the Naughton effect? • How to propagate user contributions? • How to undo? • How to reconcile multiple conflicting editions? • e.g., see ORCHESTRA project at Penn [Taylor & Ives, SIGMOD-06]

  46. Sample Research: Summary • Information extraction • how to do it in a declarative / compositional fashion? • how to apply database-like optimization techniques? • Data integration • how to do it incrementally (best effort, pay-as-you-go)? an example of a Data Space? • how to do it in a compositional fashion? • Human computation / mass collaboration • new! (Though industry has been doing it for years.) • how to do it for data management tasks?

  47. Conclusions • Community Information Management • increasingly crucial problem • The Cimple project • sample challenges: information extraction data integration human computation • extends the footprints of DB technologies to Web data • develops new DB technologies • DBLife prototype • research/education tool, community service, benchmark Search “cimple wisc” for project homepage

  48. Broader Perspectives[speculation mode] • Current Web: keyword search over text • Future Web • should have increasingly more structure • should have more ways to exploit structure • should be more “social” • This future Web should be great for our community • we are the “Structure King”  • if the Web remains text-centric  not as good for us • How to accelerate the coming of this future Web? • Cimple and many current projects can contribute • but as a community we need more efforts in this direction!

More Related