RDF Schema (RDFS) is a W3C-standard semantic extension of the Resource Description Framework (RDF) that provides a basic vocabulary for defining lightweight ontologies. It introduces core primitives like rdfs:Class and rdfs:Property to categorize resources and rdfs:subClassOf and rdfs:subPropertyOf to establish hierarchical relationships. RDFS enables the creation of simple taxonomies and basic inference, such as propagating types through subclass hierarchies, forming the foundational layer for more expressive languages like the Web Ontology Language (OWL).
Glossary
RDF Schema (RDFS)

What is RDF Schema (RDFS)?
RDF Schema (RDFS) is a semantic extension of the Resource Description Framework (RDF) that provides a basic vocabulary for defining classes, properties, and hierarchies to organize RDF resources.
Operating under the open-world assumption, RDFS allows for incremental knowledge addition without contradiction. Its inference rules enable automated reasoning to deduce implicit facts, like inferring that an instance of a subclass is also an instance of its superclass. While less expressive than OWL, RDFS is crucial for establishing basic semantic data models, organizing RDF triplestores, and providing the structural backbone for enterprise knowledge graphs before applying more complex ontological constraints.
Core RDFS Vocabulary & Constructs
RDF Schema (RDFS) is a semantic extension of RDF that provides a basic vocabulary for defining classes, properties, and hierarchies (subClassOf, subPropertyOf) to organize RDF resources. This card grid details its foundational constructs.
Classes (rdfs:Class)
The rdfs:Class is used to define categories or types of resources. It is the RDFS construct for declaring a class, analogous to a type or category in object-oriented programming or a table in a database.
- Declaration: A class is declared using
rdf:type rdfs:Class. For example,:Person rdf:type rdfs:Class. - Instantiation: An individual resource becomes an instance of a class using the
rdf:typeproperty. For example,:Alice rdf:type :Person. - Core Purpose: Classes provide the primary mechanism for organizing and categorizing instances within an RDF graph, forming the backbone of a simple taxonomy.
Class Hierarchies (rdfs:subClassOf)
The rdfs:subClassOf property establishes a hierarchical relationship between two classes, indicating that all instances of the subclass are also instances of the superclass. This enables inheritance of characteristics.
- Semantics: If
A rdfs:subClassOf B, then any resource that is anrdf:typeof A is inferred to also be anrdf:typeof B. - Example:
:Employee rdfs:subClassOf :Person. Any individual typed as an:Employeeis automatically inferred to be a:Person. - Transitivity: The property is transitive. If
:SoftwareEngineer rdfs:subClassOf :Employeeand:Employee rdfs:subClassOf :Person, then:SoftwareEngineeris implicitly a subclass of:Person.
Properties (rdf:Property)
The rdf:Property class is the type for all RDF predicates. In RDFS, properties are first-class citizens that can be described and organized.
- Declaration: A property is declared as an instance of
rdf:Property. For example,:hasName rdf:type rdf:Property. - Domain & Range: RDFS allows you to constrain a property's usage with
rdfs:domainandrdfs:range.rdfs:domainspecifies the class of the subject.:hasName rdfs:domain :Personmeans any subject using:hasNameis inferred to be a:Person.rdfs:rangespecifies the class (or datatype) of the object.:hasName rdfs:range xsd:stringmeans the object of:hasNameis a string literal.
Property Hierarchies (rdfs:subPropertyOf)
The rdfs:subPropertyOf property creates a hierarchy between RDF properties, allowing for the specialization of relationships.
- Semantics: If
P1 rdfs:subPropertyOf P2, then any tripleX P1 Yimplies the tripleX P2 Y. - Example:
:hasMother rdfs:subPropertyOf :hasParent. If:Alice :hasMother :Carol, it can be inferred that:Alice :hasParent :Carol. - Use Case: This enables querying at different levels of granularity. A query for all
:hasParentrelationships will also retrieve those made with the more specific:hasMotherproperty.
Containers & Collections
RDFS provides vocabulary for describing groups of resources, extending the basic RDF container model (rdf:Bag, rdf:Seq, rdf:Alt).
rdfs:Container: A superclass of the RDF container classes.rdfs:member: A generic property to relate a container to its members, subsumingrdf:_1,rdf:_2, etc.rdfs:ContainerMembershipProperty: The class of propertiesrdf:_1,rdf:_2, etc. This formalizes their status.- Limitation: RDFS does not provide the rich, formal semantics for collections found in OWL (e.g., cardinality restrictions, disjointness). Its support is primarily for labeling and basic membership.
Utility & Documentation Properties
RDFS includes essential properties for labeling, documenting, and linking resources, which are critical for human understanding and interoperability.
rdfs:label: Provides a human-readable name for a resource. It is language-tagged, e.g.,:Person rdfs:label "Person"@en.rdfs:comment: Offers a longer description or explanation of a resource.rdfs:seeAlso: Indicates a resource that provides additional information about the subject.rdfs:isDefinedBy: Points to the resource defining the subject, often an ontology or schema document.rdfs:Literal: The class of literal values such as strings and numbers.rdfs:Datatype: The class of RDF datatypes, a subclass ofrdfs:Class.
How RDFS Works: Inference and Semantics
RDF Schema (RDFS) provides a basic semantic vocabulary for defining classes, properties, and hierarchies within an RDF graph, enabling simple but powerful automated inference.
RDF Schema (RDFS) is a semantic extension of the Resource Description Framework (RDF) that introduces a core vocabulary for organizing resources. It defines fundamental constructs like rdfs:Class, rdfs:subClassOf, rdfs:subPropertyOf, and rdfs:domain/rdfs:range. These terms allow data architects to create simple taxonomies and define basic constraints, structuring an RDF graph into a lightweight ontology. Unlike a database schema, RDFS is designed for an open-world assumption.
The primary function of RDFS is to enable logical inference. A semantic reasoner can apply RDFS rules to derive new triples not explicitly stated. For example, if :Dog rdfs:subClassOf :Animal and :Fido a :Dog, a reasoner infers :Fido a :Animal. Similarly, property hierarchies and domain/range constraints generate implicit knowledge. This rule-based deduction is the mechanism that transforms a collection of RDF statements into a minimally reasoned knowledge graph, forming the foundation for more expressive languages like OWL.
Frequently Asked Questions
RDF Schema (RDFS) is a semantic extension of the Resource Description Framework (RDF) that provides a basic vocabulary for defining classes, properties, and hierarchies. It is a foundational technology for building lightweight ontologies and organizing resources within a knowledge graph.
RDF Schema (RDFS) is a semantic extension of the Resource Description Framework (RDF) that provides a basic vocabulary for defining classes, properties, and hierarchies to organize RDF resources. It works by introducing a set of predefined RDF terms (with the rdfs: namespace) that allow you to create a simple taxonomy and define the structure of your data.
At its core, RDFS allows you to:
- Define classes (categories of things) using
rdfs:Class. - Establish a class hierarchy using
rdfs:subClassOf. - Define properties (relationships or attributes) using
rdfs:Property. - Establish a property hierarchy using
rdfs:subPropertyOf. - Specify the types of resources a property can connect using
rdfs:domainandrdfs:range.
For example, you can state that ex:Employee is a subclass of ex:Person, and that the property ex:worksFor has a domain of ex:Employee and a range of ex:Company. A basic RDFS reasoner can then infer that if :Alice ex:worksFor :Acme, then :Alice is an ex:Employee and :Acme is an ex:Company.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
RDF Schema (RDFS) is a foundational component of the Semantic Web stack. It provides a basic vocabulary for defining classes, properties, and hierarchies. Understanding these related concepts is essential for designing robust, interoperable knowledge graphs.
Resource Description Framework (RDF)
The foundational data model upon which RDFS is built. RDF represents information as a directed graph of subject-predicate-object triples. It provides the universal syntax for expressing statements about resources, forming the atomic unit of semantic data. RDFS extends this model by adding a vocabulary for organizing these triples into structured schemas.
- Triple: The basic statement:
<subject> <predicate> <object>. - Graph-Based: Data is a set of interconnected triples, not rows and columns.
- Universal Identifiers: Uses URIs to uniquely identify resources, enabling global data linking.
Web Ontology Language (OWL)
A more expressive ontology language that builds upon RDFS. While RDFS defines basic classes and hierarchies, OWL adds extensive capabilities for defining complex constraints and relationships using formal logic (description logics). It is used when precise, machine-interpretable semantics are required for automated reasoning.
- Greater Expressivity: Defines property characteristics (e.g., symmetry, transitivity), cardinality restrictions, and disjoint classes.
- Formal Semantics: Has a precise mathematical meaning, enabling logical inference.
- Three Profiles: OWL 2 EL, QL, and RL offer trade-offs between expressivity and computational complexity.
Simple Knowledge Organization System (SKOS)
An RDF-based vocabulary for organizing knowledge like thesauri, taxonomies, and classification schemes. It operates at a conceptual level similar to RDFS but is optimized for human navigation and indexing rather than automated reasoning. SKOS concepts can be linked to RDFS/OWL classes for hybrid modeling.
- Core Relations:
skos:broader,skos:narrower,skos:relatedfor hierarchical and associative links. - Lexical Labels:
skos:prefLabel,skos:altLabelfor human-readable names in multiple languages. - Mapping:
skos:exactMatch,skos:closeMatchfor aligning concepts across different KOS.
SHACL (Shapes Constraint Language)
A W3C standard for validating RDF graphs against a set of conditions. While RDFS and OWL use an open-world assumption for inference, SHACL uses a closed-world assumption to define the expected structure and data integrity rules of an RDF graph, similar to schema validation in relational databases.
- Data Integrity: Validates cardinality, data types, value ranges, and logical constraints.
- Shape-Based: Defines "shapes" that target nodes must conform to.
- Complementary Role: Often used alongside RDFS/OWL; OWL infers new facts, SHACL validates existing data.
SPARQL
The standard query language for RDF data. SPARQL is used to retrieve and manipulate information stored in RDF format, including data structured using RDFS vocabularies. It enables complex graph pattern matching, aggregation, and subqueries across distributed datasets.
- Graph Pattern Matching: The
WHEREclause specifies patterns of triples to match in the graph. - Inference Aware: Can be executed with a reasoner to query both explicit and RDFS/OWL-inferred triples.
- Protocol: Includes a standardized HTTP protocol (SPARQL Protocol) for remote query execution.
Description Logic
The family of formal knowledge representation languages that provide the logical underpinnings for OWL and, by extension, the more expressive aspects of semantic modeling beyond RDFS. Description Logics focus on defining concepts (classes), roles (properties), and individuals, and provide computable reasoning services.
- Logical Foundation: OWL is essentially a web syntax for specific Description Logics (e.g., SROIQ).
- Reasoning Services: Enables consistency checking, concept subsumption (classification), and instance checking.
- Computable Trade-offs: Different Description Logics offer varying balances of expressivity and computational complexity.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us