Question: Who is taller, Parker Posey or the Canadian John Wood?
Choices:
Richard Gere
Rahul Dev Burman
James E. Reilly
William Henry Harrison
Max Fleischer
Parker Posey
Simon Cowell
Paul Simon
John Wood
Sylvester Stallone
Program:
function: Find
inputs: Parker Posey
function: Find
inputs: Canada
function: Relate
dependencies: 1
inputs: country for sport
backward
function: Find
inputs: John Wood
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Parker Posey" .  } UNION { ?e <pred:name> "John Wood" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> "Canada" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: John Wood