Question: Whose birth name is John Herndon Mercer, who is also the composer of Robin Hood (the one whose box office is 32056467 United States dollar) (the series ordinal of this statement is 4) ?
Choices:
William Henry Harrison
Richard Gere
Paul Simon
Max Fleischer
James E. Reilly
Sylvester Stallone
Babyface
Johnny Mercer
Simon Cowell
Rahul Dev Burman
Answer: Johnny Mercer
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <birth_name> ?pv . ?pv <pred:value> "John Herndon Mercer" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Robin Hood" . ?e_1 <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "32056467"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> "4" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
John Herndon Mercer
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Robin Hood
function: FilterNum
dependencies: 3
inputs: box office
32056467 United States dollar
=
function: Relate
dependencies: 4
inputs: composer
forward
function: QFilterStr
dependencies: 5
inputs: series ordinal
4
function: FilterConcept
dependencies: 6
inputs: human
function: And
dependencies: 2
7
function: What
dependencies: 8