Semantic Web

The Semantic Web is an extension of the World Wide Web in which data carry well-defined, machine-readable meaning, so software can combine and reuse them.

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

Concept Architecture

Semantic Web for Health Economic Evidence

The Semantic Web is a web of data built on World Wide Web Consortium (W3C) standards for putting data, and the meaning of that data, on the Web in a form that software can process without a person reading each page. Facts are written as small statements about things named by web addresses, and shared vocabularies and ontologies say what those statements mean, so data held by different organisations can be merged, queried and reasoned over. Nothing in the standards is specific to health, yet health economic work depends on joining evidence that sits in many places, such as unit costs, resource use, utility values and the definitions behind them. HealthEconomics.wiki uses the same standards for its own vocabulary, which is published as a machine-readable ontology.

A web of data alongside the web of documents

Tim Berners-Lee set out the plan in a 1998 road map for a consistent logical web of data. It put aside the problem of training machines to behave like people and proposed languages that express information in a machine-processable form, with the Resource Description Framework (RDF) as the basic model of assertions.

The idea reached a wide audience in a 2001 Scientific American article by Berners-Lee, James Hendler and Ora Lassila. It opened with a health care scenario in which software agents arranged physical therapy for a patient, checking which providers were in her insurance plan before matching appointment times to the family's diaries. The authors called the Semantic Web an extension of the existing Web in which information is given well-defined meaning, so that computers and people can work in cooperation. They observed that XML lets authors add structure to a document but says nothing about what the structure means, and they placed meaning in RDF statements and in ontologies.

The W3C Semantic Web Activity described the Semantic Web as a common framework for sharing and reusing data across application, enterprise and community boundaries, based on RDF. Its Health Care and Life Sciences Interest Group expected the technologies to bridge biological and medical information across institutions and aid decision-making in clinical research. In December 2013 the Activity was subsumed into the wider W3C Data Activity, and its home page was frozen on 11 December 2013.

How the Semantic Web standards fit together

The W3C Semantic Web FAQ, maintained by Ivan Herman, puts named relations between resources at the centre. A Semantic Web link can join any two resources, with no current page as its starting point, and the link itself has a name, so a reader does not have to guess its role as with a hyperlink. The other standards are built around that idea, as the table shows. Its health economic readings are illustrative.

StandardRole in the Semantic WebIllustrative health economic reading
Resource Description Framework (RDF)Data model of subject, predicate and object triples built from IRIs and valuesA unit cost list states that an item has a stated cost
RDF SchemaVocabulary for classes, properties and their hierarchiesA practice nurse appointment is a kind of primary care contact
Simple Knowledge Organization System (SKOS)Thesauri, taxonomies and other controlled vocabularies as RDFA glossary of costing terms with broader and narrower links
Web Ontology Language (OWL)Logic-based ontologies that a reasoner can check and classifyAn economic evaluation with a QALY outcome is classified as a cost-utility analysis
SPARQLQuery language and protocol for RDF dataList every resource item that has no unit cost
Shapes Constraint Language (SHACL)Validation of RDF graphs against a set of conditionsEvery unit cost must carry a price year

The FAQ stresses that useful applications can be built without any ontology, and that the languages range in expressiveness and complexity, with RDF Schema at the simple end and OWL Full at the other. No single giant ontology is needed, since agreement on terms need only be local to the terms a particular exchange uses.

Names, triples and merging data from different sources

RDF 1.1 Concepts and Abstract Syntax, the W3C Recommendation that defines the data model, states that IRIs have global scope, so two appearances of the same IRI denote the same resource. It defines an RDF graph as a set of triples that can therefore be combined easily, so a triple made of the same IRIs and values in two sources appears once in the combined graph. The RDF 1.1 Primer names automatic merging of information from several sources as an overarching goal of RDF, and it shows how a sameAs statement from OWL records that IRIs in two datasets refer to the same thing.

Berners-Lee's 2006 Linked Data note sets four expectations for publishers, which come down to naming things with HTTP URIs that people can look up, returning useful information in the standard formats when they do, and linking to other URIs, and it treats such links as necessary for connecting the Semantic Web. The page on Linked Data (Semantic Web) covers the practice in detail. In health research the same words also describe patient records joined across datasets, which is the different task of record linkage.

Meaning, inference and the open world

Inference on the Semantic Web, in the FAQ's account, means generating new relationships from the data together with an ontology or a set of rules. Its example takes data stating that Flipper is a dolphin and an ontology stating that every dolphin is a mammal, from which software adds that Flipper is a mammal. An illustrative health economic analogue is a study record typed as a cost-utility analysis and an ontology stating that every cost-utility analysis is an economic evaluation, so a search for economic evaluations returns the record without anyone tagging it twice.

