CN110795557A - Knowledge graph display method and device - Google Patents

Knowledge graph display method and device Download PDF

Info

Publication number
CN110795557A
CN110795557A CN201911271562.9A CN201911271562A CN110795557A CN 110795557 A CN110795557 A CN 110795557A CN 201911271562 A CN201911271562 A CN 201911271562A CN 110795557 A CN110795557 A CN 110795557A
Authority
CN
China
Prior art keywords
knowledge
knowledge graph
graph
node
dimensional
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
Application number
CN201911271562.9A
Other languages
Chinese (zh)
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.)
Beijing Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System Co ltd
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 Beijing Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201911271562.9A priority Critical patent/CN110795557A/en
Publication of CN110795557A publication Critical patent/CN110795557A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a method and a device for displaying a knowledge graph, and relates to the technical field of knowledge graphs. The method comprises the steps of receiving a display instruction of a knowledge graph; establishing a three-dimensional knowledge graph example according to the display instruction; configuring and filling the knowledge graph instance to obtain a knowledge graph; and sending the knowledge graph to a display terminal for displaying. The method establishes the three-dimensional knowledge map, and solves the problem that the existing two-dimensional display method cannot achieve good display effect.

Description

Knowledge graph display method and device
Technical Field
The application relates to the technical field of knowledge graphs, in particular to a display method and device of a knowledge graph.
Background
The existing Cytoscape (a plug-in with the function of establishing a knowledge map) provides a molecular map-protein interaction network, adopts two-dimensional planar display, cannot achieve good display effect, and is established on the basis of an API (application program interface) exposed by a third-party plug-in, so that the operation space is small; the plug-in has larger volume, increases the resource loading of the browser opening system and reduces the performance.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for displaying a knowledge graph, which are used for establishing a three-dimensional knowledge graph and solving the problem that the existing two-dimensional display method cannot achieve a good display effect.
The embodiment of the application provides a display method of a knowledge graph, which comprises the following steps:
receiving a display instruction of the knowledge graph;
establishing a three-dimensional knowledge graph example according to the display instruction;
configuring and filling the knowledge graph instance to obtain a knowledge graph;
and sending the knowledge graph to a display terminal for displaying.
In the implementation process, the three-dimensional knowledge graph example is configured and filled by establishing the three-dimensional knowledge graph example, so that the three-dimensional knowledge graph is obtained, the three-dimensional knowledge graph has a three-dimensional visual display effect, the relation among all nodes can be displayed more visually, a user can feel and understand the actual value of the knowledge graph conveniently, and the problem that the existing two-dimensional display method cannot achieve a good display effect is solved.
Further, the establishing a three-dimensional knowledge graph instance according to the display instruction comprises:
acquiring an atlas example placing container;
establishing an initial three-dimensional sphere knowledge graph example;
placing the initial three-dimensional sphere knowledge graph example into the graph example placing container for binding;
and performing attribute configuration on the initial three-dimensional sphere knowledge graph example.
In the implementation process, the initial three-dimensional sphere knowledge graph example is established, the initial three-dimensional sphere knowledge graph example is placed in the graph example placing container to be bound, so that framework setting of the knowledge graph is completed, and then attribute configuration is performed on the initial three-dimensional sphere knowledge graph example, so that the knowledge graph is obtained.
Further, the performing attribute configuration on the initial three-dimensional sphere knowledge graph instance includes:
establishing a scene canvas element, a camera element and a renderer element;
adding the renderer element to the graph instance placement container;
binding the map instance placement container, the scene canvas element, the camera element, the renderer element with the initial three-dimensional sphere knowledge map instance to establish a three-dimensional knowledge map instance;
and a data input interface, a node and a relation input interface are arranged in the knowledge graph example.
In the implementation process, a renderer element is added into the map instance placement container to prepare for establishing a knowledge map; and binding the chart instance placement container, the scene canvas element, the camera element and the renderer element to the initial three-dimensional sphere knowledge graph instance, and reserving a data input interface, a node and a relation input interface on the knowledge graph instance.
Further, the configuring and populating the knowledge-graph instance to obtain a knowledge-graph includes:
acquiring node data and relation data of a knowledge graph;
setting a node click event and a relation click event of a node;
and respectively filling the node data, the relation data, the node click event and the relation click event into the established three-dimensional knowledge graph example.
In the implementation process, node data and relationship data are obtained, the node data includes information such as node names and node picture paths, the relationship data includes information such as which node points to which node from which node, relationship between two nodes, and the like, a node click event refers to that a click node can display related information of the nodes, and a relationship click event refers to that a click relationship line can display detailed information of the relationship between the nodes; and filling the established three-dimensional knowledge graph examples by utilizing the node data, the relation data, the node click event and the relation click event respectively.
Further, the acquiring node data and relationship data of the knowledge-graph includes:
acquiring detailed information of a node;
and acquiring the direction and the relation between the two nodes.
In the implementation process, the node data includes, but is not limited to, detailed information of the node, such as a node name, a node picture path, and the like, and the relationship data includes, but is not limited to, a direction and a relationship between two nodes, such as a node from which the node points to which the node, a relationship between two nodes, and the like.
By the method, a three-dimensional knowledge map can be established, and the visual sense of a user is improved; the development process of the three-dimensional knowledge graph increases the autonomous operation and configuration capacity of a user on the knowledge graph, reduces the consumption of a browser and resource loading, and improves the system performance.
The embodiment of the present application further provides a display device of a knowledge graph, and the device may specifically include:
the display instruction receiving module is used for receiving a display instruction of the knowledge graph;
the example establishing module is used for establishing a three-dimensional knowledge graph example;
the data filling module is used for configuring and filling the knowledge graph instance to acquire a knowledge graph;
and the display module is used for sending the knowledge graph to a display terminal for displaying.
In the implementation process, a framework of the knowledge graph is established through a three-dimensional knowledge graph example, and then the complete knowledge graph is obtained through configuration and filling to be displayed.
Further, the instance establishment module includes:
the placing container obtaining module is used for obtaining an atlas example placing container;
the initial example establishing module is used for establishing an initial three-dimensional sphere knowledge graph example;
the binding module is used for placing the initial three-dimensional sphere knowledge graph example into the graph example placing container for binding;
and the attribute configuration module is used for performing attribute configuration on the initial three-dimensional sphere knowledge graph example.
In the implementation process, the initial three-dimensional sphere knowledge graph example is established and placed in the graph example placing container, and attribute configuration is carried out, so that framework building of the knowledge graph is completed, subsequent configuration and filling are conveniently carried out, and construction of the knowledge graph is completed.
Further, the data population module comprises:
the node and relation data acquisition module is used for acquiring node data and relation data of the knowledge graph;
the click event setting module is used for setting a node click event and a relation click event of the node;
and the instance filling module is used for respectively filling the node data, the relation data, the node click event and the relation click event into the established three-dimensional knowledge graph instance.
In the implementation process, the filled contents include but are not limited to the nodes and the relationship data, the node click events and the relationship click events, and the knowledge graph is conveniently and comprehensively known and interpreted by a user by supplementing the node data and the relationship data among the nodes.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used for storing a computer program, and the processor runs the computer program to make the computer device execute the method for displaying a knowledge graph according to any one of the above descriptions.
An embodiment of the present application further provides a readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the method for displaying a knowledge graph is performed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a flow chart of a method for displaying a knowledge graph according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of an example of establishing a three-dimensional knowledge graph according to an embodiment of the present application;
FIG. 3 is a flowchart of attribute configuration for an initial three-dimensional sphere knowledge-graph instance provided by an embodiment of the present application;
FIG. 4 is a flow diagram for configuring and populating an example knowledge graph to obtain a knowledge graph according to an embodiment of the present application;
FIG. 5 is a block diagram of a knowledge graph display apparatus according to an embodiment of the present disclosure;
FIG. 6 is a block diagram of the overall structure of a knowledge-graph display device provided in the embodiments of the present application;
fig. 7 is a schematic diagram of a knowledge-graph provided in an embodiment of the present application.
Icon:
100-show instruction receiving module; 200-an instance creation module; 210-a placement container acquisition module; 220-initial instance establishment module; 230-a binding module; 240-attribute configuration module; 241-a rendering module; 242-render add module; 243-data binding module; 244-interface setup module; 300-a data population module; 310-node and relationship data acquisition module; 311-node data acquisition module; 312-a relational data acquisition module; 320-click event setting module; 330-instance population module; 400-display module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a method for displaying a knowledge graph according to an embodiment of the present application. The method can be applied to developing the 3D knowledge graph based on threjs (writing of a 3D program is realized by using a front-end language javascript). The method may specifically comprise the steps of:
step S100: receiving a display instruction of the knowledge graph;
step S200: establishing a three-dimensional knowledge graph example according to the display instruction;
the method can be applied to a server, when a display instruction of the knowledge graph sent by a user is received, the server establishes three files, namely three-dimensional (plug-in files for setting 3D stereoscopic scenes), three files, namely three-dimensional knowledge graph instances (files for configuring parameters of the three-dimensional knowledge graph instances), and three files, namely three-dimensional knowledge graph instances (files for filling data and operations in the three-dimensional knowledge graph instances created by the three-dimensional knowledge graph instances), in response to the display instruction, and establishes the prototype of the 3D knowledge graph instances by applying threejs in the three-dimensional knowledge graph instances.
FIG. 2 shows a flow chart of an example of establishing a three-dimensional knowledge-graph. The step may specifically include:
step S210: acquiring an atlas example placing container;
illustratively, in the implementation described above, the page container element is obtained, along with its width and length.
Step S220: establishing an initial three-dimensional sphere knowledge graph example;
illustratively, the server builds an initial three-dimensional sphere-of-knowledge map instance, which is a framework structure of a sphere, using threejs to build the knowledge map framework.
Step S230: placing the initial three-dimensional sphere knowledge graph example into a graph example placing container for binding;
adding the initial three-dimensional sphere knowledge graph instance to a graph instance placement container.
Step S240: and performing attribute configuration on the initial three-dimensional sphere knowledge graph instance.
Illustratively, as shown in fig. 3, a flow chart for attribute configuration of an initial three-dimensional sphere knowledge-graph instance is shown. The step may specifically include:
step S241: establishing a scene canvas element, a camera element and a renderer element;
in the above process, a scene canvas element is established by an API (Application Programming Interface) method of thread.js, a camera element is established by the API method of thread.js, and a width and height parameter of a page container element is introduced to prepare for mapping a 3D effect; js' API method is applied to create renderer elements.
Step S242: adding a renderer element to the graph instance placement container;
and adding the renderer element into the page container element to prepare for drawing the 3D sphere relation map behind.
Step S243: binding a chart instance placement container, a scene canvas element, a camera element, a renderer element and the initial three-dimensional sphere knowledge graph instance to establish a three-dimensional knowledge graph instance;
and binding the established page container element, the scene canvas element, the camera element and the renderer element on the initial three-dimensional sphere knowledge graph instance.
Step S244: a data input interface, a node and a relation input interface are arranged in the knowledge graph example.
And a data input interface, a node input interface and a relation input interface are reserved on the knowledge graph instance.
Step S300: configuring and filling a knowledge graph example to obtain a knowledge graph;
and filling data in the set knowledge graph instance, and configuring and filling data in the knowledge graph instance in app.
Illustratively, as shown in FIG. 4, a flow diagram for configuring and populating a knowledge-graph instance to obtain a knowledge-graph is provided. This step includes, but is not limited to:
step S310: acquiring node data and relation data of a knowledge graph;
for example, the step may specifically include:
step S311: acquiring detailed information of a node;
step S312: and acquiring the direction and the relation between the two nodes.
In the implementation process, the node data includes, but is not limited to, detailed information of the node, such as a unique index identifier of the node, i.e., an ID of the node, a node name, e.g., a name of a person, a macro, a node, a picture path of the node, and node description information, e.g., "36 years old, height 173cm, lively character", and the like, the relationship data includes, but is not limited to, a direction and a relationship between two nodes, e.g., which node points to which node from which node, a relationship between two nodes, e.g., pointing to a node with ID 2 from a node with ID 1 and constituting a relationship line, and a relationship between two nodes, e.
Step S320: setting a node click event and a relation click event of a node;
the node clicking event means that the clicked node can display related information of the node, and the relation clicking event means that the clicking relation line can display detailed information of the relation between the nodes.
Step S330: and respectively filling the node data, the relation data, the node click event and the relation click event into the established three-dimensional knowledge graph example.
In addition, filling the three-dimensional knowledge graph example further comprises:
setting a mouse interaction control for the three-dimensional knowledge graph instance, so that the knowledge graph instance can be amplified and reduced and can be dragged and moved;
setting a left key click event for a node and a relation line in a knowledge graph example, selecting the node and the relation line, generating an operation menu for a right key click event, and sliding a mouse over the event to display detailed information of the node and the relation line;
adding a canvas change monitoring function to the knowledge graph instance to monitor whether the sphere layout of the page needs to be changed when the canvas is moved or zoomed in;
rendering and developing the sphere of the knowledge graph example, such as setting the radius of the sphere, setting the number of points needed by the sphere, setting the mesh style of the sphere, setting whether the sphere needs autorotation animation and the like;
setting node data filled in the knowledge graph example, such as controlling node size, color, background graph, characters, position and the like, for example, randomly setting a certain node on the sphere vertex of the three-dimensional knowledge graph example;
setting relation data filled in the knowledge graph example, such as setting the color, thickness and characters of a relation line, whether the relation line is gradually changed or not;
and setting characters such as character weight, character color and font in the relation line filled by the knowledge graph example.
Compared with the simple styles of a cytoscape component, such as data, coordinates, zoom levels, width and the like, which can only be set, the method increases the configuration space of autonomous expansion, and can enrich the configuration of the knowledge graph instance.
Step S400: and sending the knowledge graph to a display terminal for displaying.
And sending the constructed three-dimensional knowledge graph to a display terminal of a user for displaying. Fig. 7 is a schematic diagram of a knowledge graph provided in the embodiment of the present application. The three-dimensional knowledge graph has a three-dimensional visual display effect, can more visually display the relation between each node, is convenient for a user to feel and understand the actual value of the knowledge graph, and solves the problem that the existing two-dimensional display method cannot achieve a good display effect; the size of the plug-in is far smaller than that of the cytoscape, for example, the size of the plug-in is 524KB, and the size of the cytoscape is 4.33 MB.
Example 2
The embodiment of the present application further provides a display apparatus of a knowledge graph, as shown in fig. 5, a structural block diagram of the display apparatus of a knowledge graph provided in the embodiment of the present application. Such devices include, but are not limited to:
a display instruction receiving module 100, configured to receive a display instruction of a knowledge graph;
an example establishing module 200, configured to establish a three-dimensional knowledge graph example;
for example, as shown in fig. 6, for the overall structural block diagram of the display apparatus of knowledge graph provided in the embodiment of the present application, the example creating module 200 includes:
a placement container acquisition module 210 for acquiring an atlas instance placement container;
an initial example establishing module 220, configured to establish an initial three-dimensional sphere knowledge graph example;
a binding module 230, configured to place the initial three-dimensional sphere knowledge graph instance into the graph instance placement container for binding;
and an attribute configuration module 240, configured to perform attribute configuration on the initial three-dimensional sphere knowledge graph instance.
In the implementation process, the initial three-dimensional sphere knowledge graph example is established and placed in the graph example placing container, and attribute configuration is carried out, so that framework building of the knowledge graph is completed, subsequent configuration and filling are conveniently carried out, and construction of the knowledge graph is completed.
The attribute configuration module 240 includes, but is not limited to:
a rendering module 241 for creating a scene canvas element, a camera element, and a renderer element;
a render add module 242 for adding renderer elements to the graph instance placement container;
a data binding module 243, configured to bind the map instance placement container, the scene canvas element, the camera element, the renderer element, and the initial three-dimensional sphere knowledge map instance to establish a three-dimensional knowledge map instance;
an interface setup module 244 for setting up data input interfaces, nodes and relationship input interfaces in the knowledge graph instance.
A data population module 300, configured to configure and populate a knowledge graph instance to obtain a knowledge graph;
data population module 300 includes, but is not limited to:
a node and relationship data obtaining module 310, configured to obtain node data and relationship data of the knowledge-graph;
the node and relationship data acquisition module 310 includes:
a node data obtaining module 311, configured to obtain detailed information of a node;
a relationship data obtaining module 312, configured to obtain the direction and the relationship between two nodes.
A click event setting module 320, configured to set a node click event and a relationship click event of a node;
an instance filling module 330, configured to fill the node data, the relationship data, the node click event, and the relationship click event into the established three-dimensional knowledge graph instance respectively.
In the implementation process, the filled contents include but are not limited to the nodes and the relationship data, the node click events and the relationship click events, and the knowledge graph is conveniently and comprehensively known and interpreted by a user by supplementing the node data and the relationship data among the nodes.
And a display module 400, configured to send the knowledge graph to a display terminal for display.
Example 3
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used for storing a computer program, and the processor runs the computer program to make the computer device execute the method for displaying a knowledge graph according to any one of embodiments 1.
An embodiment of the present application further provides a readable storage medium, where the readable storage medium stores computer program instructions, and the computer program instructions are read by a processor and executed to execute the method for displaying a knowledge graph according to any one of embodiments 1.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for displaying a knowledge graph, the method comprising:
receiving a display instruction of the knowledge graph;
establishing a three-dimensional knowledge graph example according to the display instruction;
configuring and filling the knowledge graph instance to obtain a knowledge graph;
and sending the knowledge graph to a display terminal for displaying.
2. The method for displaying a knowledge-graph according to claim 1, wherein the establishing a three-dimensional knowledge-graph instance according to the display instruction comprises:
acquiring an atlas example placing container;
establishing an initial three-dimensional sphere knowledge graph example;
placing the initial three-dimensional sphere knowledge graph example into the graph example placing container for binding;
and performing attribute configuration on the initial three-dimensional sphere knowledge graph example.
3. The method for displaying a knowledge-graph according to claim 2, wherein the performing attribute configuration on the initial three-dimensional sphere knowledge-graph instance comprises:
establishing a scene canvas element, a camera element and a renderer element;
adding the renderer element to the graph instance placement container;
binding the map instance placement container, the scene canvas element, the camera element, the renderer element with the initial three-dimensional sphere knowledge map instance to establish a three-dimensional knowledge map instance;
and a data input interface, a node and a relation input interface are arranged in the knowledge graph example.
4. The method for displaying a knowledge-graph according to claim 1, wherein the configuring and populating the knowledge-graph instance to obtain the knowledge-graph comprises:
acquiring node data and relation data of a knowledge graph;
setting a node click event and a relation click event of a node;
and respectively filling the node data, the relation data, the node click event and the relation click event into the established three-dimensional knowledge graph example.
5. The method for displaying a knowledge graph according to claim 4, wherein the obtaining of node data and relationship data of the knowledge graph comprises:
acquiring detailed information of a node;
and acquiring the direction and the relation between the two nodes.
6. An apparatus for displaying a knowledge graph, the apparatus comprising:
the display instruction receiving module is used for receiving a display instruction of the knowledge graph;
the example establishing module is used for establishing a three-dimensional knowledge graph example;
the data filling module is used for configuring and filling the knowledge graph instance to acquire a knowledge graph;
and the display module is used for sending the knowledge graph to a display terminal for displaying.
7. The apparatus for knowledge-graph presentation according to claim 6, wherein the instance creation module comprises:
the placing container obtaining module is used for obtaining an atlas example placing container;
the initial example establishing module is used for establishing an initial three-dimensional sphere knowledge graph example;
the binding module is used for placing the initial three-dimensional sphere knowledge graph example into the graph example placing container for binding;
and the attribute configuration module is used for performing attribute configuration on the initial three-dimensional sphere knowledge graph example.
8. The apparatus for knowledge-graph presentation according to claim 6, wherein the data population module comprises:
the node and relation data acquisition module is used for acquiring node data and relation data of the knowledge graph;
the click event setting module is used for setting a node click event and a relation click event of the node;
and the instance filling module is used for respectively filling the node data, the relation data, the node click event and the relation click event into the established three-dimensional knowledge graph instance.
9. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to make the computer device execute the method of knowledge-graph presentation according to any one of claims 1 to 5.
10. A readable storage medium, wherein computer program instructions are stored in the readable storage medium, and when the computer program instructions are read and executed by a processor, the method for displaying a knowledge-graph according to any one of claims 1 to 5 is executed.
CN201911271562.9A 2019-12-11 2019-12-11 Knowledge graph display method and device Pending CN110795557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911271562.9A CN110795557A (en) 2019-12-11 2019-12-11 Knowledge graph display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911271562.9A CN110795557A (en) 2019-12-11 2019-12-11 Knowledge graph display method and device

