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