Dear All,

I did not find any documentation on how to create virtual sets in the OAI: 
https://wiki.lyrasis.org/display/DSDOC6x/OAI. I would like to create 
virtual sets based on the metadata such as those implemented in Open 
Knowledge Repository: https://openknowledge.worldbank.org/harvesting-the-okr

Queries for virtual sets in the OKR may be as broad as “Health in Africa” 
or “Climate Change” or as narrow as “Agribusiness in Tanzania” and 
“Microfinance in Bangladesh”. The following six sample virtual sets have 
been created and are now available for other repositories to begin 
ingesting:

   - Health in Africa 
   
<https://openknowledge.worldbank.org/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=africa_health>
   - Research relating to China 
   
<https://openknowledge.worldbank.org/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=china_research>
   - Energy in India 
   
<https://openknowledge.worldbank.org/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=india_energy>
   - Microfinance in Bangladesh 
   
<https://openknowledge.worldbank.org/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=bangladesh_microfinance>
   - Agribusiness in Tanzania 
   
<https://openknowledge.worldbank.org/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=tanzania_agribusiness>
   - Climate Change 
   
<https://openknowledge.worldbank.org/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=climate_change>

A long time ago, I asked about this in 
Stackoverflow: https://stackoverflow.com/q/52360308/1919069 but I don't 
want to create a new "Metadata Format", but instead I want to create Sets 
based on the metadata (e.g. create a set for items if dc.subject contains a 
certain word).

In [dspace]/config/crosswalks/oai/xoai.xml, there is a filter there for 
Thesis type:
        <!-- This condition determines if an Item has a "dc.type" field
             which contains "Thesis". -->
        <CustomCondition id="thesisDocumentTypeCondition">
            
<Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
            <Configuration>
                <string name="field">dc.type</string>
                <string name="operator">contains</string>
                <string name="value">Thesis</string>
            </Configuration>
        </CustomCondition>

But that filter will only apply to the metadata format uketd_dc. What I 
would want is to create a filter that will create Sets available to all 
Metadata Formats. Is this possible (I assume yes because it is already 
implemented in OKR, I just don't know how)? Can this be done just by 
modifying XSLT?

Thanks in advance!
euler

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/27e1d299-3289-4062-90c9-939d418dc2adn%40googlegroups.com.

Reply via email to