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