SlideShare a Scribd company logo
WWW2012 Tutorial
Practical Cross-Dataset Queries on the Web of Data



       Instance Matching




              Robert Isele
         Freie Universität Berlin



                   WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Outline
   Motivation
   Link Discovery Tools
   Linking Workflow
   Silk Workbench




                            WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Motivation
   The Web of Data is a single global data space because data sources are
    connected by links
   Over 31 billion triples published as Linked Open Data and growing
   But:
    ●   Less than 500 million links
    ●   Most publishers only link to one other dataset




                                        WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Use Case 1: Publishing a New Dataset
   A data provider wants to publish a new dataset
   Wants to interlink with existing data sets from the same
    domain
   Example
    ●   A data publisher wants to publish a new dataset about movies
    ●   Interlink movies with LinkedMDB (Linked Movie Data Base)
    ●   Interlink directors with DBpedia (Wikipedia)




                                  WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Use Case 2: Linked Data Application
   Linked Data application integrates multiple data sources from
    the same domain
   In the decentralized Web of Data, many data sources use
    different URIs for the same real world object.
   Identifying these URI aliases, is a central problem in Linked
    Data.




                              WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Challenges for Link Discovery

   The Web of Data is heterogeneous
    ●   Many different vocabularies are in use
    ●   Different data formats
    ●   Many different ways to represent the same information




                 Distribution of the most widely used vocabularies
                                  WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Challenges for Link Discovery
   Large range of domains
    ●   256 data sources in the LOD cloud from a variety of domains
    ●   Linkage Rules are different in each domain
    ●   Writing a Linkage Rule is for each of these domains is usually not
        trivial




                        Distribution of triples by domain

                                   WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Challenges for Link Discovery
   Scalability
    ●   The current LOD cloud contains 277 datasets (August 2011)
    ●   30 billion triples in total
    ●   Infeasible to compare every possible entity pair




                                      WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Link Discovery Tools
   Tools enable data publishers to set links
   Most tools generate links based on user-defined linkage rules
   A linkage rule specifies the conditions data items must fulfill
    in order to be interlinked
   Popular Link Discover Tools:
    ●   Silk Link Discovery Framework
    ●   LIMES
    ●   Others: http://esw.w3.org/TaskForces/CommunityProjects/LinkingOpenData/EquivalenceMining




                                           WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Silk Link Discovery Framework
   Tool for discovering links between data items within different
    Linked Data sources.
   The Silk Link Specification Language (Silk-LSL) allows to
    express complex linkage rules
   Can be used to generate owl:sameAs links as well as other
    relationships
   Scalability and high performance through efficient data
    handling




                              WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Silk Versions
   Silk Single Machine
    ●   Generate links on a single machine
    ●   Local or remote data sets
   Silk MapReduce
    ●   Generate RDF links using a cluster of multiple machines
    ●   Based on Hadoop (Can be run on Amazon Elastic MapReduce)
   Silk Server
    ●   Provides an HTTP API for matching instances from an incoming
        stream of RDF data while keeping track of known entities
    ●   Can be used as an identity resolution component within
        applications that consume Linked Data from the Web
                                    WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Silk Workbench
   Silk Workbench is a web application which guides the user
    through the process of interlinking different data sources.
   Enables the user to manage different sets of data sources
    and linking tasks.
   Offers a graphical editor which enables the user to easily
    create and edit linkage rules
   Offers tools to evaluate the current linkage rule
   Includes experimental support for learning linkage rules




                              WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Linking Workflow




     WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Typical linkage rule
   Select the values to be compared
    ●   Example: Select labels and dates of a music record
   Normalize the values
    ●   Example: Transform dates to a common format
   Compare different values using similarity measures
    ●   Example: Compare labels and dates of a music record
   Aggregate the results of multiple comparisons
    ●   Example: Compute the average of the label and date similarity




                                  WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Value selectors
   Values in the graph around the entities can be used for comparison
   Property path languages have been developed for that purpose
   Examples (SPARQL 1.1 Property Paths Language):
    ●   Entity label: rdfs:label
    ●   Movie director name: dbpedia-owl:director/foaf:name
    ●   All movies of a director: ^dbpedia-owl:director/rdfs:label




                                   WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Data Transformations
   Different data sets may use different data formats
   Data sets may be noisy
