-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_seals.sh
executable file
·86 lines (77 loc) · 2.16 KB
/
run_seals.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/bin/bash
# run_seals.sh
# This script runs the matching sytem that is already unzipped in $SEALS_Matcher using the SEALS client.
# (For copying your matcher to $SEALS_MATCHER you can use the prepare_matcher.sh script.)
# When this script is run, the user is asked which OAEI track she wants to run.
# The following variables can also be set in the bash_profile: vim ~/.bash_profile
#SEALS_HOME = ""
#SEALS_MATCHER = ""
#SEALS_CLIENT = ""
#SEALS_RESULTS = ""
#JAVA_8 = ""
BEGIN="$JAVA_8 -Xmx8g -jar $SEALS_CLIENT $SEALS_MATCHER -x"
echo 1. Track bib - benchmark
echo 2. Track anatomy
echo 3. Track conference
echo 4. Track multifarm de - en
echo 5. Track interactive - conference
echo 6. Track small fma - nci
echo 7. Track knowledge graph
echo 'e exit'
printf "\nType in the number to execute track: "
read number
case $number in
1)
echo "Selected Track: bib - benchmark"
cd $SEALS_HOME
command="$BEGIN http://oaei.webdatacommons.org/tdrs/ 2015benchmarks-biblio 2015benchmarks-biblio-r1 $SEALS_RESULTS"
eval $command
;;
2)
echo "Selected Track: Anatomy"
command="$BEGIN http://oaei.webdatacommons.org/tdrs/ anatomy_track anatomy_track-default $SEALS_RESULTS"
cd $SEALS_HOME
echo $command
eval "$command";
;;
3)
echo "Selected Track: Conference"
command="$BEGIN http://oaei.webdatacommons.org/tdrs/ conference conference-v1 $SEALS_RESULTS"
cd $SEALS_HOME
echo $command
eval "$command"
;;
4)
echo "Selected Track: multifarm de - en"
command="$BEGIN http://oaei.webdatacommons.org/tdrs/ de-en de-en-v2 $SEALS_RESULTS"
cd $SEALS_HOME
echo $command
eval "$command"
;;
5)
echo "Selected Track: Interactive Conference"
command="$BEGIN http://oaei.webdatacommons.org/tdrs/ interactive interactive-conference_2015 $SEALS_RESULTS"
cd $SEALS_HOME
echo $command
eval "$command"
;;
6)
echo "Selected Track: LargeBio Small 2016"
command="$BEGIN http://oaei.webdatacommons.org/tdrs/ largebio largebio-fma_nci_small_2016 $SEALS_RESULTS"
cd $SEALS_HOME
echo $command
eval "$command"
;;
7)
echo "Selected Track: LargeBio Small 2016"
command="$BEGIN http://oaei.webdatacommons.org/tdrs/ knowledgegraph v3 $SEALS_RESULTS"
cd $SEALS_HOME
echo $command
eval "$command"
;;
e)
break
;;
*)
echo "Invalid Option";;
esac