Question: Who is shorter, power forward John Irving or Brian Jones whose mass is 258 pounds?
Choices:
Paul Simon
John Irving
David Byrne
Max Fleischer
James E. Reilly
Richard Gere
Rahul Dev Burman
Sylvester Stallone
Brian Jones
Simon Cowell
Answer: Brian Jones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Irving" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "power forward" . } UNION { ?e <pred:name> "Brian Jones" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "258"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: power forward
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: John Irving
function: And
dependencies: 1
2
function: Find
inputs: Brian Jones
function: FilterNum
dependencies: 4
inputs: mass
258 pound
=
function: SelectBetween
dependencies: 3
5
inputs: height
less