Question: What city has India as a country (the one whose nominal GDP is 266502281094.117 United States dollars) and is the residence of Rajesh Khanna?
Choices: Kolkata
Trieste
Amritsar
Cork
Ahmedabad
Varanasi
Mumbai
Kingston
Kilkenny
Mysore
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "India" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "266502281094.117"^^xsd:double .  ?e_2 <residence> ?e . ?e_2 <pred:name> "Rajesh Khanna" .  }
Program:
function: Find
inputs: India
function: FilterNum
dependencies: 0
inputs: nominal GDP
266502281094.117 United States dollar
=
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: city
function: Find
inputs: Rajesh Khanna
function: Relate
dependencies: 4
inputs: residence
forward
function: FilterConcept
dependencies: 5
inputs: city
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Amritsar