Question: Who is taller, John Powell born on 1947-06-25 or Jim Brown of Manchester United F.C.?
Choices: Richard Gere
Rahul Dev Burman
David Byrne
Simon Cowell
Jim Brown
John Powell
Sylvester Stallone
William Henry Harrison
Paul Simon
James E. Reilly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Powell" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1947-06-25"^^xsd:date . } UNION { ?e <pred:name> "Jim Brown" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Manchester United F.C." . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: John Powell
function: FilterDate
dependencies: 0
inputs: date of birth
1947-06-25
=
function: Find
inputs: Manchester United F.C.
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
greater
Answer: John Powell