Question: Is Mark Williams (the one that is the citizen of South Africa) or Amy Winehouse taller?
Choices:
Richard Gere
Mark Williams
Max Fleischer
Rahul Dev Burman
Amy Winehouse
Simon Cowell
James E. Reilly
Sylvester Stallone
David Byrne
William Henry Harrison
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Find
inputs: Amy Winehouse
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Williams" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "South Africa" .   } UNION { ?e <pred:name> "Amy Winehouse" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mark Williams