Question: Does Sean Astin or Andrew Jackson who was a member of the 5th U.S. Congress have fewer kids?
Choices:
Sean Astin
Simon Cowell
James E. Reilly
Rahul Dev Burman
Max Fleischer
David Byrne
William Henry Harrison
Andrew Jackson
Richard Gere
Paul Simon
Answer: Sean Astin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sean Astin" .  } UNION { ?e <pred:name> "Andrew Jackson" . ?e_1 <participant> ?e . ?e_1 <pred:name> "5th United States Congress" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sean Astin
function: Find
inputs: 5th United States Congress
function: Relate
dependencies: 1
inputs: participant
forward
function: Find
inputs: Andrew Jackson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less