Question: Who weighs less, Megan Fox or Shaquille O'Neal?
Choices:
Paul Simon
Richard Gere
Shaquille O'Neal
Simon Cowell
Sylvester Stallone
Rahul Dev Burman
David Byrne
James E. Reilly
William Henry Harrison
Megan Fox
Program:
function: Find
inputs: Megan Fox
function: Find
inputs: Shaquille O'Neal
function: SelectBetween
dependencies: 0
1
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Megan Fox" .  } UNION { ?e <pred:name> "Shaquille O'Neal" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Megan Fox