forked from kcl-ddh/kiln
-
Notifications
You must be signed in to change notification settings - Fork 38
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:
- Go to http://127.0.0.1:9999/openrdf-workbench/ (or reach this page from Admin > Components > Sesame > Admin).
- Click on "New repository" in the left menu.
- Use the Type 'In Memory Store RDF Schema and Direct Type Hierarchy'.
- Set the ID to 'kiln'. Note that the id is case sensitive!
- Leave the other settings as default.
- 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:
- Go to http://127.0.0.1:9999/admin/ and click on 'Harvest all (RDF)'
- 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)
- Return to http://127.0.0.1:9999/admin/ and click on 'Index all'
- Wait until you see the message 'Solr index result for all files. Remove old data. This operation succeeded'
- 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).