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