CN108920716B - Data retrieval and visualization system and method based on knowledge graph - Google Patents

Data retrieval and visualization system and method based on knowledge graph Download PDF

Info

Publication number
CN108920716B
CN108920716B CN201810840673.6A CN201810840673A CN108920716B CN 108920716 B CN108920716 B CN 108920716B CN 201810840673 A CN201810840673 A CN 201810840673A CN 108920716 B CN108920716 B CN 108920716B
Authority
CN
China
Prior art keywords
data
ontology
retrieval
query
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810840673.6A
Other languages
Chinese (zh)
Other versions
CN108920716A (en
Inventor
朱峰
鲁兴河
李磊
李青山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 28 Research Institute
Original Assignee
CETC 28 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 28 Research Institute filed Critical CETC 28 Research Institute
Priority to CN201810840673.6A priority Critical patent/CN108920716B/en
Publication of CN108920716A publication Critical patent/CN108920716A/en
Application granted granted Critical
Publication of CN108920716B publication Critical patent/CN108920716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data retrieval and visualization system based on a knowledge graph, which comprises: a presentation layer: providing a search entry and a display interface, providing a service layer to interact with a data layer, and visually displaying data; and (3) a service layer: exchanging data with the data layer, and analyzing the service access submitted by the presentation layer; and (3) a data layer: and establishing a relation between the ontology models, indicating the ontology and the association parameters participating in association, acquiring all entity data corresponding to the ontology, establishing an association relation, and storing all the ontology data, the entity data and the relationship data into a graph database. The method and the system can visually and efficiently show the retrieval result to the user, support the visualization of the combat data in different scenes, ensure the safe and controllable transmission of the sensitive information and data, and meet the personalized and intelligent requirements of the retrieval result.

Description

Data retrieval and visualization system and method based on knowledge graph
Technical Field
The invention relates to data management of an information system, in particular to a data retrieval and visualization system and method based on a knowledge graph.
Background
At present, along with the development of an information system of our army, combat data presents the characteristics of large scale, wide distribution, dynamic structural change, complex and various modes and the like, and the data have great application value, but at present, the data utilization rate is not much, the data are only piled up together, but participate in business decision, and the data for business analysis and business control are very little; meanwhile, business data are dispersed in different systems, query data need to enter different systems, the efficiency is low by using the traditional data retrieval query technology, the relational computation amount among the data is large and complex, and the application difficulty of the business data is very large; the traditional retrieved data result is more detailed and simple in display, only basic data summarizing and displaying functions can be realized, the rule of analysis data and the relation between the rule and the analysis data cannot be visually and abundantly displayed, and early warning and prediction of services cannot be performed through a model. How to visually and efficiently show the retrieval result to the user, support the visualization of combat data in different scenes, ensure the safe and controllable transmission of sensitive information and data, and meet the individual and intelligent requirements of the retrieval result.
Disclosure of Invention
The purpose of the invention is as follows: the invention aims to provide a data retrieval and visualization system and method based on a knowledge graph, which can visually and efficiently show a retrieval result to a user, support the visualization of combat data in different scenes, ensure the safe and controllable transmission of sensitive information and data and meet the personalized and intelligent requirements of the retrieval result.
The technical scheme is as follows: the invention discloses a data retrieval and visualization system based on a knowledge graph, which comprises:
a presentation layer: providing a search entry and a display interface, providing a service layer to interact with a data layer, and visually displaying data;
and (3) a service layer: exchanging data with the data layer, and analyzing the service access submitted by the presentation layer;
and (3) a data layer: and establishing a relation between the ontology models, indicating the ontology and the association parameters participating in association, acquiring all entity data corresponding to the ontology, establishing an association relation, and storing all the ontology data, the entity data and the relationship data into a graph database.
The method for carrying out retrieval management configuration by adopting the data retrieval and visualization system based on the knowledge graph comprises the following steps:
s11: acquiring all constructed body models, acquiring names of all body models and carrying out corresponding remarks;
s12: constructing an ontology attribute configuration tool, and configuring whether the attribute in the ontology model needs to support the index;
s13: an ontology configuration tool is built, index category setting of an ontology model is supported, the retrieval categories to which the ontology model is retrieved are divided, and an accurate positioning search range is provided for search terms; performing alias setting on the ontology model; setting fields of the ontology model; and when the set ontology model is the media model, setting the media model, wherein the setting comprises selecting corresponding attributes from the media attributes as a media name, a media format and media content.
The method for performing associated query by adopting the data retrieval and visualization system based on the knowledge graph comprises the following steps:
s21: inputting a query keyword;
s22: querying the ontology in the relationship between the constructed ontology models;
s23: querying data of the associated entity by using an entity relation constructed by the associated parameters of the ontology model;
s24: and analyzing and fusing the entity relationship and the acquired data of the associated entity, and returning the final query result to the user.
The method for visually displaying the data retrieval and visualization system based on the knowledge graph comprises the following steps:
s31: inputting query words and query conditions, and sending query contents to a graph database by the system to traverse all relevant nodes;
s32: selecting a proper display mode according to the obtained index category to which the node belongs;
s33: and displaying the acquired data.
The method for automatically recording and recommending the search terms by adopting the data search and visualization system based on the knowledge graph is characterized by comprising the following steps of: the method comprises the following steps: inputting search terms, and screening and matching the search terms with the search term history records stored in the local memory by the system: if the input search word exists in the history record, deleting the original search word in the history record, and storing the search word of the current time into the latest history record; if the input search word is not in the history record, the search word of the current time is stored in the latest history record.
The method for Chinese word segmentation by adopting the data retrieval and visualization system based on the knowledge graph is characterized by comprising the following steps: the method comprises the following steps: constructing a domain ontology, taking the constructed domain ontology semantic dictionary as a word segmentation dictionary, and then respectively carrying out forward maximum matching on the text to be segmented based on the semantic dictionary: and matching the constructed semantic dictionary, and outputting a corresponding word segmentation result if the matching in the semantic dictionary is successful.
Has the advantages that: the invention discloses a data retrieval and visualization system and a data retrieval and visualization method based on a knowledge graph, which can visually and efficiently show a retrieval result to a user, support the visualization of combat data in different scenes, ensure the safe and controllable transmission of sensitive information and data, and meet the personalized and intelligent requirements of the retrieval result.
Drawings
FIG. 1 is a diagram of a software hierarchy of a system in accordance with an embodiment of the present invention;
FIG. 2 is a flowchart of an entity association query based on a knowledge-graph in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of data visualization according to an embodiment of the present invention;
FIG. 4 is a diagram of a module for automatically recording and recommending search terms in accordance with an embodiment of the present invention;
FIG. 5 is a flowchart of a Chinese word segmentation method based on semantic information and dictionary combination according to an embodiment of the present invention.
Detailed Description
The specific embodiment discloses a data retrieval and visualization system based on a knowledge graph, as shown in fig. 1, comprising:
a performance layer: providing a search entry and a display interface, providing a service layer to interact with a data layer, and visually displaying data;
and (3) a service layer: adopting Web Service to exchange data with the data layer, and analyzing the Service access submitted by the presentation layer; the index module is mainly used for analyzing the data acquired by the acquisition module and establishing a distributed index for the data;
and (3) a data layer: the system comprises a data storage module and a data analysis module; the method is used for constructing the relationship between the ontology models, indicating the ontology and the association parameters participating in association, acquiring all entity data corresponding to the ontology, constructing the association relationship, and storing all the ontology data, the entity data and the relationship data into a graph database.
The method for carrying out retrieval management configuration by adopting the system comprises the following steps:
s11: acquiring all constructed body models, acquiring names of all body models and carrying out corresponding remarks;
s12: constructing an ontology attribute configuration tool, and configuring whether the attributes in the ontology model need to support indexing or not, because most models only need to index part of the attributes; setting label display of attributes as required, displaying corresponding attribute results in a final search page, and simultaneously setting a label display sequence to arrange the attributes most concerned by a user in the front of the result page; aiming at the problems that part of attribute names in the table are too long, english is used for short and the like, an alias editing function can be used, the names are changed into names which are easier to understand, and the names are displayed on a final search page;
s13: constructing a body configuration tool, supporting index type setting of the body model, dividing the retrieval type to which the body model retrieval belongs, and providing an accurate positioning search range for the search terms; performing alias setting on the ontology model, and editing obscure and unintelligible letters into easily understood words for short; setting fields of the ontology model, wherein the field setting can select a name field and a custom name field; and when the set ontology model is the media model, setting the media model, wherein the setting comprises selecting corresponding attributes from the media attributes as a media name, a media format and media content.
The method for performing association query by using the system, as shown in fig. 2, includes the following steps:
s21: inputting a query keyword; for example, the input "F16 fighter";
s22: inquiring the ontology in the relationship between the constructed ontology models; for example, querying an "equipment" ontology in an already constructed knowledge graph, and querying an entity of which the "equipment name" is "F16 fighter" in the ontology;
s23: querying data of the associated entity by using an entity relation constructed by the associated parameters of the ontology model; for example, entities such as "army base", "equipment media", etc. associated with the "F16 fighter" entity;
s24: analyzing and fusing the entity relationship and the obtained data of the associated entity, and returning the final query result to the user; for example, equipment performance information of the 'F16 fighter' is returned, and associated deployment position, equipment picture and other data are returned.
The method for performing visual display by using the system, as shown in fig. 3, includes the following steps:
s31: inputting query words and query conditions, and sending query contents to a graph database by the system to traverse all relevant nodes;
s32: selecting a proper display mode according to the obtained index category to which the node belongs;
s33: and displaying the acquired data, taking searching equipment of the current party as an example, displaying the equipment attribute in a key value pair mode, displaying the equipment performance in a table mode, displaying equipment photos in a picture mode, and displaying the relation among the equipment in a knowledge map mode.
The method for automatically recording and recommending the search terms by adopting the system comprises the following processes as shown in fig. 4: inputting search terms, and screening and matching the search terms with the search term history records stored in the local memory by the system: if the input search word exists in the history record, deleting the original search word in the history record, and storing the search word of the current time into the latest history record; if the input search word is not in the history record, the search word of the current time is stored in the recent history record.
The method for Chinese word segmentation by adopting the system comprises the following processes: constructing a domain ontology, taking the constructed domain ontology semantic dictionary as a word segmentation dictionary, and then respectively carrying out forward maximum matching on the text to be segmented based on the semantic dictionary: and matching the constructed semantic dictionary, and outputting a corresponding word segmentation result if the matching in the semantic dictionary is successful. For example: in the section of "the american air force F16 fighter", the semantic dictionary includes words such as "the american air force", "the united states", "F16", "fighter", and the like. The words are cut out when the words are scanned backwards in sequence from the American word, the American word and the American air force are respectively taken for matching, and the longest matching character string in the dictionary is the American air force. The scan is then started with the "yes" word and the above operation is repeated.
The specific flow chart of the chinese word segmentation method is shown in fig. 5, assuming that a chinese word segmentation algorithm based on semantic information and dictionary combination is performed on D = D1D2D3D4 \8230dn, the algorithm process is described as follows:
(1) And taking out the first character D1 in the D, comparing the first character D1 with the loaded semantic dictionary, and marking the first character D1 when a word with the D1 as a prefix exists.
(2) And D2 is taken out from D and compared with the dictionary to be matched, and whether the word with D1D2 as the prefix exists is judged.
(3) If not, the D1 word string is segmented from D, and the segmentation is finished once.
(4) If yes, judging to calculate the number n of the words with D1D2 as the prefix.
(5) If n =0, the sub-word ends.
(6) If n is not 0, then taking out Di from D, matching with the dictionary to judge whether a word with Di \8230andDn-lDn as prefix exists.
(7) If so, go to (6).
(8) If not, then the D1.
(9) And continuing to perform word segmentation from the character Di of the character string D, and repeating the steps until the forward segmentation of the character string D is finished.

Claims (5)

1. The associated query method of the data retrieval and visualization system based on the knowledge graph is characterized in that: the data retrieval and visualization system comprises:
a presentation layer: providing a search entry and a display interface, providing a service layer to interact with a data layer, and visually displaying data;
and (3) a service layer: exchanging data with the data layer, and analyzing the service access submitted by the presentation layer;
and (3) a data layer: the system comprises a database, a body model and a relationship database, wherein the database is used for establishing a relationship between body models, indicating bodies and association parameters participating in association, acquiring all entity data corresponding to the bodies, establishing an association relationship, and storing all the body data, the entity data and the relationship data into the database;
the correlation query method comprises the following steps:
s21: inputting a query keyword;
s22: inquiring the ontology in the relationship between the constructed ontology models;
s23: querying data of the associated entity by using an entity relation constructed by the associated parameters of the ontology model;
s24: and analyzing and fusing the entity relationship and the obtained data of the associated entity, and returning the final query result to the user.
2. The associative query method for data retrieval and visualization system based on knowledge graph according to claim 1, wherein the data retrieval and visualization system is further used for a visualization presentation method, and the visualization presentation method specifically comprises the following steps:
s31: inputting query words and query conditions, and sending query contents to a graph database by a system to traverse all related nodes;
s32: selecting a proper display mode according to the obtained index category to which the node belongs;
s33: and displaying the acquired data.
3. The method of claim 1, wherein the method comprises: the data retrieval and visualization system is also used for a retrieval management configuration method, and the retrieval management configuration method specifically comprises the following steps:
s11: acquiring all constructed body models, acquiring names of all body models and carrying out corresponding remarks;
s12: constructing an ontology attribute configuration tool, and configuring whether the attribute in the ontology model needs to support the index;
s13: an ontology configuration tool is built, index category setting of an ontology model is supported, the retrieval categories to which the ontology model is retrieved are divided, and an accurate positioning search range is provided for search terms; performing alias setting on the ontology model; setting fields of the ontology model; and when the set ontology model is the media model, setting the media model, wherein the setting comprises selecting corresponding attributes from the media attributes as a media name, a media format and media content.
4. The method of claim 1, wherein the query is associated with a knowledge-graph based data retrieval and visualization system, and wherein the query comprises: the data retrieval and visualization system is also used for a retrieval word automatic recording and recommendation method, and the retrieval word automatic recording and recommendation method specifically comprises the following steps:
inputting search words, and screening and matching the search words with the search word history records stored in the local memory by the system; if the input search word exists in the history record, deleting the original search word in the history record, and storing the search word of the current time into the latest history record; if the input search word is not in the history record, the search word of the current time is stored in the latest history record.
5. The method of claim 1, wherein the query is associated with a knowledge-graph based data retrieval and visualization system, and wherein the query comprises: the data retrieval and visualization system is also used for a Chinese word segmentation method, and the Chinese word segmentation method specifically comprises the following steps:
constructing a domain ontology, taking the constructed domain ontology semantic dictionary as a word segmentation dictionary, and then respectively performing forward maximum matching on the text to be segmented based on the semantic dictionary; and matching the constructed semantic dictionary, and outputting a corresponding word segmentation result if the matching in the semantic dictionary is successful.
CN201810840673.6A 2018-07-27 2018-07-27 Data retrieval and visualization system and method based on knowledge graph Active CN108920716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810840673.6A CN108920716B (en) 2018-07-27 2018-07-27 Data retrieval and visualization system and method based on knowledge graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810840673.6A CN108920716B (en) 2018-07-27 2018-07-27 Data retrieval and visualization system and method based on knowledge graph

Publications (2)

Publication Number Publication Date
CN108920716A CN108920716A (en) 2018-11-30
CN108920716B true CN108920716B (en) 2022-11-25

Family

ID=64417238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810840673.6A Active CN108920716B (en) 2018-07-27 2018-07-27 Data retrieval and visualization system and method based on knowledge graph

Country Status (1)

Country Link
CN (1) CN108920716B (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783599A (en) * 2018-12-29 2019-05-21 北京航天云路有限公司 Knowledge mapping search method and system based on multi storage
CN109857822A (en) * 2018-12-29 2019-06-07 国家开发银行 Meta-model conversion method and management system based on chart database
CN109918475B (en) * 2019-01-24 2021-01-19 西安交通大学 Visual query method and system based on medical knowledge graph
CN110059912A (en) * 2019-02-20 2019-07-26 国网浙江省电力有限公司杭州供电公司 Honest risk hidden danger panorama management-control method and device based on wisdom map
CN109977142A (en) * 2019-02-20 2019-07-05 北京明略软件系统有限公司 A kind of intelligent input method, system, terminal and storage medium
CN109947952B (en) * 2019-03-20 2021-03-02 武汉市软迅科技有限公司 Retrieval method, device, equipment and storage medium based on English knowledge graph
CN109977291B (en) * 2019-03-20 2021-03-02 武汉市软迅科技有限公司 Retrieval method, device and equipment based on physical knowledge graph and storage medium
CN110119463A (en) * 2019-04-04 2019-08-13 厦门快商通信息咨询有限公司 Information processing method, device, equipment and storage medium
CN110196887B (en) * 2019-04-19 2022-04-22 广东省智能制造研究所 Management method for manufacturing industry processing equipment model
CN110187678B (en) * 2019-04-19 2021-11-05 广东省智能制造研究所 Information storage and digital application system of processing equipment in manufacturing industry
CN111831797A (en) * 2019-04-19 2020-10-27 广东省智能制造研究所 Management and recommendation system for manufacturing industry processing equipment model
CN111078868A (en) * 2019-06-04 2020-04-28 中国人民解放军92493部队参谋部 Knowledge graph analysis-based equipment test system planning decision method and system
CN110287332B (en) * 2019-06-06 2021-10-08 中国人民解放军国防科技大学 Method and device for selecting simulation model in cloud environment
CN110222127B (en) * 2019-06-06 2021-07-09 中国电子科技集团公司第二十八研究所 Knowledge graph-based information aggregation method, device and equipment
CN110413848B (en) * 2019-07-19 2022-04-15 上海赜睿信息科技有限公司 Data retrieval method, electronic equipment and computer-readable storage medium
CN110619052B (en) * 2019-08-29 2021-12-28 中国电子科技集团公司第二十八研究所 Knowledge graph-based battlefield situation sensing method
CN110704642B (en) * 2019-10-12 2022-02-01 浙江大学 Ontology-based multi-level scientific and technological resource management method
CN110955764B (en) * 2019-11-19 2021-04-06 百度在线网络技术(北京)有限公司 Scene knowledge graph generation method, man-machine conversation method and related equipment
CN111008212A (en) * 2019-12-09 2020-04-14 国家电网有限公司客户服务中心 Retrieval path analysis and visualization system and method based on data association relation
CN111259297A (en) * 2020-01-14 2020-06-09 清华大学 Interaction visualization method, platform and system for knowledge graph
CN113495978B (en) * 2020-03-18 2024-01-02 中电长城网际系统应用有限公司 Data retrieval method and device
CN111444238A (en) * 2020-03-25 2020-07-24 国网浙江省电力有限公司衢州供电公司 Distributed photovoltaic retrieval method and system
TWI747220B (en) * 2020-03-31 2021-11-21 股感生活金融科技股份有限公司 Knowledge graph association search method and system
CN111475624B (en) * 2020-04-13 2023-08-04 杭州海康威视系统技术有限公司 Monitoring data retrieval method, device and equipment
CN111488406B (en) * 2020-04-16 2024-02-23 南京安链数据科技有限公司 Graph database management method
CN112100401A (en) * 2020-09-14 2020-12-18 北京大学 Knowledge graph construction method, device, equipment and storage medium for scientific and technological service
CN112733019A (en) * 2020-12-31 2021-04-30 郑州轻工业大学 Open knowledge graph reasoning research system
CN113297392B (en) * 2021-06-02 2022-02-18 江苏数兑科技有限公司 Intelligent data service method based on knowledge graph
CN113505262B (en) * 2021-08-17 2022-03-29 深圳华声医疗技术股份有限公司 Ultrasonic image searching method and device, ultrasonic equipment and storage medium
CN114333091B (en) * 2021-11-19 2024-04-16 合肥晶合集成电路股份有限公司 Evacuation roll call system, secure evacuation method, readable storage medium, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866593A (en) * 2015-05-29 2015-08-26 中国电子科技集团公司第二十八研究所 Database searching method based on knowledge graph
CN105608118A (en) * 2015-12-15 2016-05-25 成都陌云科技有限公司 Result push method based on user interaction information
CN107844482A (en) * 2016-09-17 2018-03-27 复旦大学 Multi-data source method for mode matching based on global body

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866593A (en) * 2015-05-29 2015-08-26 中国电子科技集团公司第二十八研究所 Database searching method based on knowledge graph
CN105608118A (en) * 2015-12-15 2016-05-25 成都陌云科技有限公司 Result push method based on user interaction information
CN107844482A (en) * 2016-09-17 2018-03-27 复旦大学 Multi-data source method for mode matching based on global body

Also Published As

Publication number Publication date
CN108920716A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108920716B (en) Data retrieval and visualization system and method based on knowledge graph
US7730059B2 (en) Cube faceted data analysis
CN111694965B (en) Image scene retrieval system and method based on multi-mode knowledge graph
CN106407303A (en) Data storage method and apparatus, and data query method and apparatus
CN101019121A (en) Method and system for indexing and retrieving document stored in database
CN108664509B (en) Method, device and server for ad hoc query
CN109582847B (en) Information processing method and device and storage medium
CN110888990A (en) Text recommendation method, device, equipment and medium
CN109522480A (en) A kind of information recommendation method, device, electronic equipment and storage medium
CN109063198B (en) Multi-dimensional visual search recommendation system for fusing media resources
CN112307366B (en) Information display method and device and computer storage medium
CN111191125A (en) Data analysis method based on tagging
CN110969022B (en) Semantic determining method and related equipment
CN114547253A (en) Semantic search method based on knowledge base application
CN111506621A (en) Data statistical method and device
CN112015918A (en) Data processing method and device
JP5221664B2 (en) Information map management system and information map management method
CN109783599A (en) Knowledge mapping search method and system based on multi storage
CN116737915B (en) Semantic retrieval method, device, equipment and storage medium based on knowledge graph
US9886497B2 (en) Indexing presentation slides
CN109460467B (en) Method for constructing network information classification system
CN113535966A (en) Knowledge graph creating method, information obtaining method, device and equipment
CN115577147A (en) Visual information map retrieval method and device, electronic equipment and storage medium
CN100496091C (en) System for making global search in wired TV one-way set-top box
CN112989011A (en) Data query method, data query device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant