Question: Who is shorter, Snoop Dogg or Paul Robeson?
Choices:
Snoop Dogg
Max Fleischer
Rahul Dev Burman
James E. Reilly
Sylvester Stallone
William Henry Harrison
Richard Gere
Paul Robeson
Paul Simon
Simon Cowell
Program:
function: Find
inputs: Snoop Dogg
function: Find
inputs: Paul Robeson
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Snoop Dogg" .  } UNION { ?e <pred:name> "Paul Robeson" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Paul Robeson