-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.sh
42 lines (32 loc) · 1.94 KB
/
commands.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
#!/bin/sh
java -Xmx80g -jar graphlod-0.1.jar --name drugbank --excludedNamespaces \
"http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugtype/" \
"http://www4.wiwiss.fu-berlin.de/drugbank/resource/references/" \
--skipChromatic \
--namespace "http://www4.wiwiss.fu-berlin.de/drugbank/" \
/data/graphlod/drugbank/drugbank.nt | tee drugbank.txt
java -Xmx80g -jar graphlod-0.1.jar --name dailymed --skipChromatic \
--namespace "http://www4.wiwiss.fu-berlin.de/dailymed/" \
/data/graphlod/dailymed/dailymed_dump.nt | tee dailymed_dump.txt
java -Xmx80g -jar graphlod-0.1.jar --name diseasome --skipChromatic --excludedNamespaces \
"http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseaseClass/" \
--namespace "http://www4.wiwiss.fu-berlin.de/diseasome/" \
/data/graphlod/diseasome/diseasome.nt | tee diseasome.txt
java -Xmx80g -jar graphlod-0.1.jar --name dbpedia_person --skipChromatic \
--namespace "http://dbpedia.org/" \
/data/graphlod/dbpedia/persondata_en.nt | tee dbpedia_persondata.txt
java -Xmx80g -jar graphlod-0.1.jar --name dbpedia_geo_coordinate --skipChromatic \
--namespace "http://dbpedia.org/" \
/data/graphlod/dbpedia/geo_coordinates_en.nt | tee geo_coordinate.txt
java -Xmx80g -jar graphlod-0.1.jar --name dbpedia_homepages --skipChromatic \
--namespace "http://dbpedia.org/" \
/data/graphlod/dbpedia/homepages_en.nt | tee dbpedia_homepages.txt
# fix mapping: sed 's/"\.$/" \./' mappingbased_properties_en.nt > mappingbased_properties_en_fixed.nt
java -Xmx100g -jar graphlod-0.1.jar --name dbpedia_mapping --skipChromatic \
--namespace "http://dbpedia.org/" \
mappingbased_properties_en_fixed.nt | tee dbpedia_mapping.txt
java -Xmx80g -jar graphlod-0.1.jar --name linkedgeodata --skipChromatic \
/data/graphlod/linkedgeodata/2013-04-29-{Ae*,C*,E*,Mili*,H*,P*,S*,T*} \
--namespace "http://linkedgeodata.org/" \
| tee linkedgeodata.txt
tar -zcvf result.tgz *.txt *.csv