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