Question: Does John Ruddy or Roger Federer have less mass?
Choices:
Sylvester Stallone
Simon Cowell
Roger Federer
William Henry Harrison
Rahul Dev Burman
Richard Gere
David Byrne
Paul Simon
Max Fleischer
James E. Reilly
Program:
function: Find
inputs: John Ruddy
function: Find
inputs: Roger Federer
function: SelectBetween
dependencies: 0
1
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Ruddy" .  } UNION { ?e <pred:name> "Roger Federer" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Roger Federer