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