How ke-uniliv/animl-ontology works
AnIML Ontology is a semantic interoperability model for experimental data, with a companion alignment toolkit that generates mappings to Allotrope and other ontologies. The documented ontology workflow is requirements and competency questions expressed in the model, then query/shape validation and downstream knowledge-graph use; the repository tree does not expose the README’s named ontology files, so that subsystem is represented at its existing ontologies directory. Alignment source excerpts show an interactive runner dispatching to alignment methods, which can evaluate and serialize mappings. Evidence for the broader model capabilities comes from the README; unsampled implementation links are omitted.
Main entry points: ontologies AnIML Ontology · methods.py Alignment Methods · outputs Mapping Outputs · testing Validation Results
Components 16
Semantic Model
- Competency Questions
requirements - AnIML Ontology
ontologies - Core Module
ontologies - Technique Module
ontologies - Reference Pattern
ontologies
Ontology Alignment
- ADF Ontologies
alignments/ontologies - Method Runner
alignments/run_methods.py - Alignment Methods
alignments/methods.py - Alignment Dependencies
alignments/alignment_dependencies.py - Mapping Evaluation
alignments/evaluation.py - Mapping Outputs
alignments/outputs
Validation and Review
- Mapping Spreadsheet
alignments/excelification.py - Competency Queries
testing - SHACL Constraints
ontologies - Validation Results
testing
Other components
- Lab Data User
Connections 20
- Lab Data User → Competency Questions: defines questions
README.md - Competency Questions → AnIML Ontology: guides model
README.md - AnIML Ontology → Core Module: structures experiments
README.md - AnIML Ontology → Technique Module: defines techniques
README.md - AnIML Ontology → Reference Pattern: models references
README.md - Core Module → AnIML Ontology: represents data
README.md - Technique Module → AnIML Ontology: constrains data
README.md - Reference Pattern → AnIML Ontology: links data slices
README.md - AnIML Ontology → Competency Queries: answers questions
README.md - Competency Queries → Validation Results: checked by queries
README.md - AnIML Ontology → SHACL Constraints: constrained by
README.md - SHACL Constraints → Validation Results: validates structure
README.md - Lab Data User → Method Runner: selects alignment
alignments/run_methods.py - Method Runner → Alignment Methods: dispatches method
alignments/run_methods.py - Alignment Methods → Alignment Dependencies: uses aligners
alignments/methods.py - Alignment Methods → Mapping Evaluation: evaluates matches
alignments/methods.py - Alignment Methods → Mapping Outputs: writes mappings
alignments/methods.py - Mapping Outputs → Mapping Spreadsheet: imports mappings
- AnIML Ontology → ADF Ontologies: aligns with ADF
README.md - Mapping Outputs → Validation Results: reviewed by experts