Exposing Information Resources for E-learning
- An introduction to the IMS Digital Repositories Working Group
- IMS metadata and the JISC Information Environment
- Case study 1: Integrating IMS into the RESULTs OAI repository
- Implementation Details
- Integrating IMS
- Case study 2: Integrating IMS into the RDN Z39.50 target
An introduction to the IMS Digital Repositories Working Group
IMS  is a global consortium that develops open specifications to support the delivery of e-learning through Learning Management Systems (LMS). (Note: in UK higher and further education we tend to use the term Virtual Learning Environment (VLE) in preference to LMS). IMS activities cover a broad range of areas including accessibility, competency definitions, content packaging, digital repositories, integration with 'enterprise' systems, learner information, metadata, question & test and simple sequencing. Of particular relevance to this article is the work of the IMS Digital Repositories Working Group (DRWG) .
The DRWG is working to define a set of interfaces to repositories (databases) of learning objects and/or information resources in order to support resource discovery from within an LMS. In particular, the specifications currently define mechanisms that support distributed searching of remote repositories, harvesting metadata from repositories, depositing content with repositories and delivery of content from the repository to remote systems. Future versions of the specifications will also consider alerting mechanisms, for discovering new resources that have been added to repositories.
Note that, at the time of writing, the DRWG specifications are in draft form.
Two broad classes of repository are considered:
- Native learning object repositories containing learning objects.
- Information repositories containing information resources (documents, images, videos, sounds, datasets, etc.).
In the former, it is assumed that, typically, the learning objects are described using the IMS metadata specification  and packaged using the IMS content packaging specification . The latter includes many existing sources of information including library OPACs, bibliographic databases and museum catalogues where metadata schemas other than IMS are in use. In both cases it is assumed that the repository may hold both assets and metadata or just metadata only. Both the example implementations described below fall into the second category of repository.
The DRWG specifications describe the use of XQuery  over SOAP  to query 'native' repositories of learning objects. This usage is not discussed any further in this article. The specifications also describe how to search and harvest IMS metadata from 'information' repositories using the OAI Protocol for Metadata Harvesting (OAI-PMH)  and Z39.50 .
The primary intention of the specifications is two-fold. Firstly, they support the integration of a LMS with one or more back-end learning object repositories. Secondly, they support relatively seamless discovery of resources in one or more information repositories by the end-user from within an LMS.
So, why is this important? Well, as information providers we are used to disclosing information about the resources we make available, either through our Web sites or in more structured ways using, for example, Z39.50. However, in the main, such disclosure tends to happen in the context of other information systems. Increasingly, information resources will need to be exposed for use in the context of online learning systems, and it is reasonable to expect that the primary specifications used to deliver those systems will be those being developed by IMS.
IMS metadata and the JISC Information Environment
The JISC Information Environment (JISC IE) technical architecture  specifies a set of standards and protocols that support the development and delivery of an integrated set of networked services that allow the end-user to discover, access, use and publish digital and physical resources as part of their learning and research activities. In the context of the JISC IE, both learning object repositories and information repositories are known as 'content providers', while a VLE (or LMS, to use IMS terminology) is known as a 'presentation service', because it is primarily involved in interacting with the end-user.
It is interesting to note that two of the key technologies endorsed by the JISC IE are Z39.50 (to support distributed searching) and the OAI-PMH for metadata harvesting - two of the same technologies as specified by the DRWG. What is different between the two approaches is that the JISC IE uses these protocols to exchange simple Dublin Core (DC)  metadata records, while the DRWG use these protocols to exchange IMS metadata records.
As we show below, content providers that already support Z39.50 or OAI-PMH to expose simple DC metadata records probably don't have to do too much work to make IMS metadata records available.
Case study 1: Integrating IMS into the RESULTs OAI repository
The RESULTs Learning Technology Portal  is a project funded by JISC and is intended to be a dynamic Web portal for learning technologists in the sense that it will provide multiple views to multiple types of resources for multiple types of users and aspects of practice. The portal accommodates resource browsing, search, collating, resource categorisation, submission and editing, interactive activities and discussion networks.
RESULTs is a metadata repository and does not host actual resources. Typically resources reside on other servers and the URLs for those resources are stored in RESULTs as part of enriched metadata records.
Careful attention has been paid to interoperability standards throughout the development of RESULTs and support for both Dublin Core and IMS metadata formats has been integrated into the underlying relational database structure.
The Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH) is a transport protocol that oversees the transfer of any metadata from one computer, acting as the data provider (or repository), to another computer, acting as the service provider (or harvester). A harvester can make requests for information about the repository or for an individual record or groups of records that may be restricted by date or by other predefined groupings.
The requests that are of interest here are requests for records, and in particular the type of metadata that is returned. The default metadata schema for records in OAI-PMH is simple Dublin Core (oai_dc). All repositories must support the oai_dc record format, however there are no restrictions on the other types of metadata that can be used. It is equally valid to use the International Metadata Standard (IMS), or indeed any metadata standard provided that they can be encoded using XML.
OAI-PMH uses HTTP to encode requests and XML to encode responses. A typical request for a single record with the identifier 568 from the RESULTs OAI Repository in DC format looks like this:
Breaking this into its constituent parts; there is a repository gateway that handles all OAI requests:
An instruction, or verb, that tells the repository what to do:
An identifier so that the Repository knows which record is being requested:
And finally the metadata specification, in this case asking for 'simple' DC metadata:
The response is coded in XML, which is simplified into a schematic view below:
<request verb="GetRecord" identifier="oai:uk.ac.results:568"
|OAI Dublin Core Metadata Record|
Two aspects of this response are of interest here. One is the 'metadataPrefix' attribute of the request element, which simply says that the encoding of the returned metadata is 'oai_dc' (technically, this means that the returned metadata must conform to an XML schema for simple DC, as defined by OAI). The second is the actual metadata itself, in this case an 'oai_dc' metadata record, the details of which are not shown for simplicity.
A similar request for the same record but in IMS metadata format would look like this:
The only difference is the 'metadataPrefix' attribute. As can be seen below, the only thing that has changed is the prefix and the actual metadata itself. The same principle can be applied to any metadata schema, i.e. OAI can transport any metadata, provided it can be encoded using XML and the encoding can be described using XML schema.
<request verb="GetRecord" identifier="oai:uk.ac.results:568"
|IMS Metadata Record|
The OAI Web site has a selection of tools implemented by members of the OAI Community . The RESULTs server is running MySQL and PHP as the database and main programming environment and there is a PHP OAI Repository tool kit  available for download from the OAI site. Integrating the code was simply a case of copying the files onto the server and editing the configuration script to reflect the RESULTs specific information.
The code provided will only support flat database tables where all the information about a record is stored in one table and as RESULTs has a relational database table structure some additions had to be made to the code to resolve reference numbers into actual values.
The code provided only supported 'oai_dc' metadata, but the author did have the foresight to provide a mechanism by which other metadata formats could be easily integrated. Only two things were required:
- Update the configuration file to support the IMS record format.
- Write a script that takes a database record, resolves any foreign keys into actual values and wraps the data in IMS compliant format.
By writing an IMS metadata template and then adding IMS as a metadata type in the configuration file, along with information on how to find the IMS template, the Repository now handles requests for IMS data equally well.
A demonstration of this functionality is available on the RESULTs site and the following URLs will demonstrate the services provided:
http://www.results.ac.uk/phpoai/oai2.php?verb=Identify http://www.results.ac.uk/phpoai/oai2.php?verb=GetRecord&identifier=oai:uk.ac.results:568&metadataPrefix=oai_dc http://www.results.ac.uk/phpoai/oai2.php?verb=ListRecords&metadataPrefix=oai_dc http://www.results.ac.uk/phpoai/oai2.php?verb=ListRecords&from=2002-07-06&metadataPrefix=oai_dc http://www.results.ac.uk/phpoai/oai2.php?verb=ListRecords&from=2002-07-06&until=2002-10-11&metadataPrefix=oai_dc
All the above examples will work equally well for IMS records by simply changing the MetadataPrefix to 'ims' like so:
Note: No support is given in the RESULTs repository for OAI-PMH sets as it is still unclear as to what actually constitutes a set in RESULTs.
Case study 2: Integrating IMS into the RDN Z39.50 target
The Resource Discovery Network (RDN)  is a national service funded by JISC to provide access to high quality Internet resources for the UK higher and further education communities. The RDN is a cooperative network of subject ‘hubs’, including ALTIS (hospitality, leisure, sport and tourism), BIOME (health, medicine and life sciences), EEVL (engineering, mathematics and computing), HUMBUL (humanities), PSIgate (physical sciences) and SOSIG (social science, business and law). Each hub provides access to one or more Internet resource catalogues, containing descriptions of high quality Internet sites, selected and described by specialists from within UK academia and affiliated organisations. Value-added services such as interactive Web tutorials and alerting services are also provided to enable users to make more of their time on the Internet.
The resource descriptions available in each of the hub catalogues are gathered into a central database of all RDN records, known as the RDN ResourceFinder. The OAI-PMH is used to gather the records together. Currently, the default simple DC record format is used to share records, though there are plans to exchange richer metadata records based on qualified DC.
Various interfaces to ResourceFinder are made available  including a Z39.50 target that complies with functional area C of the Bath Profile. The database technology used to deliver ResourceFinder is Cheshire , an open source XML-based information retrieval tool. A Cheshire configuration file defines the search attributes that ResourceFinder supports, and record conversion 'output filters' written in Perl convert the internal XML record syntax stored in the Cheshire database to Bath Profile compliant XML and SUTRS (unstructured text) record syntaxes for delivery as search results. (In Z39.50 terminology, 'XML' and 'SUTRS' are known as Record Formats).
In order to modify the ResourceFinder Z39.50 target to support the draft DRWG specification, we needed to do three things:
- Decide on an Element Set Name for our new IMS metadata XML record syntax. In this case we chose 'IMS' as the name.
- Write a new Perl output filter to convert the internal XML record syntax stored in Cheshire to an IMS-compliant XML record syntax.
- Modify the Cheshire configuration file to associate the new output filter with the 'IMS' Element Set Name.
The results of this work can be seen in the live ResourceFinder Z39.50 target (z3950.rdn.ac.uk, port 210). It is worth noting that the work done so far is not fully compliant with the DRWG specifications, partly because they are still undergoing development. For example, the DRWH specifications define a large number of IMS-specific search attributes (the attributes upon which searches can be based). The ResourceFinder target does not currently support any of these - it only supports the DC search attributes required for Functional Area C of the Bath Profile. Furthermore, the 'IMS' Element Set Name that we use is not part of the current IMS specifications.
To demonstrate the results of this work, here is an annotated transcript of a Z39.50 session using the UNIX linemode Z39.50 client, yaz-client , to search the ResourceFinder database:
||Run yaz-client and connect to the ResourceFinder target...|
||...set the database name to 'xxdefault'...|
||...search for 'MRSA' (the hospital suberbug which is passed through poor hygiene)...|
||...set the record format to 'SUTRS', the element set to 'F' (full) and return the first result...|
||...set the record formt to XML, the element set name to 'F' (full) and re-display the first result...|
||...set the record format to 'XML', the element set name to 'IMS' and display the first result a third time...|
Note: support for the use of Z39.50 to expose IMS metadata records by the RDN ResourceFinder should be seen as purely experimental at the time of writing.
The purpose of this article has been to raise awareness of the work of IMS in the area of providing access to learning object and information repositories and to show that implementing these specifications for existing systems may not be an overly difficult task. However, while we are confident that the use of OAI-PMH described here will form a sensible basis for interoperability between different systems, the draft nature of the DRWG specifications probably means that it is a little early to be spending significant effort on supporting IMS metadata in Z39.50 just yet.
- IMS Digital Repositories Working Group
- IMS Learning Resource Meta-data Specification
- IMS Content Packaging Specification
- XML Query
- Simple Object Access Protocol (SOAP)
- OAI Protocol for Metadata Harvesting
- JISC Information Environment Technical Architecture
- Dublin Core Metadata Initiative
- OAI-PMH Tools
- PHP OAI Data Provider, University of Oldenburg
- Resource Discovery Network (RDN)
- Working with the RDN
UKOLN, University of Bath