Big Data Visualisation
- Set Up AWS EC2 Instance
- Go to https://aharth.signin.aws.amazon.com/console
- Create m4.xlarge instance in "US East (N. Virginia)", with Amazon Linux Image
- Add storage snap-882a8ae3 (DBpedia 3.5.1)
- Create key and download *.pem file, needed for ssh/putty
- Log In and Mount Volume
- Set correct permissions for pem file in .ssh directory (chmod 400)
- Log in to machine with the *.pem file (with ssh/putty), username ec2-user, e.g. $ ssh 54.84.56.174 -i ~/.ssh/amazon-aws.pem -l ec2-user (config pem files for putty)
- $ sudo mount /dev/sdb /mnt
- Run SPARQL Query
- $ wget -i http://harth.org/andreas/2016/bigdata/uris.txt
- $ tar -xzvf linked-data-fu-standalone-0.9.9-bin.tar.gz
- $ linked-data-fu-0.9.9/bin/ldfu.sh -i /mnt/en/geo_coordinates_en.nt.bz2 -q geo.rq geo.tsv
- Create Visualisation
- $ cat geo.tsv | sh tsv2json.sh > geo.json
- $ cat map-head.html geo.json map-tail.html > map.html
- Download map.html to your local machine; do on your computer: $ scp -i ~/.ssh/amazon-aws.pem ec2-user@54.84.56.174:map.html .
- View in SVG-capable browser