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