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