Question: Is Matthew Perry or Patrick Stewart the taller of the two?
Choices:
Richard Gere
James E. Reilly
Sylvester Stallone
William Henry Harrison
Paul Simon
Patrick Stewart
Matthew Perry
Simon Cowell
Rahul Dev Burman
David Byrne
Program:
function: Find
inputs: Matthew Perry
function: Find
inputs: Patrick Stewart
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Matthew Perry" .  } UNION { ?e <pred:name> "Patrick Stewart" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Matthew Perry