Question: Does Clive Owen or Mamoru Miyano have more kids?
Choices:
Rahul Dev Burman
Simon Cowell
William Henry Harrison
James E. Reilly
Richard Gere
Max Fleischer
Clive Owen
Mamoru Miyano
David Byrne
Sylvester Stallone
Program:
function: Find
inputs: Clive Owen
function: Find
inputs: Mamoru Miyano
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clive Owen" .  } UNION { ?e <pred:name> "Mamoru Miyano" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Clive Owen