Question: What legislator is the head of government of Brazil (the one whose nominal GDP is 58539008786.3684 United States dollar)?
Choices:
president
bandleader
make-up artist
Member of Congress
financier
independent politician
speaker of the United States House of Representatives
councillor
vice president
seiyū
Answer: Member of Congress
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislator" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:name> "Brazil" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "58539008786.3684"^^xsd:double .   }
Program:
function: Find
inputs: Brazil
function: FilterNum
dependencies: 0
inputs: nominal GDP
58539008786.3684 United States dollar
=
function: Relate
dependencies: 1
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 2
inputs: legislator
function: What
dependencies: 3