Skip to main content

Crate purrdf_slice

Crate purrdf_slice 

Source
Expand description

purrdf-slice — native slice catalog: manifest-based discovery, typed artifact inventory, and content-addressed IDs for the PurRDF ontology slices.

Re-exports§

pub use analysis::AnalysisError;
pub use analysis::AnalysisGraph;
pub use analysis::bundle_content_id;
pub use analysis::emit_analysis_graph;
pub use analysis::is_forbidden_edge;
pub use artifact::ArtifactRecord;
pub use artifact::ArtifactRole;
pub use cache::CacheKey;
pub use cache::LinkUnit;
pub use cache::Phase;
pub use cache::ProductUnit;
pub use cache::ToolchainContext;
pub use cache::dependency_closure;
pub use cache::product_unit;
pub use cache::product_unit_key;
pub use cache::source_unit_key;
pub use catalog::ManifestView;
pub use catalog::SliceCatalog;
pub use catalog::SliceRecord;
pub use catalog::SliceTier;
pub use claim_view::CLAIM_VIEW_FILE;
pub use claim_view::emit_claim_view;
pub use diagnostics::ProjectionDiagnostic;
pub use dsl_stats_emit::emit_dsl_stats;
pub use error::SliceError;
pub use fix_deps::ManifestPatch;
pub use fix_deps::compute_fix_deps;
pub use list_functions::emit_list_functions;
pub use ownership::ArtifactEvidence;
pub use ownership::DependencyEdge;
pub use ownership::EdgeEvidence;
pub use ownership::EdgeKind;
pub use ownership::OwnershipAnalyzer;
pub use ownership::OwnershipDiagnostic;
pub use ownership::OwnershipReport;
pub use ownership::OwnershipStatus;
pub use ownership::ReconciliationStatus;
pub use ownership::SliceIri;
pub use ownership::TermOwnership;
pub use prefix_emit::emit_core_prefixes;
pub use prefix_emit::emit_jsonld_context;
pub use prefix_lint::lint_prefix_consistency;
pub use rdf_query::NamedNode;
pub use standpoint_emit::emit_standpoint_sets;
pub use vocab::SliceVocab;

Modules§

analysis
Slice-analysis graph emitter (§11 / S7).
artifact
Typed artifact inventory: roles, records, and content-addressed digests.
cache
Phase-specific, path-independent, semantic Merkle cache keys plus SCC / profile composition (§12 / §8, child S6a).
catalog
Slice catalog: manifest-based discovery, typed artifact inventory, and content-addressed IDs.
claim_view
Native claim-view emission — PurRDF’s internal generated/queries/observation-claim-view.rq SPARQL CONSTRUCT.
diagnostics
The shared lint diagnostic carrier for the surviving purrdf-slice lints.
dsl_stats_emit
Native DSL surface-count emission — PurRDF’s committed, drift-gated generated/mappings/dsl-stats.json.
error
Error type for the purrdf-slice crate.
fix_deps
Native <vocab>sliceDependsOn reconciliation patcher (G8).
list_functions
First-class RDF list functions.
mapping_support
Shared mapping-DSL infrastructure for the surviving generated-artifact emitters.
ownership
Native ownership + dependency analyzer (§10 / S4).
prefix_emit
Prefix-set projections (§2): the importable named prefix set (<vocab>CorePrefixes) and the JSON-LD @context document — both projections of the single prefix authority (the caller’s SliceVocab entry plus crate::mapping_support::PREFIX_REGISTRY).
prefix_lint
Prefix-consistency lint (§2).
rdf_query
Oxigraph-free RDF query surface for the slice emitters and linters.
standpoint_emit
Native standpoint-projection emission — PurRDF’s hand-authored generated/queries/standpoint-*.rq SPARQL CONSTRUCT projections.
standpoint_modality
Factored claim-modality projection (ME3 of).
vocab
The consumer slice vocabulary.