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