Question: Which historical country is located in the continent of the Americas?
Choices:
Latin America
British Empire
Spanish Empire
Abyssinia
Romania
France
Roman Republic
Qing dynasty
Kingdom of Hungary
Colombia
Answer: Spanish Empire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <continent> ?e_1 . ?e_1 <pred:name> "Americas" .   }
Program:
function: Find
inputs: Americas
function: Relate
dependencies: 0
inputs: continent
backward
function: FilterConcept
dependencies: 1
inputs: historical country
function: What
dependencies: 2