You can access a minimal setup from the following link and run the following command.
bash start.sh
Alternatively, you can re-create the files by following the instructions below.
Server files including triples can be created by following the instructions below. We use blazegraph to host the server, however any other triple store should work too.
Get wikidata_proc_json_2 from CSQA Dataset
python json_to_triples.py
bash load_ttl.sh
This will produce wikidata.jnl
- copy properties filem wikidata.jnl and wd_prefix.ttl into server_files
- Get the blazegraph.jar via Blazegraph
export PATH=$PATH:$JAVA_HOME
cd path_to/server_files
/usr/java/java-11.0.5/bin/java -server -Xmx150g -XX:+UseG1GC -Dcom.bigdata.rdf.sail.sparql.PrefixDeclProcessor.additionalDeclsFile=wd_prefix.ttl -jar blazegraph.jar