[ptsefton.com] | [CV & Bio]

Open Repositories 2016: Demo: A repository before breakfast

2016-06-15

I have just returned from the Open Repositories 2016 conference in Dublin where I did a demo in the Developer Track, curated by my colleagues Claire Knowles and Adam Field. The demo went OK, despite being interrupted by a fire alarm.

Here's my abstract:

Presented by Peter Sefton, University of Technology, Sydney peter.sefton@uts.edu.au

In this session I'd like to show off the technical side of the open source platform, Ozmeka (based on Omeka) which was presented at OR2015.

In the demo I will:

To which I added:

Demo loading the same data into a Fedora 4 repository.

The spreadsheet format I demoed is still a work in progress, which I will document on github project; I think it shows promise as a way of creating simple websites from data, including multiple types of object, and nested collections. I took the first fleet maps data, munged it a little to create a linked-data set for this demo. As downloaded, the data is a list of map images. I added a couple of extra rows:

And extra columns for relationships:

A sample Omeka page

What is this?

I presented a paper last year co-authored with Sharyn Wise about an Omeka-based project we did at UTS, building a cross-disciplinary research repository, Dharmae. This time I just wanted to do a quick demo for the developer track showing out how easy it is to get started with a dev version of Omeka, and also show some early work on an Python API for Fedora 4.

Audience

This is for developers who can run Python and understand virtual environments. NOTE: These instructions have not been independently tested; you will probably need to do some problem solving to get this to run, including, but not limited to running both python 3 and python 2.

Get the dependencies up and running

  1. Get & run Omeka via this vagrant script, put together by Thom McIntyre.
  1. Get the One-click-run Fedora Application from the Fedora downloads page.

Import some data into Ozmeka

Assuming Omeka is running, as per the instructions above.

NOTE: This is a Python 2 script.

  1. Check out the Ozmeka Python Utils.

  2. Follow the instructions on how to upload some sample data to Omeka from a CSV file.

Remember your API key, and to install the Item Relations plugin.

Import the same data into Fedora 4

NOTE: this is a Python 3 Script.

Also, note that Fedora 4 doesn't come with a web interface - you'll just be putting data into it in a raw form like this:

Data in Fedora 4

  1. Start Fedora by running the Jar file (try double-clicking it).
  2. Select port 8081
  3. Click Start
  4. Install our experimental Fedora api client for Python 3.
  5. Follow the instructions to import csv data into Fedora.

Thanks to Mike Lynch for the Fedora API code.