The FAQ adds that Semantic Web reasoning usually stays within a restricted subset of first-order logic, which limits the harm an inconsistency can do. The OWL 2 Primer explains that OWL follows the open-world assumption, so a fact absent from an ontology may simply be missing and possibly true, whereas a database usually treats an absent fact as false.

Uses in health economics and health technology assessment

The FAIR Guiding Principles for scientific data, published by Wilkinson and colleagues in 2016, put specific emphasis on enhancing the ability of machines to find and use data. Their first interoperability principle asks that data and metadata use a formal, accessible, shared and broadly applicable language for knowledge representation, and their glossary describes RDF as a framework for data and knowledge representation intended to be read and interpreted by machines. For the evidence behind a health technology assessment, such as real-world data from electronic health records or the parameter tables of a decision model, these principles point towards persistent names for each item and shared definitions for each term.

The Health Economics Ontology (HEO), release 2.0.0 of 8 November 2026 at healtheconomics.wiki/ontologies/heo, is issued as Turtle and RDF/XML files and is typed both as an OWL ontology and as a SKOS concept scheme. Each concept has a stable address made of healtheconomics.wiki/concept/ and its slug, and the 4,009 concepts in use sit beside 1,192 deprecated concepts kept so that their addresses never break. Quality rules sit in a separate SHACL shapes file, for example a rule that every concept has a preferred label, with no more than one in each language.

Worked example joining unit costs to trial resource use

All names, quantities and costs in this example are illustrative. An analyst costing a trial of a new nurse-led service values resource use with a published list of unit costs, a bottom-up costing approach in which each item used is counted and multiplied by its unit cost. Both sources are published as RDF, and the cost of each trial arm is

Ca=∑i=1nqa,i ciC_a = \sum_{i=1}^{n} q_{a,i} \, c_i

where CaC_a is the total cost of arm aa in GBP, qa,iq_{a,i} is the number of units of resource item ii used in arm aa, cic_i is the unit cost of item ii in GBP, and nn is the number of resource items.

1. Two graphs. The cost graph gives three items a label, a unit cost and a price year each, so it holds 3 × 3 = 9 triples. The unit costs are GBP 40 for a GP surgery consultation, GBP 12 for a practice nurse appointment and GBP 150 for a hospital outpatient attendance. The trial graph holds six usage records, one for each item in each of two arms of 100 patients, with three triples per record (arm, item and quantity), giving 6 × 3 = 18 triples. It also repeats the labels of the two items it names with the cost graph's own IRIs, so it holds 18 + 2 = 20 triples.

2. Merge. The two label triples are identical in both graphs, so the combined graph holds 9 + 20 − 2 = 27 triples.

3. Join. A SPARQL query that multiplies each quantity by the unit cost of the same item matches 4 of the 6 records. The trial graph names nurse appointments with a local IRI of its own, so those two records find no cost. The new service used 180 GP consultations and 20 outpatient attendances, and usual care used 240 and 45. For the new service, 180 × 40 = 7,200 and 20 × 150 = 3,000, a total of GBP 10,200. For usual care, 240 × 40 = 9,600 and 45 × 150 = 6,750, a total of GBP 16,350. The apparent saving is 16,350 − 10,200 = GBP 6,150 per 100 patients.

4. Link. One sameAs triple stating that the two nurse IRIs denote the same item brings the graph to 27 + 1 = 28 triples, and a reasoner that applies it, or a query written to follow it, now costs all six records. The new service used 260 nurse appointments, and 260 × 12 = 3,120, so it costs 10,200 + 3,120 = GBP 13,320. Usual care used 90, and 90 × 12 = 1,080, so it costs 16,350 + 1,080 = GBP 17,430. The saving is 17,430 − 13,320 = GBP 4,110 per 100 patients, or GBP 41.10 per patient.

5. Interpretation. Without the link the saving was overstated by 6,150 − 4,110 = GBP 2,040 per 100 patients, the 3,120 − 1,080 = 2,040 difference in nurse costs between the arms. The merge was mechanical, but the link that changed the answer came from someone who knew the two names meant the same item. A SHACL shape requiring every usage record to reach an item with a unit cost would have reported the two unmatched records first, which is a data quality check and not a reasoning step.

Semantic Web, linked data, knowledge graphs and artificial intelligence

The Semantic Web is the overall programme and its family of standards. Linked Data (Semantic Web) is the publishing practice that connects datasets, and an Ontology is one component, described in the 2001 article as a file that sets out in formal terms how terms relate. The W3C Data Activity page describes a shift towards graph data and knowledge graphs, names RDF as the W3C framework for graph data, and lists property graphs as a separate community beside RDF, the Semantic Web and Linked Data, so a Knowledge Graph need not be built in RDF.

