Question: Who is shorter, Jackie Robinson of the Detroit Pistons or Bruce Campbell who is 206 centimetres tall?
Choices:
David Byrne
Rahul Dev Burman
Sylvester Stallone
Richard Gere
Jackie Robinson
James E. Reilly
Paul Simon
Simon Cowell
Bruce Campbell
William Henry Harrison
Answer: Jackie Robinson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackie Robinson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Detroit Pistons" . } UNION { ?e <pred:name> "Bruce Campbell" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "206"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Detroit Pistons
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jackie Robinson
function: And
dependencies: 1
2
function: Find
inputs: Bruce Campbell
function: FilterNum
dependencies: 4
inputs: height
206 centimetre
=
function: SelectBetween
dependencies: 3
5
inputs: height
less