Question: Who weighs more, Didier Six or Oscar (the one that is a member of FC Inter Milan)?
Choices:
Richard Gere
Max Fleischer
Didier Six
Sylvester Stallone
David Byrne
James E. Reilly
Oscar
Simon Cowell
William Henry Harrison
Paul Simon
Program:
function: Find
inputs: Didier Six
function: Find
inputs: FC Inter Milan
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Oscar
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Didier Six" .  } UNION { ?e <pred:name> "Oscar" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "FC Inter Milan" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Didier Six