A method for constructing an intelligent fishery question-answering robot based on knowledge graph

Through the construction method of intelligent fishery question and answer robots based on knowledge graphs, the problems of difficulty in obtaining information and poor timeliness in the aquaculture industry have been solved, production efficiency and output have been improved, convenient access to information has been provided, and efficient aggregation and accuracy of information have been achieved. .

CN111966787BInactive Publication Date: 2024-09-06SHANGHAI OCEAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010833552.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-18
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The aquaculture industry lacks effective information acquisition channels and intelligent information exchange platforms, making information acquisition difficult and timely, affecting production efficiency and output.

Method used

The construction method of intelligent fishery question and answer robot based on knowledge graph, by referring to the semantic division of other fields, studying unstructured data in the fishery field, crawling structured data, establishing a fishery knowledge graph, and combining AIML technology to develop intelligent question and answer robot, providing fast Access to information.

Benefits of technology

It solves the problems of difficulty in obtaining fishery information and poor timeliness, improves the integrity of the knowledge concept system and production efficiency, provides a convenient way to obtain information, reduces the cost of information acquisition, and increases the output rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111966787B
    Figure CN111966787B
Patent Text Reader

Abstract

The present invention discloses a method for constructing an intelligent fishery question-answering robot based on a knowledge graph, including: establishing a knowledge modeling structure by referring to the semantic division of other existing fields; restoring the business model in the fishery production process by studying the semi-structured and unstructured data in the fishery field, and stripping out the semantic types and semantic relations of fishery knowledge and extracting the object ontology; extracting the ontology attributes and instances of the corresponding object ontology by crawling the structured data; fusing the crawled structured data with the data from the third-party knowledge base, and finally obtaining a complete method for constructing an intelligent fishery question-answering robot based on a knowledge graph by embedding the intelligent fishery question-answering robot using AIML technology in a Web page. The present invention improves the construction completeness rate of the knowledge concept system in the field, provides a more convenient way for farmers to obtain the information they need, and can improve production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention is applicable to the field of smart fishery technology, and in particular relates to a method for constructing an intelligent fishery question-answering robot based on a knowledge graph. Background Art

[0002] The traditional aquaculture industry is highly dependent on environmental factors. Problems that arise during the aquaculture process are often based on word-of-mouth experience, and the effectiveness of the experience is difficult to guarantee. Scientifically solving problems that arise during aquaculture is the key to ultimately increasing production and reducing unnecessary losses.

[0003] The traditional channels for obtaining aquaculture technology are: first, through the university research team's inspection and guidance in the countryside, or the establishment of aquaculture cooperative experimental sites, and second, through farmers' own search for relevant information on the Internet, such as the China Aquaculture Network. For farmers, the university research team's inspection and guidance in the countryside is not timely, and some time-sensitive issues cannot wait until the research team arrives; searching for information on the Internet by themselves is difficult to distinguish which one is true and reliable, and it is not an easy task to filter out what they need from the massive amount of information.

[0004] The number of people engaged in aquaculture is relatively small compared to other industries. Therefore, apart from the traditional information websites led by the government, there are few or almost no other similar aquaculture-related information platforms, let alone intelligent information exchange platforms specializing in the aquaculture industry. Therefore, for the current status of my country's aquaculture industry, it is difficult to obtain technical information related to the industry from the Internet.

[0005] Knowledge graphs are the foundation of the development of artificial intelligence in recent years. At present, the research and development of knowledge graph applications are in full swing in various industries, but there is a lack of corresponding practical applications in the field of aquaculture. At the same time, the construction of knowledge graph semantics in the aquaculture industry is still blank.

[0006] With the development of economy, the population of our country is increasing, so the first problem to be solved is the food problem. Therefore, in order to solve the problem of food and clothing for the 1.4 billion people in the country, advanced technology should be introduced into traditional fisheries to improve aquaculture output and production efficiency. Summary of the invention

