Question: Does soul musician Ben Harper or Jon Favreau, whose Twitter handle is Jon_Favreau, have fewer kids?
Choices:
Max Fleischer
Rahul Dev Burman
Jon Favreau
Ben Harper
William Henry Harrison
Simon Cowell
David Byrne
Richard Gere
Paul Simon
James E. Reilly
Answer: Jon Favreau
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ben Harper" . ?e <genre> ?e_1 . ?e_1 <pred:name> "soul music" . } UNION { ?e <pred:name> "Jon Favreau" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "Jon_Favreau" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: soul music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Ben Harper
function: And
dependencies: 1
2
function: Find
inputs: Jon Favreau
function: FilterStr
dependencies: 4
inputs: Twitter username
Jon_Favreau
function: SelectBetween
dependencies: 3
5
inputs: number of children
less