Question: Who weighs less, Serena Williams or Rafael Nadal?
Choices:
Rahul Dev Burman
Serena Williams
Rafael Nadal
Max Fleischer
Sylvester Stallone
David Byrne
William Henry Harrison
James E. Reilly
Richard Gere
Simon Cowell
Program:
function: Find
inputs: Serena Williams
function: Find
inputs: Rafael Nadal
function: SelectBetween
dependencies: 0
1
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Serena Williams" .  } UNION { ?e <pred:name> "Rafael Nadal" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Serena Williams