Input: Sentence 1: James was defeated by William of Orange just north of Dublin at the Battle of the Boyne in 1690; the defeated army straggled into Dublin, and James II fled to France. Sentence 2: James was beat by William of Orange.
Output: 

 yes