RDF Schema

RDF Schema (RDFS) is the W3C data-modelling vocabulary for RDF, declaring classes, properties, their hierarchies and the domain and range of properties.

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

Concept Architecture

RDF Schema for Health Economic Vocabularies

RDF Schema, usually shortened to RDFS, is the part of the W3C RDF standards that lets a data publisher say what kinds of thing a dataset describes and what its relationships connect. A team carrying out data extraction for a systematic review could use it to state that every cost-utility analysis is an economic evaluation, or that whatever a study reports as an outcome is an outcome measure, and software can then add the statements that follow from the data. Its expressive power is deliberately small, yet its terms supply the labels, hierarchies and property declarations used across the ontology files of HealthEconomics.wiki, including the Health Economics Ontology (HEO). The main surprise for new users is that RDFS draws conclusions from data but never rejects data, so a schema written in it does not work as a data check.

A vocabulary for describing other vocabularies

The RDF Schema 1.1 Recommendation, edited by Dan Brickley and R.V. Guha and published on 25 February 2014, describes RDFS as a semantic extension of RDF that is itself written in RDF. A schema is therefore just more triples, stored and exchanged in the same files as the data it describes. Its terms sit in a namespace conventionally shortened to rdfs.

The specification groups resources into classes, whose members are called instances. A class is distinct from the set of its instances, so two classes with exactly the same members in one review extract can still be different classes.

TermWhat a triple using it statesHealth economic reading (illustrative)
rdf:typeA resource is an instance of a classRecord 12 is a cost-utility analysis
rdfs:subClassOfEvery instance of one class is an instance of anotherEvery cost-utility analysis is an economic evaluation
rdfs:subPropertyOfEvery pair linked by one property is also linked by anotherReporting QALYs is one way of reporting an outcome
rdfs:domainEvery subject of the property is an instance of a classWhatever reports QALYs is a cost-utility analysis
rdfs:rangeEvery object of the property is an instance of a classWhatever is reported as an outcome is an outcome measure
rdfs:labelA human-readable nameQuality-adjusted life year, tagged as English
rdfs:commentA human-readable descriptionA scope note for an outcome class
rdfs:seeAlso and rdfs:isDefinedByWhere more information, or the defining vocabulary, can be foundThe ontology that defines a concept

The specification states that the subclass and subproperty relations are both transitive.

Properties described by the classes they connect

RDFS reverses a habit of object-oriented programming. The specification explains that instead of defining a class by the attributes its instances may have, RDFS describes properties in terms of the classes they apply to, through domain and range. A new property whose domain is an existing class can therefore be added by anyone without redefining that class, which the specification links to the web principle that anyone may extend the description of existing resources.

A property may have more than one domain or range, and its subjects or objects then belong to every stated class, not to any one of them.

How an RDFS reasoner adds statements

The formal meaning of RDFS is fixed by the RDF 1.1 Semantics Recommendation, edited by Patrick Hayes and Peter Patel-Schneider, and the RDF Schema document says that the semantics document should be taken as correct where the two disagree. It states the meaning of a domain declaration as a condition that every interpretation must meet.

⟨p,C⟩∈IEXT(domain)∧⟨u,v⟩∈IEXT(p)⇒u∈ICEXT(C)\langle p, C \rangle \in \mathrm{IEXT}(\mathrm{domain}) \wedge \langle u, v \rangle \in \mathrm{IEXT}(p) \Rightarrow u \in \mathrm{ICEXT}(C)

where pp is a property, CC is a class, uu and vv are a subject and an object linked by pp, IEXT\mathrm{IEXT} gives the set of pairs that a property links, domain\mathrm{domain} is the RDFS domain property and ICEXT\mathrm{ICEXT} gives the class extension, the set of instances of a class. The condition for range is the same with range in place of domain and vv in place of uu.

