Question: On what date was the battle of, and named after, the state where East Smithfield Public Library is located?

full_context: Document 1: Royal Institute of British Architects: The library is based at two public sites: the Reading Room at the RIBA's headquarters, 66 Portland Place, London; and the RIBA Architecture Study Rooms in the Henry Cole Wing of the V&A. The Reading Room, designed by the building's architect George Grey Wornum and his wife Miriam, retains its original 1934 Art Deco interior with open bookshelves, original furniture and double-height central space. The study rooms, opened in 2004, were designed by Wright & Wright. The library is funded entirely by the RIBA but it is open to the public without charge. It operates a free education programme aimed at students, education groups and families, and an information service for RIBA members and the public through the RIBA Information Centre.
Document 2: Connemara Public Library: Connemara Public Library at Egmore in Chennai, Tamil Nadu, India, is one of the four National Depository Libraries which receive a copy of all books, newspapers and periodicals published in India. Established in 1890, the library is a repository of centuries-old publications, wherein lie some of the most respected works and collections in the country. It also serves as a depository library for the UN.
Document 3: Davenport Public Library: The Davenport Public Library is a public library located in Davenport, Iowa. With a history dating back to 1839, the Davenport Public Library's Main Library is currently housed in a 1960s building designed by Kennedy Center architect Edward Durell Stone. The Davenport Public Library system is made up of three libraries—the Main Library at 321 Main Street; the Fairmount Branch Library at 3000 N. Fairmount Street; and the Eastern Avenue Branch Library at 6000 Eastern Avenue.
Document 4: Andover Public Library (Andover, Maine): The Andover Public Library is located on Church Street in Andover, Maine, United States. Although a private library funded by subscription was founded in the town in 1795, it was not until the establishment of the Andover Public Library Association in 1891 that movement to a publicly funded library began. It was originally quartered in a room of the Andover Town Hall, until 1943, when its present building was purchased from a Universalist church organization. The building is one of only two octagonal religious buildings known to have been built anywhere in Maine, and was probably the last building in the state built with inspiration from Orson Squire Fowler's promotion of octagonal buildings in the 19th century. On January 27, 1981, it was added to the National Register of Historic Places.
Document 5: Public libraries in North America: According to Edmund Farwell Slafter, the first public library was founded in Boston by the Rev. John Checkley at the Old State House sometime between 1711 when Boston's Old State House was built, and 1725. In a letter to the Rev. Dr. Thomas Bennet, dated June 15, 1725, Checkley wrote:
Document 6: American Revolutionary War: British attempts to disarm the Massachusetts militia at Concord in April 1775 led to open combat. Militia forces then besieged Boston, forcing a British evacuation in March 1776, and Congress appointed George Washington to command the Continental Army. Concurrently, an American attempt to invade Quebec and raise rebellion against the British decisively failed. On July 2, 1776, the Continental Congress voted for independence, issuing its declaration on July 4. Sir William Howe launched a British counter-offensive, capturing New York City and leaving American morale at a low ebb. However, victories at Trenton and Princeton restored American confidence. In 1777, the British launched an invasion from Quebec under John Burgoyne, intending to isolate New England. Instead of assisting this effort, Howe took his army on a separate campaign against Philadelphia, and Burgoyne was decisively defeated at Saratoga in October 1777.
Document 7: Northern Seven Years' War: In 1762, towards the end of the war, French forces attacked St. John's, Newfoundland. If successful, the expedition would have strengthened France's hand at the negotiating table. Although they took St. John's and raided nearby settlements, the French forces were eventually defeated by British troops at the Battle of Signal Hill. This was the final battle of the war in North America, and it forced the French to surrender to Lieutenant Colonel William Amherst. The victorious British now controlled all of eastern North America.
Document 8: American Revolutionary War: British attempts to disarm the Massachusetts militia at Concord in April 1775 led to open combat. Militia forces then besieged Boston, forcing a British evacuation in March 1776, and Congress appointed George Washington to command the Continental Army. Concurrently, an American attempt to invade Quebec and raise rebellion against the British failed decisively. On July 2, 1776, the Continental Congress voted for independence, issuing its declaration on July 4. Sir William Howe launched a British counter-offensive, capturing New York City and leaving American morale at a low ebb. However, victories at Trenton and Princeton restored American confidence. In 1777, the British launched an invasion from Quebec under John Burgoyne, intending to isolate the New England Colonies. Instead of assisting this effort, Howe took his army on a separate campaign against Philadelphia, and Burgoyne was decisively defeated at Saratoga in October 1777.
Document 9: Battle of Setauket: The Battle of Setauket (August 22, 1777) was a failed attack during the American Revolutionary War on a fortified Loyalist outpost in Setauket, Long Island, New York, by a force of Continental Army troops from Connecticut under the command of Brigadier General Samuel Holden Parsons.
Document 10: Battle of Long Island: The Battle of Long Island is also known as the Battle of Brooklyn and the Battle of Brooklyn Heights. It was fought on August 27, 1776 and was the first major battle of the American Revolutionary War to take place after the United States declared its independence on July 4, 1776. It was a victory for the British Army and the beginning of a successful campaign that gave them control of the strategically important city of New York. In terms of troop deployment and fighting, it was the largest battle of the entire war.
Document 11: Battle of Signal Hill: The Battle of Signal Hill was fought on September 15, 1762, and was the last battle of the North American theatre of the Seven Years' War. The British under Lieutenant Colonel William Amherst forced the French to surrender St. John's, which they had seized earlier that year in a surprise attack.
Document 12: Battle of Rhode Island: The Battle of Rhode Island (also known as the Battle of Quaker Hill and the Battle of Newport) took place on August 29, 1778. Continental Army and militia forces under the command of General John Sullivan had been besieging the British forces in Newport, Rhode Island, which is situated on Aquidneck Island, but they had finally abandoned their siege and were withdrawing to the northern part of the island. The British forces then sortied, supported by recently arrived Royal Navy ships, and they attacked the retreating Americans. The battle ended inconclusively, but the Continental forces withdrew to the mainland and left Aquidneck Island in British hands.
Document 13: Saint Helena: The Education and Employment Directorate also offers programmes for students with special needs, vocational training, adult education, evening classes, and distance learning. The island has a public library (the oldest in the Southern Hemisphere) and a mobile library service which operates weekly rural areas.
Document 14: East Smithfield Public Library: The East Smithfield Public Library is a public library in the village of Esmond, Rhode Island in the town of Smithfield.
Document 15: New York City: The New York Public Library, which has the largest collection of any public library system in the United States, serves Manhattan, the Bronx, and Staten Island. Queens is served by the Queens Borough Public Library, the nation's second largest public library system, while the Brooklyn Public Library serves Brooklyn.
ground_truth: August 29, 1778
sub_queries: Which state is East Smithfield Public Library located? Answer: Rhode Island
why did the battle of Rhode Island happen Answer: August 29, 1778