Skip to content

WSE-research/KinGVisher-Knowledge-Graph-Visualizer

Repository files navigation

KinGVisher - Knowledge Graph Visualizer

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).



Start the application locally

First, install the requirements:

pip3 install -r requirements.txt

Then, start the application:

python3 -m streamlit run kingvisher-knowledge_graph_visualizer.py

Start the application with Docker

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 .

Configuration

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.

Contribute

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.

Disclaimer

This tool just temporarily stores the image data. This tool is provided "as is" and without any warranty, express or implied.