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