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