RDF · Schema

RDF Dataset

Schema describing an RDF dataset, which consists of a default graph and zero or more named graphs. Datasets are used to organize and partition RDF data into distinct graph contexts, as defined in the RDF 1.1 specification.

JSON-LDKnowledge GraphLinked DataOntologyRDFSemantic WebSPARQLW3C

Properties

Name Type Description
defaultGraph array The default (unnamed) graph of the dataset containing a collection of RDF quads without an explicit graph name.
namedGraphs object A map of graph names (IRIs) to arrays of quads, representing the named graphs in the dataset.
View JSON Schema on GitHub

JSON Schema

rdf-dataset.json Raw ↑
{
  "$id": "rdf-dataset.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RDF Dataset",
  "description": "Schema describing an RDF dataset, which consists of a default graph and zero or more named graphs. Datasets are used to organize and partition RDF data into distinct graph contexts, as defined in the RDF 1.1 specification.",
  "type": "object",
  "properties": {
    "defaultGraph": {
      "type": "array",
      "description": "The default (unnamed) graph of the dataset containing a collection of RDF quads without an explicit graph name.",
      "items": {
        "$ref": "#/$defs/quad"
      }
    },
    "namedGraphs": {
      "type": "object",
      "description": "A map of graph names (IRIs) to arrays of quads, representing the named graphs in the dataset.",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/$defs/quad"
        }
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "quad": {
      "type": "object",
      "description": "An RDF quad representing a triple within a specific graph context.",
      "required": [
        "subject",
        "predicate",
        "object"
      ],
      "properties": {
        "subject": {
          "$ref": "#/$defs/term",
          "description": "The subject of the statement, an IRI or blank node."
        },
        "predicate": {
          "$ref": "#/$defs/term",
          "description": "The predicate of the statement, always an IRI."
        },
        "object": {
          "$ref": "#/$defs/term",
          "description": "The object of the statement, an IRI, blank node, or literal."
        },
        "graph": {
          "$ref": "#/$defs/term",
          "description": "The graph name for this quad, an IRI identifying the named graph."
        }
      },
      "additionalProperties": false
    },
    "term": {
      "type": "object",
      "description": "An RDF term representing a node or value in the graph.",
      "required": [
        "termType",
        "value"
      ],
      "properties": {
        "termType": {
          "type": "string",
          "description": "The type of this RDF term.",
          "enum": [
            "NamedNode",
            "BlankNode",
            "Literal",
            "DefaultGraph"
          ]
        },
        "value": {
          "type": "string",
          "description": "The value of the term: an IRI for NamedNode, identifier for BlankNode, or lexical form for Literal."
        },
        "language": {
          "type": "string",
          "description": "The language tag for language-tagged literal values.",
          "pattern": "^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$"
        },
        "datatype": {
          "type": "object",
          "description": "The datatype of a literal term.",
          "properties": {
            "termType": {
              "type": "string",
              "const": "NamedNode"
            },
            "value": {
              "type": "string",
              "description": "The IRI of the datatype.",
              "format": "uri"
            }
          }
        }
      },
      "additionalProperties": false
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rdf-dataset"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.