Question: Is Seal (the one that is famous for funk) or Nick Lachey taller?
Choices:
James E. Reilly
Richard Gere
Max Fleischer
Simon Cowell
David Byrne
Sylvester Stallone
William Henry Harrison
Seal
Nick Lachey
Paul Simon
Program:
function: Find
inputs: funk
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Seal
function: And
dependencies: 1
2
function: Find
inputs: Nick Lachey
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seal" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> "funk" .   } UNION { ?e <pred:name> "Nick Lachey" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seal