Question: Does Vittorio De Sica or Lyndon B. Johnson have fewer children?
Choices:
Sylvester Stallone
Max Fleischer
William Henry Harrison
Rahul Dev Burman
Vittorio De Sica
Paul Simon
James E. Reilly
Richard Gere
Lyndon B. Johnson
Simon Cowell
Program:
function: Find
inputs: Vittorio De Sica
function: Find
inputs: Lyndon B. Johnson
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vittorio De Sica" .  } UNION { ?e <pred:name> "Lyndon B. Johnson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lyndon B. Johnson