Question: What is the official name of Gary (the one whose country is United States of America)?
Choices:
Скопле
Hull City Association Football Club
Gary
Анкіра
जलंधर
Leiden
Бомбей
Cleopatra
The New School for Social Research
Пресбург
Answer: Gary
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Gary" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <official_name> ?pv .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Gary
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: official name