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