Publications (1)

Publication Number Publication Date
CN110795557A true CN110795557A (en) 2020-02-14

Family

ID=69448091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911271562.9A Pending CN110795557A (en) 2019-12-11 2019-12-11 Knowledge graph display method and device

Country Status (1)

Country Link
CN (1) CN110795557A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427901A (en) * 2020-03-23 2020-07-17 浪潮通用软件有限公司 Interactive knowledge graph data editing method, computer device and storage medium
CN111767412A (en) * 2020-09-02 2020-10-13 成都数联铭品科技有限公司 Data mapping method and system for knowledge graph construction and electronic equipment
CN111813952A (en) * 2020-06-19 2020-10-23 北京明略软件系统有限公司 Three-dimensional display method and device of knowledge graph
CN112000810A (en) * 2020-06-12 2020-11-27 中国人民解放军国防科技大学 Situation information-based knowledge graph display method and system
CN113190692A (en) * 2021-05-28 2021-07-30 山东顺势教育科技有限公司 Self-adaptive retrieval method, system and device for knowledge graph
CN113282741A (en) * 2021-03-24 2021-08-20 北京明略软件系统有限公司 Knowledge graph visualization method, device, equipment and computer readable medium
CN114417888A (en) * 2022-03-31 2022-04-29 南京云创大数据科技股份有限公司 Three-dimensional presentation method and system of sentence relation
CN114676299A (en) * 2021-10-28 2022-06-28 北京八亿时空信息工程有限公司 3D visualization display method and system for classical garden knowledge graph
CN114860959A (en) * 2022-07-08 2022-08-05 中科雨辰科技有限公司 Tree-shaped 3D knowledge graph display method
CN116567648A (en) * 2023-07-05 2023-08-08 四川创智联恒科技有限公司 Method and system for generating wave bitmap spectrum under data wave beam

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744846A (en) * 2013-08-13 2014-04-23 北京航空航天大学 Multidimensional dynamic local knowledge map and constructing method thereof
CN104102713A (en) * 2014-07-16 2014-10-15 百度在线网络技术(北京)有限公司 Method and device for displaying recommendation results
CN110019766A (en) * 2017-09-25 2019-07-16 腾讯科技(深圳)有限公司 Methods of exhibiting, device, mobile terminal and the readable storage medium storing program for executing of knowledge mapping

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744846A (en) * 2013-08-13 2014-04-23 北京航空航天大学 Multidimensional dynamic local knowledge map and constructing method thereof
CN104102713A (en) * 2014-07-16 2014-10-15 百度在线网络技术(北京)有限公司 Method and device for displaying recommendation results
CN110019766A (en) * 2017-09-25 2019-07-16 腾讯科技(深圳)有限公司 Methods of exhibiting, device, mobile terminal and the readable storage medium storing program for executing of knowledge mapping

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427901B (en) * 2020-03-23 2023-10-31 浪潮通用软件有限公司 Interactive knowledge graph data editing method, computer equipment and storage medium
CN111427901A (en) * 2020-03-23 2020-07-17 浪潮通用软件有限公司 Interactive knowledge graph data editing method, computer device and storage medium
CN112000810A (en) * 2020-06-12 2020-11-27 中国人民解放军国防科技大学 Situation information-based knowledge graph display method and system
CN111813952A (en) * 2020-06-19 2020-10-23 北京明略软件系统有限公司 Three-dimensional display method and device of knowledge graph
CN111767412A (en) * 2020-09-02 2020-10-13 成都数联铭品科技有限公司 Data mapping method and system for knowledge graph construction and electronic equipment
CN113282741A (en) * 2021-03-24 2021-08-20 北京明略软件系统有限公司 Knowledge graph visualization method, device, equipment and computer readable medium
CN113190692A (en) * 2021-05-28 2021-07-30 山东顺势教育科技有限公司 Self-adaptive retrieval method, system and device for knowledge graph
CN113190692B (en) * 2021-05-28 2022-06-24 山东顺势教育科技有限公司 Self-adaptive retrieval method, system and device for knowledge graph
CN114676299A (en) * 2021-10-28 2022-06-28 北京八亿时空信息工程有限公司 3D visualization display method and system for classical garden knowledge graph
CN114417888A (en) * 2022-03-31 2022-04-29 南京云创大数据科技股份有限公司 Three-dimensional presentation method and system of sentence relation
CN114417888B (en) * 2022-03-31 2022-07-01 南京云创大数据科技股份有限公司 Three-dimensional presentation method and system of sentence relation
CN114860959A (en) * 2022-07-08 2022-08-05 中科雨辰科技有限公司 Tree-shaped 3D knowledge graph display method
CN114860959B (en) * 2022-07-08 2022-09-16 中科雨辰科技有限公司 Tree-shaped 3D knowledge graph display method
CN116567648A (en) * 2023-07-05 2023-08-08 四川创智联恒科技有限公司 Method and system for generating wave bitmap spectrum under data wave beam
CN116567648B (en) * 2023-07-05 2023-09-19 四川创智联恒科技有限公司 Method and system for generating wave bitmap spectrum under data wave beam

