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