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