Next Article in Journal
Optimizing NPK Fertilization for Enhanced Performance of Chinese Wheat Hybrids under Agro-Climatic Condition of Peshawar Valley
Previous Article in Journal
Trade-Off and Synergy Mechanism of Agricultural Water Resource Spatial Allocation in Monsoon Climate Areas Based on Machine Learning: A Case Study of Reservoir Layout Optimization in Shandong Province, China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Method for Extracting Fine-Grained Knowledge of the Wheat Production Chain

1
Mechanical and Electrical Engineering College, Gansu Agricultural University, Lanzhou 730070, China
2
Department of Electronic Engineering, Tsinghua University, Beijing 100084, China
3
Laboratory of Signal Detection and Processing, Xinjiang University, Urumqi 830017, China
4
China College of Computer Science and Technology, Xinjiang University, Urumqi 830017, China
5
Collage of Plant Protection, Gansu Agricultural University, Lanzhou 730070, China
*
Author to whom correspondence should be addressed.
Agronomy 2024, 14(9), 1903; https://doi.org/10.3390/agronomy14091903 (registering DOI)
Submission received: 6 July 2024 / Revised: 14 August 2024 / Accepted: 20 August 2024 / Published: 25 August 2024
(This article belongs to the Section Precision and Digital Agriculture)

Abstract

:
The knowledge within wheat production chain data has multiple levels and complex semantic relationships, making it difficult to extract knowledge from them. Therefore, this paper proposes a fine-grained knowledge extraction method for the wheat production chain based on ontology. For the first time, the conceptual layers of ploughing, planting, managing, and harvesting were defined around the main agricultural activities of the wheat production chain. Based on this, the entities, relationships, and attributes in the conceptual layers were defined at a fine-grained level, and a spatial–temporal association pattern layer with four conceptual layers, twenty-eight entities, and forty-two relationships was constructed. Then, based on the characteristics of the self-constructed dataset, the Word2vec-BiLSTM-CRF model was designed for extracting the knowledge within it, i.e., the entity–relationship–attribute model and the Word2vec-BiLSTM-CRF model in this paper were compared with the four SOTA models. The results show that the accuracy and F1 value improved by 8.44% and 8.89%, respectively, compared with the BiLSTM-CRF model. Furthermore, the entities of the pest and disease dataset were divided into two different granularities for the comparison experiment; the results show that for entities with “disease names” and “pest names”, the recognition accuracy at the fine-grained level is improved by 32.71% and 31.58%, respectively, compared to the coarse-grained level, and the recognition performance of various fine-grained entities has been improved.

1. Introduction

In the era of agriculture informatization, agricultural knowledge has become a key element in modern agricultural science, precision operations, and production’s quantitative decision-making. The information service of agriculture no longer remains at the level of data but is transformed into the demand for knowledge. Although the development of big data, the Internet of Things, and other technologies has provided new space for the transformation of agricultural information services, these source data are unprocessed data that cannot be used directly and effectively. The construction of a knowledge graph can extract knowledge from fragmented, uncorrelated, and heterogeneous data from multiple sources, organize knowledge in the form of the “entity–relation–entity” triplet, and make it explicit. Therefore, in the face of a large amount of agricultural data covering the wheat “ploughing”, “planting”, “managing”, and “harvesting” production chain—which involves multi-dimensional information and knowledge such as climate, agronomy, and field management—using knowledge graph construction technology to deeply mine the valuable information hidden therein, extract the knowledge from it, form a semantic knowledge base, and apply it in a timely manner to agricultural production is crucial. Moreover, there are few research results on the construction of knowledge graphs for the fine-grained production chains of crops. Therefore, this paper proposes an ontology-based agricultural knowledge graph construction method, which defines the wheat production chain ontology system at a fine-grained level—and constructs its schema layer on this basis—in order to effectively solve the difficult problem of knowledge extraction with many conceptual levels and complex relationships in the crop production chain.

2. Related Research

