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