Question: I want to know which one has a bigger mass, Joshua Kennedy or Seol Ki-hyeon.
Choices:
Richard Gere
Sylvester Stallone
David Byrne
Simon Cowell
Paul Simon
Max Fleischer
William Henry Harrison
Seol Ki-hyeon
Rahul Dev Burman
Joshua Kennedy
Program:
function: Find
inputs: Joshua Kennedy
function: Find
inputs: Seol Ki-hyeon
function: SelectBetween
dependencies: 0
1
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joshua Kennedy" .  } UNION { ?e <pred:name> "Seol Ki-hyeon" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Joshua Kennedy