Hi Patrick,

I finally was able to tell the oaiprovider to deliver the metadata.  
The clue is to add an appropriate RELS-EXT datastream to every object.  
It must contain an
<itemID> predicate.

It helped a lot to read the RDF Primer from W3C to be found here:  
http://www.w3.org/TR/rdf-primer/

--Jörg Knappen

itat von "Yott, Patrick" <[email protected]>:

> Has anybody else experienced this problem and would be willing to share
> the solution?  We are having the same problem at Northeastern and hope
> somebody has some sage advice as to solving this problem.
> Best,
>
> P
>
> Patrick M. Yott
> Director, Library Technology Services
> Northeastern University Libraries
> 360 Huntington Ave, SL 322
> Boston, MA 02115
> 617.373.4194
> [email protected]
>
>
>
>
>
>
> On 3/5/12 6:42 AM, "Jörg Knappen" <[email protected]> wrote:
>
>> I want to deliver metadata in another format than Dublin Core via OAI-PMH.
>>
>> For this purpose I installed the oaiprovider from the
>> fedora-commons.org download page. However, it does not deliver any
>> metadata yet, a typical request like
>>
>> lynx
>> "http://localhost:8080/oaiprovider/?verb=ListRecords&metadataPrefix=oai_dc
>> "
>>
>> get the answer
>>
>> 2012-03-05T11:29:13Z http://localhost:8080/oaiprovider/ no records
>>    match your selection criteria
>>
>> What's going wrong here?
>>
>> I have already gone through configuration and
>> lynx "http://localhost:8080/oaiprovider/?verb=Identify
>> works well. From the access logs I can see, that the oaiprovider
>> regularly polls the identify service:
>>
>> 127.0.0.1 - - [05/Mar/2012:12:28:53 +0100] "GET
>> /fedora/oai?verb=Identify HTTP/1.1" 200 1884
>>
>> I have set the logfile level to debug and get the messages appended below
>> in catalina.out.
>>
>> --Jörg Knappen
>>
>> DEBUG log messages:
>> INFO 2012-03-05 12:40:54.785 [Thread-5] (FedoraOAIDriver) Current date
>> reported by Fedora is 2012-03-05T11:40:54.785Z
>> DEBUG 2012-03-05 12:40:54.789 [Thread-5] (FedoraOAIDriver) getTuples()
>> called with query:
>> select $set $setSpec $setName 'info:fedora/*/SetInfo.xml'
>>   subquery(    select $diss
>>           from <#ri>
>> where $set <http://www.openarchives.org/OAI/2.0/setSpec> $setSpec
>> and $set <http://www.openarchives.org/OAI/2.0/setName> $setName
>> and $set <info:fedora/fedora-system:def/view#disseminates> $diss
>> and $diss <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/SetInfo.xml>
>> )
>> from <#ri>where $set <http://www.openarchives.org/OAI/2.0/setSpec>
>> $setSpec
>> and $set <http://www.openarchives.org/OAI/2.0/setName> $setName
>>
>> DEBUG 2012-03-05 12:40:54.795 [Thread-5] (FedoraOAIDriver)
>> getCSVResults() called with query:
>> select $item $itemID $date $state
>> from   <#ri>
>> where  $item           <http://www.openarchives.org/OAI/2.0/itemID>
>> $itemID
>> and    $item     <info:fedora/fedora-system:def/model#state> $state
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss
>> and $diss <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/DC>
>> and    $item     <info:fedora/fedora-system:def/view#lastModifiedDate>
>> $date
>> and    $date           <http://mulgara.org/mulgara#after>
>> '2012-03-05T11:38:54.547Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $date           <http://mulgara.org/mulgara#before>
>> '2012-03-05T11:40:54.786Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> order  by $itemID asc
>> DEBUG 2012-03-05 12:40:54.801 [Thread-5] (FedoraOAIDriver) Saving
>> query results to disk...
>> DEBUG 2012-03-05 12:40:54.801 [Thread-5] (FedoraOAIDriver) Done saving
>> query results
>> DEBUG 2012-03-05 12:40:54.801 [Thread-5] (FedoraOAIDriver)
>> getCSVResults() called with query:
>> select $itemID $setSpec
>> from   <#ri>
>> where  $item           <http://www.openarchives.org/OAI/2.0/itemID>
>> $itemID
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss
>> and $diss <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/DC>
>> and    $item     <info:fedora/fedora-system:def/view#lastModifiedDate>
>> $date
>> and    $date           <http://mulgara.org/mulgara#after>
>> '2012-03-05T11:38:54.547Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $date           <http://mulgara.org/mulgara#before>
>> '2012-03-05T11:40:54.786Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $item
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> $set and
>> $set <http://www.openarchives.org/OAI/2.0/setSpec> $setSpec
>> order  by $itemID asc
>> DEBUG 2012-03-05 12:40:54.806 [Thread-5] (FedoraOAIDriver) Saving
>> query results to disk...
>> DEBUG 2012-03-05 12:40:54.806 [Thread-5] (FedoraOAIDriver) Done saving
>> query results
>> DEBUG 2012-03-05 12:40:54.806 [Thread-5] (FedoraOAIDriver)
>> getCSVResults() called with query:
>> select $itemID
>> from   <#ri>
>> where  $item           <http://www.openarchives.org/OAI/2.0/itemID>
>> $itemID
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss_md
>> and $diss_md <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/DC>
>> and    $item     <info:fedora/fedora-system:def/view#lastModifiedDate>
>> $date
>> and    $date           <http://mulgara.org/mulgara#after>
>> '2012-03-05T11:38:54.547Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $date           <http://mulgara.org/mulgara#before>
>> '2012-03-05T11:40:54.786Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss_about
>> and $diss_about <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/about_oai_dc>
>> order  by $itemID asc
>> DEBUG 2012-03-05 12:40:54.812 [Thread-5] (FedoraOAIDriver) Saving
>> query results to disk...
>> DEBUG 2012-03-05 12:40:54.812 [Thread-5] (FedoraOAIDriver) Done saving
>> query results
>> DEBUG 2012-03-05 12:40:54.812 [Thread-5] (FedoraOAIDriver)
>> getCSVResults() called with query:
>> select $item $itemID $date $state
>> from   <#ri>
>> where  $item           <http://www.openarchives.org/OAI/2.0/itemID>
>> $itemID
>> and    $item     <info:fedora/fedora-system:def/model#state> $state
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss
>> and $diss <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/CMDI>
>> and    $item     <info:fedora/fedora-system:def/view#lastModifiedDate>
>> $date
>> and    $date           <http://mulgara.org/mulgara#after>
>> '2012-03-05T11:38:54.547Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $date           <http://mulgara.org/mulgara#before>
>> '2012-03-05T11:40:54.786Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> order  by $itemID asc
>> DEBUG 2012-03-05 12:40:54.817 [Thread-5] (FedoraOAIDriver) Saving
>> query results to disk...
>> DEBUG 2012-03-05 12:40:54.817 [Thread-5] (FedoraOAIDriver) Done saving
>> query results
>> DEBUG 2012-03-05 12:40:54.817 [Thread-5] (FedoraOAIDriver)
>> getCSVResults() called with query:
>> select $itemID $setSpec
>> from   <#ri>
>> where  $item           <http://www.openarchives.org/OAI/2.0/itemID>
>> $itemID
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss
>> and $diss <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/CMDI>
>> and    $item     <info:fedora/fedora-system:def/view#lastModifiedDate>
>> $date
>> and    $date           <http://mulgara.org/mulgara#after>
>> '2012-03-05T11:38:54.547Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $date           <http://mulgara.org/mulgara#before>
>> '2012-03-05T11:40:54.786Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $item
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> $set and
>> $set <http://www.openarchives.org/OAI/2.0/setSpec> $setSpec
>> order  by $itemID asc
>> DEBUG 2012-03-05 12:40:54.822 [Thread-5] (FedoraOAIDriver) Saving
>> query results to disk...
>> DEBUG 2012-03-05 12:40:54.822 [Thread-5] (FedoraOAIDriver) Done saving
>> query results
>> DEBUG 2012-03-05 12:40:54.823 [Thread-5] (FedoraOAIDriver)
>> getCSVResults() called with query:
>> select $itemID
>> from   <#ri>
>> where  $item           <http://www.openarchives.org/OAI/2.0/itemID>
>> $itemID
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss_md
>> and $diss_md <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/CMDI>
>> and    $item     <info:fedora/fedora-system:def/view#lastModifiedDate>
>> $date
>> and    $date           <http://mulgara.org/mulgara#after>
>> '2012-03-05T11:38:54.547Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and    $date           <http://mulgara.org/mulgara#before>
>> '2012-03-05T11:40:54.786Z'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
>> <#xsd>
>> and $item <info:fedora/fedora-system:def/view#disseminates> $diss_about
>> and $diss_about <info:fedora/fedora-system:def/view#disseminationType>
>> <info:fedora/*/about_cmdi>
>> order  by $itemID asc
>> DEBUG 2012-03-05 12:40:54.828 [Thread-5] (FedoraOAIDriver) Saving
>> query results to disk...
>> DEBUG 2012-03-05 12:40:54.828 [Thread-5] (FedoraOAIDriver) Done saving
>> query results
>>
>>
>>
>>
>>
>> --------------------------------------------------------------------------
>> ----
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Fedora-commons-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to