Allotrope Foundation Ontology (AFO)¶
The Allotrope Foundation Ontology (AFO) is a comprehensive ontology suite designed to standardize the representation of laboratory analytical processes [2] [1]. It provides a semantic model and controlled vocabulary for describing key domains such as equipment, material, process, and results [2] [1]. The ontology is aligned with the Basic Formal Ontology at its upper layer, supporting interoperable representation of laboratory data across analytical systems [2] [1]. Within the Allotrope framework, AFO serves as the semantic layer for consistent description of experimental context, analytical workflows, and resulting data [1] [2]. By providing explicit definitions and relationships, AFO supports laboratory data integration, reproducible analysis, workflow automation, and traceable representation of analytical processes [2] [1].
Example Usage: Annotate a laboratory experiment with AFO terms to specify the equipment used, such as a mass spectrometer, the material analyzed, such as a chemical sample, the analytical process performed, such as chromatography, and the results obtained, enabling semantic integration, standardized description, and interoperable analysis across laboratory data systems [2] [1].
Metrics & Statistics¶
Total Nodes |
15547 |
Total Edges |
36699 |
Root Nodes |
142 |
Leaf Nodes |
8003 |
Classes |
3871 |
Individuals |
38 |
Properties |
318 |
Maximum Depth |
24 |
Minimum Depth |
0 |
Average Depth |
5.14 |
Depth Variance |
22.60 |
Maximum Breadth |
368 |
Minimum Breadth |
1 |
Average Breadth |
75.84 |
Breadth Variance |
8251.25 |
Term Types |
37 |
Taxonomic Relations |
6904 |
Non-taxonomic Relations |
34 |
Average Terms per Type |
3.36 |
Usage Example¶
Use the following code to import this ontology programmatically:
from ontolearner.ontology import AFO
ontology = AFO()
ontology.load("path/to/AFO-ontology.ttl")
# Extract datasets
data = ontology.extract()
# Access specific relations
term_types = data.term_typings
taxonomic_relations = data.type_taxonomies
non_taxonomic_relations = data.type_non_taxonomic_relations