Question: Who was defeated in the battle of yorktown?

Disambiguated questions and answers:
context: The siege of Yorktown, also known as the Battle of Yorktown, the surrender at Yorktown, German Battle or the siege of Little York, ending on October 19, 1781, at Yorktown, Virginia, was a decisive victory by a combined force of American Continental Army troops led by General George Washington and French Army troops led by the Comte de Rochambeau over a British army commanded by British peer and Lieutenant General Charles Cornwallis. The culmination of the Yorktown campaign, the siege proved to be the last major land battle of the American Revolutionary War in the North American region, as the surrender by Cornwallis, and the capture of both him and his army, prompted the British government to negotiate an end to the conflict. The battle boosted faltering American morale and revived French enthusiasm for the war, as well as undermining popular support for the conflict in Great Britain.
question: Who was defeated in the Battle of Yorktown during the American Revolutionary War?
short_answers: British army
wikipage: Siege of Yorktown
context: The siege of Yorktown, also known as the Battle of Yorktown, the surrender at Yorktown, German Battle or the siege of Little York, ending on October 19, 1781, at Yorktown, Virginia, was a decisive victory by a combined force of American Continental Army troops led by General George Washington and French Army troops led by the Comte de Rochambeau over a British army commanded by British peer and Lieutenant General Charles Cornwallis. The culmination of the Yorktown campaign, the siege proved to be the last major land battle of the American Revolutionary War in the North American region, as the surrender by Cornwallis, and the capture of both him and his army, prompted the British government to negotiate an end to the conflict. The battle boosted faltering American morale and revived French enthusiasm for the war, as well as undermining popular support for the conflict in Great Britain.
question: Who led the army that was defeated in the Battle of Yorktown during the American Revolutionary War?
short_answers: Lieutenant General Charles Cornwallis
wikipage: Siege of Yorktown
context: No context provided
question: Who was defeated in the Battle of Yorktown during the American Civil War?
short_answers: Inconclusive

Long-form answers:
knowledge: content: McClellan planned a massive bombardment for dawn on May 5, but the Confederate army slipped away during the night of May 3 toward Williamsburg.
wikipage: Siege of Yorktown (1862)
long_answer: There was a Battle of Yorktown during the American Revolutionary War in 1781 and during the American Civil War in 1862.  The 1781 was between the American Continental Army troops led by General George Washington and Gilbert du Motier, Marquis de Lafayette, and French Army troops led by Comte de Rochambeau over a British army commanded by British peer and Lieutenant General Charles Cornwallis. The British Army was defeated. The 1862 battle was between Union Maj. Gen. George B. McClellan's Army of the Potomac and Maj. Gen. John B. Magruder's small Confederate force at Yorktown behind the Warwick Line. It is inconclusive who won this battle since McClellan planned a massive bombardment for dawn on May 5, but the Confederate army slipped away during the night of May 3 toward Williamsburg.