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