User guides

These guides explain how to use TripleModel 0.12.x in order of increasing complexity. Each guide is self-contained, but later guides assume you have read Getting started.

The table below lists guides in reading order (1–15). Guide 9 appears before 4 in the table only because language tags and RDF lists are introduced before graph sync modes.

#

Guide

Topics

1

Getting started

Install, TripleModel, to_graph / from_graph

2

Mapping fields and subjects

class Rdf, rdf_field, subject IRIs

3

Multi-valued fields

Sets (multi-object), on_duplicate

9

RDF lists and language-tagged literals

RDF lists (list[T]), LangString, MultiLangString

4

Updating graphs

Sync modes, clearing fields

5

Nested models

Child resources, embed

6

Namespaces and CURIEs

Prefixes, compact predicates

7

Custom literals and types

Registry, Decimal, Enum

8

Working with graphs

Batch export/import, helpers

10

File I/O (parse and serialize)

Parse/serialize files, base URI

11

Real-world patterns (0.4.1)

Multi-class load, Wikidata typing, ref_field, gYear

12

Datasets and named graphs

Rdf.graph_iri, Dataset, TriG / N-Quads

13

SPARQL and remote endpoints

SPARQL SELECT/CONSTRUCT/ASK/UPDATE, remote endpoints

14

Graph algorithms and RDFS

CBD, graph compare, RDFS dispatch, hydrate_refs, transitive import

15

Stores, scale, and strict import

Stores, chunked/streaming import, strict mode, plugins, codegen

Next: Getting started