Skip to content

A demonstration for visualizing urban multimedia documents with 3D City models and Semantic Web technologies

License

Notifications You must be signed in to change notification settings

Manon3005/UD-Demo-DocGraph

 
 

Repository files navigation

UD-Demo-DocGraph

A web application for visualizing multimedia document and 3D city models using RDF semantic graphs:

  • 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

Installation

The following sections detail how to setup the demo.

Pre-requisites

Component Setup

First, clone this repository

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

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

Build Images and run containers

Then build the Blazegraph docker image and run its container:

docker compose up

Upload RDF-Store Dataset

To upload the graph datafile into Blazegraph run the following command:

curl -X POST --data-binary 'uri=https://raw.githubusercontent.com/VCityTeam/UD-Demo-DocGraph/master/data/GratteCiel_2018_remarkable.ttl' 'http://127.0.0.1:8001/blazegraph/sparql'

Now the UD-Viz demo is ready and can be accessed from localhost:8000 The Blazegraph GUI can also be accessed from localhost:8001

Note

By default, the following ports are used by the following services:

  • 8000: UD-Viz
  • 8001: Blazegraph

To change these, you must:

  1. Update your .env file to use these ports
  2. Make sure to set the sparqlModule/url port in the ud-viz-context/assets/config/config.json file to use the new value for the new Blazegraph port.
    • This also may imply rebuilding the udviz container:
      docker compose stop udviz
      docker compose build udviz
      docker compose up udviz
  3. Use the new port when uploading the dataset to Blazegraph

About

A demonstration for visualizing urban multimedia documents with 3D City models and Semantic Web technologies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.8%
  • HTML 41.6%
  • CSS 7.0%
  • Dockerfile 2.6%