Question: Who has a nickname of Tom and whose name in native language is Tom Johnson?
Choices:
Rahul Dev Burman
Tom Johnson
Sylvester Stallone
Paul Simon
David Byrne
Simon Cowell
William Henry Harrison
Max Fleischer
James E. Reilly
Richard Gere
Answer: Tom Johnson
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nickname> ?pv . ?pv <pred:value> "Tom" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Tom Johnson" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: nickname
Tom
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: name in native language
Tom Johnson
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6