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