Question: Who weighs more, Mark Bresciano or Ross Turnbull (the one whose sport number is 22)?
Choices: Mark Bresciano
William Henry Harrison
Max Fleischer
Simon Cowell
Paul Simon
Richard Gere
Rahul Dev Burman
Ross Turnbull
David Byrne
James E. Reilly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Bresciano" . } UNION { ?e <pred:name> "Ross Turnbull" . ?e <sport_number> ?pv_1 . ?pv_1 <pred:value> "22" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mark Bresciano
function: Find
inputs: Ross Turnbull
function: FilterStr
dependencies: 1
inputs: sport number
22
function: SelectBetween
dependencies: 0
2
inputs: mass
greater
Answer: Ross Turnbull