Similar Documents

Publication Publication Date Title
CN110795557A (en) Knowledge graph display method and device
US10628021B2 (en) Modular responsive screen grid, authoring and displaying system
CN107820701B (en) Developer exchange system
US10831334B2 (en) Teleportation links for mixed reality environments
KR101183351B1 (en) Maintaining graphical presentations based on user customizations
CN103092612B (en) Realize method and the electronic installation of Android operation system 3D desktop pinup picture
CN108027720A (en) Visual content is developed
CN106533926B (en) Webpage information spreading method and device
CN105824517B (en) A kind of implementation method and device of desktop
KR20120139716A (en) Method and system for organizing information with a sharable user interface
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN114443945B (en) Display method of application icons in virtual user interface and three-dimensional display device
US20160012859A1 (en) System and method for generating and using spatial and temporal metadata
JP4955758B2 (en) Text editing in 3D graphics
US10289388B2 (en) Process visualization toolkit
CN110515609B (en) Application generation method, device, equipment and storage medium
US8566359B1 (en) Unfolding sparse data sets
CN116170627A (en) Special effect prop processing method and device, electronic equipment and storage medium
CN116088844A (en) Special effect manufacturing method, device, equipment and storage medium
CN111368234A (en) Window adjusting method, device and storage medium
CN113296906B (en) Task configuration method and device
KR101668450B1 (en) Method for providing digital contens and apparatus thereof
Bath et al. CERVI: collaborative editing of raster and vector images
Thomas Data visualization with javascript
CN111782309A (en) Method and device for displaying information and computer readable storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200214