[0007] According to the above industry problems, the purpose of the present invention is to provide a method for constructing an intelligent fishery question-answering robot based on a knowledge graph. The present invention establishes a set of knowledge graphs in the field of fishery farming by referring to the semantic division of other existing fields, studying unstructured data in the fishery field, restoring the business model in the fishery production process, and crawling structured and semi-structured data; and then with the help of an intelligent fishery question-answering robot, a complete method for constructing an intelligent fishery question-answering robot based on a knowledge graph is obtained. The present invention can help fishery workers quickly obtain the information they want, and can also provide references for the construction of knowledge graphs in other related fields of the agriculture and animal husbandry industry, and can also provide consultation for farmers to improve their farming methods.

[0008] The present invention is achieved through the following technical solutions:

[0009] A method for constructing an intelligent fishery question-answering robot based on knowledge graph includes the following steps:

[0010] S01: Establish the upper structure of knowledge modeling by referring to the existing semantic divisions in other fields;

[0011] S02: By studying the semi-structured and unstructured data in the fishery field, restore the business model in the fishery production process, and extract the semantic types and semantic relationships of fishery knowledge and the object ontology;

[0012] S03: By crawling structured data, extract the ontology attributes and instances of the corresponding object ontology;

[0013] S04: The structured data crawled in S03 and the data from the third-party knowledge base are integrated to reduce the types of entities and the sparsity of the graph through entity disambiguation and coreference resolution, and the knowledge is merged with the object ontology to obtain a knowledge graph.

[0014] S05: By embedding an intelligent fishery question-and-answer robot using AIML technology in a web page and setting specific sentence types to link it to the knowledge graph, we ultimately obtain a complete method for constructing an intelligent fishery question-and-answer robot based on the knowledge graph.

[0015] In the preferred technical solution, in step S01, the top-level semantic type division will be mainly constructed by referring to the currently available semantic data; in the S02 stage, on the basis of the S01 stage, by studying the business model in the field of aquaculture, the aquaculture workflow will be abstracted by induction for object combing (for example, those related to people will be abstracted as people; those related to events will be abstracted as events without considering the details), and finally the knowledge modeling required for establishing this knowledge graph will be obtained (including but not limited to semantic types, semantic relationships, object ontology and its attributes and instances).

[0016] In the preferred technical solution, in step S02, the method for constructing the fishery field knowledge entity is:

[0017] The workflow artificially established based on semi-structured and unstructured data helps to extract the concept of object ontology in the fishery field, also known as category (Type) or class (Class or Category), etc., which helps to process the structured data in step S04 and obtain the object ontology entities and their attributes in step S03; at the same time, after extracting the classes and the relationships between them, they can be used to establish the model layer of the knowledge graph, such as "entity-relationship-entity", "entity-attribute-attribute value", which are stored in the form of triples and used to constrain the data layer.

[0018] In the preferred technical solution, in the step S02, in the process of constructing the fishery field object ontology, the fishery field knowledge entity object ontology information is divided into eight basic categories, and the basic categories include: breeding sites, water environment, breeding species, technical characteristics, potential diseases, pollution levels, investment costs, and data sources;

[0019] At the same time, each basic category is divided into several sub-category concepts, and the aquaculture technology is divided into: technology popularization, technology coverage, and technology reliability; the aquaculture species are divided into fish, shrimp, shellfish, and crab; the pollution level is divided into pollutant emission type and pollutant emission amount; the aquaculture sites are divided into pond-based aquaculture, floating row aquaculture, and artificial aquaculture pond aquaculture; artificial aquaculture pond aquaculture is further divided into static water aquaculture and live water aquaculture; the investment cost is divided into investment estimate, operating cost, and investment payback period; the data sources are divided into web pages, national standards, industry standards, paper documents, national policies, and encyclopedia materials.

