Question: Is Mel Gibson (whose height is 190 centimeters) or Richard Rodgers (whose position is tight end) shorter in height?
Choices:
Max Fleischer
Sylvester Stallone
Richard Gere
William Henry Harrison
Richard Rodgers
James E. Reilly
Mel Gibson
Rahul Dev Burman
Simon Cowell
Paul Simon
Program:
function: Find
inputs: Mel Gibson
function: FilterNum
dependencies: 0
inputs: height
190 centimetre
=
function: Find
inputs: tight end
function: Relate
dependencies: 2
inputs: position played on team / speciality
backward
function: Find
inputs: Richard Rodgers
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mel Gibson" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "190"^^xsd:double . } UNION { ?e <pred:name> "Richard Rodgers" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "tight end" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mel Gibson