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