Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 2.79 KB

README.md

File metadata and controls

54 lines (39 loc) · 2.79 KB

UD-GraphClustering

These demonstrations are part of a student research project for visualizing and navigating graphical data on the web. This project will use a web-based data visualization framework to visualize knowledge graphs.

click-clustering

Online Access

You can access the online versions of the demonstrations here:

Installation

The following sections detail how to setup the demo. In case of crash or error where the demo containers are down, it is possible that the data may need to be reuploaded to the blazegraph container.

Pre-requisites

Repository Setup

Currently, the UD-Viz framework must be initialized after cloning this repository.

git clone https://github.com/VCityTeam/UD-GraphClustering.git
cd UD-GraphClustering

Component Setup

To configure the demo and the components that support it, edit the .env file to be launched with docker-compose. By default, the following port are used by the following services:

  • 9011: Blazegraph
  • 9012 : 3D Gratte Ciel Demo
  • 9013 : Aioli Thesaurus Demo
  • 9014 : Spatial Graph Demo

Build Images, Demos and Run Containers

First, make sure to set the sparqlModule/url port in the sparql_widget.json file here to the same value as the BLAZEGRAPH_PORT variable declared in the .env file.

Then build the Blazegraph docker image, build the demos and run their containers:

docker compose build
docker compose up

Load graph data into blazegraph

To load the knowledge graph data into Blazegraph (required for full demo functionality) run the following command:

curl -X POST --data-binary 'uri=https://dataset-dl.liris.cnrs.fr/rdf-owl-urban-data-ontologies/Datasets/Villeurbanne/2018/GratteCiel_2018_split.rdf' "http://127.0.0.1:9011/blazegraph/sparql"

To upload additional files into the RDF-store to be used by the sparqlModule, you can use the online Blazegraph interface here.

Make sure that you've uploaded the corresponding 3DTiles layer in the 3DTiles_temporal.json file here in order to visualize the 3D scene.

Now the demo 3D Gratte Ciel Demo, Aioli Thesaurus Demo and Spatial Graph Demo are ready and can be accessed from localhost:9012, localhost:9013 and localhost:9014.