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