LANL Research Library
 

XMLtape XQuery Resolver - Overview

What is the aDORe XMLtape XQuery Resolver?

This OpenURL Resolver provides an interface that allows collection administrators to issue ad hoc queries against individual Surrogate Repositories. Provides a configuration-based solution for complex ad-hoc queries. Built upon the Nux API, an open-source Java toolkit that provides a scalable solution for non-indexed based search of large XML repositories.

How does the aDORe XMLtape XQuery Resolver work?

  • Generic XQuery Engine for XMLtapes
  • Extensible Plug-in Framework for new query and return format types
  • Installed with 3 core service types:
    • info:lanl-repo/svc/formats.list
      • retrieve a list of all the format types referenced within rft_id
      • Psuedo XQuery: //didl:DIADM/dc:format/text()
    • info:lanl-repo/svc/semantics.list
      • retrieve a list of all the semantic types referenced within rft_id
      • Psuedo XQuery: //didl:DIADM/dc:type/text()
    • info:lanl-repo/svc/subjects.list
      • retrieve a list of all the subjects referenced within rft_id
      • Psuedo XQuery: //didl:Resource/marc:record/marc:datafield[@tag='650']/ record/marc :subfield[@code=\"a\"]/text()

Figure 1

Usage

Request a list of mimetype identifiers contained in an XMLtape:

http://localhost:8080/adore-xmltape-xquery/demoTape/openurl-aDORe7?
      * url_ver=Z39.88-2004&
      * rft_id=info%3Alanl-repo%2Fxmltape%2FdemoTape&
      * svc_id=info:lanl-repo/svc/mimetypes.list

Request a SRU Response of mimetype identifiers contained in an XMLtape:

http://localhost:8080/adore-xmltape-xquery/demoTape/openurl-aDORe7?
      * url_ver=Z39.88-2004&
      * rft_id=info%3Alanl-repo%2Fxmltape%2FdemoTape&
      * svc_id=info:lanl-repo/svc/mimetypes.sru

Request a list of Marc Record subject values contained in an XMLtape:

http://host:port/adore-xmltape-xquery/ISI_ipda4554ab_7370e8b4-2eaf-11db-a688-b0a8c271beda/openurl-aDORe7?
      * url_ver=Z39.88-2004&
      * rft_id=info:lanl-repo/xmltape/ISI_ipda4554ab_7370e8b4-2eaf-11db-a688-b0a8c271beda&
      * svc_id=info:lanl-repo/svc/subjects.list