This is a relatively trivial task for current top models.
More challenging are unconventional story structures, like a mom named Matthew with a son named Mary and a daughter named William, who is Matthew's daughter?
But even these can still be done by the best models. And it is very unlikely there is much if any training data that's like this.
No idea why you've been downvoted, because that's a relevant and true comment. A more complex example would be the Monty Hall problem [1], for which even some very intelligent people will intuitively give the wrong answer, whereas symbolic reasoning (or Monte Carlo simulations) leads to the right conclusion.
More challenging are unconventional story structures, like a mom named Matthew with a son named Mary and a daughter named William, who is Matthew's daughter?
But even these can still be done by the best models. And it is very unlikely there is much if any training data that's like this.