Setup Freebase
Entity Linking
Please refer to the Entity Linking section of the repository WDPS-Team/Large-Scale-Entity-Linking.
SPARQL Endpoint
Here we show how to use virtuoso to setup a Freebase endpoint locally. Please refer to dki-lab/Freebase-Setup for further details.
Download the setup script
mkdir -p resources/freebase git clone https://github.com/dki-lab/Freebase-Setup.git && cd Freebase-Setup
Download virtuoso binary
wget https://kumisystems.dl.sourceforge.net/project/virtuoso/virtuoso/7.2.5/virtuoso-opensource.x86_64-generic_glibc25-linux-gnu.tar.gz tar -zxvf virtuoso-opensource.x86_64-generic_glibc25-linux-gnu.tar.gz && rm virtuoso-opensource.x86_64-generic_glibc25-linux-gnu.tar.gz
Replace the virtuoso binary path in virtuoso.py to the one that you just downloaded in
virtuoso.pysed -i 's/\/home\/dki_lab\/tools\/virtuoso\/virtuoso-opensource/\.\/virtuoso-opensource/g' virtuoso.py
Download Freebase dump
wget https://www.dropbox.com/s/q38g0fwx1a3lz8q/virtuoso_db.zip unzip virtuoso_db.zip && rm virtuoso_db.zip
Start virtuoso server on port
3001, using the Freebase dumppython [virtuoso.py](http://virtuoso.py/) start 3001 -d virtuoso_db