Question: Tell me the one that have greater mass, Bob Bryan and Demi Lovato.
Choices:
Demi Lovato
Max Fleischer
Paul Simon
William Henry Harrison
Simon Cowell
David Byrne
James E. Reilly
Richard Gere
Bob Bryan
Sylvester Stallone
Program:
function: Find
inputs: Demi Lovato
function: Find
inputs: Bob Bryan
function: SelectBetween
dependencies: 0
1
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Demi Lovato" .  } UNION { ?e <pred:name> "Bob Bryan" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bob Bryan