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