Question: Who is taller: Lyndon B. Johnson, or Scott Wilson of Dunfermline Athletic F.C.?
Choices:
David Byrne
Scott Wilson
James E. Reilly
Lyndon B. Johnson
Rahul Dev Burman
Paul Simon
Max Fleischer
William Henry Harrison
Richard Gere
Sylvester Stallone
Program:
function: Find
inputs: Lyndon B. Johnson
function: Find
inputs: Dunfermline Athletic F.C.
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Scott Wilson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lyndon B. Johnson" .  } UNION { ?e <pred:name> "Scott Wilson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Dunfermline Athletic F.C." .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lyndon B. Johnson