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