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).
- navigate to $FUSEKI_HOME (/usr/local/service/fuseki-tdb/)
- cd to fma_update
- 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:
- stops the Fuseki server (this is the SPARQL endpoint server)
- delete the current FMA database
- delete the current Lucene index over the FMA database
- load a new FMA triple store from the ontologies in the 'fma' subdirectory (looks specifically for 'fma.owl' and 'pun_fma.owl')
- build a new Lucene index
- restart the Fuseki server
The results of running this script are logged in the 'update_logs' subdirectory.