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