Question: Does Kevin Costner or George W. Bush have fewer kids?
Choices:
Max Fleischer
Sylvester Stallone
Kevin Costner
David Byrne
Paul Simon
George W. Bush
Simon Cowell
William Henry Harrison
James E. Reilly
Richard Gere
Program:
function: Find
inputs: Kevin Costner
function: Find
inputs: George W. Bush
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kevin Costner" .  } UNION { ?e <pred:name> "George W. Bush" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: George W. Bush