Does the sentence "Alsace-Lorraine was occupied by Germany in 1940 during the Second World War." answer the question "What year was Alsace-Lorraine occupied by Germany?"
yes