@context
@context — define the vocabulary
@context maps the keys in your JSON document to terms in a shared vocabulary, like schema.org. It turns ambiguous strings ("name", "author") into globally-resolvable concepts.
We use cookies to operate this site, measure performance, and improve your experience. See our Privacy Policy or manage your privacy choices.
Industries
Regulated
Financial Services
Content-heavy
Publishing & Media
Life sciences
Pharma & Life Sciences
Community
Downloads
Fluree Labs
Migration Guides
Why We Exist
A W3C standard that adds meaning, identity, and classification to JSON documents — without breaking the JSON your code already speaks.
Plain JSON tells you the shape of data. JSON-LD tells you what the data means — using a shared vocabulary that any system can resolve.
A JSON-LD document is still a valid JSON document. The difference is a small set of reserved keywords — @context, @id, @type — that turn that document into a graph of typed, globally-identified entities.
That graph is RDF. JSON-LD is the most developer-friendly way to read and write it.
@context
@context maps the keys in your JSON document to terms in a shared vocabulary, like schema.org. It turns ambiguous strings ("name", "author") into globally-resolvable concepts.
@id
@id assigns an IRI (Internationalized Resource Identifier) to a node, so the same entity can be referenced and dereferenced consistently across systems and datasets.
@type
@type declares what kind of thing a node represents — a Person, an Article, a MedicalProduct — using a class from a published ontology like schema.org or your own.
Same JSON you'd already write — plus three keywords that turn it into linked data any RDF-aware system can read.
{
"@context": {
"schema": "https://schema.org/",
"name": "schema:name",
"author": "schema:author",
"datePublished": "schema:datePublished",
"articleBody": "schema:articleBody"
},
"@type": "schema:Article",
"@id": "https://example.com/articles/json-ld-introduction",
"name": "Introduction to JSON-LD",
"author": {
"@type": "schema:Person",
"name": "John Doe"
},
"datePublished": "2024-01-23",
"articleBody": "JSON-LD combines the simplicity of JSON with the power of linked data..."
}Capability | Plain JSON | Linked JSON-LD |
|---|---|---|
Format | Plain document data | Linked data — every node is addressable |
Field meaning | Implicit, app-specific | Explicit via @context / shared vocabulary |
Identity | Local IDs, app-scoped | Global IRIs (@id) — dereferenceable |
Schema validation | JSON Schema (structural only) | SHACL / OWL / RDF Schema (semantic) |
Cross-system reuse | Requires custom mapping per consumer | Native — any RDF-aware system reads it |
Machine reasoning | None | Inference, traversal, and federation built-in |
Backward compat | — | A JSON-LD document is still valid JSON |
Encode meaning the way Google, Schema.org, and the W3C standardized — making your data discoverable and machine-readable across the open web.
JSON-LD is the most ergonomic on-ramp to RDF. Build, transact against, and operationalize knowledge graphs without forcing developers to learn Turtle or SPARQL up front.
Once two datasets share an ontology, they speak the same language. Federate queries across systems instead of writing point-to-point integrations.
JSON-LD is the canonical encoding for the W3C Verifiable Credentials Data Model — used to issue and verify tamper-evident digital credentials.
A JSON-LD document is still valid JSON. Your existing services, APIs, and clients keep working — and the semantic context is there when you need it.
Findable, Accessible, Interoperable, Reusable. JSON-LD ships with the metadata that makes data immediately useful to downstream analytics, AI agents, and partners.
Fluree Core reads and writes JSON-LD as a first-class transaction format. No ORM, no schema translation step, no impedance mismatch between your application code and the underlying knowledge graph — write JSON-LD in, query it back out.
{
"@context": "https://schema.org/",
"@id": "ex:customer-1024",
"@type": "Person",
"name": "Ada Lovelace",
"memberOf": {
"@id": "ex:org-7",
"@type": "Organization"
}
}See also json-ld.org — the community hub for the spec, playgrounds, and reference implementations.
Recognized by Gartner
Fluree Core treats JSON-LD as a first-class input — no ORM, no schema translation, no glue code. Your linked-data model is your database.