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