Topic facets

From UA Libraries Digital Services Planning and Documentation
Jump to: navigation, search

The metadata librarians are grouping the topic values into categories and subcategories, and will be supplying us with a spreadsheet that lists the topic values in the first column, the narrowest subcategory to which it applies in the second column, the next broader subcategory in the third column, and so forth. The spreadsheet may have as many as 5 or 6 columns, with the broadest categories in the far right column.


These will be encoded as described in the The faceting schema, as recursive topic_f (topic faceting) values, and added into the MODS extension field.

For example, if the spreadsheet contains:

 Beatles     rock bands     musical groups     performers and entertainers     

Then the facet encoding will be:

 <topic_f>performers and entertainers
     <topic_f>musical groups
        <topic_f>rock bands
               <topic_f>Beatles</topic_f>
            </topic_f>
         </topic_f>
      </topic_f>
   </topic_f>

The script for this is to be developed in /srv/scripts/metadata/faceting/topics as a variation of the genre faceting script, and then incorporated into the acumenFacets library and production scripts.