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