Question: Is Alex Rodriguez or US citizen Lewis Gilbert taller?
Choices:
Paul Simon
Richard Gere
Simon Cowell
William Henry Harrison
Rahul Dev Burman
James E. Reilly
Max Fleischer
Lewis Gilbert
Alex Rodriguez
Sylvester Stallone
Program:
function: Find
inputs: Alex Rodriguez
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of citizenship
backward
function: Find
inputs: Lewis Gilbert
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alex Rodriguez" .  } UNION { ?e <pred:name> "Lewis Gilbert" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lewis Gilbert