40379
Their maternal grandparents were Leopold I , Holy Roman Emperor , and Eleonor Magdalene of Neuburg , sister of Queen Maria Sofia of Portugal .
 person: Leopold I , Holy Roman Emperor; person: Eleonor Magdalene of Neuburg; person: Queen Maria Sofia of Portugal
Given options, please tell me the categories of all the listed entity words.Output format is "type1: word1; type2: word2". 
Option: location, person, organization 
Text: {0} 
 Entities: Leopold I , Holy Roman Emperor, Eleonor Magdalene of Neuburg, Queen Maria Sofia of Portugal 
Answer:
 person: Leopold I , Holy Roman Emperor; person: Eleonor Magdalene of Neuburg; person: Queen Maria Sofia of Portugal