ProjectionPipeline: ordered sequence of collapse transforms.
Usage: const pipeline = new ProjectionPipeline(); pipeline.addStep({ name: "Type Collapse", transform: typeCollapse, enabled: true }); const ugm = pipeline.project(rdfGraph);
Add a step to the end of the pipeline.
Get all steps (for UI display / toggling).
Run all enabled steps in order, then convert the result to UGM. Pre-extracts types and literal properties BEFORE collapses run, so that type/property info is preserved regardless of which collapses are enabled.
Enable or disable a step by name.
ProjectionPipeline: ordered sequence of collapse transforms.
Usage: const pipeline = new ProjectionPipeline(); pipeline.addStep({ name: "Type Collapse", transform: typeCollapse, enabled: true }); const ugm = pipeline.project(rdfGraph);