A reasoner can apply the informative entailment patterns in the same document, numbered rdfs1 to rdfs13, as rules that add triples until nothing new appears. Rule rdfs2 types the subject of a property from its domain and rdfs3 types the object from its range. Rule rdfs7 copies a link up to its super-property and rdfs9 copies class membership up to the superclass, while rdfs5 and rdfs11 chain subproperty and subclass links. The semantics document shows that, applied to a slightly generalised form of RDF and together with the axiomatic triples and two datatype rules, these rules are complete for RDFS entailment from a consistent graph, and the closure built towards a given conclusion is finite and computed in polynomial time.

Entailment is defined over every interpretation that satisfies a graph, so adding triples never withdraws an earlier conclusion, and every semantic extension must keep the conclusions of simple entailment. Many conclusions are trivial, since even the empty graph RDFS-entails that every IRI denotes a resource.

Worked example with a review extraction vocabulary

All identifiers in this example are hypothetical and illustrative. A review team has extracted three records on a new treatment and publishes a small schema with them in its own namespace, shortened to ex.

Triple (illustrative)Kind
ex:CostUtilityAnalysis rdfs:subClassOf ex:EconomicEvaluation .Schema
ex:EconomicEvaluation rdfs:subClassOf ex:Study .Schema
ex:reportsQALYs rdfs:subPropertyOf ex:reportsOutcome .Schema
ex:reportsQALYs rdfs:domain ex:CostUtilityAnalysis .Schema
ex:reportsOutcome rdfs:range ex:OutcomeMeasure .Schema
ex:record1 ex:reportsQALYs ex:outcome1 .Data
ex:record2 ex:reportsOutcome ex:outcome2 .Data
ex:record3 rdf:type ex:CostUtilityAnalysis .Data

1. Count what is asserted. The graph holds 5 schema triples and 3 data triples, 8 in all. A query for records typed as economic evaluations finds none, because no record is stated to be one.

2. Chain the hierarchy. Rule rdfs11 joins the two subclass triples, so every cost-utility analysis is also a study. That adds 1 triple.

3. Apply the property rules to record 1. Rule rdfs7 adds that record 1 reports outcome 1 as an outcome, and rule rdfs2 uses the domain of reportsQALYs to type record 1 as a cost-utility analysis. That adds 2 triples.

4. Climb the class hierarchy. Rule rdfs9 makes record 1 and record 3, now both cost-utility analyses, into economic evaluations and into studies. That adds 2 × 2 = 4 triples.

5. Apply the range. Rule rdfs3 types outcome 1 and outcome 2 as outcome measures. That adds 2 triples.

6. Total. The closure adds 1 + 2 + 4 + 2 = 9 triples to the 8 asserted, giving 8 + 9 = 17, leaving aside the axiomatic triples and trivial ones, such as those saying a term is a resource, a class or a property or is a subclass or subproperty of itself. The query for economic evaluations now returns record 1 and record 3. Record 2 stays unclassified, because reportsOutcome has no domain.

7. Add a careless domain. A second contributor now states that the domain of reportsOutcome is EconomicEvaluation, although record 2 is a clinical trial with no economic analysis. Rule rdfs2 types record 2 as an economic evaluation and rdfs9 as a study, so the query returns 3 records instead of 2. No error is reported, because nothing in RDFS can say that a trial is not an economic evaluation.

8. Interpretation. The schema saved hand-typing for record 1 and then silently miscounted once one schema statement was too broad. A review or evidence map that relies on inferred classes therefore needs to report its schema and the reasoning applied, and to check inferred counts against the records themselves.

Domain and range infer but do not validate

The most common misreading treats domain and range as constraints, in the way a database column type would work. The RDF Schema specification says the vocabulary provides a way to describe such information but does not say whether or how an application should use it. Its own examples are a data checking tool looking for errors, an editor suggesting values and a reasoner inferring new information, and the formal semantics defines only the inferences. A reasoner never reports that the subject of a property was of the wrong class.

RDFS can say little that makes a graph inconsistent. It has no way to state that two classes are disjoint, which is why step 7 produced no clash. The semantics document notes that datatypes still give RDFS some new ways to be unsatisfiable, for example a property whose domain is the boolean datatype used with a subject already typed as an integer. The schema specification adds that domain and range give no direct way to state restrictions local to one class, such as a rule that QALYs reported by a cost-utility analysis must come from a named value set, and points to richer languages such as OWL for those.

