
Title
Practical use of ontology labels with mammos-entity
Monday, November 30, 2026 | 11.00 – 13.00 CET | Online
Speaker: Prof. Hans Fangohr, Max Planck Institute for the Structure and Dynamics of Matter, Germany
Topic
The MaMMoS project demonstrates the mammos-entity package, which lets you write Python code that operates with “entities” which carry ontology labels, units, values and descriptions. This makes data more interoperable, reusable and machine readable. The entity objects can be written to disk for data archival, and can also be read back into Python for further scientific processing, for example in multi-step analysis or simulation workflows. Using examples, we will demonstrate the potential use of mammos-entity in all research domains where EMMO ontology labels are relevant.
Target group
This demonstration is for everyone who is interested in integrating the Elementary Multiperspective Material Ontology (EMMO) or EMMO-derived ontologies in their scientific workflows. In particular, we will show how ontology labels can be used as metadata in Python software. We welcome participants from academia, research and technology organisations, and industry. We assume a basic appreciation of the value of ontologies.
Goal
At the end of this demonstration, you will be better able to:
- search EMMO for suitable ontology labels from Python
- create an entity linking a value and unit to an ontology concept
- calculate with entities and convert between units
- write data with units and ontology labels to disk (CSV, YAML, HDF5) and read it back
- create more complex data sets from collections of entities
- check that inputs to your own Python functions carry the expected ontology label
- use mammos-entity as a library in your own scientific software
Relevant Links
Documentation: https://mammos-project.github.io/mammos/
Documentation examples: https://mammos-project.github.io/mammos/examples/mammos-entity/index.html
Hans Fangohr, Samuel J. R. Holt, Martin Lang, Swapneel Pathak, Andrea Petrocchi, Michael Adams, Wilfried Hortschitz, Santa Pile, Alena Vishina, M. Nur Hasan, Georgia A. Marchant, Timoteo Colnaghi, Christina Winkler, Jonas Winkler, William Rigaut, Thibaut Devillers, Pierre Le Berre, Camille Rahi, Nora M. Dempsey, Thomas G. Woodcock, Andreas Marek, Heike C. Herper, and Thomas Schrefl
“Toward a Magnetic Multiscale Modeling Suite (MaMMoS),” in IEEE Transactions on Magnetics, vol. 62, no. 10, 7001606, 10.1109/TMAG.2026.3689962, https://ieeexplore.ieee.org/abstract/document/11506611
Open Source code: https://github.com/MaMMoS-project/mammos-entity
MaMMoS project: https://mammos-project.github.io/



