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