Skip to content

Commit dfd8f95

Browse files
committed
Prepared virtuoso experiments
1 parent cedc533 commit dfd8f95

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

experiments/virtuoso.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
[ -z "$1" ] && echo "Specify Virtuoso PID" && exit 1
4+
5+
virtuoso_pid=$1
6+
7+
# Prepare data
8+
for file in ../data/*
9+
do
10+
# there should be only files anyway
11+
if [[ -f $file ]]; then
12+
# PUT into virtuoso
13+
./put-in-virtuoso.sh $file "file:$file"
14+
fi
15+
done
16+
17+
# Run experiments
18+
export QUERY_ENDPOINT=http://localhost:8890/sparql
19+
for file in ../data/*
20+
do
21+
# there should be only files anyway
22+
if [[ -f $file ]]; then
23+
export QUERY_GRAPH="file:$file"
24+
eid=virtuoso-$(basename "${file%.*}")
25+
./run-experiment.sh $virtuoso_pid $eid suite/test.txt 1 3 10
26+
fi
27+
done

0 commit comments

Comments
 (0)