Just around the corner from the Sohachiman Shrine was the back entrance to a smaller shrine named Matsuo Shrine, a branch of the famous Matsuo (or Matsunoo) Taisha near Kyoto.
The two main kami are Oyamagui and his wife Nakatsushimahime, believed to be the ancestral kami of the Hata clan who founded Matsuo Shrine as well as Fushimi Inari. The signboard here also lists Onamuchi, one of the names of Okuninushi.
It also lists a Taga Shrine as a Massha. Massha and Sessha are secondary shrines usually within a shrine grounds. Historically the two were a little different but the distinction is no longer valid, basically it means that the kami of the secondary shrine has some sort of relationship, often familial, with the main shrine kami.
The kami of the Taga Shrine is unclear.