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