RDF-star is a backward-compatible extension to the RDF data model and Turtle/SPARQL syntaxes that enables nested triples or quoted triples. It allows a triple itself to be used as the subject or object of another triple, creating a statement about a statement. This elegantly solves the long-standing reification problem in RDF by providing a native, efficient mechanism to attach metadata—such as provenance, confidence scores, or temporal attributes—directly to individual facts without cumbersome workarounds.
Glossary
RDF-star

What is RDF-star?
RDF-star (RDF*) is a community-driven extension to the Resource Description Framework (RDF) that provides a concise syntax for making statements about other statements.
The extension introduces the << >> syntax to denote a quoted triple, which can be asserted without automatically asserting its inner triple, separating mention from use. This supports practical needs like representing uncertain information, tracking sources, and modeling temporal validity within a knowledge graph. RDF-star is foundational for building more expressive and context-aware semantic data models and is increasingly supported by major triplestores and SPARQL engines.
Core Technical Characteristics
RDF-star (RDF*) is a community-driven extension to the RDF data model that introduces a concise syntax for making statements about other statements, enabling the native representation of metadata such as provenance, confidence scores, and temporal attributes directly within a graph.
Embedded Triple as Subject or Object
The foundational mechanism of RDF-star is the embedded triple, which allows any RDF triple (subject-predicate-object) to be placed in the subject or object position of another triple. This creates a statement about a statement. For example, the assertion <<:alice :knows :bob>> :certainty 0.9 uses the embedded triple <<:alice :knows :bob>> as the subject of a new triple that assigns it a confidence score. This syntax eliminates the need for the complex reification pattern required in standard RDF, where a statement must be given a URI and described with multiple auxiliary triples.
Concise Syntax for Provenance & Attribution
RDF-star provides a native, graph-native method for capturing provenance and source attribution. A creator and timestamp can be directly attached to any fact without breaking the original assertion into a separate resource. For instance:
<<:report123 :mentions :CompanyX>> :statedBy :newsOutletY ; :statedOn "2024-01-15"^^xsd:date. This direct annotation is semantically clearer and more query-efficient than standard RDF reification, making it ideal for knowledge graph quality assessment and semantic data governance workflows where data lineage is critical.
Nested Annotation & Higher-Order Statements
The model supports nested annotations, where a statement can be made about an already-annotated statement. This enables the representation of complex, higher-order metadata. For example, you can assert a confidence in a provenance claim: << <<:sensor123 :measured 42>> :source :sensor123 >> :reviewer :engineer456. This capability is essential for modeling temporal knowledge graphs where the validity of a fact (and the validity of its metadata) may change over time, and for explainable AI systems that need to layer justifications and confidence scores.
SPARQL-star Query Extension
To query RDF-star data, the SPARQL-star extension introduces corresponding syntax. The << ... >> notation is used within SPARQL query patterns to match embedded triples. For example, the query SELECT ?source WHERE { <<?person :worksFor :Inferensys>> :statedBy ?source } retrieves all sources that made statements about someone working for Inferensys. This integrates seamlessly with standard SPARQL features like property paths and aggregation, allowing complex queries over both factual data and its attached metadata in a single, efficient operation.
Semantic Relationship to RDF Reification
RDF-star is designed to have a clear semantic mapping to standard RDF, often defined via a transformation to the RDF reification vocabulary (rdf:Statement, rdf:subject, rdf:predicate, rdf:object). This ensures that an RDF-star graph can be losslessly converted into a standard RDF graph for systems that do not yet support the extension. The key advantage is that RDF-star provides a syntactic sugar that dramatically reduces verbosity and improves human readability and authoring, while preserving the formal semantics and interoperability of the underlying RDF model.
Use Case: Confidence & Uncertainty
A primary application is modeling uncertainty and confidence scores directly within a knowledge graph. In domains like biomarker identification or financial fraud detection, facts are often associated with a probability. With RDF-star, this is represented naturally: <<:GeneXYZ :associatedWith :DiseaseABC>> :confidenceScore 0.87 ; :evidence :ClinicalTrial789. This allows graph-based RAG systems and semantic reasoning engines to retrieve facts while considering their reliability, and to filter or rank results based on attached confidence metadata during query time.
How RDF-star Works: Syntax and Semantics
RDF-star (RDF*) is a community-driven extension to the Resource Description Framework (RDF) that provides a concise syntax and formal semantics for making statements about other statements, enabling the native representation of metadata such as provenance, confidence scores, and temporal attributes directly within an RDF graph.
RDF-star introduces a compact embedded triple syntax that allows any RDF triple to be used as the subject or object of another triple. For example, the statement << :alice :knows :bob >> :statedBy :charlie . asserts that Charlie stated the fact that Alice knows Bob. This syntactic extension, formalized in the W3C RDF-star Working Group Note, provides a more intuitive and less verbose alternative to the traditional RDF reification pattern, which requires four separate triples and a blank node to make the same assertion.
The semantics of RDF-star are defined to ensure logical consistency and interoperability with existing RDF tools. It treats an embedded triple as a resource that denotes the asserted triple itself, not its truth value. This design allows RDF-star graphs to be partially materialized into standard RDF for consumption by non-star-aware systems, while SPARQL-star extends the query language to match and query these nested graph patterns directly, enabling efficient access to statement-level metadata without complex joins.
Practical Use Cases for RDF-star
RDF-star (RDF*) extends the RDF data model to natively embed statements within other statements, enabling concise representation of metadata about facts. This unlocks several critical enterprise capabilities.
Provenance and Source Attribution
RDF-star provides a native, graph-based mechanism to attach provenance metadata directly to any statement. This is essential for data governance, audit trails, and establishing trust in enterprise knowledge graphs.
- Example: A triple stating
ex:Product123 ex:hasPrice "99.99"can be annotated with its source:<<ex:Product123 ex:hasPrice "99.99">> ex:source ex:ERP_System ; ex:extracted "2024-01-15" . - This eliminates the need for complex reification patterns, making queries for "show me all prices and their sources" far more efficient and intuitive.
Confidence Scores and Uncertainty
Machine learning models and heuristic extractors often produce facts with associated confidence levels. RDF-star allows these scores to be attached directly to the asserted fact.
- Example:
<<ex:PatientA ex:hasDiagnosis ex:ConditionY>> ex:confidence 0.87 ; ex:model ex:NLP_Pipeline_v2 . - This enables downstream applications and semantic reasoning engines to filter or weight information based on reliability. Queries can easily retrieve "all diagnoses with confidence > 0.9" without complex joins.
Temporal Validity and Versioning
Enterprise facts are often true only for a specific period. RDF-star elegantly handles temporal attributes by annotating statements with validity intervals.
- Example:
<<ex:Employee22 ex:worksFor ex:DepartmentZ>> ex:validFrom "2023-06-01" ; ex:validUntil "2024-05-31" . - This supports temporal knowledge graph queries like "who was the department head during Q1 2024?" It provides a clean model for representing historical data and current snapshots within the same graph.
N-Ary Relationships and Qualification
Many real-world relationships have intrinsic qualifiers. While traditional RDF requires intermediate blank nodes, RDF-star offers a more direct syntax for relationship qualification.
- Example: Representing "Marie Curie was awarded the Nobel Prize in Physics in 1903" becomes:
<<ex:marie_curie ex:receivedAward ex:nobel_physics>> ex:year 1903 . - This simplifies the graph structure and makes queries for the qualification (the year) more performant and easier to write than navigating through a reified statement node.
Assertion vs. Quotation (Mention)
A key distinction in knowledge representation is between asserting a fact and merely quoting or mentioning it. RDF-star cleanly separates these contexts.
- Example: A system can store
ex:CompanyX ex:claims <<ex:ProductA ex:cures ex:DiseaseB>> .without itself asserting the cure is true. - This is vital for applications like legal document analysis, misinformation tracking, and multi-document legal reasoning, where the provenance and stance of a statement are as important as its content.
Integration with Modern Stacks
RDF-star is supported by leading triplestores (like GraphDB, Stardog, and Apache Jena) and queryable via extended SPARQL-star syntax. This ensures practical deployability.
- SPARQL-star Example:
SELECT ?price ?src WHERE { <<?product ex:hasPrice ?price>> ex:source ?src . } - The syntax integrates seamlessly into existing semantic integration pipelines, providing a standards-based upgrade path for enterprises needing richer metadata without abandoning the RDF ecosystem.
RDF-star vs. Traditional RDF Reification
A technical comparison of two methods for making statements about statements (provenance, confidence, temporal context) in the Resource Description Framework (RDF).
| Feature / Characteristic | RDF-star (RDF*) | Traditional RDF Reification |
|---|---|---|
Core Mechanism | Embedded triple as a term | Four-statement pattern using |
Syntax (Turtle Example) |
|
|
Triple Count per Annotation | 1 | 4 |
Query Complexity (SPARQL) | Concise property path syntax ( | Verbose joins on |
Human Readability | High (directly embeds the statement) | Low (indirect, requires pattern reconstruction) |
Storage Efficiency | High (native graph structure) | Low (quadruples data volume) |
Standardization Status | Community Group specification, widely adopted | W3C RDF 1.1 standard, foundational |
Inference & Reasoning Support | Limited in standard reasoners; extensions required | Fully supported via RDF semantics and standard reasoners |
Named Graph Compatibility | Yes (can be combined with Named Graphs) | Yes (statements can be placed in a Named Graph) |
Typical Use Case | Lightweight provenance, confidence scores, temporal attributes | Formal, standards-compliant representation requiring full RDF semantics |
Frequently Asked Questions
RDF-star (RDF*) is a community-driven extension to the Resource Description Framework (RDF) that provides a concise syntax for making statements about other statements, enabling native representation of provenance, confidence, and temporal attributes.
RDF-star (RDF*) is a pragmatic extension to the RDF data model and syntax that allows a triple (a statement) to be referenced as the subject or object of another triple. This creates a mechanism for annotating statements without requiring complex reification. It works by introducing a compact syntax, such as <<s p o>>, to embed a triple within another triple, enabling direct representation of metadata about facts.
For example, to state that the claim "Alice knows Bob" was asserted by Carol with 90% confidence, you can write: <<:Alice :knows :Bob>> :assertedBy :Carol ; :confidence 0.9 . This is processed by RDF-star-aware parsers and triplestores, which treat the embedded triple as a quoted triple—a resource that denotes the statement itself, not its truth.
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-star is a community-driven extension to the RDF standard. Understanding its relationship to these core semantic technologies is essential for data architects and engineers building advanced knowledge graphs.
Named Graph
A Named Graph is an RDF graph identified by a URI, allowing triples to be grouped into distinct, addressable sets within an RDF dataset. It is a traditional method for adding provenance and context to statements. While both Named Graphs and RDF-star provide mechanisms for metadata, they differ fundamentally:
- Named Graphs: Attaches metadata to a set of triples (a graph).
- RDF-star: Attaches metadata to a single triple or a specific occurrence of a statement.
- Use Case: Named Graphs are ideal for dataset-level context (e.g., source, license). RDF-star is designed for statement-level annotations (e.g., confidence, temporal validity).
Reification (Traditional)
Reification is the standard RDF mechanism for making statements about other statements. It requires creating four new triples to represent the original statement as a resource, which is verbose and complex to query. RDF-star was created primarily to address the shortcomings of traditional reification.
- Traditional Reification:
:bob :claims _:stmt1. _:stmt1 rdf:subject :alice; rdf:predicate :knows; rdf:object :java. - RDF-star Syntax:
<<:alice :knows :java>> :statedBy :bob. - Key Advantage: RDF-star provides a concise syntax and more intuitive query semantics, making it far more practical for common annotation tasks.
Property Graph Model
The Property Graph model, used by systems like Neo4j, allows properties (key-value pairs) to be attached directly to both nodes and relationships. RDF-star brings a similar capability—edge annotation—to the RDF world. This addresses a long-standing expressivity gap between the two major graph paradigms.
- Property Graph: A relationship
(:Person)-[:KNOWS {since: 2010, confidence: 0.9}]->(:Person). - RDF-star Equivalent:
<< :alice :knows :bob >> :confidence 0.9 ; :since "2010"^^xsd:gYear . - Semantic Difference: RDF-star annotations are themselves full triples, maintaining RDF's uniform model and enabling further annotation.
SHACL (Shapes Constraint Language)
SHACL is a W3C standard for validating RDF data against a set of conditions. With the advent of RDF-star, SHACL can be extended to validate not just regular triples, but also annotated triples. This is crucial for enforcing data quality rules on knowledge graphs that use RDF-star for provenance, confidence scores, or temporal attributes.
- Validate Annotations: A SHACL shape can define that all
:confidenceannotations on:knowsrelationships must be a decimal between 0 and 1. - Constraint Context: SHACL can check that every statement from a certain source (
:statedBy) has a corresponding:retrievedOndate. - Governance: Enables rigorous data quality and compliance checks on the enriched RDF-star graph.

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