Patent ID: 11907390
Assignee: ZHEJIANG LAB
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 7:
8. An apparatus for visual construction of a knowledge graph system for implementing the method according to claim 1, comprising:
a user permission module configured to manage user registration, log-in and permission control; wherein a user obtains an identity token through registration and log-in and applies for a data permission of a related database from a central server; the central server performs verification after receiving a permission application, and when passing the verification, a distributed client obtains an indirect partial read permission of a target database;
a knowledge graph model module configured to determine a master template of the knowledge graph system, a subtemplate of the knowledge graph system and a display form of a knowledge graph and comprising:
a data processing module and a web crawler module configured to generate quadruple information conforming to a target data structure to obtain the master template of the knowledge graph system;
a natural language processing module configured to receive a natural language inputted by the user and parse to generate an abstract syntax tree;
a knowledge graph system subtemplate generation module configured to generate the subtemplate of the knowledge graph system in combination with the natural language processing module and a UI module; and
an encryption module configured to encrypt the subtemplate of the knowledge graph system and send a cipher text to the central server; and

the UI module configured for functions on a UI presentation level of the distributed client and comprising:
a visual drag operation module configured to list the quadruple information obtained by calculation through the knowledge graph model module onto a page of the distributed client, monitor and process a drag behavior for a child node by the distributed client, and add the dragged child node into a child node set of a corresponding parent node or return the dragged child node to an original position by determining validity of the drag behavior; and render and connect a child node generated directly processed by the natural language onto the corresponding parent node; and
a knowledge graph rendering module configured to render a tree structure of the abstract syntax tree to generate a visual knowledge graph.