Question: Who is taller, Ben Johnson (the one that is related to sport American football) or Seth MacFarlane?
Choices:
James E. Reilly
Richard Gere
David Byrne
Paul Simon
Rahul Dev Burman
Seth MacFarlane
Simon Cowell
Ben Johnson
Max Fleischer
William Henry Harrison
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Ben Johnson
function: And
dependencies: 1
2
function: Find
inputs: Seth MacFarlane
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ben Johnson" . ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .   } UNION { ?e <pred:name> "Seth MacFarlane" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ben Johnson