Question: Who is taller, Houssine Kharja or Bruce Campbell, who is involved with American football?
Choices:
William Henry Harrison
Bruce Campbell
Sylvester Stallone
Rahul Dev Burman
David Byrne
Richard Gere
Paul Simon
Houssine Kharja
Simon Cowell
Max Fleischer
Program:
function: Find
inputs: Houssine Kharja
function: Find
inputs: American football
function: Relate
dependencies: 1
inputs: sport
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Houssine Kharja" .  } UNION { ?e <pred:name> "Bruce Campbell" . ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bruce Campbell