Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 1.35 KB

README.md

File metadata and controls

75 lines (49 loc) · 1.35 KB

gStore Logical Plan Optimizer Demonstration

This is the implementation of demonstration paper in CIKM 2023: "gFOV: A Full-Stack SPARQL Query Optimizer & Plan Visualizer."

The logical plan optimizer part is included in Demo Branch in gStore-UO-opt repo.

gFOV.mp4 is a short video showing the usage of the demonstrated system.

Preview

Prepare Dependecies

  1. Install Python dependencies:
pip3 install -r requirements.txt
  1. Install Node.js (LTS version) and yarn:
sudo apt install nodejs
sudo apt install npm
sudo npm install -g yarn
  1. Install frontend dependencies:
cd plan
yarn install
  1. Build frontend:
yarn build
  1. Install gStore:
git clone https://github.com/SoftlySpoken/gStore-UO-opt.git -b demo
cd gStore-UO-opt
make pre -j
make -j

Usage

  1. Initialize your dataset in gStore (use lubm as example):
cd gStore-UO-opt
./bin/gbuild -db lubm -f ./data/lubm/lubm.nt
  1. Start ghttp server in gStore (the port and database name should be the same as in app.py)):
cd gStore-UO-opt
./bin/ghttp -db lubm -p 5000
  1. Start the backend server:
python3 app.py

gStore Connection Config

Please modify the gStore_config variable to connect to your gStore database.