Question: Who is taller, Jason Isaacs or Amy Adams (the one that lives in Beverly Hills)?
Choices: Rahul Dev Burman
Max Fleischer
Sylvester Stallone
William Henry Harrison
Richard Gere
Amy Adams
Jason Isaacs
Paul Simon
James E. Reilly
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jason Isaacs" .  } UNION { ?e <pred:name> "Amy Adams" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Beverly Hills" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jason Isaacs
function: Find
inputs: Beverly Hills
function: Relate
dependencies: 1
inputs: residence
backward
function: Find
inputs: Amy Adams
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
Answer: Jason Isaacs