Home

Awesome

Knowledge-Graph-Visualization-Demo

Archive

Neo4j powered KG visulization

There are 2D-Search and 3D-Graph-View for knowledge graph visualization. KG data (COVID-19 traces data from tencent) csv files are in folder Import2Neo4j.


Folder List


Folder: Import2Neo4j

Neo4j Configuration

Steps

  1. Put all CSV files into the Import folder shown below

  1. CYPHER4csvImport: Input the eight statements on by one in this file on the Neo4j console

  2. After importing, you will see:


Folder: Neo4j-3D

It is based on js using 3d-force-graph, which can run directly.

Preview

index.html Setting

  1. Configure the server address (no port number required), Neo4j username, and password in the first red box shown above.
  2. The second box is the CYPHER statement, which limits the return number to 20000. The return value is json, and the search box can be added to HTML later.

Noted problem

issue2


Folder: KG-Search-Flask

Requirements

Run

cd KG-Search-Flask
unzip static.zip

python app.py

Address: 127.0.0.1:5000

Search

Support 3 disorder keywords (space seperated) at most

Examples

JSON API

GET EXAMPLE

POST EXAMPLE

body data: {"string": "2月2日 苏州 确诊"}

Preview


Folder: KG-Search-Django

Run

cd KG-Search-Django/web
unzip static.zip
cd ..

python manage.py runserver

Address: 127.0.0.1:8000