Question: Is Angelina Jolie or Jay-Z taller?
Choices:
Jay-Z
Paul Simon
Richard Gere
William Henry Harrison
Max Fleischer
Simon Cowell
David Byrne
Sylvester Stallone
Angelina Jolie
James E. Reilly
Program:
function: Find
inputs: Angelina Jolie
function: Find
inputs: Jay-Z
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Angelina Jolie" .  } UNION { ?e <pred:name> "Jay-Z" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jay-Z