Super nice ! Feels like the “where” part is the hardest one. How do you decide if a token is a place or a brand, like “Subway” or a shop called “Paris” ?
Brands take precedence, unless you search for "X in Y", then Y is treated as a place always.
It's tricky though. I don't think it covers all cases well enough, though it works fine within Switzerland