Question: Who is taller, Israel (the one that is a member of Real Betis Balompié) or Stephen Graham (the one that is a member of Portland Trail Blazers)?
Choices:
Paul Simon
James E. Reilly
Sylvester Stallone
Stephen Graham
Israel
Simon Cowell
Rahul Dev Burman
Richard Gere
Max Fleischer
William Henry Harrison
Answer: Stephen Graham
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Israel" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Real Betis Balompié" .   } UNION { ?e <pred:name> "Stephen Graham" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Portland Trail Blazers" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Real Betis Balompié
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Israel
function: And
dependencies: 1
2
function: Find
inputs: Portland Trail Blazers
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Stephen Graham
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater