Question: Who is taller, Debbie Reynolds, or Steve McQueen, a Republican Party member?
Choices:
Richard Gere
Paul Simon
David Byrne
Max Fleischer
Debbie Reynolds
Sylvester Stallone
James E. Reilly
Rahul Dev Burman
Simon Cowell
Steve McQueen
Program:
function: Find
inputs: Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Steve McQueen
function: And
dependencies: 1
2
function: Find
inputs: Debbie Reynolds
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Steve McQueen" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> "Republican Party" .   } UNION { ?e <pred:name> "Debbie Reynolds" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Steve McQueen