[0020] In the preferred technical solution, the relationship between classes is established according to the following basis, including establishing the semantic hierarchical relationship Part-of of concepts in the fishery field, the hierarchical relationship Kind-of of concepts in the fishery field, the relationship Instance-of between objects and classes in the fishery field, and the Attribute-of that a concept in the fishery field is an attribute of another concept.

[0021] In the preferred technical solution, in the step S03, the model layer established is not static, but will be spirally iterated together with the data layer as the instantiation proceeds in the later stage.

[0022] In the preferred technical solution, in step S03, by crawling structured data, the names of corresponding fields and the knowledge units contained in the corresponding fields are directly extracted according to the fields, the object ontology knowledge is obtained, the object ontology instances and their attributes are obtained, and a knowledge graph is established and stored in a graph database.

[0023] In the preferred technical solution, in the step S03, the method of crawling structured data to extract fields and establish a knowledge graph, the entity linking process needs to calculate the semantic similarity based on entities, relationships, and entity patterns, screen out the entities, relationships, and entity combinations with the closest semantics, and perform knowledge fusion in the step S04, and the step S04 includes the following steps:

[0024] S41: includes entity disambiguation and coreference resolution processes;

[0025] S42: Add the filtered concept set to the existing knowledge graph to achieve knowledge merging.

[0026] In the preferred technical solution, in the step S04, the knowledge fusion is performed, and in the step S42, the concept set obtained by semantic division and screening of the concept set in step S03 and step S42 in step S04 is used as a new link and updated to the existing knowledge graph network;

[0027] In the preferred technical solution, in step S05, an intelligent conversational robot based on AIML technology is embedded in the Web:

[0028] The AIML corpus is divided into general conversation use and conversation use in niche areas. For conversations involving niche areas, the content of the answers will be derived from the knowledge graph generated in the S04 stage. During the conversation, the system will record the corresponding fields mentioned by the questioner, and through the knowledge graph stored in the graph database, it will mine other issues that the questioner may be concerned about and ask him or her whether he or she needs to know the content.

[0029] In the preferred technical solution, other issues that the questioner may be concerned about are excavated, including the following steps:

[0030] S51, according to the recorded mentioned nodes, search for the most similar instance in the class corresponding to the instance, and recommend it to the user;

[0031] S52, according to the instance involved in the answer, in the class corresponding to the instance, search for a class that has a relationship with the instance and the class to which the instance belongs is the same class or the parent class of the parent class is the same class, and recommend the information to the user when answering;

[0032] S53. Based on the fields of the question raised by the user, when it comes to breeding methods, the user is automatically reminded of certain problems that may exist in the breeding methods, as well as preventive measures.

[0033] Compared with the prior art, the present invention has the following beneficial effects:

[0034] 1. It solves the problem of difficulty in obtaining information in the fishery industry, subverts the traditional way of obtaining fishery information, improves the construction completeness of the knowledge concept system in the field, and provides a more convenient way for farmers to obtain the information they need, greatly improving production efficiency.

[0035] 2. By crawling a large amount of industry-related information on the Internet, the scattered fishery farming information on the Internet is aggregated together, thereby improving the efficiency of information acquisition.

[0036] 3. By using three different types of original data, structured, semi-structured and unstructured, and constructing a knowledge graph in different order, the accuracy of conceptual model construction is improved, which has reference value for the construction methods of knowledge graphs in other similar industries.

[0037] 4. The AI ​​conversation robot with associative function solves the current problems of no access to fishery-related information, high consultation costs, and difficulty in ensuring timeliness. At the same time, with the participation of the AI ​​robot, the present invention can accurately assist farmers in improving the output rate of final products through early warning and other means. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 Flowchart of the construction method of the intelligent fishery question-answering robot. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical scheme and advantages of the present invention more clear, the present invention is further described in detail below in combination with specific implementation methods and with reference to the accompanying drawings. These descriptions are only exemplary and are not intended to limit the scope of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all implementation cases.

