Question: Who weighs more, Kareem Abdul-Jabbar or Ben Johnson (the one that is a participant of 1984 Summer Olympics)?
Choices: James E. Reilly
Richard Gere
Simon Cowell
David Byrne
Rahul Dev Burman
Paul Simon
Kareem Abdul-Jabbar
Sylvester Stallone
William Henry Harrison
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kareem Abdul-Jabbar" .  } UNION { ?e <pred:name> "Ben Johnson" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> "1984 Summer Olympics" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kareem Abdul-Jabbar
function: Find
inputs: 1984 Summer Olympics
function: Relate
dependencies: 1
inputs: participant of
backward
function: Find
inputs: Ben Johnson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
greater
Answer: Kareem Abdul-Jabbar