Food Ontology (FoodON)¶
FoodOn is a farm-to-fork food ontology that provides a comprehensive vocabulary for naming and classifying food materials across the food supply chain [1] [2]. It covers raw harvested foods, their botanical and zoological origins, and processed food products intended for both human consumption and animal feed [1] [2]. FoodOn integrates anatomical, taxonomic, and other reusable ontology terms to support precise semantic representation of food items, their components, and related food processes [1] [2]. It is designed as an open, ontology-driven standard that supports consistent food description and interoperability across government, industry, research, and other food-related systems [2] [1]. Its hierarchical structure supports relationships among source organisms, anatomical parts, processing methods, preservation methods, packaging, and final food products [1] [2]. By providing unambiguous semantic definitions, FoodOn supports standardized naming, food safety traceability, quality control, nutrition and dietary research, and data integration across food-related databases and applications [2] [1].
Example Usage: Annotate a food product dataset with FoodOn terms for source organisms, anatomical parts, processing methods, packaging, and final food products to enable standardized description, interoperable data exchange, and traceability across food safety, nutrition, and supply chain systems [1] [2].
Metrics & Statistics¶
Total Nodes |
176584 |
Total Edges |
423840 |
Root Nodes |
4834 |
Leaf Nodes |
90848 |
Classes |
47261 |
Individuals |
16 |
Properties |
197 |
Maximum Depth |
23 |
Minimum Depth |
0 |
Average Depth |
2.24 |
Depth Variance |
4.81 |
Maximum Breadth |
11122 |
Minimum Breadth |
2 |
Average Breadth |
1217.12 |
Breadth Variance |
6546794.36 |
Term Types |
16 |
Taxonomic Relations |
76228 |
Non-taxonomic Relations |
2072 |
Average Terms per Type |
8.00 |
Usage Example¶
Use the following code to import this ontology programmatically:
from ontolearner.ontology import FoodOn
ontology = FoodOn()
ontology.load("path/to/FoodOn-ontology.owl")
# 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