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