Basic RDF Structures

The Resource Description Framework (RDF) uses Internationalized Resource Identifiers (IRIs) to identify resources, subject-predicate-object triples to make statements and groups triples into RDF graphs. An RDF dataset contains a default graph and some named graphs. Subjects and predicates typically are IRIs while objects can be IRIs or literals.

URL a Uniform Resource Locator, used as a basic general identifier

RDFTriple a triple in an RDF graph, consisting of subject, predicate and object nodes

RDFStore an RDF graph or dataset

RDFBlankNode a blank node

RDFCollection list-like collections in RDF graphs and SPARQL queries


"string" a string literal

RDFLiteral a datatyped literal

RDFString a language-tagged string

1, 2, True, False, simple literals


"NTriples", "Turtle" text-based formats for RDF graphs

"NQuads", "TriG" text-based formats for RDF graphs and datasets

"JSONLD" JSON-based format for RDF graphs and datasets

"RDFXML" XML-based format for RDF graphs