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: "when was the play an inspector calls written?" whose answer is 1945.
Each document should contain about 30 words, and these documents should contain useful information.

Query: when was the play an inspector calls written
Useful Output:

Doc 1: Written in 1945 and revived in the 1990s, J.B. Priestley's play was a wake-up call for compassion during troubled times.
Doc 2: An Inspector Calls was written in 1945, however it is set in 1912 and reflects the Edwardian era. King Edward VII ruled from 1901 to 1910, but the Edwardian era
Doc 3: The play is set two years before World War I and was written when World War II ended. By 1945, two world wars had dramatically altered views
Doc 4: The play was written in 1945 by J.B-Priestley, fittingly Bradford was his hometown, and we were able to view his play the way he intended the
Doc 5: Priestley wrote 'An Inspector Calls' in 1945, but he set the play in  Calls' written dramatic irony. 1948. NHS founded. Page 4. 1