Calculate SparqlScore of Virtuoso with TFT
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Build Status

tft-virtuoso7-stable : Virtuoso 7 stable

Calculate SparqlScore with TFT in local


# Download docker's images 
docker pull bordercloud/tft-jena-fuseki

# Compile the docker's project 
docker build -t tft-virtuoso7-stable .
# Deploy network of SPARQL services

docker run --privileged --name instance.tft-virtuoso7-stable -h tft-virtuoso7-stable -d tft-virtuoso7-stable
docker run --privileged --name -h -d bordercloud/tft-virtuoso7-stable
docker run --privileged --name -h -d bordercloud/tft-virtuoso7-stable
docker run --privileged --name -h -d bordercloud/tft-virtuoso7-stable
# for local
docker run --privileged --name instance.tft-database -d bordercloud/tft-jena-fuseki

# docker network inspect bridge

git clone --recursive
cd TFT

# install SPARQL client
composer install 

# install JMeter for protocol tests
tar xvzf apache-jmeter-4.0.tgz 
mv  apache-jmeter-4.0 jmeter
rm apache-jmeter-4.0.tgz 

Start tests

Add parameter debug if necessary '-d'

php ./tft-testsuite -a -t fuseki -q \
php ./tft -t fuseki -q \
                    -u \
          -tt virtuoso -te \
          -r   \
          -o ./junit  \
          --softwareName="Virtuoso" \
          --softwareDescribeTag=X.X.X \
php ./tft-score -t fuseki -q \
                          -u \

Delete containers of TFT

docker stop instance.tft-database
docker rm instance.tft-database
docker stop
docker rm
docker stop
docker rm
docker stop
docker rm
docker stop instance.tft-virtuoso7-stable
docker rm instance.tft-virtuoso7-stable

Delete all containers

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

Check the network

docker network inspect bridge

The result has to be : instance.tft-virtuoso7-stable " => => => => instance.tft-database =>

Open bash in container

docker exec -it instance.tft-virtuoso7-stable  bash
docker exec -it instance.tft-database bash

#Realign SPARQL API with Varnish

Install Varnish 6 and modules

yum install python-docutils automake autoconf libtool ncurses-devel libxslt groff pcre-devel pkgconfig

chmod +x ./
yum install varnish varnish-devel

git clone
cd varnish-modules
make install

Check test

varnishtest rewriting.vtc

Test on server

#varnishd -C -f /etc/varnish/default.vcl
vi /etc/varnish/default.vcl
systemctl start varnish
systemctl enable varnish


journalctl -f -u varnish
journalctl -f -u virtuoso