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