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