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