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