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