Question: Who is shorter, point guard David Brown or Chris Carter whose mass is 98 kilograms?
Choices:
David Brown
David Byrne
James E. Reilly
William Henry Harrison
Rahul Dev Burman
Simon Cowell
Paul Simon
Richard Gere
Chris Carter
Sylvester Stallone
Answer: Chris Carter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Brown" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "point guard" . } UNION { ?e <pred:name> "Chris Carter" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "98"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: point guard
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: David Brown
function: And
dependencies: 1
2
function: Find
inputs: Chris Carter
function: FilterNum
dependencies: 4
inputs: mass
98 kilogram
=
function: SelectBetween
dependencies: 3
5
inputs: height
less