This repository contains 3 Knowledge Graph Systems:
- Academic Family Knowledge Graph
- Mathematics Genealogy Knowledge Graph
- Music Knowledge Graph
- Download the neo4j and configure the environment. Modify the /neo_db/config.py to configure the account and password of the systems.
- Rocommend to use neo4j with docker:
docker run --publish=7474:7474 --publish=7687:7687 --volume=$HOME/neo4j/data:/data neo4j
- Switch to neo_ In the db directory, execute python create_graph.py to build the knowledge graph.
- Download the ltp model.
- In the KGQA directory, modify ltp.py to locate the directory where ltp model files are placed.
- Run python app.py and open localhost: 5000 in the browser to view