Question: Which one, Abraham Lincoln (the one that uses English as the native language) or Richard Wright (the one that is a member of West Ham United F.C.), has less height?
Choices:
Richard Gere
David Byrne
Simon Cowell
Rahul Dev Burman
William Henry Harrison
Paul Simon
Richard Wright
Max Fleischer
Sylvester Stallone
James E. Reilly
Answer: Richard Wright
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Abraham Lincoln" . ?e <native_language> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Richard Wright" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "West Ham United F.C." .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: native language
backward
function: Find
inputs: Abraham Lincoln
function: And
dependencies: 1
2
function: Find
inputs: West Ham United F.C.
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
less