Question: Which one is taller between Brian Jones (the member of Jacksonville Jaguars) or Chris Carter (the member of New England Patriots)?
Choices:
Richard Gere
Paul Simon
Simon Cowell
Brian Jones
Max Fleischer
Chris Carter
David Byrne
James E. Reilly
William Henry Harrison
Sylvester Stallone
Program:
function: Find
inputs: Jacksonville Jaguars
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 1
2
function: Find
inputs: New England Patriots
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Chris Carter
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brian Jones" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Jacksonville Jaguars" .   } UNION { ?e <pred:name> "Chris Carter" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "New England Patriots" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brian Jones