Question: Who is taller, Amy Smart or Art Carney (the one that was born in New York City)?
Choices:
David Byrne
Amy Smart
Paul Simon
Richard Gere
Art Carney
Simon Cowell
Max Fleischer
James E. Reilly
William Henry Harrison
Sylvester Stallone
Answer: Art Carney
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amy Smart" .  } UNION { ?e <pred:name> "Art Carney" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "New York City" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Amy Smart
function: Find
inputs: New York City
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Art Carney
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater