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