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