In recent years, knowledge graphs have been well-used in various fields. For example, the disease dictionary in the medical field [1], the military intelligence question and answer system [2], the financial knowledge graph [3], and so on. Similarly, the research on knowledge extraction and graph construction in the field of agriculture have also attracted much attention and achieved certain results. For example, Chang et al. [4] constructed an agricultural ontology system based on the Chinese Agricultural Thesaurus [5] and further standardized the relationship between words [6,7,8]. Liu et al. [8] constructed and visualized a knowledge graph of cotton pests and diseases. Based on the constructed citrus fertilizer and water knowledge graph, information technology was used to realize citrus precise fertilization, drainage detection, and disease control [9]. As far as models for knowledge extraction are concerned, deep learning models based on neural networks have become mainstream, such as the BiLSTM-CRF model, which became one of the first classical models for knowledge extraction and is widely used in various fields [10]. The subsequent models are mostly improved on this model, such as the introduction of pre-trained models such as Word2vec and BERT [11,12,13], or the combination of the attention mechanism. Some research results show that the Word2vec-BiLSTM-CRF model is more suitable for small-scale datasets than the BERT-BiLSTM-CRF model [14], which is the main reason why this model is chosen for knowledge extraction on self-constructed datasets in this paper [15].
Ontology-based knowledge extraction and graph construction have achieved many results in the field of agriculture [16]. However, after analysis, it can be concluded that the granularity of ontology system definitions in existing results is relatively coarse and simple, which leads to the extracted knowledge not being comprehensive and detailed enough, and this is difficult to use in practical scenarios. For example, the authors of [17] simply defined the names of cotton pests and diseases and the areas where they occurred and did not elaborate on the properties of the pests themselves, making results difficult to implement. Although in [18], the authors classified the entity types of varieties in a more detailed way, some key factors were missing in the relationship definition, which caused the correlation to be missing and the knowledge chain to not be tight enough. Therefore, this paper proposes a fine-grained knowledge extraction method for the wheat production chain and constructs a corresponding ontology system.
The construction process of the fine-grained wheat production chain knowledge graph in this paper is shown in Figure 1, which is mainly divided into two parts: the schema layer and the data layer. The schema layer is constructed using ontology theory, which mainly defines the conceptual framework of the wheat production chain and normatively expresses the knowledge relations and attributes in it. The second part is the data layer construction, which involves designing a model to extract triplet knowledge from various types of data to instantiate the data layer. Finally, triplet knowledge is imported into the Neo4j graph database for visualization. The main contributions of this paper’s work can be summarized in the following three points:
(1) For the first time, a fine-grained ontology-based wheat production chain schema layer was constructed, which provides a specialized and detailed delineation of the entity categories and relationships of the wheat production chain, culminating in a schema layer with four conceptual layers, twenty-eight entities (with attributes), and forty-two relationships;
(2) A corpus of wheat production chain data was constructed for the first time. Guided by the defined schema layer, wheat production chain data were acquired from agricultural websites and other sources, and after pre-processing the acquired semi-structured and unstructured data, a corpus of wheat production chain data with 5356 samples was formed to provide a database for further knowledge extraction and graph construction;
(3) A Word2vec-BiLSTM-CRF model was designed to extract entities and attributes from the constructed dataset, and experiments were designed to validate the effectiveness of the model on both public and self-constructed datasets. Further, the design experiment focuses on verifying the accuracy of extracted knowledge at the fine-grained ontology definition, and in terms of “disease name” and “pest name”, compared with coarse-grained, the accuracy at the fine-grained level is improved by 32.71% and 31.58%, respectively.

3. Construction of Production Chain Schema Layers

First of all, referring to the “Chinese Agricultural Thesaurus” and the “Special Classification for Agriculture” professional books, we obtained the authoritative agricultural terminology. Based on the recommendations of agricultural experts, we divided the wheat production chain into four segments, namely, “ploughing”, “planting”, “managing” and “harvesting”, and finely defined the entities, relationships, and attributes in each segment. Then, the top-down domain ontology knowledge representation method was used to construct the production chain model layer, and the construction process is shown in Figure 2, with the main contents detailed as follows.

3.1. Production Chain Schema Layer Construction

3.1.1. Entity and Attribute Definitions

The definition of the wheat production chain entities in this paper is centered on the specific agricultural activities involved in the four links of the “ploughing”, “planting”, “managing”, and “harvesting” of wheat, which is fully compatible with the agricultural production practice. The division of entities in each link is specifically shown in Figure 3a; the screenshot of the protégé part is shown in Figure 3b. Due to the diversity of entities, relationships, and attributes in the field of agriculture, the entities in Figure 3a also relate to agricultural machinery, tools, and supplies. In order to distinguish entities at a fine-grained level, their attributes are further subdivided into data attributes and object attributes [19]. For example, the “Agricultural Machinery” entity contains specific numerical attributes such as a sowing row spacing of 10.21 cm and depth of 15 cm. The “Pests, Diseases, and Weeds” entity contains object attributes such as name, pathogen, alias, and harm. Because the production chain involves more entity attributes, this paper only selects the definition of pest and disease attributes as a sample, as shown in Table 1. As can be seen from Table 1, this paper defines the entities and attributes of the wheat production chain in detail, and its granularity reaches four layers.

3.1.2. Entity and Relationship Definitions Results

In order to better clarify the entities and their relationships in the wheat production chain, the relationships between entities are divided into intra-layer and inter-layer relationships in this paper, where intra-layer has inheritance and instantiation relationships, inter-layer has containment and concomitant relationships, and entities and attributes have association relationships. Some of the entities and relationships in this paper are defined as shown in Table 2. From Table 1 and Table 2, it can be seen that although the entities and relationships of the wheat production chain are multi-layered and complex, the definitions of entities, relationships, and attributes using the method in this paper are clear and professional.
A spatio-temporally linked wheat production chain pattern layer was constructed, which contained four conceptual layers, twenty-eight entities, and forty-two relationships, which is shown in Figure 4. It can be seen that the schema layer covers the full range of elements involved in the agricultural activities of the wheat production chain.

4. Construction of the Data Layer

DataSet Construction

