Question: Who has more children, Georgy Zhukov or Courteney Cox?
Choices:
Georgy Zhukov
Rahul Dev Burman
Paul Simon
Courteney Cox
Sylvester Stallone
James E. Reilly
David Byrne
Richard Gere
William Henry Harrison
Max Fleischer
Program:
function: Find
inputs: Georgy Zhukov
function: Find
inputs: Courteney Cox
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Georgy Zhukov" .  } UNION { ?e <pred:name> "Courteney Cox" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Georgy Zhukov