[0040] Example:

[0041] Step 1: Establish the upper structure of knowledge modeling by referring to the existing semantic divisions in other fields;

[0042] Step 2: By studying the semi-structured and unstructured data in the fishery field, restore the business model in the fishery production process, and extract the semantic types and semantic relationships of fishery knowledge and the object ontology;

[0043] Step 3: By crawling the structured data, extract the ontology attributes and instances of the corresponding object ontology;

[0044] Step 4: Fuse the structured data crawled in the S03 phase with the data from the third-party knowledge base, reduce the number of entities and the sparsity of the graph through entity disambiguation and coreference resolution, and merge the knowledge with the object ontology to obtain a knowledge graph;

[0045] Step 5: By embedding the intelligent fishery question-and-answer robot using AIML technology in the web page and setting specific sentence types to link it to the knowledge graph, we finally obtain a complete method for building an intelligent fishery question-and-answer robot based on the knowledge graph.

[0046] In step one, we will mainly build the top-level semantic type classification based on the existing semantic data; for example, referring to UMLS, we will divide entities into "conceptual entities" and "physical entities", and divide events into "phenomena and processes" and "activities".

[0047] In step two, based on step one, by studying the business model in the field of fishery farming, the workflow of fishery farming will be abstracted by induction for object sorting (for example, abstracting those related to people as people, and abstracting those related to events as events without considering the details), and finally obtaining the knowledge modeling needed in the process of establishing this knowledge graph (including but not limited to semantic types, semantic relationships, object ontology and its attributes and instances); for example, in the farming process, farmers, consumers, and transport drivers all belong to the category of "people" under the physical entity.

[0048] In step 2, the method for constructing the fishery field knowledge entity has the following characteristics:

[0049] The workflow manually established based on unstructured data helps to extract the concept of object ontology in the fishery field, also known as category (Type) or class (Class or Category), etc., which helps to perform entity linking in step four and obtain the object ontology entities and their attributes in step three; at the same time, after extracting the classes and the relationships between them, they can be used to establish the model layer of the knowledge graph, which can be expressed as: "entity-relationship-entity", "entity-attribute-attribute value", for example: <Prawn, belongs to, Whiteleg shrimp>, <Whiteleg shrimp, maturity period, 90 days>, stored in triples, used to constrain the data layer.

[0050] In step 2, by studying the unstructured data in the fishery field and restoring the business model in the fishery production process, the concepts in the aquaculture field are clarified, and finally the knowledge entity object ontology information in the fishery field is divided into eight basic categories, including: breeding sites, water environment, breeding species, technical characteristics, potential diseases, pollution level, investment cost, and data source;

[0051] (1) Each basic category is divided into several sub-categories. Aquaculture technology is divided into: technology popularization, technology coverage, and technology reliability; aquaculture species are divided into fish, shrimp, shellfish, and crab; pollution levels are divided into pollutant emission types and pollutant emission amounts; aquaculture sites are divided into pond-based aquaculture, floating raft aquaculture, and artificial aquaculture ponds; artificial aquaculture ponds are further divided into static water aquaculture and live water aquaculture; investment costs are divided into investment estimates, operating costs, and investment payback periods; and data sources are divided into web pages, national standards, industry standards, papers, national policies, and encyclopedias.

[0052] (2) Relationships between classes. Relationships between classes are established based on the following criteria, including the semantic hierarchical relationship between concepts in the fishery field (Part-of), the hierarchical relationship between concepts in the fishery field (Kind-of), the relationship between objects and classes in the fishery field (Instance-of), and the fact that a concept in the fishery field is an attribute of another concept (Attribute-of).

[0053] In step 3, the model layer established is not static, but will be spirally iterated with the data layer as instantiation proceeds in the later stage. At the beginning, some model layers and their properties can be defined in step 2. As instantiation proceeds, some unconsidered patterns are found when modeling these data. When certain commonalities are found, the model layer can be further modified, and the new model layer can be used to constrain and update the data layer. This cycle is repeated over and over again to achieve the purpose of gradually improving the model layer.

