Question: Which area has higher elevation above sea level, Chris Carter (the one that is a member of Seattle Seahawks) or David Arnold (the one that is the citizen of United States of America)?
Choices:
William Henry Harrison
James E. Reilly
Rahul Dev Burman
David Arnold
Richard Gere
David Byrne
Max Fleischer
Simon Cowell
Sylvester Stallone
Chris Carter
Answer: David Arnold
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Carter" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Seattle Seahawks" .   } UNION { ?e <pred:name> "David Arnold" . ?e <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Seattle Seahawks
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Chris Carter
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country of citizenship
backward
function: Find
inputs: David Arnold
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater