Question: Who is taller, Jackie Chan or Thomas Jefferson (the one that founds United States Military Academy)?
Choices: Paul Simon
Richard Gere
Sylvester Stallone
Max Fleischer
James E. Reilly
William Henry Harrison
Jackie Chan
Thomas Jefferson
Simon Cowell
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackie Chan" .  } UNION { ?e <pred:name> "Thomas Jefferson" . ?e_1 <founded_by> ?e . ?e_1 <pred:name> "United States Military Academy" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jackie Chan
function: Find
inputs: United States Military Academy
function: Relate
dependencies: 1
inputs: founded by
forward
function: Find
inputs: Thomas Jefferson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
Answer: Thomas Jefferson