[0054] In step three, by crawling structured data, directly extract the names of corresponding fields and the knowledge units contained in the corresponding fields according to the fields, obtain the object ontology knowledge, establish a knowledge graph, and store it in the graph database. The method of crawling structured data to extract fields to establish a knowledge graph, its entity linking process needs to calculate the semantic similarity based on entities, relationships, and entity patterns, and select the entities, relationships, and entity combinations with the closest semantics. Before merging knowledge in step four, it needs to include the following two characteristics:

[0055] (1) Includes entity disambiguation and coreference resolution processes;

[0056] (2) Add the selected concept set to the existing knowledge graph to achieve knowledge merging.

[0057] The characteristic of the knowledge fusion in step 4 is that only the concept set obtained after semantic division and screening is used as a new link to update the existing knowledge graph network. For example, <white shrimp, susceptible to, soft shell disease>, <shrimp, susceptible to, soft shell disease>; in this example, white shrimp and shrimp belong to the same species, so one of the concept sets needs to be removed to prevent data redundancy, that is, the appearance of redundant nodes.

[0058] In step 5, embed the intelligent conversational robot based on AIML technology in the Web:

[0059] The AIML corpus is divided into general conversation use and conversation use in segmented fields. For conversations involving segmented fields, the content of the answers will be derived from the knowledge graph generated in step 4. During the conversation, the system will record the corresponding fields mentioned by the questioner, and through the knowledge graph stored in the graph database, it will mine other issues that the questioner may be concerned about and ask him or her whether he or she needs to know the content.

[0060] In step 5, we dig out other issues that the questioner may be concerned about, which can be divided into the following aspects:

[0061] (1) Based on the recorded mentioned nodes, search for the most similar instances in the class corresponding to the instance and recommend them to the user;

[0062] (2) Based on the instance involved in the answer, in the class corresponding to the instance, search for a class that has a relationship with the instance and the class to which the instance belongs is the same class or the parent class of the parent class is the same class, and recommend the information to the user when answering;

[0063] (3) Based on the fields of the questions raised by the user, when it comes to breeding methods, the user is automatically reminded of certain problems that may exist in the breeding methods, as well as preventive measures.

[0064] Main implementation: By studying unstructured data, complete knowledge reasoning for the model layer, thereby realizing the update of the model layer; in step three, as the data layer is improved, the model layer is also constantly iteratively improved with the improvement of the data layer; the intelligent dialogue robot based on the knowledge graph obtains several sentence patterns of user questions and automatically switches to the link to the graph database to find the corresponding data.

[0065] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that equivalent replacements or changes based on the technical solution and inventive concept of the present invention should be covered within the protection scope of the present invention.

Claims

