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