Graph
rdfs:subClassOf

🌳rdfs:subClassOf

NEW

An RDFS property stating one class is a subclass of another.

DESCRIPTION

rdfs:subClassOf builds class hierarchies and taxonomies where subclass instances are also instances of superclasses. The property is transitive, enabling inference across chains of subclass relations. It underpins ontologies and domain models for categorization and inheritance. In OWL, equivalentClass provides identity between classes rather than hierarchy. Proper hierarchy design improves queryability and reasoning performance.

ALTERNATIVE DEFINITIONS

W3C RDF Schema 1.1

The rdfs:subClassOf property is used to state that one class is a subclass of another.

Canonical definition stressing hierarchical semantics.

Source

W3C RDF 1.1 Primer

Subclass relationships state that every instance of a subclass is also an instance of its superclass.

Explains membership inheritance with subclassing.

Source

RDF Schema rdfs:Class rdf:type OWL Class Hierarchy Hierarchy Simple Knowledge Organization System Knowledge Representation Reasoner Transitive Property

COMPETING TERMS

owl:equivalentClass

KNOWLEDGE AREAS

Semantic & Knowledge Modeling Data Modeling

TARGET AUDIENCE

Data Modeler AI Engineer Data Architect Software Developer Data Engineer

EXTERNAL SOURCES

  • Wikipedia - RDF Schema
  • W3C - Normative subClassOf definition
  • W3C - OWL class axioms comparison
  • Apache Jena - Subclass reasoning in Jena

TOP QUESTIONS

What does rdfs:subClassOf represent?

It declares a class hierarchy where instances of the subclass are also instances of the superclass.

Category: Definition

Is rdfs:subClassOf transitive?

Yes, transitivity allows inference across multiple levels of hierarchy.

Category: Semantics

How does subClassOf differ from equivalentClass?

subClassOf indicates hierarchy; equivalentClass indicates identity between classes.

Category: Comparison

What mistakes occur in subclass modeling?

Using subclass for mere relatedness instead of true subset; over-fragmenting classes without clear semantics.

Category: Mistakes

How does subClassOf aid querying?

Reasoners allow querying at higher-level classes while retrieving instances of all subclasses.

Category: Benefits

Can cycles exist in subClassOf?

They can, but cycles suggest equivalence; avoid unless intentionally modeling equivalence.

Category: Risks

How to design robust class hierarchies?

Use clear semantics, minimize overlap, document intent, and validate with SHACL and competency questions.

Category: Best practices

What tools support subClassOf reasoning?

Jena, RDF4J, Pellet, HermiT, and triple stores with built-in reasoners.

Category: Tooling

How does subClassOf interact with SKOS?

SKOS broader is for concepts rather than classes; do not conflate conceptual hierarchies with class hierarchies.

Category: Clarification