Question: Who weighs more, Ron Carter (the one whose mass is 205 pound) or Chris Carter (the one whose position is safety)?
Choices: Simon Cowell
Paul Simon
Rahul Dev Burman
Sylvester Stallone
Max Fleischer
Ron Carter
Richard Gere
William Henry Harrison
James E. Reilly
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ron Carter" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "205"^^xsd:double . } UNION { ?e <pred:name> "Chris Carter" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "safety" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ron Carter
function: FilterNum
dependencies: 0
inputs: mass
205 pound
=
function: Find
inputs: safety
function: Relate
dependencies: 2
inputs: position played on team / speciality
backward
function: Find
inputs: Chris Carter
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater
Answer: Ron Carter