VCityTeam / UD-Demo-Workspace-GratteCiel

GNU Lesser General Public License v2.1
0 stars 0 forks source link

UD-Demo-Workspace-GratteCiel

A demonstration for visualizing concurrent scenarios of evolution of the Gratte Ciel neighborhood using RDF semantic graphs, Workspaces, and 3D City models using:

image

Component Diagram

SPARQL POC Component Diagram

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-Demo-Workspace-GratteCiel.git
cd UD-Demo-Workspace-GratteCiel

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 ports are used by the following services:

The following sections will describe how to configure this file for each component.

Build Images and run containers

First, make sure to set the sparqlModule/url port in the ud-viz-context/assets/config/server/workspace_server.json file to the same value as the BLAZEGRAPH_PORT variable declared in the .env file.

Then build the Blazegraph docker image and run its container:

docker compose up

Upload RDF-Store Dataset

To upload files into the RDF-store to be used by the sparqlModule run the ./loadData.sh script with the blazegraph SPARQL query endpoint as a parameter:

./loadData.sh http://127.0.0.1:9011/blazegraph/sparql > log.html

Now the UD-Viz demo is ready and can be accessed from localhost:9010