⇒ Values must be normalized prior to comparison




                             WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Common Transformations
   Case normalization


   Structural transformation




   Extract values from URIs




                                WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Similarity Measures
   A similarity measure compares two values
   It returns a value between 0 (no similarity) and 1 (equality)
   Formally, a similarity measure is a function:
                               *          *
                        sim : Σ ×Σ →[0,1]

   Various similarity measures have been proposed
    ●   Character-based measures
    ●   Token-based measures
    ●   Domain-specific measures


                                   WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Character-Based Similarity Measures
   Usually rely on character edit operations
   Often used for catching typographical errors
   Most popular
    ●   Levenstein
    ●   Jaro/Jaro-Winkler




                              WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Levenshtein Distance
   The minimum number of edits needed to transform one
    string into the other
   Allowed edit operations:
    ●   insert a character into the string
    ●   delete a character from the string
    ●   replace one character with a different character
   Examples:
    ●   levensthein('Table', 'Cable') = 1 (1 Substitution)
    ●   levensthein('Table', 'able') = 1 (1 Deletion)



                                    WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Token-Based Similarity Measures
   Character-based measures work well for typographical
    errors, but fail when word arrangements differ
   Example: 'John Doe', 'Doe, John', 'Mr. John Doe'


   Token-based measures split the values into tokens before
    computing the similarity
   Example: tokenize('Mr. John Doe') = {'Mr.', 'John', 'Doe'}


   Most popular: Jaccard, Dice


                              WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Jaccard coefficient
   Intuition: Measure the fraction of the tokens which are
    shared by both strings
   Defined as the number of matching words divided by the
    total number of distinct words:

                                           ∣A∩B∣
                      Jaccard ( A , B)=
                                           ∣A∪B∣

   Example:
                                                                2
     Jaccard ({Thomas ,Sean , Connery },{Sir ,Sean , Connery })= =0.5
                                                                4




                                WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Domain-Specific Similarity Measures

   Geographic distance
   Date/Time
   Numbers




                          WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Aggregating Similarity Values
   In order to determine if two entities are duplicates it is
    usually not sufficient to compare a single property
   Aggregation Functions aggregate the similarity of multiple
    comparisons
   Example: Interlinking geographical datasets
    ●   Compare by label and geographic coordinates
    ●   Aggregate similarity values




                                  WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Popular Aggregation Functions
   Minimum
    ●   Choose the lowest value
    ●   ⇒ All values must exceed the threshold
   Maximum
    ●   Choose the highest value
    ●   ⇒ At least one value must exceed the threshold
   Weighted Average
    ●   Assign a weight to each comparison
    ●   Compute the weighted mean



                                   WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Putting it all together




         WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Example
   Interlink cities in different data sources:




                               WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Evaluating Linkage Rules
   Gold standard in the form of reference links
    ●   Positive links (definitive matches)
    ●   Negative links (definitive non-matches)
   Based on the reference links, we can determine the number
    of correct and incorrect matches
   We distinguish between 4 cases:

                                Positive Link               Negative Link

        match(a,b) = link       True positive               False positive

        match(a,b) = nonlink False negative                 True negative


                                   WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Evaluating Linkage Rules
   Recall: Ratio of correct links compared to all known links
                       ∣true positives∣
     recall =
              ∣true positives∣+ ∣ false positives∣

   Precision: Ratio of correct links compared to all found links
                         ∣true positives∣
    precision =
                ∣true positives∣+ ∣ false negatives∣

   F-measure: Harmonic mean of precision and recall
       2⋅precision⋅recall
    F=
        precision + recall


                                    WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Recall-Precision diagram
    A recall-precision diagram visualizes the trade-off between
     maximizing the recall and maximizing the precision




