Question: Is Mila Kunis or Tempe native Joe Jackson taller?
Choices:
Simon Cowell
William Henry Harrison
Rahul Dev Burman
Joe Jackson
David Byrne
Max Fleischer
Mila Kunis
Sylvester Stallone
Paul Simon
James E. Reilly
Program:
function: Find
inputs: Mila Kunis
function: Find
inputs: Tempe
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Joe Jackson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mila Kunis" .  } UNION { ?e <pred:name> "Joe Jackson" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Tempe" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Joe Jackson