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