Question: Does Richard Thompson (the one that was born in Port of Spain) or Rafael Nadal have greater mass?
Choices:
David Byrne
William Henry Harrison
Richard Thompson
Max Fleischer
Paul Simon
Rafael Nadal
James E. Reilly
Simon Cowell
Richard Gere
Sylvester Stallone
Answer: Rafael Nadal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richard Thompson" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Port of Spain" .   } UNION { ?e <pred:name> "Rafael Nadal" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Port of Spain
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Richard Thompson
function: And
dependencies: 1
2
function: Find
inputs: Rafael Nadal
function: SelectBetween
dependencies: 3
4
inputs: mass
greater