Question: Who weighs more, Jack Kemp or Tony Richardson (the one that is the citizen of United States of America)?
Choices:
Jack Kemp
James E. Reilly
William Henry Harrison
Tony Richardson
Max Fleischer
Richard Gere
Sylvester Stallone
Simon Cowell
Paul Simon
Rahul Dev Burman
Answer: Tony Richardson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jack Kemp" .  } UNION { ?e <pred:name> "Tony Richardson" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jack Kemp
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of citizenship
backward
function: Find
inputs: Tony Richardson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
greater