[OAI-implementers] rdf

Eric Lease Morgan eric_morgan@ncsu.edu
Mon, 30 Apr 2001 07:16:07 -0400

In a mad flash of creativity (I get these every once in a while), I have
implemented about 80% of the OAI against the Mark Twain records of my Alex
Catalogue of Electronic Texts, and I am wondering whether or not (or how) I
can use RDF in the content of my metadata GetRecords response element. See:


My OAI implementation is still bare-bones. I don't necessarily return the
correct error codes, etc., and I have yet to fully implement some of the
verbs such as ListRecords and ListSets.

As per the protocol, I have implemented a Dublin Core metadata scheme, but
like everybody else, Dublin Core is not quite rich enough for me. Each item
in the Catalogue is associated with a few functions such as a concordance,
make ebook, make PDF document, and freeWAIS index. For you RDF fans, you can
see what I mean by looking at a sample RDF description of a record:


Is there some mechanism whereby I can insert RDF into the metadata element
of a GetRecord request so I can crawl my site with an as-of-yet-created OAI
harvester, save the RDF with something like rdfdb, RDFStore, or Redland, and
then finally serve out my content again? A possible GetRecord response could
look like this:

<?xml version="1.0"?>
<GetRecord xmlns="http://www.openarchives.org/OAI/1.0/OAI_GetRecord"
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    <rdf:Description rdf:about="http://www....erature/am...44.txt">
     <dc:creator>Twain, Mark</dc:creator>
     <dc:title>$30,000 Bequest And Other Stories, The</dc:title>
     <dc:source rdf:resource="gopher://.../Classic/bequest.mt" />
     <dc:publisher>Project Gutenburg</dc:publisher>
     <dc:rights>This document in the the Public Domain.</dc:rights>
     <alex:hasIndex rdf:resource="http://ww...sDatabase=twain-30-44" />
     <alex:hasConcordance rdf:resource="ht..nce&amp;bookcode=twain-30-44" />
     <alex:makeEbook rdf:resource="http://www.info...andle=twain-30-44" />
     <alex:makePDF rdf:resource="h...cgi-bin/pdf.pl?handle=twain-30-44" />
     <dc:relation rdf:resource="http://www.infomotions.com/alex/" />

Inquisitive minds would like to know.

Eric Lease Morgan
Digital Library Initiatives, NCSU Libraries