<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Plant Sci.</journal-id>
<journal-title>Frontiers in Plant Science</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Plant Sci.</abbrev-journal-title>
<issn pub-type="epub">1664-462X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fpls.2024.1482275</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Plant Science</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Research on the construction of a knowledge graph for tomato leaf pests and diseases based on the named entity recognition model</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Kun</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2804628"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Miao</surname>
<given-names>Yuyuan</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Xu</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2812464"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Yuze</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Fuzhong</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Song</surname>
<given-names>Haiyan</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Software College, Shanxi Agricultural University</institution>, <addr-line>Jinzhong, Shanxi</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Agricultural Engineering College, Shanxi Agricultural University</institution>, <addr-line>Jinzhong, Shanxi</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>Edited by: Xiangjun Zou, South China Agricultural University, China</p>
</fn>
<fn fn-type="edited-by">
<p>Reviewed by: Lanhui Fu, Wuyi University, China</p>
<p>Santo &#xc1;ngel Ortega Acosta, Universidad Aut&#xf3;noma de Guerrero, Mexico</p>
<p>Gilbert Yong San Lim, SingHealth, Singapore</p>
</fn>
<fn fn-type="corresp" id="fn001">
<p>*Correspondence: Haiyan Song, <email xlink:href="mailto:yybbao@sxau.edu.cn">yybbao@sxau.edu.cn</email>
</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>07</day>
<month>11</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>15</volume>
<elocation-id>1482275</elocation-id>
<history>
<date date-type="received">
<day>18</day>
<month>08</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>22</day>
<month>10</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Wang, Miao, Wang, Li, Li and Song</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Wang, Miao, Wang, Li, Li and Song</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<sec>
<title>Introduction</title>
<p>Tomato leaf pests and diseases pose a significant threat to the yield and quality of Q6 tomatoes, highlighting the necessity for comprehensive studies on effective control methods.</p>
</sec>
<sec>
<title>Methods</title>
<p>Current control measures predominantly rely on experience and manual observation, hindering the integration of multi-source data. To address this, we integrated information resources related to tomato leaf pests and diseases from agricultural standards documents, knowledge websites, and relevant literature. Guided by domain experts, we preprocessed this data to construct a sample set.</p>
</sec>
<sec>
<title>Results</title>
<p>We utilized the Named Entity Recognition (NER) model ALBERT-BiLSTM-CRF to conduct end-to-end knowledge extraction experiments, which outperformed traditional models such as 1DCNN-CRF and BiLSTM-CRF, achieving a recall rate of 95.03%. The extracted knowledge was then stored in the Neo4j graph database, effectively visualizing the internal structure of the knowledge graph.</p>
</sec>
<sec>
<title>Discussion</title>
<p>We developed a digital diagnostic system for tomato leaf pests and diseases based on the knowledge graph, enabling graphical management and visualization of pest and disease knowledge. The constructed knowledge graph offers insights for controlling tomato leaf pests and diseases and provides new research directions for pest control in other crops.</p>
</sec>
</abstract>
<kwd-group>
<kwd>tomato leaf pests and diseases</kwd>
<kwd>knowledge graph</kwd>
<kwd>ALBERT-BiLSTM-CRF</kwd>
<kwd>Neo4j graph database</kwd>
<kwd>digital diagnosis</kwd>
</kwd-group>
<counts>
<fig-count count="10"/>
<table-count count="5"/>
<equation-count count="10"/>
<ref-count count="29"/>
<page-count count="14"/>
<word-count count="5834"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-in-acceptance</meta-name>
<meta-value>Sustainable and Intelligent Phytoprotection</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Agricultural production plays a crucial role in social development. In practical agricultural activities, crops are easily affected by various adverse factors. Among them, pests and diseases are one of the most significant factors affecting crop yield and income (<xref ref-type="bibr" rid="B1">Abdullah et&#xa0;al., 2023</xref>). Crop diseases and insect pests are characterized by their wide spread and propensity to cause disasters, which seriously affects the healthy growth of crops. Tomato, as a widely cultivated high-value vegetable globally, inevitably faces various factors such as improper cultivation practices, inadequate control measures, and environmental pollution during its cultivation process. This results in the occurrence of seventeen common types of pests and diseases, such as damping-off, viral diseases and leaf mold et&#xa0;al. These diseases not only severely impact the quality of tomatoes, but also significantly reduce yields, leading to substantial economic losses.</p>
<p>The traditional relational database knowledge management methods are unable to effectively represent and store such knowledge, facing challenges such as difficulties in integrating heterogeneous data, inefficiencies in expressing data relationships, and inadequacies in knowledge refinement. The term &#x201c;knowledge graph&#x201d; was used by Edgar W. Schneider in 1972 to describe data structures and control flows in educational modules (<xref ref-type="bibr" rid="B18">Schneider, 1973</xref>). In 2012, Google introduced the Google Knowledge Graph, effectively expressing relationships between data, marking the formal naming of knowledge graphs (<xref ref-type="bibr" rid="B20">Singhal, 2012</xref>). Research and construction of Knowledge Graphs have penetrated various domains of social life such as education (<xref ref-type="bibr" rid="B26">Xue et&#xa0;al., 2024</xref>), healthcare systems (<xref ref-type="bibr" rid="B19">Shi et&#xa0;al., 2017</xref>; <xref ref-type="bibr" rid="B22">Wu et&#xa0;al., 2023</xref>), and smart cities (<xref ref-type="bibr" rid="B12">Liu et&#xa0;al., 2021</xref>). They represent entities, attributes, and their relationships from the natural world in a graphical form, allowing for a better expression of domain-specific information closer to human cognitive understanding (<xref ref-type="bibr" rid="B23">Wu et&#xa0;al., 2021a</xref>). Based on the scope of knowledge coverage, Knowledge Graphs are mainly classified into two types: vertical Knowledge Graphs and general Knowledge Graphs (<xref ref-type="bibr" rid="B7">Ji et&#xa0;al., 2021</xref>). General Knowledge Graphs cover a wide range of knowledge across multiple domains, primarily addressing common-sense issues in the real world. Currently influential general Knowledge Graphs include YAGO2 (<xref ref-type="bibr" rid="B6">Hoffart et&#xa0;al., 2011</xref>), DBpedia (<xref ref-type="bibr" rid="B10">Lehmann et&#xa0;al., 2015</xref>), Freebase (<xref ref-type="bibr" rid="B2">Bollacker et&#xa0;al., 2008</xref>), as well as Chinese Knowledge Graph websites such as CN-DBpedia (<xref ref-type="bibr" rid="B25">Xu et&#xa0;al., 2017</xref>) and Baidu Zhixin (<xref ref-type="bibr" rid="B17">Niu et&#xa0;al., 2011</xref>). General Knowledge Graphs can be likened to &#x201c;structured encyclopedic knowledge bases,&#x201d; emphasizing breadth of knowledge and commonly used in search engines, constructed mainly in a bottom-up manner. Vertical Knowledge Graphs, also known as domain-specific Knowledge Graphs, are typically tailored to specific domains and require higher levels of depth and accuracy in knowledge representation. They serve as specialized knowledge repositories based on industry needs. For instance, Xindong Wu and colleagues proposed the Huapu-KG model, integrating HAO intelligence (human intelligence + artificial intelligence + organizational intelligence) for constructing genealogy Knowledge Graphs, addressing challenges of heterogeneity, autonomy, complexity, and evolution in genealogy data (<xref ref-type="bibr" rid="B24">Wu et&#xa0;al., 2021b</xref>). Wang, Chengbin et&#xa0;al. utilized hybrid corpora, Chinese word segmentation rules, and statistical methods to build a Knowledge Graph, demonstrating the potential and practicality of natural language processing and Knowledge Graph technologies in Earth science research (<xref ref-type="bibr" rid="B21">Wang et&#xa0;al., 2018</xref>). Yu, Tong et&#xa0;al. integrated traditional Chinese medicine terms, documents, and databases into a large-scale Knowledge Graph for visualization, retrieval, and recommendation services, facilitating the sharing, interpretation, and utilization of knowledge in traditional Chinese medicine and health preservation. Furthermore, some researchers combine Knowledge Graphs with specific technologies to address particular issues (<xref ref-type="bibr" rid="B27">Yu et&#xa0;al., 2017</xref>). For example, Zhuotong Li et&#xa0;al. proposed a method using Knowledge Graphs and graph neural networks for fault localization, demonstrating excellent accuracy in analyzing network anomalies on the SDON platform, thereby supporting industrial-scale alarm analysis and fault localization (<xref ref-type="bibr" rid="B11">Li et&#xa0;al., 2021</xref>). Qi Chen et&#xa0;al. introduced a novel zero-shot learning method using Knowledge Graphs to classify a large amount of social text data, achieving superior performance over six state-of-the-art NLP deep learning models on COVID-19-related tweet datasets (<xref ref-type="bibr" rid="B3">Chen et&#xa0;al., 2021</xref>). This method resolves issues with deep learning models requiring extensive labeled data and enhances the processing and analysis capabilities of CPSS data. Yi Luo et&#xa0;al. proposed the DTKGIN model, combining Knowledge Graphs and intent graphs to predict drug-target interactions, effectively addressing issues of high sparsity and cold start, demonstrating its effectiveness in predicting potential drug-target interactions through case studies (<xref ref-type="bibr" rid="B14">Luo et&#xa0;al., 2024</xref>).</p>
<p>Traditional relational database knowledge management methods cannot effectively represent and store such knowledge, facing issues such as inability to integrate heterogeneous data, inefficiency in expressing data relationships, and inability to refine knowledge. Knowledge Graph is a method proposed by Google in 2012 to effectively express relationships between data through a semantic network (<xref ref-type="bibr" rid="B20">Singhal, 2012</xref>). Research and construction of Knowledge Graphs have penetrated various domains of social life such as education (<xref ref-type="bibr" rid="B26">Xue et&#xa0;al., 2024</xref>), healthcare systems (<xref ref-type="bibr" rid="B19">Shi et&#xa0;al., 2017</xref>; <xref ref-type="bibr" rid="B22">Wu et&#xa0;al., 2023</xref>), and smart cities (<xref ref-type="bibr" rid="B12">Liu et&#xa0;al., 2021</xref>). They represent entities, attributes, and their relationships from the natural world in a graphical form, allowing for a better expression of domain-specific information closer to human cognitive understanding (<xref ref-type="bibr" rid="B23">Wu et&#xa0;al., 2021a</xref>).Based on the scope of knowledge coverage, Knowledge Graphs are mainly classified into two types: vertical Knowledge Graphs and general Knowledge Graphs (<xref ref-type="bibr" rid="B7">Ji et&#xa0;al., 2021</xref>). General Knowledge Graphs cover a wide range of knowledge across multiple domains, primarily addressing common-sense issues in the real world. Currently influential general Knowledge Graphs include YAGO2 (<xref ref-type="bibr" rid="B6">Hoffart et&#xa0;al., 2011</xref>), DBpedia (<xref ref-type="bibr" rid="B10">Lehmann et&#xa0;al., 2015</xref>), Freebase (<xref ref-type="bibr" rid="B2">Bollacker et&#xa0;al., 2008</xref>), as well as Chinese Knowledge Graph websites such as CN-DBpedia (<xref ref-type="bibr" rid="B25">Xu et&#xa0;al., 2017</xref>) and Baidu Zhixin (<xref ref-type="bibr" rid="B17">Niu et&#xa0;al., 2011</xref>). General Knowledge Graphs can be likened to &#x201c;structured encyclopedic knowledge bases,&#x201d; emphasizing breadth of knowledge and commonly used in search engines, constructed mainly in a bottom-up manner. Vertical Knowledge Graphs, also known as domain-specific Knowledge Graphs, are typically tailored to specific domains and require higher levels of depth and accuracy in knowledge representation. They serve as specialized knowledge repositories based on industry needs. For instance, Xindong Wu and colleagues proposed the Huapu-KG model, integrating HAO intelligence (human intelligence + artificial intelligence + organizational intelligence) for constructing genealogy Knowledge Graphs, addressing challenges of heterogeneity, autonomy, complexity, and evolution in genealogy data (<xref ref-type="bibr" rid="B24">Wu et&#xa0;al., 2021b</xref>). Wang, Chengbin et&#xa0;al. utilized hybrid corpora, Chinese word segmentation rules, and statistical methods to build a Knowledge Graph, demonstrating the potential and practicality of natural language processing and Knowledge Graph technologies in Earth science research (<xref ref-type="bibr" rid="B21">Wang et&#xa0;al., 2018</xref>). Yu, Tong et&#xa0;al. integrated traditional Chinese medicine terms, documents, and databases into a large-scale Knowledge Graph for visualization, retrieval, and recommendation services, facilitating the sharing, interpretation, and utilization of knowledge in traditional Chinese medicine and health preservation. Furthermore, some researchers combine Knowledge Graphs with specific technologies to address particular issues (<xref ref-type="bibr" rid="B27">Yu et&#xa0;al., 2017</xref>). For example, Zhuotong Li et&#xa0;al. proposed a method using Knowledge Graphs and graph neural networks for fault localization, demonstrating excellent accuracy in analyzing network anomalies on the SDON platform, thereby supporting industrial-scale alarm analysis and fault localization (<xref ref-type="bibr" rid="B11">Li et&#xa0;al., 2021</xref>). Qi Chen et&#xa0;al. introduced a novel zero-shot learning method using Knowledge Graphs to classify a large amount of social text data, achieving superior performance over six state-of-the-art NLP deep learning models on COVID-19-related tweet datasets (<xref ref-type="bibr" rid="B3">Chen et&#xa0;al., 2021</xref>). This method resolves issues with deep learning models requiring extensive labeled data and enhances the processing and analysis capabilities of CPSS data. Yi Luo et&#xa0;al. proposed the DTKGIN model, combining Knowledge Graphs and intent graphs to predict drug-target interactions, effectively addressing issues of high sparsity and cold start, demonstrating its effectiveness in predicting potential drug-target interactions through case studies (<xref ref-type="bibr" rid="B14">Luo et&#xa0;al., 2024</xref>).</p>
<p>Building a Knowledge Graph primarily involves four steps: data acquisition, knowledge extraction, knowledge fusion, and knowledge processing. Knowledge extraction, as a core step in the construction of a knowledge graph, is responsible for accurately obtaining useful knowledge from vast and complex data related to crop pests and diseases. This includes extracting information on symptoms, control measures, disease categories, distribution ranges, causes of disease, and locations of occurrence. Traditional methods of knowledge extraction typically rely on manually defined rules or statistical models, which excel in adaptability to specific domain languages and rules. However, they face limitations in performance and generalization capability when dealing with the complex contexts and diverse textual data of the current information explosion era. Deep learning effectively addresses many complex problems that traditional methods struggle with. Deep learning-based knowledge extraction significantly enhances the efficiency and accuracy of information processing. It automates the learning and extraction of abstract features from data, eliminating the need for manually designed feature engineering and greatly simplifying the data processing workflow. Moreover, deep learning models leverage robust language models and sequence modeling capabilities to better understand the grammar structure, semantic relationships, and contextual information within texts. Currently, many scholars extensively explore and apply deep learning models in the knowledge extraction process. For example, Bihui Yu et&#xa0;al. proposed a new entity recognition model based on character embedding, Iterated Dilated Convolutional Neural Networks(IDCNN), and Conditional Random Fields(CRF), demonstrating excellent performance in corpus experiments in the military equipment domain (<xref ref-type="bibr" rid="B28">Yu and Wei, 2020</xref>). Lample et&#xa0;al. introduced the Bi-LSTM-CRF model, which achieved high entity extraction evaluation metrics by incorporating a CRF module on top of a BiLSTM network in corpus datasets (<xref ref-type="bibr" rid="B8">Lample et&#xa0;al., 2016</xref>). In 2018, Luo et&#xa0;al. enhanced the Bi-LSTM-CRF model with an Attention mechanism, achieving an F1 score of over 90% on public document-level datasets (<xref ref-type="bibr" rid="B15">Luo et&#xa0;al., 2018</xref>). In the same year, Devlin et&#xa0;al. introduced the BERT pre-training model, generating deep bidirectional semantic representations based on input corpus to fully represent contextual information, thereby aiding multiple natural language processing tasks (<xref ref-type="bibr" rid="B4">Devlin et&#xa0;al., 2019</xref>). BERT&#x2019;s advent brought significant breakthroughs to entity recognition technology. In 2020, Google proposed the ALBERT model (<xref ref-type="bibr" rid="B9">Lan et&#xa0;al., 2019</xref>), reducing computational complexity compared to BERT and ensuring stable model training. Xiao Zhang et&#xa0;al. tackled challenges in the terahertz domain&#x2019;s QA system with long and short entity issues, proposing an entity recognition method based on ALBERT-BiLSTM-CRF (<xref ref-type="bibr" rid="B29">Zhang et&#xa0;al., 2020</xref>). They leveraged pre-trained deep bidirectional models to comprehensively understand sentence semantics, effectively improving the accuracy of long entity recognition.</p>
<p>After comparing existing entity recognition methods, we selected a fine-tuned ALBERT model with a BiLSTM-CRF layer as the final entity recognition model. We developed an efficient and accurate method for extracting knowledge about tomato leaf pests and diseases. The extracted triplet data was stored in a graph database, enabling the visualization and knowledge inference of the tomato leaf pest and disease knowledge graph. This allows complex agricultural knowledge to be clearly and intuitively presented to agricultural professionals. The main contributions of this study are as follows:</p>
<list list-type="order">
<list-item>
<p>Addressing issues such as diverse data types, complex attributes and relationships, challenging deep-level association mining between data, and weak reasoning interpretability in traditional expert systems in tomato leaf disease and pest data. We utilized the ALBERT-BiLSTM-CRF model to extract knowledge about tomato diseases and pests, including symptoms, control measures, disease categories, distribution ranges, causes, and locations. By analyzing commonalities and characteristics among different diseases and pests, we organically linked information about various tomato diseases and pests, reducing redundant work and enhancing the efficiency and comprehensiveness of tomato disease and pest control.</p>
</list-item>
<list-item>
<p>To address the lack of open-source specialized corpora for tomato leaf disease and pest issues, we extracted various data about tomato diseases and pests from national or local standard documents. We employed web scraping techniques to gather data from professional agricultural knowledge websites and scanned texts from specialized books and literature on tomato leaf disease and pest control. With assistance from domain experts, we completed data preprocessing to form the domain-specific corpora required for constructing the tomato leaf disease and pest Knowledge Graph. The ALBERT-BiLSTM-CRF model was used to extract knowledge from sample data stored in a Neo4j database, establishing a rich, logically strong, and widely applicable Knowledge Base for tomato leaf disease and pest.</p>
</list-item>
<list-item>
<p>Based on the above solutions, we designed a digital diagnostic system for tomato leaf disease and pest integrated with advanced software development frameworks. This system combines deep learning algorithms and graph databases to process, analyze, and store information about tomato leaf disease and pest, providing users with precise prevention and control recommendations.</p>
</list-item>
</list>
</sec>
<sec id="s2" sec-type="materials|methods">
<label>2</label>
<title>Materials and methods</title>
<sec id="s2_1">
<label>2.1</label>
<title>Knowledge graph construction process</title>
<sec id="s2_1_1">
<label>2.1.1</label>
<title>Knowledge graph schema construction</title>
<p>A well-designed model layer facilitates the reuse of domain knowledge, creating a shared understanding of domain information and knowledge between humans and machines. A well-structured hierarchical ontology ensures the quality of knowledge extraction during the construction of the knowledge graph data layer, playing an irreplaceable role throughout the entire knowledge graph construction process (<xref ref-type="bibr" rid="B5">Guo et&#xa0;al., 2024</xref>). Referring to the ontology construction method from Stanford, we mainly followed six steps to construct the ontology for the knowledge graph in this study: determining the domain and scope, listing the main elements, defining the terms and the relationships between terms, defining classes and the class hierarchy, defining properties and relationship constraints, and instantiating the ontology.</p>
<p>The knowledge graph we constructed is focused on the agricultural domain, specifically on the ontology construction related to tomato leaf pests and diseases. We have tried to summarize as many elements as possible that should appear in the knowledge graph. <xref ref-type="table" rid="T1">
<bold>Table&#xa0;1</bold>
</xref> lists the main elements included in the knowledge graph for the domain of tomato leaf pests and diseases.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Some elements included in the knowledge graph for the domain of tomato leaf pests and diseases.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Subdomain Knowledge Graph</th>
<th valign="middle" align="left">Main Elements</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">Tomato Leaf Diseases</td>
<td valign="middle" align="left">Disease name, alias, symptoms, physical control, chemical control, biological control, disease category, distribution range, causes, affected parts, pathogen, etc.</td>
</tr>
<tr>
<td valign="middle" align="left">Tomato Leaf Pests</td>
<td valign="middle" align="left">Pest name, alias, phylum, class, order, family, genus, morphological characteristics, habits, symptoms, physical control, chemical control, biological control, occurrence area, affected parts, foreign name, etc.</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Next, we organize the domain-specific terms and the relationships and attributes between them. <xref ref-type="table" rid="T2">
<bold>Table&#xa0;2</bold>
</xref> lists some professional terms and their relationships for two sub-domain knowledge graphs. Based on this, we define constraints and regulations for class relationships, intrinsic properties, and extrinsic properties. Finally, the defined properties, relationships, and constraints are used to instantiate the ontology. The hierarchical structure diagram of the tomato leaf pest and disease model layer, constructed using the Prot&#xe9;g&#xe9; tool, is shown in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>.</p>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Sub-domain knowledge graph terms and relationships between terms.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Subdomain knowledge graph</th>
<th valign="middle" align="left">Technical terms</th>
<th valign="middle" align="left">Relationships</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">Tomato leaf diseases</td>
<td valign="middle" align="left">Alias, Chinese name, Foreign name, Stem, Fruit, Flower, Ventilation and drainage, Proper spacing</td>
<td valign="middle" align="left">Aliases, Affected parts, Harmful periods, Control methods, etc.</td>
</tr>
<tr>
<td valign="middle" align="left">Tomato Leaf Pests</td>
<td valign="middle" align="left">Alias, Leaves, Lepidoptera, Phylum Mollusca, Class Gastropoda, Order Stylommatophora, Family Limacidae, Genus Liriomyza Coleoptera, Natural enemies, Traps, Manual trapping</td>
<td valign="middle" align="left">Aliases, Affected parts, Classification, Control methods, etc.</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>Ontology hierarchy diagram for the tomato leaf pests and diseases knowledge graph.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g001.tif"/>
</fig>
</sec>
<sec id="s2_1_2">
<label>2.1.2</label>
<title>Construction of the knowledge graph data layer</title>
<p>We used natural language processing methods and techniques to construct the data layer for tomato leaf pests and diseases. The sequence labeling strategy we selected is based on the BIO method, where B represents the beginning part of a tomato leaf pest or disease entity, I represents a non-beginning part of the entity, and O represents a non-entity, as shown in <xref ref-type="table" rid="T3">
<bold>Table&#xa0;3</bold>
</xref>.</p>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>BIO data annotation example.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Character</th>
<th valign="middle" align="left">BIO annotation</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">powdery</td>
<td valign="middle" align="left">B-DiseaseName</td>
</tr>
<tr>
<td valign="middle" align="left">mildew</td>
<td valign="middle" align="left">I-DiseaseName</td>
</tr>
<tr>
<td valign="middle" align="left">mainly</td>
<td valign="middle" align="left">O</td>
</tr>
<tr>
<td valign="middle" align="left">affects</td>
<td valign="middle" align="left">O</td>
</tr>
<tr>
<td valign="middle" align="left">leaves</td>
<td valign="middle" align="left">B-DiseaseLocation</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The quality of data sample annotation determines the effectiveness of the model&#x2019;s entity extraction. Considering that manual annotation is time-consuming, labor-intensive, and often lacks accuracy, we used the entity annotation software Colabeler to assist in annotating preprocessed data samples. During the annotation process, controversial areas were discussed with domain experts to ensure the accuracy of the results.</p>
<p>The annotated sample data is saved with files in the &#x201c;.ann&#x201d; format, as shown in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2</bold>
</xref>. In the &#x201c;.ann&#x201d; file, T1 represents the unique identifier or label for the annotation. &#x201c;DiseaseName&#x201d; indicates that the annotation marks a disease name in the text, with the number &#x201c;0&#x201d; representing the starting position of the annotation (i.e., starting from the 0th character), and the number &#x201c;2&#x201d; representing the ending position of the annotation (i.e., ending at the 2nd character). In the &#x201c;10001.ann&#x201d; file, T2 to T12 are similar to T1.</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>&#x2018;10001.ann&#x2019; file.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g002.tif"/>
</fig>
<p>
<xref ref-type="statement" rid="st1">
<bold>Algorithm 1</bold>
</xref> outlines the process for generating BIO format data required for the NER task. The &#x201c;Generate_BIO&#x201d; algorithm traverses all annotated &#x201c;.ann&#x201d; files and corresponding &#x201c;.txt&#x201d; files in the specified directory, converting the data in each annotation file into BIO format (training data files).</p>
<statement id="st1">
<label>Algorithm 1</label>
<title>Generate_BIO.</title>
<p>
<preformat>
<bold>Input:</bold>&#x201d;.ann&#x201d; files and &#x201c;.txt&#x201d; files
<bold>Output:</bold>BIO Format Data
1 DEFINE root_dir&#x3001;stream_path
2 file_list = glob.glob(root_dir + &#x2018;/*.ann&#x2019;)
3 FOR
4 &#x2003;ann_path = normalize_path(ann_path)
5 &#x2003;txt_path = convert_to_txt_path(ann_path)
6&#x2003;.strip() Remove whitespace characters from the ends of text or label strings.
7 &#x2003;IF ann!= &#x2018; &#x2018;
8 &#x2003;&#x2003;Assign the label &#x201c;O&#x201d; to all text.
9&#x2003;&#x2003; FOR
10 &#x2003;&#x2003;&#x2003;TRY:
11 &#x2003;&#x2003;&#x2003;&#x2003;T, typ, word = split_tabs_and_strip(line)
12 &#x2003;&#x2003;&#x2003;&#x2003;t, s, e = typ.split()
13 &#x2003;&#x2003;&#x2003;&#x2003;s, e = convert_positions_to_int(s, e)
14 &#x2003;&#x2003;&#x2003;&#x2003;label[s] = concatenate(&#x2018;B-&#x2019;, t)
15 &#x2003;&#x2003;&#x2003;&#x2003;while s&lt; subtract(e, 1):
16 &#x2003;&#x2003;&#x2003;&#x2003;s = add(s, 1)
17 &#x2003;&#x2003;&#x2003;&#x2003;label[s] = concatenate(&#x2018;I-&#x2019;, t)
18 &#x2003;&#x2003;&#x2003;EXCEPT:
19 &#x2003;&#x2003;&#x2003;&#x2003;continue
20 &#x2003;&#x2003;&#x2003;Connecting Text and BIO Labeling Using Spaces
21 &#x2003;&#x2003;END
22 &#x2003;print (ann_path, e)
23 END
</preformat>
</p>
</statement>
</sec>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>ALBERT-BiLSTM-CRF Model</title>
<p>We use the ALBERT-BiLSTM-CRF model to perform entity extraction tasks on tomato leaf pest and disease data samples. The model consists of three parts: ALBERT(A Lite Bidirectional Encoder Representations from Transformers), BiLSTM(Bi-directional Long Short-Term Memory), and CRF(Conditional Random Field), with the model structure illustrated in <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3</bold>
</xref>. ALBERT is a pre-trained language model capable of understanding and processing natural language text; BiLSTM is a type of recurrent neural network designed for handling sequential data; and CRF is a conditional random field used to identify structural patterns in sequences. For example, in the sample &#x201c;Leaf mold mainly affects leaves&#x201d;, we use ALBERT as the pre-trained model to capture the semantic information of each word in the given context. First, the model tokenizes the sentence and converts it into word embeddings, including [&#x2018;<italic>leaf mold</italic>&#x2019;, &#x2018;<italic>mainly&#x2019;</italic>, &#x2018; <italic>affects&#x2019;</italic>, &#x2018;<italic>leaves&#x2019;</italic>]. ALBERT processes these word embeddings through its self-attention mechanism, considering the contextual information of each word in the sentence, and generates contextually relevant representations, such as [&#x2018;<italic>leaf mold</italic>_<italic>emb&#x2019;</italic>, &#x2018;<italic>mainly_emb</italic>&#x2019;, &#x2018;<italic>affects_emb</italic>&#x2019;, &#x2018;<italic>leaves_emb</italic>&#x2019;]. These representations are then used as input to the BiLSTM model. BiLSTM models the sequence of each word&#x2019;s contextual representation to capture the semantic information of words in the sentence. The output of the ALBERT layer, [&#x2018;<italic>leaf mold</italic>_<italic>emb&#x2019;</italic>, &#x2018;<italic>mainly</italic>_<italic>emb&#x2019;</italic>, &#x2018;<italic>affects</italic>_<italic>emb&#x2019;</italic>, &#x2018;<italic>leaves</italic>_<italic>emb&#x2019;</italic>], is fed directly into the BiLSTM. The BiLSTM outputs a sequence of hidden states for each word, such as [&#x2018;<italic>leaf mold</italic>_<italic>hidden&#x2019;</italic>, &#x2018;<italic>mainly</italic>_<italic>hidden&#x2019;</italic>, &#x2018;<italic>affects</italic>_<italic>hidden&#x2019;</italic>, &#x2018;<italic>leaves</italic>_<italic>hidden&#x2019;</italic>], which reflect each word&#x2019;s semantic representation in its context. The BiLSTM output sequence is typically used as input to the CRF layer. The CRF layer combines the tag probability sequences output by the BiLSTM with a predefined transition matrix and uses the Viterbi algorithm to find the optimal tag sequence. For the entity recognition task of leaf mold, the optimal tag sequence might be [&#x2018;<italic>B</italic>-<italic>DiseaseName&#x2019;</italic>, &#x2018;<italic>O</italic>&#x2019;, &#x2018;<italic>O</italic>&#x2019;, &#x2018;<italic>B-DiseaseLocation</italic>&#x2019;].</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>ALBERT BiLSTM CRF model structure.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g003.tif"/>
</fig>
<sec id="s2_2_1">
<label>2.2.1</label>
<title>ALBERT</title>
<p>ALBERT, which stands for A Lite BERT, is a lightweight version of the BERT model. In the field of deep learning, the ALBERT model has gained significant attention for its outstanding performance (<xref ref-type="bibr" rid="B9">Lan et&#xa0;al., 2020</xref>). The ALBERT model consists of two parts: MASK preprocessing and a bidirectional Transformer, with the model structure illustrated in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4</bold>
</xref>.</p>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>ALBERT model structure.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g004.tif"/>
</fig>
<p>The input representation for ALBERT consists of three embeddings: token embeddings (word embeddings), sentence embeddings, and position embeddings, which are concatenated to clearly represent a text sentence within a token sequence, as shown in <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5</bold>
</xref>. ALBERT captures both word-level and sentence-level representations through two tasks: Masked Language Model (MLM) and Next Sentence Prediction (NSP), and it is jointly trained on these tasks. In the MLM task, during preprocessing, the target text is first segmented at the character level, and then random MASK operations are applied to the segmented characters. By randomly masking characters in the training text, the Transformer model is forced to build associations within the context of each input character unit, enhancing the ability to capture text features. Additionally, special tokens [CLS] and [SEP] are added at the beginning of the text and between sentences, respectively, to form the final sequence vector for further processing by the Transformer model. For example, in the sentence &#x201c;<italic>Leaf mold mainly affects leaves</italic>&#x201d;, if &#x2018;<italic>leaves&#x2019;</italic> is randomly masked, the resulting sequence vector might be &#x201c;[CLS] <italic>Leaf mold mainly affects leaves [MASK]</italic>[SEP]&#x201d;. In the NSP task, the model receives two sentences as input and predicts whether the second sentence is the subsequent sentence of the first one. This task helps the model understand the logical relationship and coherence between sentences.</p>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>ALBERT input vector representation.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g005.tif"/>
</fig>
<p>The Transformer part is the key structure of the ALBERT model, mainly consisting of input, output, and the Encoder section. The Encoder section includes one Self-Attention layer, one Feed Forward layer, and two Add &amp; Norm layers. The Self-Attention layer is the core of the Encoder, receiving the word vector sequence transformed by the embedding layer as input. It generates contextually relevant representations for each word, with the computation method described in <xref ref-type="disp-formula" rid="eq1">Formula 1</xref>. In the sentence &#x201c;<italic>Leaf mold mainly affects leaves</italic>&#x201d;, the Self-Attention layer balances and integrates the semantic information of each word, producing updated word vector representations such as &#x201c;&#x2018;<italic>leaf mold</italic>&#x2019;, &#x2018;<italic>mainly&#x2019;</italic>, &#x2018;<italic>affects&#x2019;</italic>, &#x2018;<italic>leaves&#x2019;</italic>&#x201d;.</p>
<disp-formula id="eq1">
<label>(1)</label>
<mml:math display="block" id="M1">
<mml:mrow>
<mml:mtext mathvariant="bold-italic">Attention</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">Q</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mtext mathvariant="bold-italic">softmax</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="bold-italic">Q</mml:mi>
<mml:msup>
<mml:mi mathvariant="bold-italic">K</mml:mi>
<mml:mi mathvariant="bold-italic">T</mml:mi>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mi mathvariant="bold-italic">K</mml:mi>
</mml:msub>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mi mathvariant="bold-italic">V</mml:mi>
</mml:mrow>
</mml:math>
</disp-formula>
<p>In <xref ref-type="disp-formula" rid="eq1">Formula 1</xref>, <inline-formula>
<mml:math display="inline" id="im1">
<mml:mi>Q</mml:mi>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im2">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula>
<mml:math display="inline" id="im3">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> are the input word vector matrices, and <inline-formula>
<mml:math display="inline" id="im4">
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>d</mml:mi>
<mml:mi>K</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the dimension of the <inline-formula>
<mml:math display="inline" id="im5">
<mml:mi>K</mml:mi>
</mml:math>
</inline-formula> matrix. The Feed Forward layer performs nonlinear transformations and mappings on the context-aware vectors of each word, such as &#x201c;leaf mold&#x201d;, &#x201c;mainly&#x201d;, &#x201c;affects&#x201d;, and &#x201c;leaves&#x201d;, to enhance their feature representation. The Add &amp; Norm layer combines the original input with the processed vectors through residual connections and performs layer normalization to ensure model training stability and accelerate convergence.</p>
</sec>
<sec id="s2_2_2">
<label>2.2.2</label>
<title>BiLSTM module</title>
<p>LSTM, which stands for Long Short-Term Memory, is essentially a type of recurrent neural network (RNN). It is primarily composed of four parts: the input gate, output gate, forget gate, and memory cell (<xref ref-type="bibr" rid="B16">Ma et&#xa0;al., 2021</xref>).</p>
<p>The forget gate determines how much of the previous cell state <inline-formula>
<mml:math display="inline" id="im6">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> should be retained in the current cell state <inline-formula>
<mml:math display="inline" id="im7">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> at time <inline-formula>
<mml:math display="inline" id="im8">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula>. The calculation method is given by <xref ref-type="disp-formula" rid="eq2">Formula 2</xref>:</p>
<disp-formula id="eq2">
<label>(2)</label>
<mml:math display="block" id="M2">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">f</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">f</mml:mi>
</mml:msub>
<mml:mo>&#x2022;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">h</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">b</mml:mi>
<mml:mi mathvariant="bold-italic">f</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>In <xref ref-type="disp-formula" rid="eq2">Formula 2</xref>, <inline-formula>
<mml:math display="inline" id="im9">
<mml:mrow>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the operation of the forget gate at time <inline-formula>
<mml:math display="inline" id="im10">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula>, &#x3c3; is the sigmoid function, <inline-formula>
<mml:math display="inline" id="im11">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the parameter matrix, <inline-formula>
<mml:math display="inline" id="im12">
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the previous state vector, <inline-formula>
<mml:math display="inline" id="im13">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the input vector at time <inline-formula>
<mml:math display="inline" id="im14">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula>, and <inline-formula>
<mml:math display="inline" id="im15">
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mi>,</mml:mi>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> denotes the concatenation of the two vectors. <inline-formula>
<mml:math display="inline" id="im16">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the bias term. The calculation methods for the input gate are given by <xref ref-type="disp-formula" rid="eq3">Formulas 3</xref>&#x2013;<xref ref-type="disp-formula" rid="eq5">5</xref>:</p>
<disp-formula id="eq3">
<label>(3)</label>
<mml:math display="block" id="M3">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mo>&#x2022;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">h</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">b</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq4">
<label>(4)</label>
<mml:math display="block" id="M4">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">c</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mo>=</mml:mo>
<mml:mtext mathvariant="bold-italic">tanh</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">c</mml:mi>
</mml:msub>
<mml:mo>&#x2022;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">h</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">b</mml:mi>
<mml:mi mathvariant="bold-italic">c</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq5">
<label>(5)</label>
<mml:math display="block" id="M5">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">c</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">f</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>&#x2297;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">c</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>&#x2297;</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">c</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</disp-formula>
<p>In <xref ref-type="disp-formula" rid="eq3">Formula 3</xref>, <inline-formula>
<mml:math display="inline" id="im17">
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the operation of the input gate at time <inline-formula>
<mml:math display="inline" id="im18">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula>, which calculates how much of the current input <inline-formula>
<mml:math display="inline" id="im19">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> should be retained in the cell state <inline-formula>
<mml:math display="inline" id="im20">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. Here, &#x3c3; is the sigmoid function, <inline-formula>
<mml:math display="inline" id="im21">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the parameter matrix, and <inline-formula>
<mml:math display="inline" id="im22">
<mml:mrow>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the bias term. The cell state <inline-formula>
<mml:math display="inline" id="im23">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is computed using <xref ref-type="disp-formula" rid="eq4">Formulas 4</xref>, <xref ref-type="disp-formula" rid="eq5">5</xref>, where the previous cell state <inline-formula>
<mml:math display="inline" id="im24">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is element-wise multiplied by the forget gate <inline-formula>
<mml:math display="inline" id="im25">
<mml:mrow>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and the current input cell state <inline-formula>
<mml:math display="inline" id="im26">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is element-wise multiplied by the input gate <inline-formula>
<mml:math display="inline" id="im27">
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, with the two products then summed. The output gate controls the cell state <inline-formula>
<mml:math display="inline" id="im28">
<mml:mrow>
<mml:msub>
<mml:mtext>c</mml:mtext>
<mml:mtext>t</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and its computation is given by <xref ref-type="disp-formula" rid="eq6">Formulas 6</xref>, <xref ref-type="disp-formula" rid="eq7">7</xref>:</p>
<disp-formula id="eq6">
<label>(6)</label>
<mml:math display="block" id="M6">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">o</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">o</mml:mi>
</mml:msub>
<mml:mo>&#x2022;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">h</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">b</mml:mi>
<mml:mi mathvariant="bold-italic">o</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq7">
<label>(7)</label>
<mml:math display="block" id="M7">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">h</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">o</mml:mi>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:msub>
<mml:mo>&#x2297;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>h</mml:mi>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mstyle>
</mml:mrow>
</mml:math>
</disp-formula>
<p>In the formulas, <inline-formula>
<mml:math display="inline" id="im29">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the operation of the output gate at time <inline-formula>
<mml:math display="inline" id="im30">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula>, and <inline-formula>
<mml:math display="inline" id="im31">
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> denotes the final cell output value.</p>
<p>Given that unidirectional LSTM networks can only process information in one direction and cannot account for context from both directions, researchers later introduced BiLSTM, or Bidirectional Long Short-Term Memory networks. BiLSTM employs one forward LSTM and one backward LSTM, and merges the outputs from the same time step. This allows the model to capture dependencies between words in the text sequence and the contextual information, providing a more accurate and comprehensive feature representation for tasks such as entity extraction and classification (<xref ref-type="bibr" rid="B13">Lu et&#xa0;al., 2023</xref>). The specific structure is shown in <xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6</bold>
</xref>.</p>
<fig id="f6" position="float">
<label>Figure&#xa0;6</label>
<caption>
<p>BiLSTM model structure.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g006.tif"/>
</fig>
</sec>
<sec id="s2_2_3">
<label>2.2.3</label>
<title>CRF module</title>
<p>In the entity extraction process, the CRF module is responsible for optimizing the annotation sequences output by the BiLSTM. It can label disease-related terms in the text data and perform joint modeling of these labels. By constructing a probabilistic model based on a designed score function, the CRF computes probabilities to select the optimal path among possible paths, resulting in accurate entity extraction.</p>
</sec>
</sec>
</sec>
<sec id="s3" sec-type="results">
<label>3</label>
<title>Results and discussion</title>
<sec id="s3_1">
<label>3.1</label>
<title>Data collection and preprocessing</title>
<p>Regarding tomato leaf pests and diseases, there is currently no complete and reliable dataset available for knowledge graph construction. This lack of data can impact the accuracy and reliability of analysis models, as the size and diversity of data samples are crucial factors determining model performance. To build a reliable dataset for tomato leaf diseases, we used web scraping techniques to gather a large amount of semi-structured and unstructured text data on tomato pests and diseases from various websites, including: China Agricultural Information Technology Network (<ext-link ext-link-type="uri" xlink:href="https://cast.caas.cn/index.html">https://cast.caas.cn/index.html</ext-link>), National Agricultural Science Data Center (<ext-link ext-link-type="uri" xlink:href="https://www.agridata.cn/#/home">https://www.agridata.cn/#/home</ext-link>), China Pesticide Information Network (<ext-link ext-link-type="uri" xlink:href="http://www.chinapesticide.org.cn/">http://www.chinapesticide.org.cn/</ext-link>), Baidu Encyclopedia and National Standard Information Public Service Platform (<ext-link ext-link-type="uri" xlink:href="https://std.samr.gov.cn/gb/">https://std.samr.gov.cn/gb/</ext-link>). Additionally, we scanned electronic books such as Illustrated Guide to Tomato Pest and Disease Diagnosis and Control, Tomato Cultivation and Pest Control Technology Research and New Technologies for Tomato Pest and Disease Control to obtain text data on tomato pests and diseases. The data samples obtained, as shown in <xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7</bold>
</xref>, indicate clear relationships between different entities. Taking speckle blight disease as an example, speckle blight serves as the disease name entity, disease location the entities representing infection sites such as leaves, stems, and fruits. The disease symptoms, such as nearly circular grayish-white spots with slightly darkened edges, grayish-white centers, and brown edges. These symptom entities describe the external characteristics of speckle blight disease. Additionally, the disease cause entity indicates that the disease overwinters through mycelium and conidia on crop residues and perennial solanaceous weeds. In terms of control, there are multiple methods and related entities. Agricultural control entities include the use of disease-resistant varieties, practicing crop rotation with non-Solanaceae for 3-4 years, and applying phosphorus and potassium fertilizers. Physical control entities involve sun-drying seeds and soaking them in warm water. Chemical control entities consist of various pesticides, such as 75% chlorothalonil wettable powder at 1200 times dilution and 64% oxadixyl wettable powder at 500 times dilution, which are used for chemical control of the disease.</p>
<fig id="f7" position="float">
<label>Figure&#xa0;7</label>
<caption>
<p>Raw text data on tomato leaf pests and diseases.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g007.tif"/>
</fig>
<p>Before extracting entities related to tomato leaf pests and diseases, it is necessary to preprocess the dataset. A good preprocessing process ensures the high quality and accuracy of the dataset, facilitating subsequent tokenization and annotation work. With the assistance of domain experts, the preprocessing of the raw sample data includes normalization, elimination of irrelevant information and noise data, and correction of possible language errors to ensure the consistency and reliability of the data. Through systematic preprocessing, we constructed a NER dataset for tomato leaf diseases and pests&#x2014;the Tomato Leaf Pest and Disease Dataset&#x2014;providing reliable data support for the construction of a knowledge graph. The dataset includes a training set (1160) and a test set (290), split in an 8:2 ratio.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Evaluation metrics</title>
<p>We set up a training environment suitable for six models: BiLSTM-CRF, 1DCNN-CRF, 1DCNN-CRF-2, BiLSTM-Attention-CRF, BERT-BiLSTM-CRF, and ALBERT-BiLSTM-CRF. To evaluate the performance of the models, we used the same three evaluation metrics commonly found in existing NER papers: Precision (P), Recall (R), and the F1-score as the evaluation standards. The formulas are defined as <xref ref-type="disp-formula" rid="eq8">Equations 8</xref>&#x2013;<xref ref-type="disp-formula" rid="eq10">10</xref>, where TEN represents the number of correctly identified entities, FEN is the number of falsely identified non-entities, and NC is the number of correctly identified entities that were not recognized.</p>
<disp-formula id="eq8">
<label>(8)</label>
<mml:math display="block" id="M8">
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>N</mml:mi>
</mml:mstyle>
</mml:mrow>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>N</mml:mi>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>F</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>N</mml:mi>
</mml:mstyle>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#xd7;</mml:mo>
<mml:mn mathvariant="bold">100</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq9">
<label>(9)</label>
<mml:math display="block" id="M9">
<mml:mrow>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>N</mml:mi>
</mml:mstyle>
</mml:mrow>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>T</mml:mi>
<mml:mi>E</mml:mi>
<mml:mi>N</mml:mi>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>N</mml:mi>
<mml:mi>C</mml:mi>
</mml:mstyle>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#xd7;</mml:mo>
<mml:mn mathvariant="bold">100</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq10">
<label>(10)</label>
<mml:math display="block" id="M10">
<mml:mrow>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>=</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>P</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>&#xd7;</mml:mo>
<mml:mn mathvariant="bold">100</mml:mn>
<mml:mo>%</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Parameter settings</title>
<p>To ensure the reliability of the experimental results, each model was initialized with the same parameters before the study, as shown in <xref ref-type="table" rid="T4">
<bold>Table&#xa0;4</bold>
</xref>. In this table, &#x201c;Optimizer&#x201d;refers to the optimization algorithm, &#x201c;Loss_Function&#x201d; refers to the loss function, &#x201c;Learning_Rate&#x201d;refers to the learning rate, &#x201c;Lstm_Units&#x201d; refers to the dimensionality of the output space of the LSTM network, &#x201c;Batch_Size&#x201d; refers to the amount of data processed by the model at one time, &#x201c;Drop_Rate&#x201d; refers to the dropout rate, &#x201c;Max_Len&#x201d; refers to the maximum length of the data processed, and &#x201c;Epoch&#x201d; refers to the training cycles of the model.</p>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>Model parameter settings.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Parameter Name</th>
<th valign="middle" align="left">Model Name</th>
<th valign="middle" align="left">Parameter Value</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">Optimizer</td>
<td valign="middle" align="left">All</td>
<td valign="middle" align="left">Adam</td>
</tr>
<tr>
<td valign="middle" align="left">Loss_Function</td>
<td valign="middle" align="left">All</td>
<td valign="middle" align="left">crf.sparse_loss</td>
</tr>
<tr>
<td valign="middle" align="left">Learning_Rate</td>
<td valign="middle" align="left">All</td>
<td valign="middle" align="left">1e-5</td>
</tr>
<tr>
<td valign="middle" align="left">Lstm_Units</td>
<td valign="middle" align="left">All</td>
<td valign="middle" align="left">128</td>
</tr>
<tr>
<td valign="middle" rowspan="2" align="left">Batch_Size</td>
<td valign="middle" align="left">ALBERT-BiLSTM-CRF</td>
<td valign="middle" align="left">16</td>
</tr>
<tr>
<td valign="middle" align="left">Others</td>
<td valign="middle" align="left">64</td>
</tr>
<tr>
<td valign="middle" rowspan="2" align="left">Drop_Rate</td>
<td valign="middle" align="left">ALBERT-BiLSTM-CRF</td>
<td valign="middle" align="left">0.1</td>
</tr>
<tr>
<td valign="middle" align="left">Others</td>
<td valign="middle" align="left">0.5</td>
</tr>
<tr>
<td valign="middle" align="left">Max_Len</td>
<td valign="middle" align="left">All</td>
<td valign="middle" align="left">200</td>
</tr>
<tr>
<td valign="middle" align="left">Epoch</td>
<td valign="middle" align="left">All</td>
<td valign="middle" align="left">30</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_4">
<label>3.4</label>
<title>Experimental results analysis</title>
<p>The performance of the six models&#x2014;BiLSTM-CRF, 1DCNN-CRF, 1DCNN-CRF-2, BiLSTM-Attention-CRF, BERT-BiLSTM-CRF, and ALBERT-BiLSTM-CRF&#x2014;in entity recognition on the Tomato Leaf Disease Dataset is shown in <xref ref-type="table" rid="T5">
<bold>Table&#xa0;5</bold>
</xref>.</p>
<table-wrap id="T5" position="float">
<label>Table&#xa0;5</label>
<caption>
<p>Comparison of entity recognition performance for tomato leaf pests and diseases.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Model Name</th>
<th valign="middle" align="center">Precision/%</th>
<th valign="middle" align="center">Recall/%</th>
<th valign="middle" align="center">F1-score/%</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">BiLSTM-CRF</td>
<td valign="middle" align="left">87.73</td>
<td valign="middle" align="left">86.31</td>
<td valign="middle" align="left">87.02</td>
</tr>
<tr>
<td valign="middle" align="left">1DCNN-CRF</td>
<td valign="middle" align="left">85.39</td>
<td valign="middle" align="left">87.14</td>
<td valign="middle" align="left">86.05</td>
</tr>
<tr>
<td valign="middle" align="left">1DCNN-CRF-2</td>
<td valign="middle" align="left">84.92</td>
<td valign="middle" align="left">89.74</td>
<td valign="middle" align="left">87.26</td>
</tr>
<tr>
<td valign="middle" align="left">BiLSTM-Attention-CRF</td>
<td valign="middle" align="left">85.15</td>
<td valign="middle" align="left">84.83</td>
<td valign="middle" align="left">85.01</td>
</tr>
<tr>
<td valign="middle" align="left">BERT-BiLSTM-CRF</td>
<td valign="middle" align="left">93.10</td>
<td valign="middle" align="left">90.84</td>
<td valign="middle" align="left">91.96</td>
</tr>
<tr>
<td valign="middle" align="left">ALBERT-BiLSTM-CRF</td>
<td valign="middle" align="left">95.10</td>
<td valign="middle" align="left">95.03</td>
<td valign="middle" align="left">95.48</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As shown in <xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8</bold>
</xref>, the traditional BiLSTM-CRF and 1DCNN-CRF models have relatively slow convergence speeds, approaching convergence only around the 12th epoch, with a recall rate of approximately 0.85. The BiLSTM-Attention-CRF model converges the fastest but has a lower final recall rate of about 0.80. The ALBERT-BiLSTM-CRF model achieves both fast convergence and the highest recall rate, approximately 0.95. The BERT-BiLSTM-CRF model follows, with a recall rate of around 0.90, while the improved 1DCNN-CRF-2 also has a high recall rate of about 0.89. This indicates that pre-trained models (BERT or ALBERT) significantly enhance model performance and convergence speed compared to the base BiLSTM-CRF model. Additionally, incorporating attention mechanisms or improving CNN structures also contributes to performance improvements. Considering model performance, convergence speed, and complexity, we use the ALBERT-BiLSTM-CRF model for the knowledge extraction task in the subsequent system implementation.</p>
<fig id="f8" position="float">
<label>Figure&#xa0;8</label>
<caption>
<p>Comparison of model recall rates.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g008.tif"/>
</fig>
</sec>
<sec id="s3_5">
<label>3.5</label>
<title>System design and implementation</title>
<p>The tomato leaf disease and pest knowledge graph system we designed is developed based on the Windows 10 64-bit operating system, using VSCode as the integrated development tool, Vue3 as the frontend development framework, Neo4j as the graph database, and ECharts for knowledge graph visualization. The system supports cross-platform usage (both PC and mobile), ensuring a good user experience across various devices. Users can select a specific pest or disease name from the list and then view the related symptoms visually. As shown in <xref ref-type="fig" rid="f9">
<bold>Figures&#xa0;9A, B</bold>
</xref>, when the system receives the query for &#x201c;<italic>yellow leaf curl disease</italic>&#x201d;, it first executes the corresponding Cypher query to retrieve information about nodes related to the &#x201c;<italic>yellow leaf curl disease</italic>&#x201d; entity.</p>
<fig id="f9" position="float">
<label>Figure&#xa0;9</label>
<caption>
<p>Selecting a specific pest or disease: <bold>(A)</bold> PC, <bold>(B)</bold> Mobile.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g009.tif"/>
</fig>
<p>ECharts is then used to render the entity and node information, and the results are finally displayed to the user in <xref ref-type="fig" rid="f10">
<bold>Figures&#xa0;10A, B</bold>
</xref>.</p>
<fig id="f10" position="float">
<label>Figure&#xa0;10</label>
<caption>
<p>Pest and disease entity query display: <bold>(A)</bold> PC, <bold>(B)</bold> Mobile.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpls-15-1482275-g010.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Dicussion</title>
<p>For the tomato leaf pest and disease domain, we collected and organized relevant data to construct a dataset, TLP2D, containing approximately 10,400 entities and 1,450 samples. Compared to other corpora in the same field, our dataset not only includes a broader range of categories, but also offers more detailed descriptions, providing timely decision analysis for tomato leaf pest and disease control. By comparing different entity extraction models, we found that the ALBERT-BiLSTM-CRF model performs well on TLP2D. This model leverages the strengths of ALBERT, BiLSTM, and CRF models to effectively extract entities from TLP2D, supporting the construction of a tomato leaf pest and disease knowledge graph and providing a reference for knowledge graph construction in other fields. The development of the tomato leaf pest and disease digital diagnostic system offers precise pest and disease control recommendations for farmers, lowers the barrier to professional knowledge sharing, and introduces new ideas for pest and disease management. However, we also recognize that there is room for improvement in this work. Future efforts will focus on expanding the domain scope, optimizing data annotation methods, and continuously fine-tuning the NER model to better serve agriculture.</p>
</sec>
</body>
<back>
<sec id="s5" sec-type="data-availability">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s6" sec-type="author-contributions">
<title>Author contributions</title>
<p>KW: Conceptualization, Data curation, Formal Analysis, Investigation, Methodology, Software, Validation, Visualization, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. YM: Data curation, Software, Writing &#x2013; review &amp; editing. XW: Formal Analysis, Investigation, Methodology, Writing &#x2013; review &amp; editing. YL: Data curation, Software, Writing &#x2013; review &amp; editing. FL: Supervision, Writing &#x2013; review &amp; editing. HS: Funding acquisition, Project administration, Resources, Writing &#x2013; review &amp; editing.</p>
</sec>
<sec id="s7" sec-type="funding-information">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This research was supported by the Shanxi Provincial Basic Research Program (202103021224173, Key Technology Research on Tomato Picking Robot Platform Based on 5G and Artificial Intelligence Technology) and the Shanxi Provincial Key R&amp;D Project(20220214060102, Research on Intelligent Decision-Making System for Precision Agriculture).</p>
</sec>
<sec id="s8" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="s9" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Abdullah</surname> <given-names>H. M.</given-names>
</name>
<name>
<surname>Mohana</surname> <given-names>N. T.</given-names>
</name>
<name>
<surname>Khan</surname> <given-names>B. M.</given-names>
</name>
<name>
<surname>Ahmed</surname> <given-names>S. M.</given-names>
</name>
<name>
<surname>Hossain</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Islam</surname> <given-names>K. S.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>Present and future scopes and challenges of plant pest and disease (P&amp;D) monitoring: Remote sensing, image processing, and artificial intelligence perspectives</article-title>. <source>Remote Sens. Applications: Soc. Environ.</source> <volume>32</volume>, <elocation-id>100996</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.rsase.2023.100996</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Bollacker</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Evans</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Paritosh</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Sturge</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Taylor</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Freebase: a collaboratively created graph database for structuring human knowledge</article-title>. In: <conf-name>Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data</conf-name>, <conf-loc>Vancouver, Canada</conf-loc>, <conf-date>9-12</conf-date>. <publisher-loc>New York</publisher-loc>: <publisher-name>Association for Computing Machinery</publisher-name>, <fpage>1247</fpage>&#x2013;<lpage>1250</lpage>.</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>W.</given-names>
</name>
<name>
<surname>Huang</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Coenen</surname> <given-names>F.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Zero-shot text classification via knowledge graph embedding for social media data</article-title>. <source>IEEE Internet Things J.</source> <volume>9</volume>, <fpage>9205</fpage>&#x2013;<lpage>9213</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/JIOT.2021.3093065</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Devlin</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Chang</surname> <given-names>M. W.</given-names>
</name>
<name>
<surname>Lee</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Toutanova</surname> <given-names>K.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding</article-title>. In <conf-name>Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</conf-name>. <volume>1</volume>, <fpage>4171</fpage>&#x2013;<lpage>4186</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.18653/v1/N19-1423</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Guo</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Cao</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Xia</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>Y.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Integrated modeling for retired mechanical product genes in remanufacturing: A knowledge graph-based approach</article-title>. <source>Advanced Eng. Inf.</source> <volume>59</volume>, <elocation-id>102254</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.aei.2023.102254</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Hoffart</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Suchanek</surname> <given-names>F. M.</given-names>
</name>
<name>
<surname>Berberich</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Lewis-Kelham</surname> <given-names>E.</given-names>
</name>
<name>
<surname>De Melo</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Weikum</surname> <given-names>G.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>YAGO2: exploring and querying world knowledge in time, space, context, and many languages</article-title>. In <conf-name>Proceedings of the 20th international conference companion on World wide web</conf-name>, <fpage>229</fpage>&#x2013;<lpage>232</lpage>.</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ji</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Pan</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Cambria</surname> <given-names>E.</given-names>
</name>
<name>
<surname>Marttinen</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Philip</surname> <given-names>S. Y.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>A survey on knowledge graphs: Representation, acquisition, and applications</article-title>. <source>IEEE Trans. Neural Networks Learn. Syst.</source> <volume>33</volume>, <fpage>494</fpage>&#x2013;<lpage>514</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TNNLS.2021.3070843</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Lample</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Ballesteros</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Subramanian</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Kawakami</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Dyer</surname> <given-names>C.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Neural architectures for named entity recognition</article-title>. <conf-name>Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</conf-name>, <fpage>260</fpage>&#x2013;<lpage>270</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.18653/v1/N16-1030</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lan</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Goodman</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Gimpel</surname> <given-names>K.</given-names>
</name>
<name>
<surname>Sharma</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Soricut</surname> <given-names>R.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>ALBERT: A lite BERT for self-supervised learning of language representations</article-title>. <source>arxiv preprint</source> <volume>arxiv</volume>:<fpage>1909.11942</fpage>.</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lehmann</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Isele</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Jakob</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Jentzsch</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Kontokostas</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Mendes</surname> <given-names>P. N.</given-names>
</name>
<etal/>
</person-group>. (<year>2015</year>). <article-title>Dbpedia&#x2013;a large-scale, multilingual knowledge base extracted from wikipedia</article-title>. <source>Semantic Web</source> <volume>6</volume>, <fpage>167</fpage>&#x2013;<lpage>195</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3233/SW-140134</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Rahman</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Xin</surname> <given-names>X.</given-names>
</name>
<etal/>
</person-group>. (<year>2021</year>). <article-title>Fault localization based on knowledge graph in software-defined optical networks</article-title>. <source>J. Lightwave Technol.</source> <volume>39</volume>, <fpage>4236</fpage>&#x2013;<lpage>4246</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/JLT.2021.3071868</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Ji</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Xie</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Teng</surname> <given-names>F.</given-names>
</name>
<etal/>
</person-group>. (<year>2021</year>). <article-title>Urban flow pattern mining based on multi-source heterogeneous data fusion and knowledge graph embedding</article-title>. <source>IEEE Trans. Knowledge Data Eng.</source> <volume>35</volume>, <fpage>2133</fpage>&#x2013;<lpage>2146</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TKDE.2021.3098612</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Tang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>Y.</given-names>
</name>
<etal/>
</person-group>. (<year>2023</year>). <article-title>Reconstruction of structural long-term acceleration response based on BiLSTM networks</article-title>. <source>Eng. structures</source> <volume>285</volume>, <fpage>1.1</fpage>&#x2013;<lpage>1.14</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.engstruct.2023.116000</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Luo</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Duan</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Bi</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>DTKGIN: Predicting drug-target interactions based on knowledge graph and intent graph</article-title>. <source>Methods</source> <volume>226</volume>, <fpage>21</fpage>&#x2013;<lpage>27</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.ymeth.2024.04.010</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Luo</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Lin</surname> <given-names>H.</given-names>
</name>
<etal/>
</person-group>. (<year>2018</year>). <article-title>An attention-based BiLSTM-CRF approach to document-level chemical named entity recognition</article-title>. <source>Bioinformatics</source> <volume>34</volume>, <fpage>1381</fpage>&#x2013;<lpage>1388</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1093/bioinformatics/btx761</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ma</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Dai</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Short-term traffic flow prediction for urban road sections based on time series analysis and LSTM_BILSTM method</article-title>. <source>IEEE Trans. Intelligent Transportation Syst.</source> <volume>23</volume>, <fpage>5615</fpage>&#x2013;<lpage>5624</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TITS.2021.3055258</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Niu</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Rong</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Qi</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>Y.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Zhishi.me - Weaving Chinese Linking Open Data</article-title>. <source>The Semantic Web &#x2013; ISWC 2011. ISWC 2011. Lecture Notes in Computer Science</source>, vol <volume>7032</volume>. <publisher-name>Springer</publisher-name>, <publisher-loc>Berlin, Heidelberg</publisher-loc>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/978-3-642-25093-4_14</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schneider</surname> <given-names>E. W.</given-names>
</name>
</person-group> (<year>1973</year>). <article-title>Course modularization applied: the interface system and its implications for sequence control and data analysis</article-title>. <source>Behav. Objectives</source> (21).</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shi</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Qi</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Pan</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Zhou</surname> <given-names>B.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Semantic health knowledge graph: semantic integration of heterogeneous medical knowledge and services</article-title>. <source>BioMed. Res. Int.</source> <volume>2017</volume>, <elocation-id>2858423</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1155/2017/2858423</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Singhal</surname>
</name>
</person-group> (<year>2012</year>). <source>Official Google Blog: Introducing the Knowledge Graph: things, not strings</source>. Available online at: <uri xlink:href="http://googleblog.blogspot.pt/2012/05/introducing-knowledge-graph-things-not.html">http://googleblog.blogspot.pt/2012/05/introducing-knowledge-graph-things-not.html</uri> (Accessed <access-date>January 2, 2015</access-date>).</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Information extraction and knowledge graph construction from geoscience literature</article-title>. <source>Comput. geosciences</source> <volume>112</volume>, <fpage>112</fpage>&#x2013;<lpage>120</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.cageo.2017.12.007</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Duan</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Pan</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>M.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Medical knowledge graph: Data sources, construction, reasoning, and applications</article-title>. <source>Big Data Min. Analytics</source> <volume>6</volume>, <fpage>201</fpage>&#x2013;<lpage>217</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.26599/BDMA.2022.9020021</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Wu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Feng Fu</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Feng Jiang</surname> <given-names>Z.</given-names>
</name>
</person-group> (<year>2021</year>a). <article-title>A summary of the latest research on knowledge graph technology</article-title>. <conf-name>International Conference on Computer Engineering and Artificial Intelligence (ICCEAI)</conf-name>, <conf-loc>Shanghai, China</conf-loc>, <volume>2021</volume>, <fpage>38</fpage>&#x2013;<lpage>42</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ICCEAI52939.2021.00007</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Jiang</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Zhu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Bu</surname> <given-names>C.</given-names>
</name>
</person-group> (<year>2021</year>b). <article-title>Knowledge Graph for China&#x2019;s Genealogy 1 1. A shorter version of this paper won the Best Paper Award at IEEE ICKG 2020 (the 11th IEEE International Conference on Knowledge Graph, ickg 2020. bigke. org)</article-title>. <source>IEEE Trans. Knowledge Data Eng.</source> <volume>35</volume>, <fpage>634</fpage>&#x2013;<lpage>646</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TKDE.2021.3073745</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Xu</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Liang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Xie</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Liang</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>W.</given-names>
</name>
<etal/>
</person-group>. (<year>2017</year>). <article-title>CN-DBpedia: A never-ending Chinese knowledge extraction system</article-title>. <source>Advances in Artificial Intelligence: From Theory to Practice. Lecture Notes in Computer Science</source>, vol <volume>10351</volume>. (<publisher-loc>Cham</publisher-loc>: <publisher-name>Springer</publisher-name>). doi:&#xa0;<pub-id pub-id-type="doi">10.1007/978-3-319-60045-1_44</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Xue</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Mu</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Xue</surname> <given-names>L.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Exploration and Practice of Blended Teaching in the Course of Engineering Drawing Empowered by Knowledge Graph</article-title>, <conf-name>2024 13th International Conference on Educational and Information Technology (ICEIT)</conf-name>, <conf-loc>Chengdu, China</conf-loc>, <volume>2024</volume>, <fpage>345</fpage>&#x2013;<lpage>349</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ICEIT61397.2024.10540772</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yu</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Tian</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Shun</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>L.</given-names>
</name>
<etal/>
</person-group>. (<year>2017</year>). <article-title>Knowledge graph for TCM health preservation: Design, construction, and applications</article-title>. <source>Artif. Intell. Med.</source> <volume>77</volume>, <fpage>48</fpage>&#x2013;<lpage>52</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.artmed.2017.04.001</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Yu</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Wei</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>IDCNN-CRF-based domain named entity recognition method</article-title>, <conf-name>2020 IEEE 2nd International Conference on Civil Aviation Safety and Information Technology (ICCASIT)</conf-name>, <conf-loc>Weihai, China</conf-loc>, <volume>2020</volume>, <fpage>542</fpage>&#x2013;<lpage>546</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ICCASIT50869.2020.9368795</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Du</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Named entity recognition for terahertz domain&#xa0;knowledge graph based on albert-bilstm-CRF</article-title>. In <conf-name>2020 IEEE 4th Information&#xa0;Technology, Networking, Electronic and Automation Control Conference (ITNEC)</conf-name>. <conf-loc>Chongqing, China</conf-loc>, Vol. <volume>1</volume>, <fpage>2602</fpage>&#x2013;<lpage>2606</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ITNEC48623.2020.9084840</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>