Question: Who has fewer children, Dwayne Johnson or Jenny McCarthy?
Choices: David Byrne
Paul Simon
Rahul Dev Burman
Max Fleischer
Jenny McCarthy
Simon Cowell
William Henry Harrison
Dwayne Johnson
James E. Reilly
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwayne Johnson" .  } UNION { ?e <pred:name> "Jenny McCarthy" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dwayne Johnson
function: Find
inputs: Jenny McCarthy
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
Answer: Jenny McCarthy