Question: Which has a greater height, Chris Cooper (who is related to sport baseball) or Dwight D. Eisenhower?
Choices:
Richard Gere
Dwight D. Eisenhower
Rahul Dev Burman
Sylvester Stallone
Max Fleischer
Paul Simon
James E. Reilly
Simon Cowell
Chris Cooper
William Henry Harrison
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Chris Cooper
function: And
dependencies: 1
2
function: Find
inputs: Dwight D. Eisenhower
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Cooper" . ?e <sport> ?e_1 . ?e_1 <pred:name> "baseball" .   } UNION { ?e <pred:name> "Dwight D. Eisenhower" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Cooper