RDF is a foundational W3C standard for modeling data as a directed, labeled graph. It is the primary data model for the Semantic Web and Knowledge Graphs.
RDF decomposes all information into Triples consisting of a Subject, Predicate, and Object (s, p, o).
xsd:integer) or a Language Tag (e.g., "Hello"@en).RDF operates under the Open World Assumption.
While RDF is a conceptual graph, it must be serialized for storage and transmission.
The simplest, most verbose format. One triple per line.
<http://example.org/Alice> <http://schema.org/jobTitle> "Engineer" .
<http://example.org/Alice> <http://schema.org/knows> <http://example.org/Bob> .
The human-readable standard. Uses prefixes and shorthand.
@prefix ex: <http://example.org/> .
@prefix schema: <http://schema.org/> .
ex:Alice
schema:jobTitle "Engineer" ;
schema:knows ex:Bob .
| Feature | RDF (Resource Description Framework) | LPG (Labeled Property Graph) |
|---|---|---|
| Standards | W3C Standard (Interoperable) | Proprietary / Vendor specific |
| Model | Atomic Triples | Nodes/Edges with Properties |
| Schema | RDFS/OWL (Semantic Inference) | Usually Schema-less / Implicit |
| Query | SPARQL | Cypher / Gremlin |
| Use Case | Data Integration / Linked Data | Deep Path Analysis / Fraud |
RDF provides a mathematically rigorous way to integrate disparate data sources across the web. By utilizing IRIs for identity and the Open World Assumption for extensibility, it enables the creation of global-scale Knowledge Graphs that can be reasoned over using automated agents.