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