Question: Which has a greater height, Shakira (who is on the record label Columbia Records) or Reese Witherspoon?
Choices: Max Fleischer
William Henry Harrison
Reese Witherspoon
Sylvester Stallone
Paul Simon
David Byrne
James E. Reilly
Shakira
Simon Cowell
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shakira" . ?e <record_label> ?e_1 . ?e_1 <pred:name> "Columbia Records" .   } UNION { ?e <pred:name> "Reese Witherspoon" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Columbia Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Shakira
function: And
dependencies: 1
2
function: Find
inputs: Reese Witherspoon
function: SelectBetween
dependencies: 3
4
inputs: height
greater
Answer: Shakira