.. _auto_ontology_cleanup: *ONTOLOGY CLEANUP* ================== Drops all ARC2 MySQL tables associated with a named ontology store, effectively resetting it to a clean state. Use this worker to fully remove an existing RDF triple store before re-ingesting data or decommissioning an ontology namespace. When to use ----------- Tagged: ``arc2``, ``cleanup``, ``drop_tables``, ``mysql``, ``ontology``, ``rdf``, ``triple_store``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Ontology Store Name - ontology_store_name - text - — - ✓ - Logical name of the ARC2 ontology store to clean up (e.g. 'materials_v2'); the worker normalises this to the 'arc2_ontology_' table prefix before dropping all associated MySQL tables. Required — leave no default. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Status - status - text - Human-readable result message indicating success (e.g. 'Successfully cleaned up ontology store: materials_v2') or an error description if the operation failed. * - Ontology Store Name - ontology_store_name - text - Echoes back the normalised ontology store name that was targeted by the cleanup, useful for downstream logging or chaining. Disciplines ----------- - platform.ontology .. raw:: html

Auto-generated from platform schema. Worker id: ontology_cleanup. Schema hash: c3cd3f2ce36e. Hand-curated docs in workerexamples/ override this page when present.