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