Question: Does Joshua Kennedy or Roger Federer weigh more?
Choices:
Roger Federer
Simon Cowell
David Byrne
Max Fleischer
James E. Reilly
William Henry Harrison
Joshua Kennedy
Paul Simon
Sylvester Stallone
Rahul Dev Burman
Program:
function: Find
inputs: Joshua Kennedy
function: Find
inputs: Roger Federer
function: SelectBetween
dependencies: 0
1
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joshua Kennedy" .  } UNION { ?e <pred:name> "Roger Federer" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Roger Federer