Question: Is the official name of the historical country that was replaced by Spain equal to Imperio español?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <replaced_by> ?e_1 . ?e_1 <pred:name> "Spain" .  ?e <official_name> ?pv . ?pv <pred:value> "Imperio español" .  }
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: replaced by
backward
function: FilterConcept
dependencies: 1
inputs: historical country
function: QueryAttr
dependencies: 2
inputs: official name
function: VerifyStr
dependencies: 3
inputs: Imperio español
Answer: yes