arXiv:2610.27637cs.AIOct 2026

Manuscript Offprint

arXiv:2610.27637

SCODEL: Shared Canonical Ontology Definitions for Food Entity Linking and Ontology-Grounded Recipe Knowledge Graphs

Nuhu Ibrahim, Rishi Ravikumar, Ayuba Dauda, Fuqi Xu, Robert Stevens, Riza Batista-Navarro

Abstract

Identifying recipe entities and linking them to ontology concepts is fundamental for semantic recipe understanding. However, food mentions in recipes are often ambiguous, context-dependent, and lexically diverse, making ontology entity linking (EL) challenging. We propose SCODEL, a streamlined, model-agnostic approach based on a central idea: contextual food mentions and ontology concepts that refer to the same entity should learn the same canonical ontology-oriented definition. SCODEL uses these shared definitions as a semantic normalisation layer, providing complementary semantic information to existing EL models without requiring a new linking architecture. We further introduce ReciLinkD, the first benchmark for contextual food ontology entity linking in recipes. Experiments show that SCODEL consistently improves three modular EL models (ReFinED, GSM-EL, and BLINK): SCODEL×BLINK achieves the highest Hit@1 on seen concepts (88.33%), while SCODEL×GSM-EL achieves the highest Hit@1 on unseen concepts (83.15%), outperforming the strongest large language model (LLM) based EL baseline in each setting. Experiments on a biomedical ontology benchmark further demonstrate that SCODEL generalises beyond the food domain. Finally, we use SCODEL to ground food mentions at scale and construct an ontology-grounded recipe knowledge graph, demonstrating its utility for ontology-aware recipe retrieval and corpus-level food analysis.

1 Introduction

Entity linking (EL) is a fundamental task in natural language processing (NLP) that grounds textual mentions to canonical concepts in structured knowledge sources such as ontologies and knowledge graphs. By linking surface forms to structured concepts, EL enriches textual data with formal semantics, enabling interoperability, semantic reasoning, and knowledge integration across heterogeneous datasets (Rao et al., 2012; Shen et al., 2014). Consequently, EL has become an essential component of biomedical and scientific NLP, supporting downstream applications including information extraction, knowledge graph construction, and semantic search.

Despite its importance, ontology entity linking remains relatively underexplored in the food domain. Food mentions may differ substantially from ontology labels despite referring to the same food concept (e.g., garbanzo beans vs. chickpea), require recipe context to resolve underspecified mentions (e.g., stock referring to chicken stock or vegetable stock), or occur at different levels of specificity in the ontology hierarchy (e.g., chilli pepper vs. jalapeno pepper). Existing approaches are typically limited by small annotated datasets, restricted ontology coverage, or memorisation-based methods that struggle to generalise to previously unseen concepts (Pappu et al., 2017; Chong and Lim, 2018; Popovski et al., 2019; Feher et al., 2023; Gjorgjevikj et al., 2025).

At the same time, complementary resources have established a rich ecosystem for computational food research. FoodOn (Dooley et al., 2018) provides a structured ontology of food concepts, while Recipe1M (Marin et al., 2021) and RecipeNLG (Bień et al., 2020) provide large-scale recipe corpora. ReciFine (Ibrahim et al., 2026a) further provides fine-grained food entity annotations over recipe text. However, the absence of robust contextual entity linking prevents effective integration between these resources, limiting semantic recipe understanding and downstream analyses such as nutritional reasoning, dietary inference, ingredient composition analysis, and food analytics through large-scale recipe knowledge graph construction.

Recent advances in entity linking have improved zero-shot generalisation through dense representations and pretrained language models (Moreno et al., 2017; Hou et al., 2020; Parravicini et al., 2019; Logeswaran et al., 2019; Yao et al., 2020; Wu et al., 2020; Ayoola et al., 2022). Nevertheless, these approaches primarily operate on lexical mentions or contextual embeddings, leaving a persistent semantic gap between informal recipe language and structured ontology concepts. This challenge is especially pronounced in recipes, where ingredient mentions vary widely and depend heavily on cooking context.

To address these challenges, we propose SCODEL, a method that learns shared canonical ontology-oriented definitions for both contextual recipe food mentions and ontology concepts, projecting them into a shared semantic definition space before downstream entity linking. Rather than replacing existing entity linking systems, SCODEL serves as a model-agnostic semantic normalisation layer that can be integrated with modular entity linking methods to improve supervised and zero-shot linking performance. We further introduce ReciLinkD, the first benchmark for contextual recipe ontology entity linking, covering food entities as they appear in recipes. Together, SCODEL and ReciLinkD enable recipe-level ontology grounding, facilitating richer semantic understanding and analysis of large-scale recipe collections. All code, datasets, and trained model artefacts associated with this work are released publicly under CC BY-NC 4.0 1^{1}.

Our contributions are summarised as follows:

• We propose SCODEL, a streamlined, model-agnostic approach that learns shared canonical ontology-oriented definitions as a semantic normalisation layer for ontology entity linking.

• We introduce ReciLinkD, the first contextual recipe ontology entity-linking benchmark, with 3,979 manually annotated pairs, expanded to 15,559 manually verified pairs using SCODEL.

• We demonstrate that SCODEL consistently improves diverse modular entity linking frameworks across both supervised and zero-shot settings.

• We provide extensive ablation studies analysing SCODEL’s key design choices, demonstrate its generalisability beyond food ontology on the GSCplus dataset with the Human Phenotype Ontology (Luo et al., 2021), and showcase the practical applicability of food entity linking through a downstream recipe knowledge graph construction application.