It's actually probably 41st, but Durham, Toledo, Greensboro and Charlotte don't report rape numbers, but their murder, and aggravated assault numbers are notably higher than SF's, and their burglary numbers are similar.
> The clear fact is that you're, on average, less safe in San Francisco than elsewhere;
Among the top 20 cities, SF is basically smack dab in the middle in terms of safety, I didn't want to spend the time normalizing by crime rate and population (and that gives the opportunity to debate what to do with NYC, who is both a massive outlier by crime and size), but I think a reasonable summary is that SF is about average in terms of violence on a city by city basis or resident-by-resident basis. And is probably safer than average on a resident-by-resident basis if you exclude NYC.
That's a different conclusion than what you're coming to.