Graph
rdfs:Class

🗂️rdfs:Class

NEW

The RDFS class of classes used to define sets of resources.

DESCRIPTION

rdfs:Class denotes classes, which are sets of resources in RDF Schema. Instances of a class are related via rdf:type. Class hierarchies are built using rdfs:subClassOf, supporting inheritance of membership. In OWL, classes gain richer constructs like intersections and restrictions. rdfs:Class forms the foundation for ontologies and domain modeling. It enables clear semantics and validation when paired with SHACL or OWL reasoners.

ALTERNATIVE DEFINITIONS

W3C RDF Schema 1.1

rdfs:Class is the class of classes.

Concise canonical description of rdfs:Class role.

Source

W3C RDF 1.1 Primer

RDF Schema provides a mechanism for describing groups of related resources and the relationships between these resources; classes are used to group resources.

Explains classes in the broader RDFS context.

Source

Apache Jena

Classes represent sets of individuals; resources become members by asserting rdf:type statements.

Developer-focused view linking rdf:type membership.

Source

RDF Schema rdf:type rdfs:subClassOf Domain Model Class Hierarchy Knowledge Representation Simple Knowledge Organization System OWL RDF

COMPETING TERMS

OWL Class

KNOWLEDGE AREAS

Semantic & Knowledge Modeling Data Modeling Data Architecture

TARGET AUDIENCE

Data Modeler Data Architect AI Engineer Data Engineer Software Developer

EXTERNAL SOURCES

  • Wikipedia - RDF Schema
  • W3C - Normative RDFS definition of Class
  • W3C - OWL classes and richer constructs
  • Apache Jena - Ontologies and classes in Jena

TOP QUESTIONS

What is rdfs:Class in RDF Schema?

It is the class of classes, used to define sets of resources whose members are linked via rdf:type.

Category: Definition

How does rdfs:Class relate to rdf:type?

rdf:type asserts membership of a resource in a class; classes are instances of rdfs:Class.

Category: Relationship

What is the role of rdfs:subClassOf with rdfs:Class?

It builds class hierarchies, where subclass instances are also instances of their superclasses.

Category: Semantics

How does rdfs:Class compare to owl:Class?

owl:Class adds richer constructs and formal semantics; rdfs:Class provides foundational class grouping.

Category: Comparison

Can rdfs:Class be used with SHACL?

Yes, SHACL shapes can validate instances of classes with constraints.

Category: Integration

What mistakes occur with rdfs:Class?

Confusing classes with instances or misusing class URIs as individuals without punning in OWL.

Category: Mistakes

How do tools handle rdfs:Class?

Jena and RDF4J provide APIs and reasoners for class membership and hierarchy.

Category: Tooling

Is rdfs:Class transitive?

Class membership itself is not transitive, but rdfs:subClassOf is a transitive property.

Category: Clarification

How to model domain classes effectively?

Define clear class URIs, use rdfs:subClassOf hierarchies, and document intended membership and constraints.

Category: Best practices