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