Question: Does Raj Kapoor or Shigeru Miyamoto have fewer kids?
Choices:
Sylvester Stallone
Max Fleischer
William Henry Harrison
Shigeru Miyamoto
Paul Simon
Richard Gere
Raj Kapoor
Rahul Dev Burman
Simon Cowell
David Byrne
Program:
function: Find
inputs: Raj Kapoor
function: Find
inputs: Shigeru Miyamoto
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Raj Kapoor" .  } UNION { ?e <pred:name> "Shigeru Miyamoto" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shigeru Miyamoto