#!/bin/bash echo '### load 10 triples and save as PVM code' > graph_test.log eye --swipl --image /tmp/graph.pvm --nope graph-10.n3 > /dev/null 2>> graph_test.log echo '### load PVM code and load 1 triple' >> graph_test.log swipl -x /tmp/graph.pvm -- abc.n3 > /dev/null 2>> graph_test.log echo '### load 100 triples and save as PVM code' >> graph_test.log eye --swipl --image /tmp/graph.pvm --nope graph-100.n3 > /dev/null 2>> graph_test.log echo '### load PVM code and load 1 triple' >> graph_test.log swipl -x /tmp/graph.pvm -- abc.n3 > /dev/null 2>> graph_test.log echo '### load 1000 triples and save as PVM code' >> graph_test.log eye --swipl --image /tmp/graph.pvm --nope graph-1000.n3 > /dev/null 2>> graph_test.log echo '### load PVM code and load 1 triple' >> graph_test.log swipl -x /tmp/graph.pvm -- abc.n3 > /dev/null 2>> graph_test.log echo '### load 10000 triples and save as PVM code' >> graph_test.log eye --swipl --image /tmp/graph.pvm --nope graph-10000.n3 > /dev/null 2>> graph_test.log echo '### load PVM code and load 1 triple' >> graph_test.log swipl -x /tmp/graph.pvm -- abc.n3 > /dev/null 2>> graph_test.log echo '### load 100000 triples and save as PVM code' >> graph_test.log eye --swipl --image /tmp/graph.pvm --nope graph-100000.n3 > /dev/null 2>> graph_test.log echo '### load PVM code and load 1 triple' >> graph_test.log swipl -x /tmp/graph.pvm -- abc.n3 > /dev/null 2>> graph_test.log echo '### load 1000000 triples and save as PVM code' >> graph_test.log eye --swipl --image /tmp/graph.pvm --nope graph-1000000.n3 > /dev/null 2>> graph_test.log echo '### load PVM code and load 1 triple' >> graph_test.log swipl -x /tmp/graph.pvm -- abc.n3 > /dev/null 2>> graph_test.log rm /tmp/graph.pvm