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