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