Extended Matrix documentation
Extended Matrix is a formal language with which to document stratigraphy and virtual reconstruction processes. It is intended to be used by archaeologists and heritage specialists to keep track in a robust way of their scientific activities. The EM allows to record the sources used and the processes of analysis and synthesis that have led from scientific evidence to interpretation and reconstruction. It organises 3D archaeological record so that the 3D modelling steps are smoother, transparent and scientifically complete. Its development is leaded by E. Demetrescu at CNR-ISPC (Rome, former CNR-ITABC). EM is at its 1.5 version (a 1.6 version is currently under development).
First time here?
If this is your very first contact with the Extended Matrix project, the recommended landing page is extendedmatrix.org — it explains what EM is, who it is for, and which of the manuals you should open next. This site you are reading now is the language reference: the place where the formal notation is defined and discussed.
EM, EM Tools, 3DSC: who is who
A new user often meets three names at once. The distinction matters because each one solves a different problem:
Name |
What it is |
Where to learn it |
|---|---|---|
Extended Matrix (EM) |
The formal language used to document stratigraphy and reconstruction processes. Drawn in yEd or produced from |
You are here. |
EM Tools |
The Blender add-on that connects an EM graph to 3D content. |
|
3DSC |
A complementary Blender environment for high-quality 3D survey processing that can feed EM Tools. |
|
Heriverse |
The Heritage Science Metaverse — web-based publication and collaborative VR for EM-aware scenes (paradata pop-ups, epoch switching, voice/screen sharing). |
If you are unsure which one you need: stay here if you have evidence to organise and a notation to learn; switch to the EM Tools manual if you have 3D content to annotate in Blender; reach for 3DSC if you have raw survey data to clean and align; open Heriverse when your reconstruction is ready to be shared with the world.
Start here
Pick the entry that fits you best. Each path eventually loops back to the formal language sections of this manual.
I work with sources, stratigraphy and reconstruction logic
You are exactly in the right place. Begin with Learn EM, then A stratigraphic approach, then walk through Stratigraphic Nodes, Auxiliary Stratigraphic nodes, Paradata Nodes and Connectors — these four pages cover ~80% of the day-to-day vocabulary.
I build and texture 3D models and want to enrich them with EM data
The Blender side of EM lives in the EM Tools manual — start there for installation and the operational workflow. Come back here whenever you need to understand what a node type actually means (most often: Stratigraphic Nodes, Paradata Nodes).
I want to extend EM, integrate it, or contribute code
The implementation lives in the s3Dgraphy library (currently bundled inside EM-blender-tools). On this site, the most useful reading is The Knowledge Tree for the data architecture and Paradata Nodes Group / Data Funnel Structure for how information propagates through the graph.
From sources to validated reconstruction
The Extended Matrix is the connective tissue between five well-known moments of the archaeological reconstruction process — and what makes each step traceable to the next.
Fig. 1 The Extended Matrix workflow at a glance: from the evidence you collect to a reconstruction that other researchers can verify, query and reuse.
You start with sources and evidence — photos, reports, drawings, the archaeological remains themselves. From these you carry out a stratigraphic analysis, identifying units, sequences, phases and activities. The Extended Matrix graph is where this analysis becomes formal: typed nodes for stratigraphic units, sources, paradata and hypotheses, connected by arcs with explicit semantic meaning. The graph then guides the 3D reconstruction, where geometry is tied unit-by-unit to the graph nodes that justify it. The final step is publication and paradata: a reconstruction that other researchers can open and interrogate, because every interpretive choice is recorded in the graph and travels with the model.
The remainder of this manual walks through each of these moments in detail: how to learn the formal language, how to organise a project, and how each kind of node and connector works.
Tip
If this is your very first contact with EM, jump to Learn EM for a guided tour calibrated to four different starting points (humanist, archaeologist with 3D skills, 3D modeller, and developer).
Extended Matrix and s3dgraphy: two complementary layers
A common source of confusion is the relationship between Extended Matrix (EM) and s3dgraphy. They are not the same thing — they operate at different levels and serve different purposes, but they are deeply intertwined.
Extended Matrix is a formal visual language. Like a musical score or an architectural drawing, it is designed to be read, written, and reasoned about by human beings — archaeologists, heritage specialists, and researchers. EM defines a typed vocabulary of nodes (stratigraphic units, sources, interpretation nodes, paradata) and a set of connecting arcs with precise semantic meanings. This notation can be drawn on paper, edited in a graph editor such as yEd, or produced by AI-assisted extraction workflows. Its strength is human legibility: a trained specialist can look at an EM graph and immediately understand the stratigraphic sequence, the sources behind each unit, and the interpretive steps that led to a reconstruction.
s3dgraphy is the computational implementation of EM as a property knowledge graph. It is a Python library that encodes the same knowledge in a machine-processable format — primarily GraphML and JSON — and provides tools to create, read, modify, validate, query, and convert EM graphs programmatically. s3dgraphy is what allows EM data to flow between tools (yEd, Blender, web platforms) and to be processed at scale by software pipelines.
The relationship can be summarised as follows:
EM defines what the entities are and what the relationships mean — it is the schema and the notation.
s3dgraphy defines how those entities are represented computationally and how the data is managed, stored, and exchanged.
In practical terms: an archaeologist authors or reviews a stratigraphic sequence using the EM visual language; s3dgraphy is the library that reads and writes the underlying graph file, enforces the EM data model, and makes the data available to the rest of the Extended Matrix Framework (EMtools for Blender, web visualisation platforms, AI extraction pipelines).
Note
If you are working with the visual notation — drawing nodes, reading diagrams, understanding stratigraphic logic — you are working with Extended Matrix. If you are writing Python code to process, import, or export graph data, you are working with s3dgraphy.
Note
This documentation is related to a EM 1.5 development version: please pay attention that modifications may occur before releasing the final version.
How to start
Formal Language
- Canvas
- Nodes overview
- Stratigraphic Nodes
- General background on stratigraphic units (
StratigraphicNode) - Stratigraphic units can be classified into main categories:
- 1. Physical Stratigraphic Units
- 2. USD - Documentary Stratigraphic Units (
DocumentaryStratigraphicUnit) - 3. Virtual Stratigraphic Units (USV)
- 4. Special Finds, Virtual Special Finds and Reused Special Finds (SF, VSF and RSF):
- 5. Transformation Stratigraphic Unit (
TransformationStratigraphicUnit):
- General background on stratigraphic units (
- Auxiliary Stratigraphic nodes
- Activity Nodes Group
- Location
- Paradata Nodes
- Properties (Qualia)
- Document Nodes: Managing Archaeological Sources
- Extractor Types
- Paradata Nodes Group
- Connectors
- Data Funnel Structure
- Utilities and Minor Nodes
Data layer
Theoretical Aspects:
Mini tutorials
Cookbook
Ecosystem
Reference