Question: Who is taller, David Carney or Scarlett Johansson?
Choices:
Scarlett Johansson
David Carney
Richard Gere
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
David Byrne
Paul Simon
Simon Cowell
James E. Reilly
Program:
function: Find
inputs: David Carney
function: Find
inputs: Scarlett Johansson
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Carney" .  } UNION { ?e <pred:name> "Scarlett Johansson" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: David Carney