Skip to content

Commit

Permalink
Changed to current version of Fuseki
Browse files Browse the repository at this point in the history
  • Loading branch information
OpsWorks user matulma4 committed Aug 3, 2018
1 parent 0e0abb7 commit d30b125
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions data/setup/dbpedia/dbpedia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@

username=$(whoami)
# Create directory for the data
mkdir /home/$username/docker/data/db
mkdir -p /home/$username/docker/data/db
cp setup-jena.sh /home/$username/docker/data/db
cp fix-nt.sh /home/$username/docker/data/db
cd /home/$username/docker/data/db

# Download files
wget http://downloads.dbpedia.org/2014/dbpedia_2014.owl.bz2
wget http://downloads.dbpedia.org/2014/en/labels_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/redirects_transitive_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/page_ids_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/instance_types_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/instance_types_heuristic_en.nt.bz2
wget http://downloads.dbpedia.org/2014/links/wordnet_links.nt.bz2
wget http://downloads.dbpedia.org/2014/links/yago_types.nt.bz2
wget http://downloads.dbpedia.org/2014/links/yago_taxonomy.nt.bz2
wget http://downloads.dbpedia.org/2014/en/mappingbased_properties_cleaned_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/specific_mappingbased_properties_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/infobox_properties_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/infobox_property_definitions_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/disambiguations_en.nt.bz2
wget http://downloads.dbpedia.org/2014/en/short_abstracts_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/dbpedia_2014.owl.bz2
wget -N http://downloads.dbpedia.org/2014/en/labels_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/redirects_transitive_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/page_ids_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/instance_types_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/instance_types_heuristic_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/links/wordnet_links.nt.bz2
wget -N http://downloads.dbpedia.org/2014/links/yago_types.nt.bz2
wget -N http://downloads.dbpedia.org/2014/links/yago_taxonomy.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/mappingbased_properties_cleaned_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/specific_mappingbased_properties_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/infobox_properties_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/infobox_property_definitions_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/disambiguations_en.nt.bz2
wget -N http://downloads.dbpedia.org/2014/en/short_abstracts_en.nt.bz2

# Extract
bunzip2 -k *.bz2
Expand All @@ -32,8 +32,8 @@ rm *.bz2
/bin/bash fix-nt.sh

# Download Apache Jena and Fuseki
wget http://apache.miloslavbrada.cz/jena/binaries/apache-jena-3.1.0.tar.gz
wget http://apache.miloslavbrada.cz/jena/binaries/apache-jena-fuseki-2.4.0.tar.gz
wget -N http://mirror.hosting90.cz/apache/jena/binaries/apache-jena-3.7.0.tar.gz
wget -N http://mirror.hosting90.cz/apache/jena/binaries/apache-jena-fuseki-3.7.0.tar.gz

# Setup Jena
/bin/bash setup-jena.sh
Expand Down

0 comments on commit d30b125

Please sign in to comment.