Question: Who is shorter, Craig Robinson (the one that is the citizen of Belgium) or Jermaine Jackson (the one that belongs to United States of America)?
Choices:
Richard Gere
Max Fleischer
William Henry Harrison
Simon Cowell
David Byrne
James E. Reilly
Jermaine Jackson
Craig Robinson
Paul Simon
Sylvester Stallone
Answer: Jermaine Jackson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craig Robinson" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Belgium" .   } UNION { ?e <pred:name> "Jermaine Jackson" . ?e <country_for_sport> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Belgium
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Craig Robinson
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country for sport
backward
function: Find
inputs: Jermaine Jackson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
less