From: Creating probabilistic databases from duplicated data, Oktie Hassanzadeh · Renée J. Miller (VLDBJ)
                                                WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Outline
   Motivation
   Link Discovery Tools
   Linking Workflow
   Silk Workbench




                            WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Silk Worbench

   Silk Workbench offers a GUI for:
    ●   Manage different data sourcs and linkage rules
    ●   Creating linkage rules
    ●   Executing linkage rules
    ●   Evaluating linkage rules
    ●   Learning Linkage Rules




                                  WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Workspace
The Workspace holds a set of projects
consisting of:


   Data Sources
    ●   Holds all information that is needed
        by Silk to retrieve entities from it. 
    ●   Usually a file dump or a SPARQL
        endpoint
   Linking Tasks
    ●   Interlinks a type of entity between
        two data sources
    ●   e.g. Interlinkiing movies in DBpedia
        and LinkedMDB


                                           WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Linkage Rule Editor
   Allows to view and edit linkage rules
   Linkage Rules are shown as a tree
   Editing using drag & drop.




                                    WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Generating Links




     WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Managing Reference Links




         WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Conclusion
   In order to publish a new data set or to consume an existing
    dataset we need to generate links
   A linkage rule specifies the conditions which must hold true
    for two entities in order to be considered the same real-
    world object.
   The Silk Workbench provides a graphical user interface to
    create and edit linking tasks
   The hands on session will cover a simple example interlinking
    musical artists in freebase and DBpedia




                             WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
Q&A




WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data

More Related Content

What's hot (19)

PPT
LOD2 Webinar Series: CubeViz
LOD2 Creating Knowledge out of Interlinked Data
 
PDF
Jarrar: Data Schema Integration
Mustafa Jarrar
 
PDF
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)
Olaf Hartig
 
PDF
LOD2 Webinar Series Classification and Quality Analysis with DL Learner and ORE
LOD2 Creating Knowledge out of Interlinked Data
 
PDF
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...
Ana Roxin
 
PDF
Comparison of Relational Database and Object Oriented Database
Editor IJMTER
 
PPT
Understanding Linked Data via EAV Model based Structured Descriptions
Kingsley Uyi Idehen
 
PPTX
Jarrar: Architectural solutions in Data Integration
Mustafa Jarrar
 
PPTX
LOD2 Webinar Series: 3rd relase of the Stack
LOD2 Creating Knowledge out of Interlinked Data
 
PDF
Formal Models and Algorithms for XML Data Interoperability
Thomas Lee
 
PPTX
Ado.net
pacatarpit
 
PDF
The LINQ Between XML and Database
IRJET Journal
 
PDF
Ado.net
Vikas Trivedi
 
PDF
20160922 Materials Data Facility TMS Webinar
Ben Blaiszik
 
PDF
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...
Olaf Hartig
 
PDF
CLARIAH Toogdag 2018: A distributed network of digital heritage information
Enno Meijers
 
PPTX
Introduction to Linked Data Platform (LDP)
Hector Correa
 
Jarrar: Data Schema Integration
Mustafa Jarrar
 
Tutorial "Linked Data Query Processing" Part 1 "Introduction" (WWW 2013 Ed.)
Olaf Hartig
 
LOD2 Webinar Series Classification and Quality Analysis with DL Learner and ORE
LOD2 Creating Knowledge out of Interlinked Data
 
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...
Ana Roxin
 
Comparison of Relational Database and Object Oriented Database
Editor IJMTER
 
Understanding Linked Data via EAV Model based Structured Descriptions
Kingsley Uyi Idehen
 
Jarrar: Architectural solutions in Data Integration
Mustafa Jarrar
 
LOD2 Webinar Series: 3rd relase of the Stack
LOD2 Creating Knowledge out of Interlinked Data
 
Formal Models and Algorithms for XML Data Interoperability
Thomas Lee
 
Ado.net
pacatarpit
 
