Question: Who is taller, Amitabh Bachchan or Tom Brady (the one that was born in San Mateo)?
Choices: David Byrne
Amitabh Bachchan
William Henry Harrison
Sylvester Stallone
Rahul Dev Burman
Max Fleischer
Richard Gere
James E. Reilly
Tom Brady
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amitabh Bachchan" .  } UNION { ?e <pred:name> "Tom Brady" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "San Mateo" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Amitabh Bachchan
function: Find
inputs: San Mateo
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Tom Brady
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
Answer: Tom Brady