For a health economics dataset the practical consequence is a division of labour. A rule that each model input record carries a source and a price year belongs in a validation step, which the W3C Shapes Constraint Language (SHACL) performs by testing RDF graphs against a set of conditions. The SHACL Recommendation states that it uses the RDF and RDFS vocabularies without requiring full RDFS inferencing, and it follows chains of subclass triples when deciding the types of a node, so the class hierarchy written in RDFS shapes which records a check applies to.

RDFS in the HealthEconomics.wiki ontologies

The wiki's own ontology files show RDFS used for documentation and property hierarchy more than for class reasoning. The Health Economics Ontology (HEO), version 2.0.0, is published at healtheconomics.wiki/ontologies/heo as a SKOS concept scheme in OWL and Turtle files. Each concept, such as the QALY, is a SKOS concept carrying an RDFS label and an isDefinedBy link back to the HEO address, so any RDF tool can display and attribute it without knowing SKOS.

HEO also uses subPropertyOf to tie its own relationships to SKOS. Its is-type-of link is declared a subproperty of the SKOS broader link, and its abbreviation property a subproperty of the SKOS alternative label. Under rule rdfs7, every is-type-of link therefore implies a broader link, so a SKOS browser can show the wiki's taxonomy. HEO's definition of the property records that every is-type-of link is also stated as a broader link in the file, so tools that do no reasoning see the same tree.

The wiki's Outcomes Health Economics Ontology (OHEO) makes heavier use of domain and range. Its property "is surrogate for" has the domain surrogate endpoint specification and the range outcome specification. When a record uses it to link the specification of a surrogate endpoint to that of a final outcome, an RDFS reasoner therefore types the two as a surrogate endpoint specification and an outcome specification, whether or not the record states their types. The declarations would not reject a record that misused the property, and OHEO publishes its record checks separately as SHACL shapes.

Where RDFS stops and its neighbours begin

RDFS sits between the bare data model and full ontology languages. The Resource Description Framework (RDF) supplies the triples that RDFS describes. The Web Ontology Language (OWL) adds what RDFS lacks, such as disjoint classes, classes defined by property restrictions and cardinality, and the OWL 2 Primer describes OWL 2 Full as the most straightforward extension of RDFS. A vocabulary that needs only hierarchies, labels, domains and ranges can stay within RDFS and be handled by simpler tools.

The Simple Knowledge Organization System (SKOS) meets a different need. In the HEO OWL file the concepts are declared as individuals joined by broader links, not classes joined by subclass statements. HEO places the QALY under health-adjusted life year in this way, which makes no claim about class membership, so reading HEO's broader links as RDFS subclass statements would be a mistake.

SPARQL answers depend on the reasoning applied. The SPARQL 1.1 Entailment Regimes Recommendation, edited by Birte Glimm and Chimezie Ogbuji, shows a query for publications returning one answer under simple entailment and three under RDFS entailment, because subclass and range triples supply the other two. A query over review records behaves the same way, so a count drawn from a triple store depends on whether the store applied RDFS.

RDF 1.2 and the next version of the schema

RDF Schema 1.1 remains the latest Recommendation. An RDF 1.2 Schema Working Draft, edited by Dominik Tomaszuk and dated 23 October 2026, adds a class of propositions and a reifies property so that a triple can be described without being asserted. That could let a dataset record who reported a parameter value without asserting the value as fact. The draft also adds JSON and directional language-tagged string datatypes and moves containers and the older statement vocabulary into a section on legacy vocabularies, and as a Working Draft it may still change.

Misreadings and limits in practice

