• Stars
    star
    161
  • Rank 232,171 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

There are 2D-Search and 3D-Graph-View for knowledge graph visualization.

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

  • Database Name:COVID-19
  • Username:neo4j
  • Password:123456

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:

  • Node Label: (EVENT, LOCATION, PATIENT, TOPIC)
  • Relationship Types: (EVENT_LOCATION, EVENT_TOPIC, PATIENT_EVENT, PATIENT_LOCATION)

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

  • Provide KG graph and triple lists

  • The front-end code and back-end code have been separated.

Requirements

  • flask
  • py2neo
  • neo4j
  • cpca
  • jieba

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

  • 1 keyword
    • 江苏苏州
    • 确诊
    • 王某
  • 2 keywords
    • 隔离 苏州
    • 苏州 男性
    • 苏州 2月2日
    • 2月2日 王某
  • 3 keywords
    • 2月2日 苏州 确诊

JSON API

GET EXAMPLE

  • 127.0.0.1:5000/api/2月2日 苏州 确诊

POST EXAMPLE

  • 127.0.0.1:5000/api

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

Preview


Folder: KG-Search-Django

  • Django Version for KG-Search

  • Provide KG graph and triple lists

  • The front-end code and back-end code are not separated.

  • Flask version is recommended.

Run

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

python manage.py runserver

Address: 127.0.0.1:8000


More Repositories

1

COVID19-KBQA-DEMO

COVID-2019 中文知识问答系统
Python
49
star
2

Aminer2KG

Aminer Data 2 Knowledge Graph Triples and Embedding
Python
41
star
3

CENET

Temporal Knowledge Graph Reasoning with Historical Contrastive Learning
Python
38
star
4

NSGA2_MATLAB

NSGA2 MATLAB Code for https://www.omegaxyz.com/2018/01/22/new_nsga2/
MATLAB
32
star
5

Dataset

Dataset for all
MATLAB
31
star
6

Evolutionary-Computation-Navigation

🎮OmegaXYZ.com演化计算文章目录(实时更新)
28
star
7

ACM-IEEE-arXiv-Spider

Crawl information of papers from ACM/IEEE/arXiv/AAAI digital library.
Python
23
star
8

Machine-Learning-Navigation

🎲OmegaXYZ.com机器学习的文章目录
Python
16
star
9

COVID-19-traces-Knowledge-Graph

COVID-19(2019-nCoV) traces data Knowledge Graph
Python
15
star
10

Text2Graph

Text2Graph model trained with T5 (Similar to GraphGPT)
JavaScript
12
star
11

Weibo-Crawler-GUI

Weibo spider based on python
Python
9
star
12

Linux-Knowledge-Graph

Knowledge Graph for Linux in Triples and Neo4j
7
star
13

VarLenPSO

Java Code for Paper: Variable-Length Particle Swarm Optimisation for Feature Selection on High-Dimensional Classification
Java
6
star
14

AcaFinder

Academic Finder for Research
Python
5
star
15

easy_label

Marking entities in texts
Vue
5
star
16

paper2kg

Generate Knowledge Graph for Paper
Python
4
star
17

academia

Domain or Field Visualization
HTML
3
star
18

DeepScience

Science of Science Forecast
Python
2
star
19

acapage

my personal academic page
SCSS
1
star
20

paperNER

Named Entity Recognition for Paper(PDF)
Python
1
star
21

Emoji

😜 👍 ✈️Emoji Shortcode
1
star
22

Named-Entity-Recognition-for-Homepage

Extract information from researchers' homepage(HTML).
Python
1
star