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