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