NWB files have location fields:
ImagingPlane.location (optical physiology)
electrodes.location (extracellular electrophysiology)
IntracellularElectrode.location (intracellular electrophysiology)
These "locations" are brain areas, and we can populate asset-level metadata about brain area by scanning them. They often correspond exactly to Allen CCF brain area abbreviations, and can therefore be mapped directly to the MBAO ontology. See https://github.com/bendichter/analyze-locations/tree/main for details.