ARQ

Download ARQ

Download ARQ 2.8.8. (we are using version 2.8.8 because the latest version has some stability issues) Unzip the arq–2.8.8.zip file wherever you would like it to live.

Configure ARQ

You need to set a couple of environment variables to be able to use the scripts that come with the ARQ distribution. Specifically:

ARQROOT
the full path to the unzipped arq–2.8.8.zip file. PATH
$ARQROOT/bin must be added to your path if you want to be able to access the ARQ scripts without specifying their full path every time.

Here is a snippet that can be added to your ~/.bashrc file on Linux and OS X to set the required environment variables.

ARQROOT=$HOME/Code/lib/ARQ-2.8.8
export ARQROOT
PATH=$PATH:$ARQROOT/bin

Use ARQ…

…to query local data

sparql --data DATA_FILE --query QUERY_FILE

…to query remote data

rsparql --service=SPARQL_ENDPOINT_URL --query QUERY_FILE

rsparql --service=http://beta.sparql.uniprot.org/ --query uniprot.sparql