Page tree
Skip to end of metadata
Go to start of metadata


A publicly-accessible SPARQL endpoint needs to be installed.  It takes the form of an additional repository which contains everything in the main repository which is public (i.e. not email-addresses, phone-numbers, etc.; not un-published resources).  It is affectionately known as the "sparqler" associated with this main repository.  It is synchronized with its main repository on a regular basis - typically every night.


The installation of a sparqler follows very much the same procedure as for the main repository, with one or two changes because it doesn't live at the same location.  The quick-start installation procedure is as follows - additional details are the same as for the main repository.

These instructions assume that a repository has already been installed and that ${REPO_HOME} has been defined as an environment variable.

  1. In the existing eagle-i home directory, create a directory named sparqlerFor example, if your eagle-i home directory is /opt/eaglei, you should be creating /opt/eaglei/sparqler.

    create sparqler home directory
    hms-mbp:eaglei user$ mkdir /sparqler
  2. Create an environment variable for the sparqler home directory, ${SPARQLER_HOME}. For example:

    define environment variable for sparqler home directory
  3. Copy the file ${REPO_HOME}/webapps/sparqler.war to Tomcat's webapps directory. 

    copy sparqler.war
    hms-mbp:eaglei user$ cp ${REPO_HOME}/webapps/sparqler.war /opt/tomcat7/webapps
  4. Add an additional system property to
  5. Run the script ${REPO_HOME}/etc/ with an additional argument: "sparqler-users.derby" (note that the username and password for the user you create here - who administers the sparqler - these should be different from the main repository's admin-user credentials):

    hms-mbp:eaglei user$ bash ${REPO_HOME}/etc/ SPARQLER_USERNAME SPARQLER_PASSWORD ${REPO_HOME} sparqler-users.derby
  6. Copy the repository configuration file to ${SPARQLER_HOME}.

    copy configuration file
    hms-mbp:eaglei user$ cp ${REPO_HOME}/ ${SPARQLER_HOME}/
  7. Edit the newly created SPARQLER configuration file by changing the following two properties:

  8. Add two properties to your file to define the source and target repositories: 

  9. Add credentials to the file for access to the source and target repositories: 

    # The credentials for the source repository
    # The credentials used by the above
  10. Start up tomcat
  11. Run the script ${REPO_HOME}/etc/, using the same sparqler-admin username and password that you set up in step 5, above, when you ran the "": 

    hms-mbp:eaglei user$ bash ${REPO_HOME}/etc/ SPARQLER_USERNAME SPARQLER_PASSWORD https://localhost:8443/sparqler
  • No labels