-
Notifications
You must be signed in to change notification settings - Fork 2
/
import-weather-dataset.sh
executable file
·53 lines (42 loc) · 1.19 KB
/
import-weather-dataset.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
#!/bin/bash
#
# WARNING - Run the commands below from directory 'virtuoso'
# Environment variables
#. ../env.sh
# Directory where the ttl files are stored
graph="http://ns.inria.fr/meteo/ontology"
/database/virtuoso-import.sh \
--cleargraph \
--graph $graph \
--path /ontology \
weatherdataset-model.ttl
graph="http://ns.inria.fr/meteo/vocab"
/database/virtuoso-import.sh \
--cleargraph \
--graph $graph \
--path /ontology \
features-properties-vocabulaire.ttl WMO-thesaurus.ttl
graph="http://ns.inria.fr/meteo/weatherstation"
/database/virtuoso-import.sh \
--cleargraph \
--graph $graph \
--path /dataset \
meteofrance-station.ttl dump-wikidata3.ttl
graph="http://ns.inria.fr/meteo/observation/2021"
/database/virtuoso-import.sh \
--cleargraph \
--graph $graph \
--path /dataset \
weather2021.ttl obsDec-2021.ttl
graph="http://ns.inria.fr/meteo/observation/2020"
/database/virtuoso-import.sh \
--cleargraph \
--graph $graph \
--path /dataset \
weather2020.ttl
graph="http://ns.inria.fr/meteo/observation/2019"
/database/virtuoso-import.sh \
--cleargraph \
--graph $graph \
--path /dataset \
weather2019.ttl