Question: Does Craig Bellamy or Brittany Murphy weigh more?
Choices:
Craig Bellamy
Richard Gere
James E. Reilly
Brittany Murphy
David Byrne
Paul Simon
Max Fleischer
Sylvester Stallone
Rahul Dev Burman
Simon Cowell
Program:
function: Find
inputs: Craig Bellamy
function: Find
inputs: Brittany Murphy
function: SelectBetween
dependencies: 0
1
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craig Bellamy" .  } UNION { ?e <pred:name> "Brittany Murphy" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Craig Bellamy