FMA Triple Store Rebuilding

Submitter: detwiler

[NOTE: While the approach listed here is still possible, this is not how the triple stores are presently built. See the script in /opt/fma/update to view the current approach]

While this is, at present, still a bit fluid, I wanted to document the current approach to rebuilding the FMA triple store (behind the SPARQL endpoint).

  1. navigate to $FUSEKI_HOME (/usr/local/service/fuseki-tdb/)
  2. cd to fma_update
  3. execute the script fma_fuseki_update as root (simply enter './fma_fuseki_update.sh' while logged in as root)

The update script presently does the following things:

  1. stops the Fuseki server (this is the SPARQL endpoint server)
  2. delete the current FMA database
  3. delete the current Lucene index over the FMA database
  4. load a new FMA triple store from the ontologies in the 'fma' subdirectory (looks specifically for 'fma.owl' and 'pun_fma.owl')
  5. build a new Lucene index
  6. restart the Fuseki server

The results of running this script are logged in the 'update_logs' subdirectory.