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.

(PackageLink[IRI, paclet:GraphStore/ref/IRI, GraphStore Package Symbol]) — an Internationalized Resource Identifier, used as a basic general identifier

(PackageLink[RDFTriple, paclet:GraphStore/ref/RDFTriple, GraphStore Package Symbol]) — a triple in an RDF graph, consisting of subject, predicate and object nodes

(PackageLink[RDFStore, paclet:GraphStore/ref/RDFStore, GraphStore Package Symbol]) — an RDF graph or dataset

(PackageLink[RDFBlankNode, paclet:GraphStore/ref/RDFBlankNode, GraphStore Package Symbol]) — a blank node

(PackageLink[RDFCollection, paclet:GraphStore/ref/RDFCollection, GraphStore Package Symbol]) — list-like collections in RDF graphs and SPARQL queries

Literals

"string" — a string literal

(PackageLink[RDFLiteral, paclet:GraphStore/ref/RDFLiteral, GraphStore Package Symbol]) — a datatyped literal

(PackageLink[RDFString, paclet:GraphStore/ref/RDFString, GraphStore Package Symbol]) — a language-tagged string

1, 2, (RefLink[True, paclet:ref/True]), (RefLink[False, paclet:ref/False]), … — simple literals

Formats

(StringTypeLink["NTriples", paclet:GraphStore/ref/format/NTriples, GraphStore Package Symbol]), (StringTypeLink["Turtle", paclet:GraphStore/ref/format/Turtle, GraphStore Package Symbol]) — text-based formats for RDF graphs

(StringTypeLink["NQuads", paclet:GraphStore/ref/format/NQuads, GraphStore Package Symbol]), (StringTypeLink["TriG", paclet:GraphStore/ref/format/TriG, GraphStore Package Symbol]) — text-based formats for RDF graphs and datasets

(StringTypeLink["JSONLD", paclet:GraphStore/ref/format/JSONLD, GraphStore Package Symbol]) — JSON-based format for RDF graphs and datasets

(StringTypeLink["RDFXML", paclet:GraphStore/ref/format/RDFXML, GraphStore Package Symbol]) — XML-based format for RDF graphs