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
Answer: Mos Def
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
Program:
function: Find
inputs: Mos Def
function: Find
inputs: Bette Midler
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater