StratiMiner (Experimental)
The StratiMiner panel drives the unified em_data.xlsx workflow for
building an Extended Matrix graph from archaeological documents. It
replaces the legacy two-file wizard (stratigraphy.xlsx +
em_paradata.xlsx) with a single five-sheet schema (Units,
Epochs, Claims, Authors, Documents) that can be produced
either by an AI assistant or by hand from an existing database.
Warning
This is an experimental feature. It requires Experimental Features enabled in the EM Data Tree panel and is only visible when Advanced EM mode is active. Always work on a backup before using it on production data.
The panel is located in the EM Bridge tab under the label
StratiMiner (Experimental).
Panel layout
The panel is organised into two logical blocks — Create and Use — that are independent: pick the action that matches the current session.
Block 1 — CREATE em_data.xlsx
Two alternative paths to obtain an em_data.xlsx file.
Option A — AI-assisted:
Output languagedropdown: language in which the AI should return labels and descriptionsDocuments folder: folder that contains the source PDFs the AI will parseDosCo in-placetoggle: when enabled, the DosCo layout is written directly inside the documents folder; when disabled, aTarget DosCo folderfield appears to redirect the outputAI has filesystem accesstoggle: declares whether the assistant can read the PDFs directly (Claude Projects, ChatGPT with uploaded files, Gemini) or only via pasted textInclude validation instructionstoggleInclude checklisttoggleStratigraphy-only prompttoggle: emits a reduced prompt limited to stratigraphic relations (no paradata)Copy StratiMiner Promptbutton: copies the v5.2 extraction prompt to the clipboard, ready to be pasted into Claude, ChatGPT or Gemini together with the PDFs. The assistant returns a singleem_data.xlsxwith the 5 typed sheets.
Option B — Manual (empty template):
Save em_data.xlsx Templatebutton: writes an empty 5-sheet workbook to disk so it can be filled by hand. This is the recommended entry point when migrating a pre-existing archaeological database that already contains explicit stratigraphic relations.
Block 2 — USE em_data.xlsx
Once an em_data.xlsx exists (via Option A or B), it can be
consumed in two independent ways.
em_data.xlsxfile path: selects the workbook to use for the actions below.
Path A — Build a new GraphML:
Also write .graphml on importtoggle: when enabled, the graph is exported to disk right after it is built in memoryOutput .graphmlfile path: destination of the optional export (the.graphmlextension is added automatically if missing)Build GraphML from em_data.xlsxbutton: parses the xlsx with theUnifiedXLSXImporter, registers the resulting graph in the MultiGraphManager, and — if enabled — writes out the.graphmlfile. Node/edge counts of the freshly built graph are shown below the button.
Path B — Merge into active GraphML:
Merge into Active Graph...button: launches the merge conflict-resolution flow against the currently loaded GraphML. Disabled until a GraphML is active in the EM Data Tree tree.
Import warnings
When the importer reports warnings (missing authors, orphan claims,
unknown epochs, etc.), a collapsible Import Warnings (N) box is
appended at the bottom of the panel with a per-entry list and a clear
button.
Workflow
Enable Experimental Features in the EM Data Tree panel and activate Advanced EM mode.
Open EM Bridge → StratiMiner (Experimental).
Choose how to produce the
em_data.xlsx:AI path: set the documents folder, adjust the DosCo and prompt toggles, click
Copy StratiMiner Prompt, paste it into the assistant along with the PDFs, save the returned workbook.Manual path: click
Save em_data.xlsx Templateand fill the 5 sheets by hand.
Point the
em_data.xlsxfield to the file produced at step 3.Either click
Build GraphML from em_data.xlsx(optionally writing the.graphmlto disk) orMerge into Active Graph...to integrate it into the currently loaded graph.Inspect the
Import Warningsbox and reconcile anything flagged before treating the result as final.