Question: Who has a greater mass, Lamar Odom or Boaz Myhill?
Choices:
Max Fleischer
Richard Gere
James E. Reilly
William Henry Harrison
David Byrne
Paul Simon
Lamar Odom
Sylvester Stallone
Simon Cowell
Rahul Dev Burman
Program:
function: Find
inputs: Lamar Odom
function: Find
inputs: Boaz Myhill
function: SelectBetween
dependencies: 0
1
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lamar Odom" .  } UNION { ?e <pred:name> "Boaz Myhill" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lamar Odom