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