Skip to main content

Module solid_ldp

Module solid_ldp 

Source
Expand description

Solid leave/migrate — project Qualia Quins to portable RDF for Solid Pods.

§Architecture

QualiaDB / Webizen Desktop          Solid Pod / Solid-Databox
(48-byte Quins, Q42, lexicon)  →    (triples / quads: Turtle, JSON-LD, N-Quads)
                                   ←  (wasm-webcivics parse → Qualia backup)

Solid does not store Quins. The leave path is a projector: the user must choose omit-sanctuary vs reclassify-for-solid when sanctuary data exists; classified never egresses. Solid-Databox imports with LDP PUT and may use licensed wasm-webcivics for backup import/export bridges.

G-SOLID-IDP stays parked: QualiaDB remains the identity/capability source for in-ecosystem work; this module is the off-ramp / on-ramp, not an IdP.

Structs§

EgressStats
SanctuaryMigrationNotice
Pre-flight notice for desktop / Databox UI before building a leave bundle.
SolidBundleFormats
Formats written into a leave-path bundle.
SolidEgressPolicy
What may cross into a Solid-portable RDF bundle.
SolidExporter
Translates a Qualia .q42 volume into a Solid-portable RDF directory.
SolidLdpFacade
Backward-compat stub used by an existing lib test (RDF-star mapping demo).
SolidMigrationBundle
In-memory Solid leave bundle (files a Databox can LDP-PUT).
SolidMigrationOptions
Options for building a migration bundle.

Enums§

SanctuaryExportChoice
Principal’s decision when sanctuary-bearing quins are present.

Functions§

build_migration_bundle
Build a portable Solid RDF bundle from Quins (+ optional Q42LEX map).
count_classified_quins
Counts quins by classification.
count_sanctuary_quins
Count how many quins would be sanctuary-gated (excluding classified).
export_outcome_summary
Summarise what an export did, for post-export UI.
filter_for_egress
Partition quins into exportable vs redacted counts (caller buffers output).
import_rdf_to_quins
Parse a Solid RDF document into Quins (cold path).
may_egress
Decide whether a quin may enter the Solid RDF export set.
plan_sanctuary_migration_notice
Build the user-facing notice. Call before export when planning a leave.
require_sanctuary_choice
Fail closed when sanctuary is present and the principal has not chosen.
solid_rdf_to_qualia_backup_json
Build a Qualia/webcivics vault-backup style JSON package from RDF Sources.