Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Test (SPARQLScore) Publish

tft-jena-fuseki : Jena Fuseki

Calculate SparqlScore with TFT in local


# Compile the docker's project 
docker build -t tft-jena-fuseki .
# Deploy network of SPARQL services
docker-compose up -d 
# docker-compose stop

git clone --recursive
cd TFT

# install SPARQL client
composer install 

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

Start tests

Add parameter debug if necessary '-d'

php ./tft-testsuite -a -t fuseki -q \

php ./tft -t fuseki -q \
                    -u \
          -tt fuseki -te \
          -r   \
          -o ./junit  \
          --softwareName="Jena" \
          --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-jena-fuseki
docker rm instance.tft-jena-fuseki

Delete all containers

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

Check the network

docker network list
docker network inspect tft-jena-fuseki_tft

The result has to be :

  • instance.tft-jena-fuseki" =>
  • =>
  • =>
  • =>
  • instance.tft-database =>

Open bash in container

docker exec -it instance.tft-jena-fuseki 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

docker exec -it instance.tft-jena-fuseki bash
#varnishd -C -f /etc/varnish/default.vcl
vi /etc/varnish/default.vcl
systemctl start varnish
systemctl enable varnish


journalctl -f -u jena -n 1000
journalctl -f -u varnish