Question: Who is taller, James Steward, who belongs to the United States of America, or Alfred Hitchcock?
Choices:
David Byrne
James E. Reilly
Sylvester Stallone
Paul Simon
Max Fleischer
James Stewart
Rahul Dev Burman
Richard Gere
Simon Cowell
Alfred Hitchcock
Answer: James Stewart
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James Stewart" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Alfred Hitchcock" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: James Stewart
function: And
dependencies: 1
2
function: Find
inputs: Alfred Hitchcock
function: SelectBetween
dependencies: 3
4
inputs: height
greater