Question: Who is taller: soccer's George Hamilton or Paul Williams of Southampton F.C.?
Choices:
Sylvester Stallone
James E. Reilly
Max Fleischer
William Henry Harrison
George Hamilton
Paul Simon
David Byrne
Rahul Dev Burman
Richard Gere
Paul Williams
Program:
function: Find
inputs: association football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: George Hamilton
function: And
dependencies: 1
2
function: Find
inputs: Southampton F.C.
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Paul Williams
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "George Hamilton" . ?e <sport> ?e_1 . ?e_1 <pred:name> "association football" .   } UNION { ?e <pred:name> "Paul Williams" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Southampton F.C." .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Paul Williams