The LINQ Between XML and Database
IRJET Journal
 
Ado.net
Vikas Trivedi
 
20160922 Materials Data Facility TMS Webinar
Ben Blaiszik
 
Tutorial "Linked Data Query Processing" Part 4 "Execution Process" (WWW 2013 ...
Olaf Hartig
 
CLARIAH Toogdag 2018: A distributed network of digital heritage information
Enno Meijers
 
Introduction to Linked Data Platform (LDP)
Hector Correa
 

Similar to Instance Matching (20)

PDF
Link Sets And Why They Are Important (EDF2012)
Anja Jentzsch
 
PPTX
03 interlinking-dass
Diego Pessoa
 
PPTX
Nosql
Roxana Tadayon
 
PPTX
Nosql
ROXTAD71
 
PPTX
SSSW2015 Data Workflow Tutorial
SSSW
 
PDF
The web of interlinked data and knowledge stripped
Sören Auer
 
PPT
EPA OEI Linked Data Process
3 Round Stones
 
PDF
Linked Data for the Masses: The approach and the Software
IMC Technologies
 
PPTX
Creating Linked Data from Relational Databases
Nikolaos Konstantinou
 
PDF
OSLC & The Future of Interoperability
Koneksys
 
PPTX
Deploying Linked Open Data: Methodologies and Software Tools
Nikolaos Konstantinou
 
DOCX
Data documentation and retrieval using unity in a universe®
ANIL247048
 
PPTX
Introduction: Linked Data and the Semantic Web
Nikolaos Konstantinou
 
PPS
Vb.net session 05
Niit Care
 
PPT
Making the Conceptual Layer Real via HTTP based Linked Data
Kingsley Uyi Idehen
 
PPTX
Linked data 20171106
Synaptica, LLC
 
PPSX
The Web of data and web data commons
Jesse Wang
 
PPTX
RDF-Gen: Generating RDF from streaming and archival data
Giorgos Santipantakis
 
PDF
Nhibernate Part 1
guest075fec
 
Link Sets And Why They Are Important (EDF2012)
Anja Jentzsch
 
03 interlinking-dass
Diego Pessoa
 
Nosql
ROXTAD71
 
SSSW2015 Data Workflow Tutorial
SSSW
 
The web of interlinked data and knowledge stripped
Sören Auer
 
EPA OEI Linked Data Process
3 Round Stones
 
Linked Data for the Masses: The approach and the Software
IMC Technologies
 
Creating Linked Data from Relational Databases
Nikolaos Konstantinou
 
OSLC & The Future of Interoperability
Koneksys
 
Deploying Linked Open Data: Methodologies and Software Tools
Nikolaos Konstantinou
 
Data documentation and retrieval using unity in a universe®
ANIL247048
 
Introduction: Linked Data and the Semantic Web
Nikolaos Konstantinou
 
Vb.net session 05
Niit Care
 
Making the Conceptual Layer Real via HTTP based Linked Data
Kingsley Uyi Idehen
 
Linked data 20171106
Synaptica, LLC
 
The Web of data and web data commons
Jesse Wang
 
RDF-Gen: Generating RDF from streaming and archival data
Giorgos Santipantakis
 
Nhibernate Part 1
guest075fec
 
Ad

Recently uploaded (20)

PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
July Patch Tuesday
Ivanti
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
July Patch Tuesday
Ivanti
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Biography of Daniel Podor.pdf
Daniel Podor
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Ad

Instance Matching

  • 1. WWW2012 Tutorial Practical Cross-Dataset Queries on the Web of Data Instance Matching Robert Isele Freie Universität Berlin WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 2. Outline  Motivation  Link Discovery Tools  Linking Workflow  Silk Workbench WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 3. Motivation  The Web of Data is a single global data space because data sources are connected by links  Over 31 billion triples published as Linked Open Data and growing  But: ● Less than 500 million links ● Most publishers only link to one other dataset WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 4. Use Case 1: Publishing a New Dataset  A data provider wants to publish a new dataset  Wants to interlink with existing data sets from the same domain  Example ● A data publisher wants to publish a new dataset about movies ● Interlink movies with LinkedMDB (Linked Movie Data Base) ● Interlink directors with DBpedia (Wikipedia) WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 5. Use Case 2: Linked Data Application  Linked Data application integrates multiple data sources from the same domain  In the decentralized Web of Data, many data sources use different URIs for the same real world object.  Identifying these URI aliases, is a central problem in Linked Data. WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 6. Challenges for Link Discovery  The Web of Data is heterogeneous ● Many different vocabularies are in use ● Different data formats ● Many different ways to represent the same information Distribution of the most widely used vocabularies WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 7. Challenges for Link Discovery  Large range of domains ● 256 data sources in the LOD cloud from a variety of domains ● Linkage Rules are different in each domain ● Writing a Linkage Rule is for each of these domains is usually not trivial Distribution of triples by domain WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 8. Challenges for Link Discovery  Scalability ● The current LOD cloud contains 277 datasets (August 2011) ● 30 billion triples in total ● Infeasible to compare every possible entity pair WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 9. Link Discovery Tools  Tools enable data publishers to set links  Most tools generate links based on user-defined linkage rules  A linkage rule specifies the conditions data items must fulfill in order to be interlinked  Popular Link Discover Tools: ● Silk Link Discovery Framework ● LIMES ● Others: http://esw.w3.org/TaskForces/CommunityProjects/LinkingOpenData/EquivalenceMining WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 10. Silk Link Discovery Framework  Tool for discovering links between data items within different Linked Data sources.  The Silk Link Specification Language (Silk-LSL) allows to express complex linkage rules  Can be used to generate owl:sameAs links as well as other relationships  Scalability and high performance through efficient data handling WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 11. Silk Versions  Silk Single Machine ● Generate links on a single machine ● Local or remote data sets  Silk MapReduce ● Generate RDF links using a cluster of multiple machines ● Based on Hadoop (Can be run on Amazon Elastic MapReduce)  Silk Server ● Provides an HTTP API for matching instances from an incoming stream of RDF data while keeping track of known entities ● Can be used as an identity resolution component within applications that consume Linked Data from the Web WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 12. Silk Workbench  Silk Workbench is a web application which guides the user through the process of interlinking different data sources.  Enables the user to manage different sets of data sources and linking tasks.  Offers a graphical editor which enables the user to easily create and edit linkage rules  Offers tools to evaluate the current linkage rule  Includes experimental support for learning linkage rules WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 13. Linking Workflow WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 14. Typical linkage rule  Select the values to be compared ● Example: Select labels and dates of a music record  Normalize the values ● Example: Transform dates to a common format  Compare different values using similarity measures ● Example: Compare labels and dates of a music record  Aggregate the results of multiple comparisons ● Example: Compute the average of the label and date similarity WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 15. Value selectors  Values in the graph around the entities can be used for comparison  Property path languages have been developed for that purpose  Examples (SPARQL 1.1 Property Paths Language): ● Entity label: rdfs:label ● Movie director name: dbpedia-owl:director/foaf:name ● All movies of a director: ^dbpedia-owl:director/rdfs:label WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 16. Data Transformations  Different data sets may use different data formats  Data sets may be noisy ⇒ Values must be normalized prior to comparison WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 17. Common Transformations  Case normalization  Structural transformation  Extract values from URIs WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 18. Similarity Measures  A similarity measure compares two values  It returns a value between 0 (no similarity) and 1 (equality)  Formally, a similarity measure is a function: * * sim : Σ ×Σ →[0,1]  Various similarity measures have been proposed ● Character-based measures ● Token-based measures ● Domain-specific measures WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 19. Character-Based Similarity Measures  Usually rely on character edit operations  Often used for catching typographical errors  Most popular ● Levenstein ● Jaro/Jaro-Winkler WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 20. Levenshtein Distance  The minimum number of edits needed to transform one string into the other  Allowed edit operations: ● insert a character into the string ● delete a character from the string ● replace one character with a different character  Examples: ● levensthein('Table', 'Cable') = 1 (1 Substitution) ● levensthein('Table', 'able') = 1 (1 Deletion) WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 21. Token-Based Similarity Measures  Character-based measures work well for typographical errors, but fail when word arrangements differ  Example: 'John Doe', 'Doe, John', 'Mr. John Doe'  Token-based measures split the values into tokens before computing the similarity  Example: tokenize('Mr. John Doe') = {'Mr.', 'John', 'Doe'}  Most popular: Jaccard, Dice WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 22. Jaccard coefficient  Intuition: Measure the fraction of the tokens which are shared by both strings  Defined as the number of matching words divided by the total number of distinct words: ∣A∩B∣ Jaccard ( A , B)= ∣A∪B∣  Example: 2 Jaccard ({Thomas ,Sean , Connery },{Sir ,Sean , Connery })= =0.5 4 WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 23. Domain-Specific Similarity Measures  Geographic distance  Date/Time  Numbers WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 24. Aggregating Similarity Values  In order to determine if two entities are duplicates it is usually not sufficient to compare a single property  Aggregation Functions aggregate the similarity of multiple comparisons  Example: Interlinking geographical datasets ● Compare by label and geographic coordinates ● Aggregate similarity values WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 25. Popular Aggregation Functions  Minimum ● Choose the lowest value ● ⇒ All values must exceed the threshold  Maximum ● Choose the highest value ● ⇒ At least one value must exceed the threshold  Weighted Average ● Assign a weight to each comparison ● Compute the weighted mean WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 26. Putting it all together WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 27. Example  Interlink cities in different data sources: WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 28. Evaluating Linkage Rules  Gold standard in the form of reference links ● Positive links (definitive matches) ● Negative links (definitive non-matches)  Based on the reference links, we can determine the number of correct and incorrect matches  We distinguish between 4 cases: Positive Link Negative Link match(a,b) = link True positive False positive match(a,b) = nonlink False negative True negative WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 29. Evaluating Linkage Rules  Recall: Ratio of correct links compared to all known links ∣true positives∣ recall = ∣true positives∣+ ∣ false positives∣  Precision: Ratio of correct links compared to all found links ∣true positives∣ precision = ∣true positives∣+ ∣ false negatives∣  F-measure: Harmonic mean of precision and recall 2⋅precision⋅recall F= precision + recall WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 30. Recall-Precision diagram  A recall-precision diagram visualizes the trade-off between maximizing the recall and maximizing the precision From: Creating probabilistic databases from duplicated data, Oktie Hassanzadeh · Renée J. Miller (VLDBJ) WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 31. Outline  Motivation  Link Discovery Tools  Linking Workflow  Silk Workbench WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 32. Silk Worbench  Silk Workbench offers a GUI for: ● Manage different data sourcs and linkage rules ● Creating linkage rules ● Executing linkage rules ● Evaluating linkage rules ● Learning Linkage Rules WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 33. Workspace The Workspace holds a set of projects consisting of:  Data Sources ● Holds all information that is needed by Silk to retrieve entities from it.  ● Usually a file dump or a SPARQL endpoint  Linking Tasks ● Interlinks a type of entity between two data sources ● e.g. Interlinkiing movies in DBpedia and LinkedMDB WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 34. Linkage Rule Editor  Allows to view and edit linkage rules  Linkage Rules are shown as a tree  Editing using drag & drop. WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 35. Generating Links WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 36. Managing Reference Links WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 37. Conclusion  In order to publish a new data set or to consume an existing dataset we need to generate links  A linkage rule specifies the conditions which must hold true for two entities in order to be considered the same real- world object.  The Silk Workbench provides a graphical user interface to create and edit linking tasks  The hands on session will cover a simple example interlinking musical artists in freebase and DBpedia WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data
  • 38. Q&A WWW2012 Tutorial: Practical Cross-Dataset Queries on the Web of Data