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