Question: Which one is heavier, Michael Clayton of the US or Brian Jones, born in Iowa City ?
Choices:
Richard Gere
Simon Cowell
Paul Simon
William Henry Harrison
Rahul Dev Burman
Max Fleischer
Brian Jones
Michael Clayton
David Byrne
Sylvester Stallone
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Michael Clayton
function: And
dependencies: 1
2
function: Find
inputs: Iowa City
function: Relate
dependencies: 4
inputs: place of birth
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael Clayton" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Brian Jones" . ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> "Iowa City" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brian Jones