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