# David was the father of Solomon by the wife of Uriah
"David was the father of Solomon, and Solomon's mother was Uriah's wife" or "David and the wife of Uriah were the parents of Solomon"
# the wife of Uriah
"the widow of Uriah." Solomon was born after Uriah died.