Skip to content

Creating an RDF repository

Irene Vagionakis edited this page Feb 19, 2023 · 5 revisions

When there are authority lists in your project (stored in /webapps/ROOT/content/xml/authority) you can harvest RDF from them and that will give you the values in your facets and indices pages in EFES.

In order to make use of Kiln’s RDF capabilities, some setup is required. You need to create a repository in the Sesame server following these steps:

  1. Go to http://127.0.0.1:9999/openrdf-workbench/ (or reach this page from Admin > Components > Sesame > Admin).
  2. Click on "New repository" in the left menu.
  3. Use the Type 'In Memory Store RDF Schema and Direct Type Hierarchy'.
  4. Set the ID to 'kiln'. Note that the id is case sensitive!
  5. Leave the other settings as default.
  6. Click on 'Next' and then on 'Create'.

To populate your indices, you will need to harvest and index all your files from the EFES Admin page:

  1. Go to http://127.0.0.1:9999/admin/ and click on 'Harvest all (RDF)'
  2. Wait until you see the message 'RDF harvest results for all documents' followed by the list of your files with 'Succeeded' next to them (if some of the files have 'Failed' instead of 'Succeeded' it should not be a problem at this stage)
  3. Return to http://127.0.0.1:9999/admin/ and click on 'Index all'
  4. Wait until you see the message 'Solr index result for all files. Remove old data. This operation succeeded'
  5. Now you can go back to the Homepage and, clicking on Inscriptions, you will see the list of your files. Clicking on any of those files, you will see the document text and metadata displayed according to the current default transformation from XML to HTML (which may be not optimal for some element, which may also be not displayed at all: do not worry, you can edit this later, e.g. creating your own template).