Optional modules

The core of cvcdocdb (Core primitives, Graph store interface, Backend-to-backend migration and the backends) is documented in the general part. The modules below build on it but are optional: import cvcdocdb doesn’t import them, and some need an extra (pip install "cvcdocdb[extra]"). Each page has its own installation notes, examples, tutorials and API.

Module

Install

What for

DRM semantic entities

(none)

DRM semantic entities: people, places, cultural documents, layouts…

RiC-O entities

(none)

RiC-O archival entities generated from the ontology

RDF / OWL ontology conversion

[rdf]

Convert RDF/OWL ontologies to a YAML schema and entity classes

Schema-based class generation

[schema]

Generate entity classes from a YAML schema

PyTorch / PyTorch Geometric dataloader

[torch]

Stream a graph into PyTorch / PyTorch Geometric

Natural-language queries on any backend (Text2Query)

as the translator

Natural-language questions on any backend (picks SPARQL or Cypher)

Natural-language queries (Text2Cypher)

[graphrag] on Neo4j only

Natural-language questions translated to Cypher by an LLM

Natural-language queries in SPARQL (Text2SPARQL)

(none)

Natural-language questions translated to SPARQL (JenaGraph)