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