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