Inanna and Jesus both travel to a big city, where they are arrested by soldiers, put on trial, convicted, sentenced to death, stripped of their clothes, tortured, hung up on a stake, and die. And then, after 3 days, they are resurrected from the dead.
Now there are, to be sure, a number of significant differences between the stories. For one thing, one story is about a goddess and the other is about a divine man. But this is a specific pattern, a mythic template. When you are dealing with the question of whether these things actually happened, you have to deal with the fact that there is a mythic template here.
It doesn’t necessarily mean that there wasn’t a real person, Jesus, who was crucified, but rather that, if there was, the story about it is structured and embellished in accordance with a pattern that was very ancient and widespread.