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