Question: Who is taller: James Brown of Bradford (Park Avenue) A.F.C., or Richard Thompson at 188 cm tall?
Choices:
Max Fleischer
Simon Cowell
William Henry Harrison
David Byrne
James E. Reilly
Richard Gere
Rahul Dev Burman
Richard Thompson
James Brown
Paul Simon
Answer: Richard Thompson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James Brown" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Bradford (Park Avenue) A.F.C." . } UNION { ?e <pred:name> "Richard Thompson" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "188"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bradford (Park Avenue) A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: James Brown
function: And
dependencies: 1
2
function: Find
inputs: Richard Thompson
function: FilterNum
dependencies: 4
inputs: height
188 centimetre
=
function: SelectBetween
dependencies: 3
5
inputs: height
greater