question: Which country gained independence from Spain and also fought a major war against the United States in the 1800s?
answerText: Mexico
questionEntity.name: Q30
questionEntity.entityType: entity
questionEntity.label: United States of America
questionEntity.mention: United States
questionEntity.name: Q29
questionEntity.entityType: entity
questionEntity.label: Spain
questionEntity.mention: Spain
questionEntity.name: 1800:1899
questionEntity.entityType: date
questionEntity.mention: the 1800s
answerEntity.name: Q96
answerEntity.label: Mexico