Skip to content

VCityTeam/UD-Demo-Workspace-GratteCiel

Repository files navigation

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:

  • UD-Viz a frontend web application for urban data visualization
    • In particular the SPARQL and Workspace modules from UD-Viz is used to visualize semantic urban data in the form of RDF
  • Blazegraph an RDF-Store for storing and serving semantic graph data with a SPARQL REST API

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:

  • 9010: UD-Viz
  • 9011: Blazegraph

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