The FAQ notes that parts of the Semantic Web rest on artificial intelligence research, such as knowledge representation and formal logic, while other areas, such as image recognition, are unrelated to it. Much of the work on artificial intelligence in health, which learns patterns from data, is a separate line of work. The FAQ presents shared vocabularies and ontologies as a means of interoperability between applications, which ties the Semantic Web to digital interoperability in health systems.

Limits and common misreadings

A frequent misreading treats the Semantic Web as a replacement for the existing Web. The FAQ describes an extension that can grow in islands of RDF and related ontologies, and names health care and the life sciences as an area that may adopt the technologies locally first. Semantic Web data also need not be public, since an application can run on an intranet behind a firewall, which matters for patient-level data.

Machine-readable meaning is not understanding. The 2001 article said that the computer does not truly understand the information, although it can manipulate the terms in ways useful to people, and it advised software agents to be sceptical of assertions until they had checked the source. A merged graph can join a wrong unit cost to a correct quantity as easily as two correct values, so price year and source still need recording.

The FAQ observes that the real difficulty in developing an ontology is understanding the problem and reaching agreement within a community, more than learning the languages. Names must also last, because every link that uses an address fails when the address changes, which is why HEO keeps its deprecated concepts.

Sources

Frequently Asked Questions (6)

  • What is the Semantic Web?

    The Semantic Web is an extension of the World Wide Web in which data carry well-defined, machine-readable meaning, so software can combine and reuse them.

    Source: Berners-Lee et al. 2001

  • How can the Semantic Web help join unit costs to trial resource use in a health economic evaluation?

    RDF 1.1 Concepts and Abstract Syntax gives IRIs global scope, so the same IRI in a unit cost list and in a trial dataset denotes the same resource item. An RDF graph is a set of triples, which means graphs from the two sources can be combined easily and a query can then multiply each recorded quantity by the unit cost of the same item. The join works only where both sources use the same IRI. A trial that names nurse appointments with a local IRI of its own leaves those records uncosted until a statement links the two names, so every usage record still needs checking for a unit cost.

    Source: Cyganiak et al. 2014

  • How does the Semantic Web differ from linked data?

    The Semantic Web is the overall effort to give data on the Web well-defined, machine-readable meaning, built on W3C standards such as RDF and OWL. Linked data is the publishing practice that connects datasets within it. Berners-Lee's 2006 note asks publishers to name things with HTTP URIs that people can look up, to return useful information in the standard formats when they do, and to link to other URIs, and it treats such links as necessary for connecting the Semantic Web. In health research the same words also describe patient records joined across datasets, which is the separate task of record linkage.

    Source: Berners-Lee 2006

  • Does the Semantic Web need a single shared ontology before data can be combined?

    The W3C Semantic Web FAQ states that useful applications can be built without any ontology at all. Where an ontology is used, the languages range in expressiveness from RDF Schema at the simple end to OWL Full at the other. No single giant ontology is needed, since agreement on terms need only be local to the terms a particular exchange uses, so a group exchanging unit costs needs shared meanings only for the resource items and prices it exchanges. The FAQ also observes that the real difficulty in developing an ontology is understanding the problem and reaching agreement within a community, more than learning the languages.

    Source: Herman 2009

  • Does the Semantic Web mean that software understands health economic data?

    Berners-Lee, Hendler and Lassila wrote in 2001 that the computer does not truly understand the information, although it can manipulate the terms in ways that are useful to people. Machine-readable meaning lets software merge records and draw inferences from an ontology, yet a merged graph can join a wrong unit cost to a correct quantity as easily as two correct values. The same article advised software agents to be sceptical of assertions until they had checked the source. Price years and sources therefore still need recording, and a link stating that two differently named items are the same still depends on someone who knows that they are.

    Source: Berners-Lee et al. 2001

  • How do the FAIR principles relate to the Semantic Web in health economics?

    The FAIR Guiding Principles, published by Wilkinson and colleagues in 2016, put specific emphasis on enhancing the ability of machines to find and use data. Their first interoperability principle asks that data and metadata use a formal, accessible, shared and broadly applicable language for knowledge representation, and their glossary describes RDF, the base data model of the Semantic Web, as a framework intended to be read and interpreted by machines. For the evidence behind a health technology assessment, such as real-world data or the parameter tables of a decision model, the principles point towards persistent names for each item and shared definitions for each term.

    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-065

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/semantic-web