We use cookies to operate this site, measure performance, and improve your experience. See our Privacy Policy or manage your privacy choices.

    JSON-LD — JSON for linked data.

    A W3C standard that adds meaning, identity, and classification to JSON documents — without breaking the JSON your code already speaks.

    What Is JSON-LD

    JSON, with the meaning baked in.

    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.

    The Three Keywords

    Master @context, @id, and @type and you have JSON-LD.

    @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.

    @id

    @id — give every entity an identity

    @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 — classify the data

    @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.

    Anatomy of a Document

    A schema.org Article, in JSON-LD.

    Same JSON you'd already write — plus three keywords that turn it into linked data any RDF-aware system can read.

    article.jsonld
    {
      "@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..."
    }
    Side by Side

    Plain JSON vs.
    JSON-LD.

    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
    Why JSON-LD

    Six reasons teams adopt JSON-LD.

    Participate in the semantic web

    Encode meaning the way Google, Schema.org, and the W3C standardized — making your data discoverable and machine-readable across the open web.

    Power knowledge graphs

    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.

    Link data across silos

    Once two datasets share an ontology, they speak the same language. Federate queries across systems instead of writing point-to-point integrations.

    Verifiable Credentials and trust

    JSON-LD is the canonical encoding for the W3C Verifiable Credentials Data Model — used to issue and verify tamper-evident digital credentials.

    Future-proof JSON

    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.

    Make data F.A.I.R.

    Findable, Accessible, Interoperable, Reusable. JSON-LD ships with the metadata that makes data immediately useful to downstream analytics, AI agents, and partners.

    JSON-LD in Fluree

    Native, not bolted-on.

    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.

    • Transact JSON-LD directly — no intermediary mapping layer
    • Query the same graph with FQL or SPARQL
    • Built on RDF and W3C standards — no semantic lock-in
    • Time-travel any entity to any historical state
    FAQ

    Recognized by Gartner

    Gartner Cool Vendor in Data Management for GenAI, 2024Featured in the Gartner Hype Cycle
    JSON-LD, natively

    Write JSON-LD. Get a knowledge graph.

    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.