Question: Who is taller, Jill Scott (the one that is a member of Manchester City F.C.) or Jack Thompson (the one that is drafted by Washington Wizards)?
Choices:
Jill Scott
Simon Cowell
Sylvester Stallone
David Byrne
William Henry Harrison
James E. Reilly
Jack Thompson
Max Fleischer
Rahul Dev Burman
Paul Simon
Program:
function: Find
inputs: Manchester City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jill Scott
function: And
dependencies: 1
2
function: Find
inputs: Washington Wizards
function: Relate
dependencies: 4
inputs: drafted by
backward
function: Find
inputs: Jack Thompson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jill Scott" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Manchester City F.C." .   } UNION { ?e <pred:name> "Jack Thompson" . ?e <drafted_by> ?e_2 . ?e_2 <pred:name> "Washington Wizards" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jack Thompson