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