Question: Who has more mass, Mauricio Pinilla of U.S. Grosseto F.C. or Juan Mata?
Choices:
Paul Simon
Sylvester Stallone
William Henry Harrison
Simon Cowell
Richard Gere
Juan Mata
James E. Reilly
Mauricio Pinilla
Max Fleischer
David Byrne
Program:
function: Find
inputs: U.S. Grosseto F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Mauricio Pinilla
function: And
dependencies: 1
2
function: Find
inputs: Juan Mata
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mauricio Pinilla" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "U.S. Grosseto F.C." .   } UNION { ?e <pred:name> "Juan Mata" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mauricio Pinilla