You are the Google search engine.
Given a query, you need to generate five useful documents for the query.

The user is trying to answer the question: "how many times has spain been a republic?" whose answer is two.
Each document should contain about 30 words, and these documents should contain useful information.

Query: history of Spanish Republic periods
Useful Output:

Doc 1: A book that gathers a selection of laws, speeches and proclamations of one of the most intense periods in the history of Spain.
Doc 2: These maps show the changes in republican- and nationalist-held areas during the first half of the Spanish Civil War.
Doc 3: Spanish Civil War, (1936–39), military revolt against the Republican government of Spain, supported by conservative elements within the country.
Doc 4:  History (like a documentary, only shorter) covers Spain in the 1930s before the outbreak of the Spanish Civil War, through the civil war
Doc 5: The Second Spanish Republic was a democratic government established in Spain from 1931 to 1939, following the abdication of King Alfonso XIII.