Concept Architecture
Linked Data (Semantic Web) for Health Economics Data
Linked data is a way of publishing structured data on the web in which each thing described, such as a drug or a unit cost, has its own address. Looking up that address returns a description that software can read, and the description points to the addresses of further things, so software can follow links across datasets as a reader follows hyperlinks. Tim Berners-Lee set out the idea in a 2006 design note on the website of the World Wide Web Consortium (W3C), and it is the publishing practice that turns the graph model of the Resource Description Framework (RDF) into a web of data. Health economists meet it when code lists and evidence sources held by different organisations have to be joined without a shared database. Health research also uses the term linked data for patient records joined across datasets, a different meaning with its own entry.
Four expectations Berners-Lee set for publishers
Berners-Lee's note gives four steps that make data part of one web. Things are named with URIs, the names are HTTP URIs so that people and software can look them up, a lookup returns useful information written in the standards (RDF and the SPARQL query language), and that information includes links to other URIs so that more things can be discovered. He called these rules but described them as expectations of behaviour, since breaking one destroys nothing and only misses the chance for the data to be reused in ways nobody planned.
The W3C Government Linked Data Working Group later described linked data as a set of best practices for publishing and interlinking structured data for people and machines with RDF and SPARQL, and stressed that RDF and linked data are not synonyms. RDF supplies the subject, predicate and object statements, and linked data is the practice of publishing them at addresses that can be looked up and joined.
Berners-Lee argued that the value of data, as of a hypertext page, depends in part on what it links to. A published table of unit costs gains value when each row points to a definition of the resource it costs and to the source of the price.
Addresses that name things rather than pages
A web address in linked data is a name first. RDF 1.1 speaks of internationalised resource identifiers (IRIs), a generalisation of URIs that permits a wider range of characters, and states that IRIs have global scope, so two appearances of the same IRI denote the same resource. By social convention the owner of an IRI says what it refers to, and the RDF specification suggests doing so by making the IRI return a describing document when it is looked up.
This raises a problem that the W3C note Cool URIs for the Semantic Web takes up. A web page and the thing it describes are different, so an address that names a medicine should not also name a page about it, or software cannot tell whether a stated author belongs to the page or to the medicine. The note gives two solutions. A hash URI adds a fragment after a # sign, which is stripped off before the request is sent, so the full address can name a thing while the request fetches the document that describes it. A 303 URI makes the server answer with the HTTP status 303 See Other and send the client to a describing document, following a resolution of the W3C Technical Architecture Group. In the note's reading, a normal 200 response tells the client that the address names a web document.
Content negotiation lets one address serve people and software. A browser that asks for HTML receives a readable page, and a client that asks for an RDF format such as RDF/XML receives data. The Cool URIs note prefers hash URIs for small, stable vocabularies such as OWL ontologies, and allows a combined hash form or 303 URIs for large datasets that may grow.
Stability matters as much as form. The Cool URIs note asks publishers to keep an identifier unchanged for as long as possible, thinking ten or twenty years ahead. The Best Practices note adds that persistence depends on the owner's policy and commitment, not on the URI scheme, and calls the duty to keep published data where the publisher said it would be a social contract with users.
Ways of linking and what each link claims
Links between datasets are RDF statements whose object is an address held by someone else. The strength of the claim depends on the property used, and the wrong choice has logical consequences.
| Property | What it states | Illustrative health economic use |
|---|---|---|
| owl:sameAs | Two names denote the same individual, so every statement about one holds for the other | Two registries' identifiers for the same hospital trust |
| skos:exactMatch | Two concepts in different schemes can be used interchangeably across a wide range of retrieval applications, and the property is transitive | A vocabulary's QALY concept and a matching item in another vocabulary |
| skos:closeMatch | Two concepts are similar enough to be interchanged in some retrieval applications, and the property is not transitive | A national costing category and a similar international category whose coverage differs slightly |
The OWL 2 Primer explains that a sameAs statement lets a reasoner carry every fact about one name over to the other. The SKOS Reference warns that sameAs and the OWL equivalence properties are usually inappropriate for linking concepts in different concept schemes, because the formal consequences can be undesirable.
Machines reach linked data in several ways, and the Best Practices note names direct lookup of addresses, a web programming interface, a SPARQL endpoint and file download.
Five stars and open licences
In 2010 Berners-Lee added a five star scheme to the note, aimed mainly at government data. Linked Open Data is linked data released under an open licence that does not impede free reuse, and the note gives Creative Commons CC BY and the UK Open Government Licence as examples. Linked data need not be open, since much useful linked data is held internally. Data that claims to be Linked Open Data, however, earns no star without an open licence. The right-hand column applies each level to an illustrative national schedule of hospital unit costs.
| Stars | Requirement in the scheme | Illustrative unit cost schedule |
|---|---|---|
| 1 | On the web in any format, with an open licence | A scanned PDF table |
| 2 | Machine-readable structured data | A spreadsheet workbook |
| 3 | As 2, in a non-proprietary format | A CSV file |
| 4 | As 3, using W3C open standards (RDF and SPARQL) to identify things | Each cost item has its own address and an RDF description |
| 5 | As 4, linked to other people's data for context | Each item links to a shared definition of the costed resource and to the procedure code it prices |
The FAIR Guiding Principles, published in 2016, ask for globally unique and persistent identifiers, a "formal, accessible, shared, and broadly applicable language for knowledge representation" and qualified references to other data. The authors state that the principles do not suggest any specific technology, so linked data is one way of meeting them. They also allow authentication and authorisation where necessary, which matters for patient-level costing data that cannot be released openly.
How the Health Economics Ontology publishes linked data
The Health Economics Ontology (HEO), built from the concepts of HealthEconomics.wiki and published at healtheconomics.wiki/ontologies/heo, applies these practices. Version 2.0.0 of 8 November 2026 is released as OWL and Turtle files under a CC BY 4.0 licence. Each of its 4,009 concepts in use is named by an address of the form healtheconomics.wiki/concept/ followed by a short name, and the same address is the concept's page on the wiki. HEO's own terms sit in a separate namespace ending in a # sign, the hash pattern the Cool URIs note favours for vocabularies.
The fourth expectation is met through mappings to Wikidata. In version 2.0.0, 602 concepts carry an exactMatch link to a Wikidata item and none uses sameAs, which follows the SKOS advice for concepts in different schemes. The concept for the QALY, for example, links to Wikidata item Q614165, labelled quality-adjusted life year, so a dataset that tags its outcomes with Wikidata items can be matched to the wiki's definition.
Each concept page also embeds a description in JSON-LD, the W3C's JSON-based serialisation of linked data. On the QALY page this markup uses the concept address as the identifier of a defined term, links it to its broader concepts by their addresses, and gives the web page its own identifier ending in #webpage, which keeps the concept and the page apart. The page's link to Wikidata uses the schema.org sameAs property, which schema.org defines as the address of a reference page that indicates the item's identity, a looser claim than the OWL property of the same name. Version 2.0.0 moved the ontology and its own terms from an /ontology/ path to an /ontologies/ path, and left every concept address unchanged, and 1,192 retired concepts stay in the file marked as deprecated rather than deleted.
Worked example tracing a model input register (illustrative)
The register, counts and example.org addresses below are illustrative, while the HEO and Wikidata addresses are real. A team building a model for a cost-effectiveness analysis keeps a register of 40 input parameters and publishes it as linked data, so that reviewers in a health technology assessment can trace each input to its source.
1. Describe the model and one input as statements. The model and each input get their own addresses in the team's namespace, and the predicate names here are illustrative. One input is the unit cost of a general practice consultation.
| Subject | Predicate | Object |
|---|---|---|
| example.org/model-a | has outcome measure | healtheconomics.wiki/concept/qaly |
| example.org/model-a/input/gp-visit | is classified as | healtheconomics.wiki/concept/unit-cost |
| example.org/model-a/input/gp-visit | has value in GBP | 42 |
| example.org/model-a/input/gp-visit | has price year | 2024 |
| example.org/model-a/input/gp-visit | has source | example.org/costs/2024/gp-consultation |
2. Follow the links. Software reading the register looks up the QALY address, finds the JSON-LD on the concept page and reads the link to Wikidata item Q614165. Any other model that tags its outcome with that item, or with the HEO address, can then be found as using the same outcome concept.
3. Measure how traceable the register is. The team checks whether each input's source address still returns a description.
where is the share of inputs whose source can be looked up, is the number of inputs whose source address returns a description, and is the number of inputs in the register.
Of the 40 inputs, 32 name their source by a DOI or another HTTP address and 8 give a free-text citation only. A lookup run finds that 3 of the 32 addresses no longer return anything, so is 32 − 3 = 29 and is 29 / 40 = 0.725, or about 73%.
4. Interpret the result. The 40 − 29 = 11 untraceable inputs need checking by hand, made up of the 8 free-text citations and the 3 broken addresses. Under an open licence the register would earn four stars through its own addresses and RDF statements, and five through its links to HEO concept addresses, which lead on to Wikidata.
Linked data beside neighbouring Semantic Web ideas
RDF is the data model, SPARQL is the query language for RDF data, and the Web Ontology Language (OWL) and the Simple Knowledge Organization System (SKOS) supply vocabularies that linked data reuses. A knowledge graph can be built from the same statements without any of its names resolving on the web, and becomes linked data only when its names can be looked up and point to other data. The Semantic Web is the wider aim of a web of data that machines can use, and linked data is the publishing practice that connects it.
Limits and common misreadings
A link is a claim by whoever publishes it. Berners-Lee noted that a statement in someone else's data is theirs to assert and the reader's to trust or not, so a mapping between a national and an international costing category should be checked before costs are pooled on the strength of it. The opposite error is overstatement, where sameAs is used for things that are only similar and a reasoner then merges facts that belong to different things.
Shared addresses do not create shared meaning. Two cost schedules can link the same item to one unit cost concept while differing in price year or in what the cost includes, so linking identifies what is being compared without making the figures comparable. Links also break when publishers move data, which the Best Practices note treats as a breach of the social contract. Keeping links consistent in both directions takes coordination, because Berners-Lee's account of browsable data repeats each statement that joins two documents in both.
Using one address for both a concept and its page, as HEO does, relies on the embedded description to keep the two apart, since a client following the strict reading in the Cool URIs note takes a 200 response to mean that the address names a document. Linked data also says nothing about openness, and patient-level costing records stay behind access controls even when their code lists are published as linked data.
Sources
- Berners-Lee T. Linked Data. Design Issues, W3C. 27 July 2006, five star section added 2010. https://www.w3.org/DesignIssues/LinkedData.html
- Sauermann L, Cyganiak R, editors. Cool URIs for the Semantic Web. W3C Interest Group Note, 3 December 2008. https://www.w3.org/TR/cooluris/
- Hyland B, Atemezing G, Villazón-Terrazas B, editors. Best Practices for Publishing Linked Data. W3C Working Group Note, 9 January 2014. https://www.w3.org/TR/ld-bp/
- Cyganiak R, Wood D, Lanthaler M, editors. RDF 1.1 Concepts and Abstract Syntax. W3C Recommendation, 25 February 2014. https://www.w3.org/TR/rdf11-concepts/
- Kellogg G, Champin PA, Longley D, editors. JSON-LD 1.1. W3C Recommendation, 16 July 2020. https://www.w3.org/TR/json-ld11/
- Hitzler P, Krötzsch M, Parsia B, Patel-Schneider PF, Rudolph S, editors. OWL 2 Web Ontology Language Primer (Second Edition). W3C Recommendation, 11 December 2012. https://www.w3.org/TR/owl2-primer/
- Miles A, Bechhofer S, editors. SKOS Simple Knowledge Organization System Reference. W3C Recommendation, 18 August 2009. https://www.w3.org/TR/skos-reference/
- Schema.org. sameAs property. Schema.org version 30.1, 16 September 2026. https://schema.org/sameAs
- Wilkinson MD, Dumontier M, Aalbersberg IJ, et al. The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data. 2016;3:160018. https://doi.org/10.1038/sdata.2016.18
Related Concepts (6)
Frequently Asked Questions (6)
What is Linked Data in the Semantic Web?
Linked Data is a set of practices for publishing data on the web, naming things with HTTP URIs that return RDF descriptions and link to other data.
Source: Berners-Lee 2006
What are the four rules Tim Berners-Lee set out for publishing linked data?
Berners-Lee's 2006 design note asks publishers to name things with URIs and to make those names HTTP URIs, so that people and software can look them up. When someone looks up a name, the publisher should return useful information written in the standards, which the note gives as RDF and the SPARQL query language. That information should include links to other URIs, so that more things can be discovered. Berners-Lee called these rules but described them as expectations of behaviour, since breaking one destroys nothing and only misses the chance for the data to be reused in ways nobody planned.
Source: Berners-Lee 2006
How do hash URIs and 303 URIs keep a thing apart from its web page in linked data?
A web page and the thing it describes are different, so the W3C note Cool URIs for the Semantic Web says one address should not name both a medicine and a page about it. A hash URI adds a fragment after a # sign, which is stripped off before the request is sent, so the full address names the thing while the request fetches the document that describes it. A 303 URI makes the server answer with 303 See Other and send the client to a describing document. The note prefers hash URIs for small, stable vocabularies such as OWL ontologies, and allows a combined hash form or 303 URIs for large datasets that may grow.
Source: Sauermann & Cyganiak 2008
Why does linked data usually map concepts across vocabularies with the SKOS exactMatch property rather than the OWL sameAs property?
The OWL sameAs property states that two names denote the same individual, so a reasoner carries every fact about one name over to the other. That suits two registries' identifiers for the same hospital trust. The SKOS Reference warns that sameAs and the OWL equivalence properties are usually inappropriate for linking concepts in different concept schemes, because the formal consequences can be undesirable. The SKOS exactMatch property says instead that two concepts can be used interchangeably across a wide range of retrieval applications, and closeMatch covers concepts that are only similar. Using sameAs for things that are merely similar leads a reasoner to merge facts that belong to different things.
Source: Miles and Bechhofer 2009
How does the five star scheme for linked data rate a national schedule of hospital unit costs?
Berners-Lee added the five star scheme to his linked data note in 2010, aimed mainly at government data. A unit cost schedule earns one star as a scanned PDF table on the web under an open licence, two as a spreadsheet workbook and three as a CSV file in a non-proprietary format. It reaches four stars when each cost item has its own address and an RDF description. Five stars need links to other people's data, such as a shared definition of the costed resource and the procedure code it prices. Data that claims to be linked open data earns no star at all without an open licence.
Source: Berners-Lee 2006
How does linked data relate to the FAIR principles for health economic data?
The FAIR Guiding Principles, published in 2016, ask for globally unique and persistent identifiers, a formal and shared language for knowledge representation and qualified references to other data. Their authors state that the principles do not suggest any specific technology, so linked data is one way of meeting them rather than a requirement. The principles also allow authentication and authorisation where necessary. That matters for patient-level costing data that cannot be released openly, since its code lists can be published as linked data while the records themselves stay behind access controls.
Source: Wilkinson et al. 2016
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 21 Nov 2026
Content version: 1.0.2
Canonical Identity
- Term code
- HS-HP-DH-064
Stable URI · Machine-readable · Resolvable · CC BY 4.0
