The KinGVisher - Knowledge Graph Visualizer - is a tool to visualize knowledge graphs in a web browser. It uses existing RDF triplestore endpoints (e.g., DBpedia, Wikidata, or your private endpoint) to retrieve the data and visualize it. It provides a user-friendly interface for exploring the data and creating visualizations by defining resources that are used as starting points for graph exploration, white and black lists for predicates, and visual styles for the nodes and edges. For the implementation, we use the Streamlit framework and agraph library (a wrapper for the vis.js library).
You can try out the tool online at https://wse-research.org/kingvisher-knowledge-graph-visualizer/ (or short https://wse-research.org/kingvisher).
First, install the requirements:
pip3 install -r requirements.txt
Then, start the application:
python3 -m streamlit run kingvisher-knowledge_graph_visualizer.py
A Docker image is available on Dockerhub for convenient usage.
docker run -p 8501:8501 wseresearch/knowledge-graph-visualizer:latest
If you want to build the image yourself, you can use the following command:
docker build -t knowledge-graph-visualizer:latest .
The configuration of the data sources and the visualization is done interactively via the web interface. Please see the file .env for the basic configuration of the application itself.
We are happy to receive your contributions. Please create a pull request or an issue. As this tool is published under the MIT license, feel free to fork it and use it in your own projects.