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