Question: Which Japanese Corporate Number designates the activity headquartered in Chiyoda-ku?
Choices:
6000020422011
1130001011420
8000020131032
6120901008215
5010001018556
8011101012891
5180001087444
3700150005378
1011001020415
5010401035036
Answer: 5010001018556
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Chiyoda-ku" .  ?e <Corporate_Number_(Japan)> ?pv .  }
Program:
function: Find
inputs: Chiyoda-ku
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: activity
function: QueryAttr
dependencies: 2
inputs: Corporate Number (Japan)