Question: Which one is taller Napoleon (the one who died in1821-05-05) or Ben Johnson (the one that participated in the 1988 Summer Olympics)?
Choices: Max Fleischer
Simon Cowell
Napoleon
Sylvester Stallone
Ben Johnson
Rahul Dev Burman
James E. Reilly
David Byrne
Richard Gere
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Napoleon" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1821-05-05"^^xsd:date . } UNION { ?e <pred:name> "Ben Johnson" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> "1988 Summer Olympics" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Napoleon
function: FilterDate
dependencies: 0
inputs: date of death
1821-05-05
=
function: Find
inputs: 1988 Summer Olympics
function: Relate
dependencies: 2
inputs: participant of
backward
function: Find
inputs: Ben Johnson
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
greater
Answer: Ben Johnson