The data in this paper come from three main sources, firstly, encyclopedic websites such as Agricultural Encyclopedia and Wikipedia. Most of the data were obtained from the China Agricultural Information Network (CAIN) (http://www.agri.cn/, accessed on 15 February 2023); the Seed Industry Business Network (SIBN) (https://www.chinaseed114.com, accessed on 15 February 2023); the China Crop Germplasm Information Network (CCPIN) (https://www.cgris.net/, accessed on 15 February 2023); China’s Agricultural Science Data Center (CASDC) (http://region.agridata.cn/, accessed on 15 February 2023); and other professional and authoritative agricultural websites; these provide a wide range of data covering the production chain, such as wheat diseases and pests. In addition, data from specialized books such as “The Crop Disease and Pests in China” are also included. Most of the data obtained in the above three ways are mainly in unstructured and semi-structured structures, and the data are pre-processed by writing programs for cleaning, noise reduction, and de-redundancy, which lays the foundation for the next step of data annotation.
Data annotation is one of the necessary steps before automatically extracting knowledge using deep learning methods, which mainly defines different labels for the text-based data and then adopts suitable annotation methods to annotate the entities; this provides data for the training of the model and helps the model to accurately recognize entities and relationships. Currently, there are three commonly used data annotation methods, BIO, BIOES, and BMES. By experimentally comparing the three methods on the same model, BIO is identified as a suitable annotation method for the dataset in this paper. Because the data volume of the wheat production chain is so large, in this paper, the pest and disease data were selected for the experiments of named entity recognition. The wheat pest and disease corpus used for the experiment after annotation and manual calibration has 312 samples, 100,875 characters, 13 entity categories, and a total of 13,610 entities, as shown in Table 3.

5. Knowledge Extraction and Discussion

Currently, knowledge extraction mainly consists of two segments named entity recognition and relationship extraction. Due to the complex semantic relationships of agricultural text-based data, the neural network-based deep learning model is constructed to recognize the entities in wheat pest and disease datasets and further extracts the relationships based on rules.

5.1. Named Entity Recognition Model Construction

In this paper, a deep learning model based on a pre-trained language model (Word2Vec) combined with a bidirectional long short-term memory model (BiLSTM) and a conditional random field (CRF) (shown in Figure 5) is constructed for the named entity recognition. In this model, Word2Vec is used to generate word vectors and is pre-trained to better capture the semantic and syntactic relationships between words, which in turn increases the semantic understanding ability of the model. A bidirectional network of BiLSTM layers in the time dimension comprehensively captures the contextual information of the input sequence. The CRF mainly annotates the sequence data to better differentiate the interdependencies between the labels and adopts the Viterbi algorithm for global optimization of the whole sequence to obtain the optimal labeled sequence. For example, in the case of “Total Erosion Disease of Wheat, also known as Standing Blight”, if X = {x1,x2,……xn} denotes the text sequence of input CRF and Y = {y1,y2,……yn} denotes the corresponding output label sequence, then the score of the input sequence X on the corresponding predicted sequence Y is score (X, Y), which is calculated as the following (1):
s c o r e ( X , Y ) = i = 1 n A y i 1 , y i + i = 1 n P i , y i
where formula P i , y i —the ith word is predicted to be the score of labels y i ; A y i 1 , y i —label y i 1 transfers the fraction of label y i .
The conditional probability of the predicted labeling sequence Y is P (Y/X), calculated as in Equation (2):
P ( Y / X ) = e s c o r e ( X , Y ) Y ~ Y X e s c o r e ( X , Y ~ )
where formula Y ~ —real labeling sequences;
Y X —all possible labels;
s c o r e ( X , Y ) —score for correct path prediction;
s c o r e ( X , Y ~ ) —score for a particular path among all paths.
The highest scoring label sequence Y * is used as the final labeling result of the model using Equation (3).
Y * = a r g m a x s c o r e ( X , Y ~ )

5.2. Experiments and Analysis of Results

In order to make the constructed model more suitable for the data characteristics of this paper and accurately recognize the entities defined in the schema layer, the effect of the annotation method on the model performance is firstly explored. Secondly, the main hyperparameters of the model are experimentally determined. On this basis, the performance of different models on this experimental dataset is compared, and then, the optimal model that is more suitable for the data in this paper is identified. Finally, experiments are designed to verify the extent to which the construction of the fine-grained ontology system in this paper improves the accuracy of entity recognition [20].
The evaluation metrics of the model recognition effect are chosen as Precision (P), Recall (R), and the F1 value, which are commonly used in the entity recognition task, and the calculation of each metric is shown in (4), (5), and (6). In addition, since the division of the dataset has a certain impact on the performance of the entity recognition model, this paper adopts cross-validation to divide the experimental dataset into a training set, validation set, and test set with a ratio of 6:2:2.
P = n u m b e r   o f   w h e a t   d i s e a s e s   a n d   p e s t   e n t i t i e s   c o r r e c t l y   i d e n t i f i e d n u m b e r   o f   w h e a t   d i s e a s e s   a n d   p e s t   e n t i t i e s   i d e n t i f i e d × 100 %
R = n u m b e r   o f   w h e a t   d i s e a s e s   a n d   p e s t   e n t i t i e s   c o r r e c t l y   i d e n t i f i e d T o t a l   n u m b e r   o f   w h e a t   d i s e a s e s   a n d   p e s t s   e n t i t i e s × 100 %
F 1 = 2 × P × R P + R

5.2.1. Impact of Different Annotation Methods on Model Performance

On the dataset constructed in this paper, experiments were conducted to compare the effects of three annotation methods, BIO, BIOES, and BMES, on the performance of the Word2vec-BiLSTM-CRF model for named entity recognition, and the results of the experiments are shown in Table 4. The specific meanings of the three annotation methods are as follows: B in the BIO and BIOES annotations stands for the beginning of an entity; I stand for the inside of an entity; O stands for characters other than entities; E in the BIOES annotation represents the end of the entity; and S denotes a single character as an entity. M in the BMES represents the interior of the entity, and the E represents the end of the entity. The specific labeling forms of the three labeling methods are shown in Figure 6. As can be seen from Table 4, compared with the other two annotation methods, the F1 value of the BIOES annotation method is slightly reduced, which means that BIOES cannot correctly deal with nested entities, leading to missing annotations; for the samples of entities with missing annotations, they will be processed as negative samples by the model, which ultimately leads to a higher number of negative samples and affects the recognition effect. The BMES annotation method is better than the other two methods in terms of both accuracy and the F1 value, but due to the large number of labels in this method, the labeling efficiency is low and not as simple as the BIO method. Therefore, in this paper, the BIO annotation method is used to annotate the wheat pest and disease data.

5.2.2. Model Main Hyperparameter Settings

The parameters of batch_size and Epoch have a greater impact on the performance of the model. The batch_size value determines the direction of the model gradient descent, which directly affects the degree of optimization and training speed of the model. Increasing the batch_size value within a reasonable range can improve the memory utilization as well as the parallelization efficiency of large matrix multiplication, but when the training data are small, there may be a large fluctuation in the gradient value. The Epoch value affects the updating and optimization efficiency of the model. Therefore, this experiment selects different batch_size and Epochs for multiple rounds of experimental testing to determine their optimal values. That is to say, the Epoch is increased from 40 to 60 to 100 sequentially, and the corresponding batch_size values are 6, 12, and 16, respectively, to compare the performance of the Word2vec-BiLSTM-CRF model on this dataset; the results are shown in Table 5.
Analysis of Table 5 shows that when Epoch is 80 and the batch_size value is 12, the model has the best effect on recognizing entities. At an Epoch value less than 40, the model under-fits. At Epoch values greater than 100, the accuracy of the model decreases; if it continues to increase, the accuracy will continue to decrease. Therefore, the Epoch and batch_size values of the model are selected as 80 and 12, respectively, for the subsequent experiments.

5.2.3. Performance Comparison of Different Models

To validate the effectiveness of the Word2vec-BiLSTM-CRF proposed in this paper for named entity recognition on the dataset in this paper, experimental comparisons were made between the proposed model, the BiLSTM-CRF model, and the other models, respectively. In this experiment, the hyperparameter Epoch value of each model is 80, and the batch_size value is 12. The experimental results are shown in Table 6, and the results are displayed using Figure 7 to better visualize the performance of each model on this data.
As can be seen from Table 6 and Figure 7, the precision, recall, and F1 value of the BiLSTM-CRF model are significantly improved by adding Word2vec as well as the Bert to the BiLSTM-CRF model. Comparing the Word2vec-BiLSTM-CRF model with the BiLSTM-CRF model, the former improves the accuracy by 8.44%, the recall by 6.15%, and the F1 value by 8.89%; comparing the Bert-BiLSTM-CRF model with the BiLSTM-CRF model, the former improves the accuracy by 0.65% and the F1 value by 2.8%. The reason is that Word2vec word embedding solves the problem of sparse one-hot coding vectors to a certain extent, which represent sentences as character-level feature vectors while retaining contextual semantic information. For the Bert-BiLSTM-CRF model, the slightly inferior performance on this paper’s dataset is because the Bert model is more suitable for large-scale sample sets.

5.2.4. Comparison of Ontology Recognition Effect under Different Granularity

To further validate this conclusion, this paper compares the performance of four models, such as Bert-BiLSTM-CRF, using the large-scale public dataset CMeEE-V2 (the dataset entities are divided into nine categories with a total of 5000 samples) in the medical domain, and the results are shown in Table 7. As can be seen from Table 7, the Bert-BiLSTM-CRF model significantly outperforms the other models on the large-scale dataset. In comparison, Word2vec-BiLSTM-CRF does not improve significantly. In summary, the Word2vec-BiLSTM-CRF model is more suitable for the small sample dataset in this paper.
To verify the effect of different granularity of the ontology layer definition on the entity recognition performance of the model, this paper divides the entities of the pest and disease dataset into two kinds of coarse and fine granularity and adopts Word2vec-BiLSTM-CRF to conduct experimental comparisons, whose results are shown in Table 8 (fine granularity) and Table 9 (coarse granularity); the corresponding visualization diagrams are shown in Figure 8a,b. As shown in Table 8 and Table 9, the recognition accuracies of the “disease name” entity are 0.5532 and 0.8803 in coarse and fine granularity, respectively, while the recognition accuracies of the “pest name” entity are 0.5337 and 0.8495 in coarse and fine granularity, respectively, and the accuracy of the two is improved by 32.71% and 31.58%, respectively. In addition, comparing Figure 8a,b, it can be seen that the recognition accuracies of each entity category at the fine-grained ontology are higher than those at the coarse-grained ontology. It is further illustrated that the fine-grained definition of the ontology makes the model’s learning of knowledge more comprehensive and accurate, and greatly improves the accuracy and F1 value of the model’s recognition of entities.
In order to further verify the effectiveness of fine-grained entity definitions for entity recognition, this paper conducts comparative tests between entities defined by coarse and fine grains (i.e., Table 8 and Table 9) on several models, and the results are shown in Table 10. From Table 10, it can be seen that the recognition effect of fine-grained entities is better than that of coarse-grained under all four models, and it is quite significant. Among them, the F1 values of the BiLSTM-CRF model are 0.2672 and 0.6678 for coarse and fine grains, respectively, and the difference between them is 0.4006, which is the most obvious compared to the other three models, again indicating that the entity recognition effect under fine grains is better than that of coarse grains.

5.3. Knowledge Storage and Visualization

In this paper, we use the Neo4j [21,22] graph database to store and visualize the extracted triplet knowledge [23]. Compared with other storage methods, this graph database is more intuitive and stable. That is to say, the triplet knowledge obtained in the experiment is imported into the graph database through Py2neo, and the Cypher language is used to achieve the visual display of the graph; the partial results are shown in Figure 9.

6. Conclusions

To construct a knowledge graph base for the wheat production chain, this paper proposes a fine-grained knowledge extraction method. Focusing on the ontology-based schema layer construction method and the deep learning model-based knowledge extraction method, its main work can be summarized as follows:
(1) Based on the ontology concept, the wheat production chain is divided into four segments, namely ploughing, planting, managing, and harvesting, which are used as the conceptual layer to construct a spatio-temporal ontology system of the wheat production chain. Based on this system, the entities, inter-entity relationships, and corresponding attributes [24] of each link are defined in detail, forming a fine-grained wheat production chain ontology layer containing four concepts, twenty-eight entities, and forty-two relationships. This layer guides the construction of the data layer to realize the accurate and comprehensive extraction of knowledge. The construction of ontologies serves as the most fundamental aspect of knowledge mapping, and the knowledge base formed through ontology repositories not only has a strong hierarchical structure but also has a low level of redundancy to ensure that the mapping provides guidance;
(2) The wheat production chain database was constructed. Various types of wheat production chain data were comprehensively collected through the Internet, and after pre-processing the obtained data, annotation methods and tools suitable for the characteristics of this dataset were selected. Then, the data in the dataset were annotated based on the entities and relationships defined in the schema layer, forming a database with 5356 samples of a wheat production chain corpus (in this paper, only the pest and disease data were selected for the experiment);
(3) A Word2vec-BiLSTM-CRF model was constructed for entity and relationship extraction in the dataset of this paper. Firstly, the experiment compares the recognition performance of this paper’s model with the other SOTA models on this paper’s dataset, and the results show that the recognition accuracy of this paper’s model is improved by 8.44%, the recall is improved by 6.15%, and the F1 value is improved by 8.89% compared with the BiLSTM-CRF model. Further, the entities of the pest and disease dataset are divided into two granularities, coarse and fine, and Word2vec-BiLSTM-CRF is used to conduct the experiments for comparison. The results show that for the entity “disease name”, the recognition accuracies at the coarse and fine granularity are 0.5532 and 0.8803, respectively; for the entity “pest name”, the recognition accuracies at the coarse and fine granularity are 0.5337 and 0.8495, respectively; and the accuracies are improved by 32.71% and 31.58%, respectively. This indicates that the fine-grained entity definition can enable the model to recognize entities better. In summary, the work in this paper provides a direction for fine-grained knowledge extraction, and the constructed knowledge graph library of the wheat production chain provides knowledge support for agricultural knowledge services.
The next step of the research will continue to expand the data sources and scale, such as adding image data, constructing a cross-modal knowledge base, and providing more knowledge modes for the knowledge graph-based query so that it can be adapted to a wider range of applications.

Supplementary Materials

The supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/agronomy14091903/s1.

Author Contributions

Conceptualization, J.L.; methodology, J.L. and W.Y.; software, J.L., L.H. and Q.F.; formal analysis, J.L., S.Y. and T.Z.; data curation, J.L. and S.Y.; writing—original draft preparation, J.L. and S.Y.; writing—review and editing, J.L. and S.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key R&D Program of China (2022ZD0115801); Data Acquisition and Processing and Testing and Analyzing the Knowledge Graph of Smart Farm Brain (GSAU-JSFW-2023-97).

Data Availability Statement

Data are contained within the article, Supplementary Materials including the model layer and wheat pest files are available under the “Data Availability Statement”.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yang, Y.; Lu, Y.; Yan, W. A comprehensive review on knowledge graphs for complex diseases. Brief. Bioinform. 2023, 24, bbac543. [Google Scholar] [CrossRef] [PubMed]
  2. Meng, X.; Yang, C.; Jin, L.; Bi, J. Research on the Construction and Application of Knowledge Graph in Military Domain. IOP Conf. Ser. Mater. Sci. Eng. 2020, 806, 012053. [Google Scholar]
  3. Zhang, Z.; Ni, Z.; Liu, Z.; Xia, S. Research on dynamic relationship prediction method for financial knowledge graph. Data Anal. Knowl. Discov. 2023, 7, 39–50. [Google Scholar] [CrossRef]
  4. Chang, C. The AOS project of the Food and Agriculture Organization of the United Nations. J. Agric. Libr. Inf. 2003, 24, 14–15. [Google Scholar]
  5. Guo, S.; Wang, X.; Ma, Y. The performance evaluation of comprehensive agricultural information service platform based on ontology research. J. Hubei Agric. Sci. 2022, 21, 249–256. [Google Scholar]
  6. Qiao, B. Research on Knowledge Map Construction Technology Based on Agricultural Thesaurus; Hunan Agricultural University: Changsha, China, 2021. [Google Scholar]
  7. Chen, Z. Agricultural production optimization analysis based on cloud platform and multi-source data. Use Maint. Agric. Mach. 2024, 6, 130–132. [Google Scholar]
  8. Liu, G.; Yang, Q.; Liu, Q. Ontology Construction and Visualization Research on Agricultural Science Datasets—Taking the Field of “Cotton Disease Prevention and Control” as an Example. J. Intell. 2022, 41, 143–149. [Google Scholar]
  9. Wang, Y.; Wang, Y.; Yuan, Y.; Guo, Y.; Zhang, Z.; Deng, L.; Li, L. A Decision Support System for Citrus Fertilizer and Water Management Based on Semantic Ontology. J. Agric. Eng. 2014, 30, 9. [Google Scholar]
  10. Jiang, L.; Zhao, R.; Dong, C.; Chao, X.; Xie, N.; Fang, S. Construction and validation of a visual knowledge graph for aquatic diseases based on deep learning. J. Agric. Eng. 2023, 15, 259–267. [Google Scholar]
  11. Chen, Y.; Xian, J.; Kou, Y.; Guo, S.; Liu, X. Research on the Construction of Knowledge Graph for China’s Apple Industry. China Agric. Resour. Reg. 2017, 38, 40–45. [Google Scholar]
  12. Deng, Z. Research on Named Entity Recognition of Ornamental Plants Based on BiLSTM-CRF Mode; Hunan Agricultural University: Changsha, China, 2021. [Google Scholar]
  13. Greff, K.; Srivastava, R.K.; Koutník, J. LSTM: A search space odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2017, 28, 2222–2232. [Google Scholar] [CrossRef] [PubMed]
  14. Zhang, S.; Wang, Z.; Wang, Z. Prediction of wheat stripe rust by combining knowledge graph and bidirectional long and short-term memory networks. Trans. Chin. Soc. Agric. Eng. 2020, 36, 172–178. [Google Scholar]
  15. Mikolov, T.; Chen, K.; Corrado, G. Efficient Estimation of Word Representations in Vector Space. arXiv 2013, arXiv:1301.3781. [Google Scholar]
  16. Xu, X.; Yue, J.; Zhao, J.; Wang, Y.; Ma, X.; Qian, X. Research on the Construction and Visualization of Wheat Variety Knowledge Graph. Comput. Syst. Appl. 2021, 30, 7. [Google Scholar]
  17. Rotmensch, M.; Halpern, Y.; Tlimat, A. Learning a Health Knowledge Graph from Electronic Medical Records. Sci. Rep. 2017, 7, 5994. [Google Scholar] [CrossRef] [PubMed]
  18. Chen, S.; Zhao, Y. The Technology of Military Knowledge Graph Construction Based on Multiple Open Data Sources. In Proceedings of the 2020 5th International Conference on Mechanical, Control and Computer Engineering (ICMCCE), Harbin, China, 25–27 December 2020. [Google Scholar] [CrossRef]
  19. Li, G.; Zhang, P. A Web knowledge extraction model based on agricultural ontology. Jiangsu Agric. Sci. 2018, 46, 5. [Google Scholar]
  20. Mao, Q.; Li, X.; Peng, H.; Li, J.; He, D.; Guo, S.; He, M.; Wang, L. Event prediction based on evolutionary event ontology knowledge. Future Gener. Comput. Syst. 2020, 115, 76–89. [Google Scholar] [CrossRef]
  21. Wang, H.; Wang, X. Research on the construction of linguistic term knowledge map based on Neo4j. Chin. J. Sci. Technol. Terminol. 2023, 25, 18–26. [Google Scholar]
  22. Li, J.; Hou, L. Reviews on Knowledge Graph Research. J. Shanxi Univ. Nat. Sci. Ed. 2017, 40, 454–459. [Google Scholar]
  23. Ma, F.; Li, X.; Huang, W. The bogie knowledge base based on knowledge atlas secondary building. J. Dalian Jiao Tong Univ. 2023, 44, 79–85. [Google Scholar]
  24. Li, J. Knowledge Extraction and Graph Construction Technology Based on ontology Database. Sci. Technol. Innov. Appl. 2024, 14, 37–40. [Google Scholar]
Figure 1. Flow of knowledge graph construction for fine-grained wheat production chain. (Blue circles represent properties and orange circles represent entities).
Figure 1. Flow of knowledge graph construction for fine-grained wheat production chain. (Blue circles represent properties and orange circles represent entities).
Agronomy 14 01903 g001
Figure 2. Flowchart of ontology construction.
Figure 2. Flowchart of ontology construction.
Agronomy 14 01903 g002
Figure 3. (a) Classification of entity types in the wheat production chain. (b) Screenshot of protégé part. ((b) in Figure 3 is the ontology diagram example drawn by protege software. The first layer is wheat, the second layer is wheat-related entities, and the third layer is the attributes separated by one of the entities).
Figure 3. (a) Classification of entity types in the wheat production chain. (b) Screenshot of protégé part. ((b) in Figure 3 is the ontology diagram example drawn by protege software. The first layer is wheat, the second layer is wheat-related entities, and the third layer is the attributes separated by one of the entities).
Agronomy 14 01903 g003aAgronomy 14 01903 g003b
Figure 4. Wheat production chain pattern layer.
Figure 4. Wheat production chain pattern layer.
Agronomy 14 01903 g004
Figure 5. Structure of Word2vec-BiLSTM-CRF model (Dis and Alt are abbreviations of the following labels: Dis—disease name; Alt—alternative name. The definition of “小麦全蚀病又称立枯病” is “Wheat take-all, also known as standing blight”).
Figure 5. Structure of Word2vec-BiLSTM-CRF model (Dis and Alt are abbreviations of the following labels: Dis—disease name; Alt—alternative name. The definition of “小麦全蚀病又称立枯病” is “Wheat take-all, also known as standing blight”).
Agronomy 14 01903 g005
Figure 6. Example of annotation, Dis, Alt, Eit, Har, and Sym are the abbreviations of the labels: (a) example of BIO annotation; (b) example of BMES annotation; (c) example of BIOES annotation. (Dis—disease name; Alt—alternative name; Eit—etiology; Har—harmful parts; Sym—symptoms. The definition of “小麦全蚀病又称立枯病,全蚀病菌土壤寄居菌,病叶矮小” is “Wheat take-all, also known as standing blight, total erosion bacteria soil-dwelling bacteria, disease leaves dwarf”).
Figure 6. Example of annotation, Dis, Alt, Eit, Har, and Sym are the abbreviations of the labels: (a) example of BIO annotation; (b) example of BMES annotation; (c) example of BIOES annotation. (Dis—disease name; Alt—alternative name; Eit—etiology; Har—harmful parts; Sym—symptoms. The definition of “小麦全蚀病又称立枯病,全蚀病菌土壤寄居菌,病叶矮小” is “Wheat take-all, also known as standing blight, total erosion bacteria soil-dwelling bacteria, disease leaves dwarf”).
Agronomy 14 01903 g006aAgronomy 14 01903 g006b
Figure 7. Comparison of different model experiments.
Figure 7. Comparison of different model experiments.
Agronomy 14 01903 g007
Figure 8. Named entity recognition results: (a) fine-grained ontology; (b) coarse-grained ontology.
Figure 8. Named entity recognition results: (a) fine-grained ontology; (b) coarse-grained ontology.
Agronomy 14 01903 g008
Figure 9. Knowledge graph of parts of the wheat production chain. (The red circle represents the pest name in the production chain, the green circle represents the attribute value in the pest entity, the horizontal line represents the attribute, and the arrow indicates the direction).
Figure 9. Knowledge graph of parts of the wheat production chain. (The red circle represents the pest name in the production chain, the green circle represents the attribute value in the pest entity, the horizontal line represents the attribute, and the arrow indicates the direction).
Agronomy 14 01903 g009
Table 1. Definition of pest and disease attributes.
Table 1. Definition of pest and disease attributes.
Entity CategoryAttributeAttribute Value Instance<Entity, Attribute, Attribute Value> Example
Wheat
Diseases and Pests
Disease NameWheat Take-all<Disease, disease name, Wheat take-all>
Pest NameWheat Midge<Pest damage, pest name, Wheat midge>
Alternative NameWheat Rhizoid Blotch<Wheat take-all, alternative name, Wheat rhizoid blotch>
Harmful PartsHeart Lobe<Wheat take-all, harmful parts, heart leaves>
SymptomsInvolution<Wheat take-all, symptoms, involution>
Parasitic ModeHost Rhizome<Wheat take-all, parasitic mode, Host rhizome>
Disease ConditionsLoose Soil<Wheat take-all, disease conditions, loose soil>
Living HabitsAlkaline-loving Soil<Wheat midge, living habits, Alkaline-loving soil>
Distribution AreaSichuan<Wheat take-all, distribution, Sichuan>
EtiologyWheat Take-all Pathogen<Wheat take-all, etiology, Wheat take-all pathogen>
SubjectInsects<Wheat take-all, subject, the insect class>
Table 2. Entity and relationship category details.
Table 2. Entity and relationship category details.
Entity CategoryRelationship CategoryEntity–Relationship Example
Agricultural MachineryApplication<Agricultural Machinery, application, land preparation technology>
FertilizerCommonly used<Crops, commonly used, fertilizers>
Prevention and control<Fertilizer, prevention and control, diseases/pests>
FarmlandPlanting<Crops, planting, farmland>
Located in<Farmland, located in, region>
Sowing TechniquesSowing<Sowing Technology, sowing, Crops>
VarietyBelong to<Quality, belong to, variety>
Resistance<Variety, resistance, disease>
DiseaseHarm<Diseases, harm, crops>
Pest InfestationHarm<Pests, harm, crops>
Agricultural ToolsApplication<Agricultural Tools, application, pesticides/fertilizers>
RegionDistribution<Region, distribution, Variety>
Seedling ManagementOperation<Seedling Management, operation, crops>
ClimateInfluence<Climate, influence, growth cycle>
About<Climate, about, region type>
Table 3. Experimental dataset.
Table 3. Experimental dataset.
Entity TypeNumberEntity TypeNumber
Disease Names254Parasitic Mode246
Pest Names247Disease Conditions662
Prevention and Control Methods1337Living Habits246
Etiology1786Distribution Area925
Transmission Routes212Subject459
Harmful Parts1479Alternative Name332
Symptoms2016Total13,610
Table 4. Experimental results of the effect of different annotation methods on the recognition performance of named entities of the same model.
Table 4. Experimental results of the effect of different annotation methods on the recognition performance of named entities of the same model.
Annotation MethodPrecisionRecallF1
BIO0.70180.70340.7578
BIOES0.66250.72050.7496
BMES0.73590.72140.7691
Table 5. Effect of parameter values on model performance.
Table 5. Effect of parameter values on model performance.
ParameterBatch_Size = 6Batch_Size = 12Batch_Size = 16
Epoch = 400.67290.68650.7062
Epoch = 600.74160.74320.7356
Epoch = 800.74830.75670.7517
Epoch = 1000.74010.73050.7213
Epoch = 1200.74690.72790.7049
Table 6. Results of performance evaluation of different models using datasets in this paper.
Table 6. Results of performance evaluation of different models using datasets in this paper.
ModelsPrecisionRecallF1
BiLSTM-CRF0.68530.72580.6678
TENER0.73300.72640.7496
Bert-CRF0.67210.69400.6823
Bert-BiLSTM-CRF0.69180.71170.6958
Word2vec-BiLSTM-CRF0.76990.78730.7567
Table 7. Results of performance evaluation of different models using public datasets.
Table 7. Results of performance evaluation of different models using public datasets.
ModelsPrecisionRecallF1
BiLSTM-CRF0.78570.72730.7059
Bert-BiLSTM-CRF0.95140.96380.9575
Bert-CRF0.91620.94410.9351
Word2vec-BiLSTM-CRF0.79320.80530.7819
Table 8. Fine-grained ontology naming recognition results.
Table 8. Fine-grained ontology naming recognition results.
Entity TypePrecisionRecallF1
Disease Name0.89350.90660.8803
Pest Names0.83310.88760.8495
Prevention and Control Methods0.69760.77640.7121
Etiology0.81340.86100.8365
Transmission Routes0.78150.75420.7352
Harmful Parts0.68040.77980.7151
Symptoms0.63470.64200.6509
Parasitic Mode0.69410.71010.7220
Incidence Conditions0.67200.62700.6183
Living Habits0.63950.61210.6540
Distribution Area0.86400.88610.8749
Subject0.90660.89270.8996
Alternative Name0.92500.96730.9457
Table 9. Coarse-grained ontology naming recognition results.
Table 9. Coarse-grained ontology naming recognition results.
Entity TypePrecisionRecallF1
Disease Name0.57780.53060.5532
Pest Names0.64420.55170.5337
Prevention and Control Methods0.58440.70360.6767
Etiology0.51900.69350.5968
Harmful Parts0.56440.66190.6093
Symptoms0.38950.52340.4467
Distribution Area0.83330.78120.8065
Table 10. Entity recognition effect of different models under coarse and fine granularity.
Table 10. Entity recognition effect of different models under coarse and fine granularity.
ModelsFine-GrainedCoarse-Grained
PrecisionRecallF1PrecisionRecallF1
Word2vec-BiLSTM-CRF0.76990.78730.75670.50340.57520.5347
BiLSTM-CRF0.68530.72580.66780.30050.24460.2672
Bert-CRF0.67210.69400.68230.36210.33850.3499
Bert-BiLSTM-CRF0.69180.71170.69580.41030.41930.4147
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lu, J.; Yang, W.; He, L.; Feng, Q.; Zhang, T.; Yang, S. A Method for Extracting Fine-Grained Knowledge of the Wheat Production Chain. Agronomy 2024, 14, 1903. https://doi.org/10.3390/agronomy14091903

AMA Style

Lu J, Yang W, He L, Feng Q, Zhang T, Yang S. A Method for Extracting Fine-Grained Knowledge of the Wheat Production Chain. Agronomy. 2024; 14(9):1903. https://doi.org/10.3390/agronomy14091903

Chicago/Turabian Style

Lu, Jing, Wanxia Yang, Liang He, Quan Feng, Tingwei Zhang, and Seng Yang. 2024. "A Method for Extracting Fine-Grained Knowledge of the Wheat Production Chain" Agronomy 14, no. 9: 1903. https://doi.org/10.3390/agronomy14091903

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop