Data Linking (Semantic Web)

Data linking is the task of finding resources in separate Linked Data datasets that describe the same thing, and stating each match as an RDF link.

Status
Published, version 1.0.1
Last reviewed
21 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Data Linking (Semantic Web) Between Published Datasets

Two publishers who describe the same medicine in RDF will usually give it different identifiers, and nothing in either dataset says that the two describe one product. Data linking is the work of discovering such pairs in bulk and writing each discovery down as a statement that points out of one dataset into the other, so that software can follow it. When a query combines prices or codes held by different organisations, the links decide which figure attaches to which model input.

Who uses the term

Ferrara, Nikolov and Scharffe proposed the name data linking in 2011 for the problem of finding equivalent resources on the web of linked data. They tied the need for it to the fourth linked data principle, which Berners-Lee wrote in 2006 as including links to other URIs so that more things can be discovered. The task is also called link discovery, the name used by Volz and colleagues for the Silk framework in 2009 and by the 2017 survey of link discovery frameworks by Nentwig and colleagues, where it covers relations other than equivalence as well. Heath and Bizer describe it as auto-generating RDF links with record linkage heuristics. The wiki's label follows Ferrara and colleagues, with link discovery and data interlinking as aliases, and the term comes from semantic web research rather than from health economics.

The link discovery problem

Nentwig and colleagues state the problem with two sets of resources and one chosen relation. The relation may be the sameAs property of the Web Ontology Language or a domain property such as a film's producer.

MS,T={(s,R,t)∣s∈S, t∈T, R(s,t)}M_{S,T} = \{ (s, R, t) \mid s \in S,\ t \in T,\ R(s,t) \}

where MS,TM_{S,T} is the mapping, the set of links found, SS is the set of source resources, TT is the set of target resources, RR is the relation the links assert, and R(s,t)R(s,t) means that the relation holds between resource ss and resource tt. A tool may add a similarity score between 0 and 1 to each link to express its confidence, and comparing every pair grows with the product of the two set sizes.

The Entity Resolution page treats link discovery as entity resolution across RDF knowledge bases, while Nentwig and colleagues separate the two on two grounds. Linked datasets are heterogeneous and densely interrelated and usually follow an ontology, so the work often includes matching classes before matching instances. Link discovery also seeks relations other than equivalence, as when Volz and colleagues linked films in DBpedia to their directors in a separate film database.

How a link specification works

Heath and Bizer distinguish two families of method. Key-based linking uses identifiers that both sources share, such as GTIN codes for products or ISBNs for books, which they advise publishers to expose as property values or inside their URIs. Similarity-based linking compares several properties, combines the scores and creates a link when the combined value passes a threshold, and its heuristics must tolerate the missing values common in web data.

Silk expresses these rules in a declarative link specification language. Its example links pairs scoring above 0.9 and sends pairs between 0.7 and 0.9 to a separate file for an expert to review. A limit on outgoing links can keep only the best candidate for each resource, and the output can record each link's confidence score and creation date.

Publishing and describing a link set

The links are themselves RDF data. The W3C note on the Vocabulary of Interlinked Datasets (VoID) defines a linkset as a set of triples whose subjects all lie in one dataset and whose objects all lie in another, often using sameAs but open to any property. VoID can name the two target datasets, the property used and the number of links, and a linkset may be published inside one of the datasets or on its own. The Health Economics Ontology (HEO), version 2.0.0 at healtheconomics.wiki/ontologies/heo, contains 602 triples that link its concepts to Wikidata items with the SKOS exactMatch property, a set that fits the VoID definition of a linkset, although the HEO files carry no VoID description of it.

Linking drug data

Drug data were an early test case. Volz and colleagues compared 3,134 drugs in DBpedia with 4,772 drugs in DrugBank by comparing drug labels, PubChem identifiers and molecular weights, which gave 1,202 links above the acceptance threshold and 245 more in the band set aside for checking. They added that the quality of the links had not yet been analysed in detail. The 2010 instance matching track of the Ontology Alignment Evaluation Initiative (OAEI) also included life science sources such as DrugBank and DailyMed.

Worked example linking a price list (illustrative)

All counts here are illustrative. A team building a cost-effectiveness analysis links a price list of 400 drug packs to a public drug dataset, so that each priced pack carries its active substance and strength.

1. Key-based links. 310 packs carry a product code, such as a GTIN, that the target dataset also records, and are linked on that key.

2. Similarity scores. The remaining 400 − 310 = 90 packs are scored on their pack descriptions. 55 score above 0.9 and are linked automatically, 20 fall between 0.7 and 0.9 and go to review, and 90 − 55 − 20 = 15 score below 0.7.

