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