Question: Which one has fewer kids, James A. Garfield or Liam Neeson ?
Choices:
David Byrne
Simon Cowell
James E. Reilly
Sylvester Stallone
William Henry Harrison
Rahul Dev Burman
James A. Garfield
Paul Simon
Max Fleischer
Liam Neeson
Answer: Liam Neeson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James A. Garfield" .  } UNION { ?e <pred:name> "Liam Neeson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: James A. Garfield
function: Find
inputs: Liam Neeson
function: SelectBetween
dependencies: 0
1
inputs: number of children
less