Question: Who is taller Israel (the one that is related to sport association football) or Kate Moss?
Choices:
Simon Cowell
Rahul Dev Burman
Israel
Max Fleischer
Paul Simon
Richard Gere
Sylvester Stallone
James E. Reilly
Kate Moss
David Byrne
Program:
function: Find
inputs: association football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Israel
function: And
dependencies: 1
2
function: Find
inputs: Kate Moss
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Israel" . ?e <sport> ?e_1 . ?e_1 <pred:name> "association football" .   } UNION { ?e <pred:name> "Kate Moss" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Israel