3. Review. A pharmacist confirms 16 of the 20 reviewed pairs.

C=Lk+La+LvnC = \frac{L_k + L_a + L_v}{n}

where CC is the share of packs linked, LkL_k is the number of key-based links, LaL_a is the number of links accepted automatically on similarity, LvL_v is the number confirmed at review and nn is the number of packs.

4. Coverage. The links number 310 + 55 + 16 = 381, so the share linked is 381 / 400 = 0.9525, about 95%, with 20 pairs reviewed by hand.

5. Audit. A check of 40 of the 55 automatic similarity links finds 2 wrong, which suggests 55 × 2 / 40 = 2.75, or about 3, wrong links in that group. Those packs would take their strength from another product, so the doubtful links and the 15 + 4 = 19 packs still unlinked are settled before any price enters the model.

Boundaries with record linkage and identity links

Record linkage in health research decides which records about one person in two health datasets belong together, and the wiki's dictionary entry Linked Data names its result. Data linking joins identifiers across published datasets and releases the links as data that others can reuse, although Heath and Bizer note that its techniques draw on record linkage as studied in databases. The sameAs statement it often produces is described on the Identity Link page, and the reason such links are needed is set out under the nonunique naming assumption. The sibling page Ontology Matching covers classes and properties, which link discovery tools may match as an optional step before linking instances.

Limits and common misreadings

A link records a judgement by whoever produced it. Nentwig and colleagues found that published evaluations of link discovery tools are hard to compare, since test cases and hardware differ and most OAEI instance matching tasks used small, artificially altered datasets. Volz and colleagues advise checking the accuracy and completeness of generated links before relying on them, which for model inputs belongs with other checks of data quality.

Links also need upkeep, and Heath and Bizer name the cost of creating and maintaining high quality links as one factor that third parties weigh before linking to a new dataset. A link leaves the content of both records unchanged, so a linked price may still differ in price year or pack definition from the item the model needs.

Sources

Frequently Asked Questions (6)

  • What is Data Linking?

    Data linking is the task of finding resources in separate Linked Data datasets that describe the same thing, and stating each match as an RDF link.

    Source: Ferrara et al. 2011

  • Who introduced the term data linking for the Semantic Web?

    Alfio Ferrara, Andriy Nikolov and François Scharffe proposed the term data linking in a 2011 paper in the International Journal on Semantic Web and Information Systems. They used it to name the problem of finding equivalent resources on the web of linked data. The paper tied the need for it to the fourth linked data principle, which asks published datasets to link to other datasets so that the web holds connected data rather than isolated islands. The task is also called link discovery, a name that covers links other than equivalence as well.

    Source: Ferrara et al. 2011

  • How does data linking in the Semantic Web differ from record linkage of patient records?

    Record linkage in health research joins records about the same person across health datasets. Data linking in the Semantic Web joins the web identifiers that different publishers use for one thing, such as a drug or a place, and publishes the result as RDF links that others can reuse. Heath and Bizer note that the two share methods, since linked data publishers generate links with record linkage heuristics based on shared keys or on similarity scores.

    Source: Heath and Bizer 2011

  • How does a data linking tool such as Silk decide whether to create a link?

    Silk, a data linking tool described by Volz and colleagues in 2009, reads a declarative link specification that names the properties to compare and the similarity measures to apply. The scores can be weighted and combined into one value for each candidate pair. In the published example, pairs scoring above 0.9 are linked and pairs between 0.7 and 0.9 are written to a separate file for an expert to review. A link limit can keep only the best candidate for each resource.

    Source: Volz et al. 2009

  • How are the links produced by data linking published and described?

    The links produced by data linking are RDF triples, and the W3C note on the VoID vocabulary calls a collection of them between two datasets a linkset. In a linkset all subjects lie in one dataset and all objects in the other. The predicate is often the OWL sameAs property, although any property may be used. VoID can state the two target datasets, the link predicate and the number of links, whether the linkset sits inside a larger dataset or stands alone.

    Source: Alexander et al. 2011

  • Why should the results of data linking be checked before they feed a health economic model?

    Each link from data linking is a judgement made by software or by its user, and a false match can attach the strength or price of one product to another. When Volz and colleagues compared 3,134 drugs in DBpedia with 4,772 in DrugBank, they reported that the quality of the links had not yet been analysed in detail. They advised checking the accuracy and completeness of generated links before relying on them, which for model inputs belongs with other data quality checks.

    Source: Volz et al. 2009

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 21 Nov 2026

Content version: 1.0.1

Canonical Identity

Term code
HS-HP-DH-160

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/data-linking-semantic-web