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