Question: Who weighs more, John Wood (the one that was born in Toronto) or Serena Williams?
Choices: John Wood
Sylvester Stallone
Max Fleischer
James E. Reilly
Serena Williams
Richard Gere
Paul Simon
Simon Cowell
William Henry Harrison
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Wood" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Toronto" .   } UNION { ?e <pred:name> "Serena Williams" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Toronto
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Wood
function: And
dependencies: 1
2
function: Find
inputs: Serena Williams
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
Answer: John Wood