1. A method for constructing an intelligent fishery question-answering robot based on knowledge graph, characterized in that: It includes the following steps: S01: Establish the upper structure of knowledge modeling by referring to the existing semantic divisions in other fields; S02: By studying the semi-structured and unstructured data in the fishery field, restore the business model in the fishery production process, and extract the semantic types and semantic relationships of fishery knowledge and the object ontology; S03: By crawling structured data, extract the ontology attributes and instances of the corresponding object ontology; S04: The structured data crawled in S03 and the data from the third-party knowledge base are integrated to reduce the types of entities and the sparsity of the graph through entity disambiguation and coreference resolution, and the knowledge is merged with the object ontology to obtain a knowledge graph. S05: By embedding an intelligent fishery question-answering robot using AIML technology in a web page and setting specific sentence types to link it to the knowledge graph, a complete method for constructing an intelligent fishery question-answering robot based on the knowledge graph is finally obtained. In step S01, the top-level semantic type classification will be mainly constructed by referring to the currently available semantic data; in step S02, based on step S01, the business model in the field of aquaculture will be studied, and the workflow of aquaculture will be abstracted by induction to sort out the objects, and finally the knowledge modeling required for the establishment of this knowledge graph will be obtained. In step S02, the method for constructing the fishery field knowledge entity is as follows: The workflow artificially established based on semi-structured and unstructured data helps to extract the concept of object ontology in the fishery field, also known as categories or classes, which helps to process the structured data in step S04 and obtain the object ontology entities and their attributes in step S03; at the same time, after extracting the classes and the relationships between them, they can be used to establish the pattern layer of the knowledge graph, which is stored in the form of triples and used to constrain the data layer. In the step S02, in the process of constructing the fishery domain object ontology, the fishery domain knowledge entity object ontology information is divided into eight basic categories, and the basic categories include: breeding sites, water environment, breeding species, technical characteristics, potential diseases, pollution levels, investment costs, and data sources; At the same time, each basic category is divided into several sub-category concepts, and aquaculture technology is divided into: technology popularization, technology coverage, and technology reliability; aquaculture species are divided into fish, shrimp, shellfish, and crab; pollution levels are divided into pollutant emission types and pollutant emission amounts; aquaculture sites are divided into pond-based aquaculture, floating raft aquaculture, and artificial aquaculture ponds; artificial aquaculture ponds are further divided into static water aquaculture and live water aquaculture; investment costs are divided into investment estimates, operating costs, and investment payback periods; data sources are divided into web pages, national standards, industry standards, papers, national policies, and encyclopedias. The relationship between the basic classes is established according to the following basis, including the establishment of semantic upper and lower relationships of concepts in the fishery field, the hierarchical relationship of concepts in the fishery field, the relationship between objects and classes in the fishery field, and the relationship between a certain concept in the fishery field and the attribute of another concept. In step S03, the model layer established is not static, but will be spirally iterated together with the data layer as instantiation proceeds in the later stage. In step S03, by crawling structured data, the names of corresponding fields and the knowledge units contained in the corresponding fields are directly extracted according to the fields, the object ontology knowledge is obtained, the object ontology instances and their attributes are obtained, and a knowledge graph is established and stored in the graph database. In the step S03, the method of crawling structured data to extract fields and establish a knowledge graph, the entity linking process needs to calculate the semantic similarity based on entities, relationships, and entity patterns, screen out the entities, relationships, and entity combinations with the closest semantics, and perform knowledge fusion in the step S04, and the step S04 includes the following steps: S41: includes entity disambiguation and coreference resolution processes; S42: Add the selected concept set to the existing knowledge graph to achieve knowledge merging. Digging out other issues that the questioner may be concerned about includes the following steps: S51, according to the recorded mentioned nodes, search for the most similar instance in the class corresponding to the instance, and recommend it to the user; S52, according to the instance involved in the answer, in the class corresponding to the instance, searching for a class related to the instance and belonging to the same class or the same class of the parent class, and recommending the information to the user when answering; S53. Based on the fields of the question raised by the user, when it comes to breeding methods, the user is automatically reminded of certain problems that may exist in the breeding methods, as well as preventive measures.

2. The method for constructing an intelligent fishery question-answering robot based on a knowledge graph according to claim 1, characterized in that: In step S04, knowledge fusion is performed. In step S42, the concept set obtained by semantic division and screening of the concept set in step S03 and step S42 in step S04 is updated to the existing knowledge graph network as a new link. In step S05, an intelligent conversation robot based on AIML technology is embedded in the Web: The AIML corpus is divided into general conversation use and conversation use in niche areas. For conversations involving niche areas, the content of the answers will be derived from the knowledge graph generated in the S04 stage. During the conversation, the system will record the corresponding fields mentioned by the questioner, and through the knowledge graph stored in the graph database, it will mine other issues that the questioner may be concerned about and ask him or her whether he or she needs to know the content.