Question: Who is the lightweight of the two: Theofanis Gekas or Shaquille O'Neal?
Choices:
Richard Gere
Shaquille O'Neal
William Henry Harrison
Paul Simon
David Byrne
Max Fleischer
Simon Cowell
Rahul Dev Burman
Theofanis Gekas
Sylvester Stallone
Program:
function: Find
inputs: Theofanis Gekas
function: Find
inputs: Shaquille O'Neal
function: SelectBetween
dependencies: 0
1
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Theofanis Gekas" .  } UNION { ?e <pred:name> "Shaquille O'Neal" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Theofanis Gekas