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