Most problems with RDFS in health data come from expecting more of it than it offers. The errors below recur.

  1. Reading domain and range as checks. They add types to records and never reject one.
  2. Reading several domains as alternatives. A property with two domains puts every subject in both classes.
  3. Expecting contradictions to be caught. Without disjointness, a trial typed as an economic evaluation raises no error.
  4. Assuming every tool reasons. An inferred count should say which reasoning produced it.
  5. Mixing SKOS concepts and RDFS classes. A broader link between concepts is not a subclass statement.

Sources

Frequently Asked Questions (6)

  • What is RDF Schema?

    RDF Schema (RDFS) is the W3C data-modelling vocabulary for RDF, declaring classes, properties, their hierarchies and the domain and range of properties.

    Source: Brickley & Guha 2014

  • How does an RDF Schema reasoner add new statements to a dataset?

    The RDF 1.1 Semantics Recommendation lists informative entailment patterns, numbered rdfs1 to rdfs13, that a reasoner can apply as rules until no new triple appears. Rule rdfs2 types the subject of a property from its domain, and rule rdfs3 types the object from its range. Rule rdfs7 copies a link up to its super-property, while rule rdfs9 copies class membership up to the superclass. Applied to a slightly generalised form of RDF, together with the axiomatic triples and two datatype rules, these rules are complete for RDFS entailment from a consistent graph. Many of the added triples are trivial, since even an empty graph entails that every IRI denotes a resource.

    Source: Hayes & Patel-Schneider 2014

  • Can RDF Schema domain and range declarations be used to check health economic data for errors?

    Domain and range declarations add types to resources and never reject a record. The RDF Schema 1.1 Recommendation says the vocabulary describes such information but does not say whether or how an application should use it, and the formal semantics defines only the inferences. A property whose domain is economic evaluation therefore turns any clinical trial that uses it into an economic evaluation, with no error reported. RDF Schema cannot state that two classes are disjoint, so the clash goes unnoticed. A rule that each model input record carries a source and a price year belongs in a separate validation step, for example with the Shapes Constraint Language (SHACL).

    Source: Brickley & Guha 2014

  • How does RDF Schema differ from the Web Ontology Language (OWL)?

    RDF Schema supplies class and property hierarchies, labels and the domain and range of properties, yet it cannot state that two classes are disjoint. The Web Ontology Language (OWL) adds what RDF Schema lacks, such as disjoint classes, classes defined by property restrictions and cardinality. The OWL 2 Primer describes OWL 2 Full as the most straightforward extension of RDF Schema. In a health economic dataset, a trial wrongly typed as an economic evaluation raises no contradiction under RDF Schema, because nothing in it can say that a trial is not an economic evaluation. A vocabulary that needs only hierarchies, labels, domains and ranges can stay within RDF Schema and be handled by simpler tools.

    Source: Hitzler et al. 2012

  • How can RDF Schema help a systematic review team classify economic evaluation records?

    A review team can publish a small schema alongside its extracted records, stating for example that every cost-utility analysis is an economic evaluation and that whatever reports QALYs is a cost-utility analysis. An RDF Schema reasoner then types records from what they report, so a record that only states it reports QALYs is counted as a cost-utility analysis and, through the subclass link, as an economic evaluation. The same mechanism can miscount silently, because a domain declared too broadly turns unrelated records, such as a clinical trial, into economic evaluations without any error. A review that relies on inferred classes therefore needs to report its schema and the reasoning applied, and to check inferred counts against the records themselves.

    Source: Brickley & Guha 2014

  • Why can a SPARQL query over RDF Schema data return different counts in different triple stores?

    SPARQL answers depend on the entailment regime that a store applies. The SPARQL 1.1 Entailment Regimes Recommendation gives an example in which a query for publications returns one answer under simple entailment and three under RDFS entailment, because subclass and range triples supply the other two. A query for economic evaluations over review records behaves the same way, finding only the records typed by hand unless the store applies RDF Schema reasoning. A count drawn from a triple store should therefore state which reasoning produced it before it is reported in a review or evidence map.

    Source: Glimm & Ogbuji 2013

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 9 Nov 2026

Content version: 1.0.1

Canonical Identity

Term code
HS-HP-DH-063

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/rdf-schema