CN112000810A - Situation information-based knowledge graph display method and system - Google Patents
Situation information-based knowledge graph display method and system Download PDFInfo
- Publication number
- CN112000810A CN112000810A CN202010538274.1A CN202010538274A CN112000810A CN 112000810 A CN112000810 A CN 112000810A CN 202010538274 A CN202010538274 A CN 202010538274A CN 112000810 A CN112000810 A CN 112000810A
- Authority
- CN
- China
- Prior art keywords
- knowledge graph
- knowledge
- display
- situation
- graph
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000010276 construction Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 9
- 102100038367 Gremlin-1 Human genes 0.000 description 2
- 101001032872 Homo sapiens Gremlin-1 Proteins 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/36—Creation of semantic tools, e.g. ontology or thesauri
- G06F16/367—Ontology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a situation information-based knowledge graph display method and system, which comprises the following steps: establishing a knowledge graph example to be displayed according to the display instruction; constructing a situation primitive list of the knowledge graph entity to be displayed in the situation information display terminal; displaying the situation graphic elements in the situation information display terminal, and constructing a knowledge display response event of the situation graphic elements; and constructing a knowledge graph subgraph based on the situation primitives of the trigger event and displaying the knowledge graph subgraph. The invention carries out display control on the knowledge graph based on situation information and solves the problem that the existing two-dimensional plane reticular graph display method cannot achieve good display effect.
Description
Technical Field
The invention relates to the technical field of knowledge graphs, in particular to a situation information-based knowledge graph display method and system.
Background
The conventional knowledge graph display method adopts two-dimensional planar mesh graph display, entities are represented by nodes on the graph, the relationships among the entities are represented by edges on the graph, and users can only perform interactive operation based on the nodes and the edges on the graph, so that situation information of the nodes cannot be intuitively understood, and a good display effect is difficult to achieve.
Disclosure of Invention
The invention aims to provide a situation information-based knowledge graph display method and system, which are used for controlling the display of a knowledge graph based on situation information and solving the problem that the existing two-dimensional planar reticular graph display method cannot achieve a good display effect.
The technical solution for realizing the purpose of the invention is as follows: a knowledge graph display method based on situation information comprises the following steps:
establishing a knowledge graph example to be displayed according to the display instruction;
constructing a situation primitive list of the knowledge graph entity to be displayed in the situation information display terminal;
displaying the situation graphic elements in the situation information display terminal, and constructing a knowledge display response event of the situation graphic elements;
and constructing a knowledge graph subgraph based on the situation primitives of the trigger event and displaying the knowledge graph subgraph.
In the implementation process, the knowledge graph example interactively displayed with the situation information is established, so that the knowledge graph has a visual situation information feeling effect, the state information of the main entity nodes in the knowledge graph can be more visually known, the relation between the relevant entity nodes and each node closely connected with the relevant entity nodes can be specifically known, a user can feel and understand the actual value of the knowledge graph conveniently, and the problem that the existing simple two-dimensional planar mesh graph display method cannot achieve a good displaying effect is solved.
Further, the establishing a knowledge graph instance to be displayed according to the display instruction includes:
receiving a knowledge graph display instruction;
constructing a knowledge graph query statement according to the display instruction;
obtaining a knowledge graph instance from a knowledge graph query statement;
acquiring a knowledge graph example placing container;
and placing the knowledge graph instance obtained by the query statement into a container for binding.
In the implementation process, the display instruction is received and processed, so that a knowledge graph query instance can be initially constructed, the initial knowledge graph instance is placed in the graph instance placement container for binding, and preparation is made for subsequent data processing of the knowledge graph.
Further, the constructing a situation primitive list of the knowledge graph entity to be displayed in the situation information display terminal includes:
traversing node data and relation data of the knowledge graph instance in a knowledge graph instance placement container;
extracting attribute node data containing geographic positions;
reading state information of the extracted node data;
and constructing a situation information display terminal graphic element list according to the geographical position information, the state information and other basic information (such as attribute value information) of the extracted node data.
In the implementation process, the entities with the geographical position information and the state information in the knowledge graph instance are extracted, and a primitive list of the knowledge graph entities to be displayed in the situation information display terminal is constructed.
Further, constructing a knowledge display response event of the situation primitive of the knowledge graph entity in the situation information display terminal, comprising:
sending a primitive list of the knowledge graph entity to be displayed to a situation information display terminal for displaying;
setting a click event for a primitive list of the knowledge graph in a situation information display terminal;
acquiring corresponding knowledge graph nodes according to the primitives of the trigger event;
taking the knowledge graph node as a center, and acquiring closely-associated knowledge graph subgraphs (such as path length smaller than a certain numerical value or according to semantic query conditions preset by a user);
and giving different knowledge graph node category values to the entity nodes in the obtained closely-associated knowledge graph subgraph according to the category attributes or other characteristics (such as category categories generated according to attribute value calculation).
In the implementation process, the situation primitive list of the knowledge graph entity to be displayed is sent to the situation information display terminal to be displayed, and a knowledge display response event of the primitive of the knowledge graph entity in the situation information display terminal is constructed.
Further, constructing and displaying a knowledge graph subgraph based on the situation graphic elements of the trigger events, wherein the construction comprises the following steps:
sending the closely associated knowledge graph subgraphs to a knowledge graph display terminal for display;
establishing a primitive list and setting a click event in a knowledge graph display terminal according to the node type of the knowledge graph;
acquiring a node list and a relation data list thereof in a closely-associated (such as path length smaller than a certain numerical value or according to a semantic query condition preset by a user) knowledge graph subgraph according to a primitive of a trigger event;
and sending the obtained node data list and the relation data list thereof to a knowledge graph display terminal for displaying.
By the method, the knowledge graph entity based on the trigger event constructs the knowledge graph subgraph and displays the knowledge graph entity, so that a user can visually observe and feel interested knowledge graph entity nodes, the content range displayed by the knowledge graph entity can be selectively controlled according to the category of the knowledge graph entity, the information acquisition feeling of the user is improved, and the information acquisition efficiency of the user is improved.
The invention relates to a situation information-based knowledge graph display system, which specifically comprises:
the knowledge graph example establishing module is used for receiving a display instruction of the knowledge graph, and the display instruction establishes a knowledge graph example to be displayed;
the situation information primitive establishing module is used for establishing a situation primitive list to be displayed in the situation information display terminal;
the situation information display module is used for displaying the situation primitives and constructing knowledge display response events of the situation primitives;
and the knowledge subgraph display module is used for sending the knowledge graph to a display terminal for display and display control.
In the implementation process, the knowledge graph interface which is interactively displayed with the situation information is established, so that the knowledge graph has a visual situation information feeling effect, the state information of the main entity nodes in the knowledge graph can be more visually known, the relation between the relevant entity nodes and each node closely connected with the relevant entity nodes can be specifically known, a user can feel and understand the actual value of the knowledge graph conveniently, and the problem that the existing simple two-dimensional planar mesh graph display method cannot achieve a good displaying effect is solved.
Further, the knowledge-graph instance building module comprises:
the display instruction receiving module is used for receiving a knowledge graph display instruction;
the query construction module is used for constructing a knowledge graph query statement according to the display instruction;
the query processing module is used for acquiring a knowledge graph example from the knowledge graph query statement;
the placing container processing module is used for acquiring a knowledge graph example placing container;
and the binding module is used for placing the knowledge graph instance obtained by the query statement into the container for binding.
In the implementation process, the display instruction is received and processed, so that a knowledge graph query instance can be initially constructed, the initial knowledge graph instance is placed in the graph instance placement container for binding, and preparation is made for subsequent data processing of the knowledge graph.
Further, the situation primitive establishing module includes:
the traversal module is used for traversing and acquiring node data and relation data of the knowledge graph instance;
the geographic attribute extraction module is used for extracting the node data attribute containing the geographic position;
the state information extraction module is used for reading the state information of the extracted node data;
and the situation primitive constructing module is used for constructing a situation primitive list of the situation information display terminal according to the geographical position information, the state information and other basic information of the extracted node data.
In the implementation process, the entities with the geographical position information and the state information in the knowledge graph instance are extracted, and a primitive list of the knowledge graph entities to be displayed in the situation information display terminal is constructed.
Further, the situation information display module comprises:
the situation primitive display module is used for sending a primitive list of the knowledge graph entities to be displayed to the situation information display terminal for displaying;
the situation primitive event construction module is used for setting a click event for a primitive list of the knowledge graph in the situation information display terminal;
the situation primitive event processing module is used for acquiring corresponding knowledge graph nodes according to the primitives of the trigger event;
the knowledge sub-graph acquisition module is used for acquiring closely associated knowledge sub-graphs by taking the knowledge graph nodes as centers;
and the entity classification module is used for giving different knowledge graph node category values to the entity nodes in the obtained closely-associated knowledge graph subgraph according to the category attributes or other characteristics of the entity nodes.
In the implementation process, the situation primitive list of the knowledge graph entity to be displayed is sent to the situation information display terminal to be displayed, and a knowledge display response event of the primitive of the knowledge graph entity in the situation information display terminal is constructed.
Further, the knowledge subgraph display module comprises:
the knowledge sub-graph display module is used for sending the closely associated knowledge graph sub-graphs to a knowledge graph display terminal for display;
the entity category event construction module is used for establishing a primitive list and setting a click event in the knowledge graph display terminal according to the node category of the knowledge graph;
the entity category event processing module is used for acquiring a node list and a relation data list thereof in the closely-associated knowledge graph subgraph according to the primitive of the trigger event;
and the knowledge subgraph display control module is used for sending the acquired node data list and the acquired relation data list to a knowledge graph display terminal for display.
Compared with the prior art, the invention has the following remarkable advantages: by the method, the knowledge graph entity based on the trigger event constructs the knowledge graph subgraph and displays the knowledge graph entity, so that a user can visually observe and feel interested knowledge graph entity nodes, the content range displayed by the knowledge graph entity can be selectively controlled according to the category of the knowledge graph entity, the information acquisition feeling of the user is improved, and the information acquisition efficiency of the user is improved.
Drawings
Fig. 1 is a flowchart of a method for displaying a knowledge graph based on situation information according to an embodiment of the present application.
Fig. 2 is a flowchart for establishing a knowledge graph example to be displayed according to the display instruction according to an embodiment of the present application.
Fig. 3 is a flowchart for constructing a situation primitive list of a knowledge graph entity to be displayed in a situation information display terminal according to an embodiment of the present application.
Fig. 4 is a flowchart of a knowledge display response event for constructing a situation primitive of a knowledge graph entity in a situation information display terminal according to an embodiment of the present application.
Fig. 5 is a flowchart for constructing and displaying a knowledge graph subgraph based on a situation primitive of a trigger event according to an embodiment of the present disclosure.
Fig. 6 is a block diagram of a system for displaying a knowledge graph based on situation information according to an embodiment of the present application.
Fig. 7 is a block diagram of an overall structure of a situation information-based knowledge-graph presentation system according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a knowledge graph based on situation information according to an embodiment of the present application.
Icon:
10-knowledge graph instance building module; 11-show order accepting module; 12-a query building module; 13-query processing module; 14-placing the container treatment module; 15-a binding module; 20-situation information primitive establishing module; 21-traversing module; 22-geographic attribute extraction module; 23-a status information extraction module; 24-situation primitive construction module; 30-a situation information display module; 31-situation primitive display module; 32-situation primitive event construction module; 33-situation primitive event processing module; 34-a knowledge subgraph acquisition module; 35-an entity classification module; 40-a knowledge subgraph display module; 41-knowledge subgraph display module; 42-entity category event building module; 43-entity class event handling module; 44-knowledge sub-graph display control module.
Detailed Description
The invention will be further described with reference to the following examples and the accompanying drawings.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a method for displaying a knowledge graph based on situation information according to an embodiment of the present application. The method can be applied to developing the knowledge graph based on echarts (writing of a web page diagram is realized by using a front-end language javascript) and baidmap api. The method may specifically comprise the steps of:
step S10: establishing a knowledge graph example to be displayed according to the display instruction, as shown in fig. 2, the step may specifically include:
step S11: receiving a knowledge graph display instruction;
illustratively, in the implementation process, a knowledge graph display instruction sent by a business scene is accepted.
Step S12: constructing a knowledge graph query statement according to the display instruction;
illustratively, knowledge graph query statements are constructed from graph databases using the cypher or gremlin grammars.
Step S13: obtaining a knowledge graph instance from a knowledge graph query statement;
and constructing json according to the knowledge graph example obtained by query and transmitting the json to the foreground.
Step S14: and acquiring a knowledge graph example placement container.
For example, using javascript to obtain the knowledge-graph placement container on the page:
step S15: placing the knowledge graph instance obtained by the query statement into a container for binding;
illustratively, the knowledge graph instances obtained by the query statement are placed in a business scenario page container for binding.
Step S20: constructing a situation primitive list of the knowledge graph entity to be displayed in the situation information display terminal, as shown in fig. 3, the step may specifically include:
step S21: traversing node data and relation data of the knowledge graph instance in a knowledge graph instance placement container;
illustratively, in the implementation process, node data and relationship data of json instance objects of the knowledge-graph are traversed.
Step S22: extracting attribute node data containing geographic positions;
illustratively, attribute node data including the geographic location is extracted using the conditional access rule.
Step S23: reading state information of the extracted node data;
illustratively, the state data of the attribute node including the geographic location is extracted using a condition determination rule.
Step S24: and constructing a situation information display terminal graphic element list according to the geographical position information, the state information and other basic information of the extracted node data.
Illustratively, the situation information display terminal primitive list is constructed using array objects.
Step S30: displaying the situation primitive in the situation information display terminal, and constructing a knowledge display response event of the situation primitive, as shown in fig. 3, the step may specifically include:
step S31: sending a primitive list of the knowledge graph entity to be displayed to a situation information display terminal for displaying;
for example, in the implementation process, a situation information map is built by using a baidmap api interface, and a situation primitive list for display in a displayed knowledge graph entity is built by using baidmap api 2.0 and echarts.
Step S32: setting a click event for a primitive list of the knowledge graph in a situation information display terminal;
for example, an onclick event is set for the list of relevant situational primitives.
Step S33: acquiring corresponding knowledge graph nodes according to the primitives of the trigger event;
in an example, in the event processing function, a primitive of a trigger event is acquired, and a corresponding knowledge graph node is acquired.
Step S34: and taking the knowledge graph node as a center to acquire the closely associated knowledge graph subgraphs.
For example, using the cypher or gremlin query language, query closely related knowledge-graph subgraphs in a graph database:
step S35: giving different knowledge graph node category values;
for example, different knowledge-graph node category values are given to the entity nodes in the obtained closely-associated knowledge-graph subgraph according to the category attributes or other characteristics of the entity nodes.
Step S40: constructing a knowledge graph subgraph based on the situation primitives of the trigger event and displaying the subgraph, as shown in fig. 5, the steps may specifically include:
step S41: sending the closely associated knowledge graph subgraphs to a knowledge graph display terminal for display;
illustratively, in the implementation described above, the knowledge-graph subgraph is displayed using an echarts relationship graph.
Step S42: establishing a primitive list and setting a click event in a knowledge graph display terminal according to the node type of the knowledge graph;
illustratively, according to the node category values of the knowledge graph, node category primitives are displayed in a list above the knowledge graph, and a click event is set.
Step S43: acquiring a node list and a relation data list thereof in the closely-associated knowledge graph subgraph according to the primitive of the trigger event;
in an example, according to the class primitive of the knowledge graph node of the trigger event, whether the entity node and the relation data of the class are displayed in the knowledge graph subgraph is determined.
Step S44: and sending the obtained node data list and the relation data list thereof to a knowledge graph display terminal for displaying.
Illustratively, a newly constructed knowledge graph node data list and a relationship data list thereof are sent to a knowledge graph display terminal for displaying.
Example 2
The embodiment of the invention also provides a display system of the knowledge graph based on the situation information, and as shown in fig. 6, the structural block diagram of the display system of the knowledge graph based on the situation information provided by the embodiment of the invention is shown. Such devices include, but are not limited to:
the knowledge graph example establishing module 10 is used for receiving a display instruction of a knowledge graph, and the display instruction establishes a knowledge graph example to be displayed;
illustratively, as shown in fig. 7, for the overall structural block diagram of the display system of knowledge graph based on situation information provided by the embodiment of the present invention, the knowledge graph instance creating module 10 includes:
the display instruction receiving module 11 is used for receiving a knowledge graph display instruction;
the query construction module 12 is configured to construct a knowledge graph query statement according to the display instruction;
a query processing module 13, configured to obtain a knowledge graph instance from a knowledge graph query statement;
a placement container processing module 14 for obtaining a knowledge graph instance placement container;
and the binding module 15 is used for placing the knowledge graph instance obtained by the query statement into the container for binding.
The situation information primitive establishing module 20 is configured to establish a situation primitive list to be displayed in the situation information display terminal;
for example, as shown in fig. 7, for the overall structural block diagram of the display system based on the knowledge graph of situation information provided in the embodiment of the present application, the situation information primitive creating module 20 includes:
the traversal module 21 is configured to traverse to obtain node data and relationship data of the knowledge graph instance;
a geographic attribute extraction module 22, configured to extract a node data attribute including a geographic location;
a status information extraction module 23, configured to read status information of the extracted node data;
and the situation primitive constructing module 24 is configured to construct a situation primitive list of the situation information display terminal according to the geographical position information, the state information and other basic information of the extracted node data.
The situation information display module 30 is used for displaying the situation primitives and constructing knowledge display response events of the situation primitives;
for example, as shown in fig. 7, for the overall structural block diagram of the display system of knowledge graph based on situation information provided by the embodiment of the present invention, the situation information display module 30 includes:
the situation primitive display module 31 is used for sending a primitive list of the knowledge graph entities to be displayed to the situation information display terminal for displaying;
the situation primitive event construction module 32 is configured to set a click event for a primitive list of the knowledge graph in the situation information display terminal;
the situation primitive event processing module 33 is configured to obtain a corresponding knowledge graph node according to a primitive of the trigger event;
a knowledge sub-graph obtaining module 34, configured to obtain a closely associated knowledge sub-graph with the knowledge graph node as a center;
and the entity classification module 35 is configured to assign different knowledge graph node category values to the entity nodes in the obtained closely-associated knowledge graph subgraph according to the category attributes or other characteristics of the entity nodes.
The knowledge subgraph display module 20 is used for sending the knowledge graph to a display terminal for display and carrying out display control;
for example, as shown in fig. 7, for the overall structural block diagram of the display system of the knowledge graph based on situation information provided in the embodiment of the present application, the knowledge subgraph display module 20 includes:
a knowledge sub-graph display module 41, configured to send the closely associated knowledge graph sub-graph to a knowledge graph display terminal for display;
an entity category event construction module 42, configured to establish a primitive list and set a click event in the knowledge graph display terminal according to the node category of the knowledge graph;
an entity class event processing module 43, configured to obtain a node list and a relationship data list thereof in the closely-associated knowledge graph subgraph according to the primitive of the trigger event;
and the knowledge subgraph display control module 44 is used for sending the acquired node data list and the acquired relation data list to the knowledge graph display terminal for display.
Claims (10)
1. A situation information-based knowledge graph display method is characterized by comprising the following steps:
establishing a knowledge graph example to be displayed according to the display instruction;
constructing a situation primitive list of the knowledge graph entity to be displayed in the situation information display terminal;
displaying the situation graphic elements in the situation information display terminal, and constructing a knowledge display response event of the situation graphic elements;
and constructing a knowledge graph subgraph based on the situation primitives of the trigger event and displaying the knowledge graph subgraph.
2. The knowledge-graph display method of claim 1, wherein: establishing the knowledge graph example to be displayed according to the display instruction means that the knowledge graph example to be displayed is established according to the display instruction and is put into a container for binding, and the method comprises the following steps:
receiving a knowledge graph display instruction;
constructing a knowledge graph query statement according to the display instruction;
obtaining a knowledge graph instance from a knowledge graph query statement;
acquiring a knowledge graph example placing container;
and placing the knowledge graph instance obtained by the query statement into a container for binding.
3. The knowledge-graph display method of claim 1, wherein: the method for constructing the primitive list of the knowledge graph entity to be displayed in the situation information display terminal extracts the entity with the geographical position information and the state information in the knowledge graph instance and constructs the primitive list of the knowledge graph entity to be displayed in the situation information display terminal, and comprises the following steps:
traversing node data and relation data of the knowledge graph instance in a knowledge graph instance placement container;
extracting attribute node data containing geographic positions;
reading state information of the extracted node data;
and constructing a situation information display terminal graphic element list according to the geographical position information, the state information and other basic information of the extracted node data.
4. The knowledge-graph display method of claim 1, wherein: the method for constructing the knowledge display response event of the primitive of the knowledge map entity in the situation information display terminal comprises the following steps of sending a primitive list of the knowledge map entity to be displayed to the situation information display terminal for displaying, and constructing the knowledge display response event of the primitive of the knowledge map entity in the situation information display terminal, wherein the method comprises the following steps:
sending a primitive list of the knowledge graph entity to be displayed to a situation information display terminal for displaying;
setting a click event for a primitive list of the knowledge graph in a situation information display terminal;
acquiring corresponding knowledge graph nodes according to the primitives of the trigger event;
taking the knowledge graph node as a center, and acquiring closely associated knowledge graph subgraphs;
and giving different knowledge graph node category values to the entity nodes in the obtained closely-associated knowledge graph subgraph according to the category attributes or other characteristics of the entity nodes.
5. The knowledge-graph display method of claim 1, wherein: the method for constructing and displaying the knowledge graph subgraph based on the knowledge graph entity of the trigger event comprises the following steps:
sending the closely associated knowledge graph subgraphs to a knowledge graph display terminal for display;
establishing a primitive list and setting a click event in a knowledge graph display terminal according to the node type of the knowledge graph;
acquiring a node list and a relation data list thereof in the closely-associated knowledge graph subgraph according to the primitive of the trigger event;
and sending the obtained node data list and the relation data list thereof to a knowledge graph display terminal for displaying.
6. A situation information-based knowledge graph display system, comprising:
the knowledge graph example establishing module is used for receiving a display instruction of the knowledge graph, and the display instruction establishes a knowledge graph example to be displayed;
the situation information primitive establishing module is used for establishing a situation primitive list to be displayed in the situation information display terminal;
the situation information display module is used for displaying the situation primitives and constructing knowledge display response events of the situation primitives;
and the knowledge subgraph display module is used for sending the knowledge graph to a display terminal for display and display control.
7. The knowledge-graph presentation system of claim 6 wherein said knowledge-graph instance creation module comprises:
the display instruction receiving module is used for receiving a knowledge graph display instruction;
the query construction module is used for constructing a knowledge graph query statement according to the display instruction;
the query processing module is used for acquiring a knowledge graph example from the knowledge graph query statement;
the placing container processing module is used for acquiring a knowledge graph example placing container;
and the binding module is used for placing the knowledge graph instance obtained by the query statement into the container for binding.
8. The knowledgegraph display system of claim 6, wherein the situation primitive creation module comprises:
the traversal module is used for traversing and acquiring node data and relation data of the knowledge graph instance;
the geographic attribute extraction module is used for extracting the node data attribute containing the geographic position;
the state information extraction module is used for reading the state information of the extracted node data;
and the situation primitive constructing module is used for constructing a situation primitive list of the situation information display terminal according to the geographical position information, the state information and other basic information of the extracted node data.
9. The knowledge-graph display system of claim 6 wherein the situational information display module comprises:
the situation primitive display module is used for sending a primitive list of the knowledge graph entities to be displayed to the situation information display terminal for displaying;
the situation primitive event construction module is used for setting a click event for a primitive list of the knowledge graph in the situation information display terminal;
the situation primitive event processing module is used for acquiring corresponding knowledge graph nodes according to the primitives of the trigger event;
the knowledge sub-graph acquisition module is used for acquiring closely associated knowledge sub-graphs by taking the knowledge graph nodes as centers;
and the entity classification module is used for giving different knowledge graph node category values to the entity nodes in the obtained closely-associated knowledge graph subgraph according to the category attributes or other characteristics of the entity nodes.
10. The knowledge-graph display system of claim 6 wherein the knowledge sub-graph display module comprises:
the knowledge sub-graph display module is used for sending the closely associated knowledge graph sub-graphs to a knowledge graph display terminal for display;
the entity category event construction module is used for establishing a primitive list and setting a click event in the knowledge graph display terminal according to the node category of the knowledge graph;
the entity category event processing module is used for acquiring a node list and a relation data list thereof in the closely-associated knowledge graph subgraph according to the primitive of the trigger event;
and the knowledge subgraph display control module is used for sending the acquired node data list and the acquired relation data list to a knowledge graph display terminal for display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538274.1A CN112000810A (en) | 2020-06-12 | 2020-06-12 | Situation information-based knowledge graph display method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538274.1A CN112000810A (en) | 2020-06-12 | 2020-06-12 | Situation information-based knowledge graph display method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112000810A true CN112000810A (en) | 2020-11-27 |
Family
ID=73467917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010538274.1A Pending CN112000810A (en) | 2020-06-12 | 2020-06-12 | Situation information-based knowledge graph display method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112000810A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170249062A1 (en) * | 2016-02-25 | 2017-08-31 | Gary Mariner | Customizable World Map |
CN107291802A (en) * | 2017-05-12 | 2017-10-24 | 北京金堤科技有限公司 | Relation map methods of exhibiting and device |
CN110795557A (en) * | 2019-12-11 | 2020-02-14 | 北京明略软件***有限公司 | Knowledge graph display method and device |
-
2020
- 2020-06-12 CN CN202010538274.1A patent/CN112000810A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170249062A1 (en) * | 2016-02-25 | 2017-08-31 | Gary Mariner | Customizable World Map |
CN107291802A (en) * | 2017-05-12 | 2017-10-24 | 北京金堤科技有限公司 | Relation map methods of exhibiting and device |
CN110795557A (en) * | 2019-12-11 | 2020-02-14 | 北京明略软件***有限公司 | Knowledge graph display method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106527892B (en) | Screen capturing method and system of electronic equipment | |
CN102257489B (en) | Grid and the visual two-way renewal being associated | |
CN111611518B (en) | Automatic visual display page publishing method and system based on Html5 | |
EP4083774A1 (en) | Image drawing method and apparatus, readable medium, and electronic device | |
CN112925520A (en) | Method and device for building visual page and computer equipment | |
CN110619099B (en) | Comment content display method, device, equipment and storage medium | |
CN112612864B (en) | Data visualization display method and terminal | |
CN113253880B (en) | Method and device for processing pages of interaction scene and storage medium | |
CN113157947A (en) | Knowledge graph construction method, tool, device and server | |
CN105824517A (en) | Implementation method and apparatus of desktop | |
CN110019037A (en) | A kind of pdf document methods of exhibiting, device, equipment and storage medium | |
CN117057318A (en) | Domain model generation method, device, equipment and storage medium | |
CN117931188A (en) | Front-end layout code automatic generation method and device, electronic equipment and medium | |
CN112000810A (en) | Situation information-based knowledge graph display method and system | |
CN113220381A (en) | Click data display method and device | |
JP2024505316A (en) | Application testing methods, equipment, electronic equipment and storage media | |
CN114880362A (en) | Data analysis system | |
CN113268693A (en) | Style configuration method and device, storage medium and electronic equipment | |
KR101350710B1 (en) | Server for providing information based on place | |
CN112486993A (en) | Air quality visual display method and air quality visual display system | |
CN107180073B (en) | POI recommendation method, device, equipment and computer readable storage medium | |
CN112579082A (en) | Interactive state data establishing method and device, storage medium and electronic equipment | |
CN105260397A (en) | Method and device for establishing quotation graph | |
CN116627397B (en) | Program development method and related device | |
CN114663563A (en) | Layer using method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201127 |
|
RJ01 | Rejection of invention patent application after publication |