Question: Which one is taller, Neil Young (the one that is a member of Manchester City F.C.) or Hulk (the one that is related to sport association football)   ?
Choices:
Sylvester Stallone
David Byrne
Rahul Dev Burman
Neil Young
Simon Cowell
William Henry Harrison
Paul Simon
Richard Gere
Hulk
Max Fleischer
Answer: Neil Young
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Neil Young" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Manchester City F.C." .   } UNION { ?e <pred:name> "Hulk" . ?e <sport> ?e_2 . ?e_2 <pred:name> "association football" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Manchester City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Neil Young
function: And
dependencies: 1
2
function: Find
inputs: association football
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Hulk
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater