Question: Who is shorter: John Byrne of Oxford United F.C. or Alan Ball who died on 1985-03-29?
Choices:
Richard Gere
James E. Reilly
Rahul Dev Burman
Simon Cowell
David Byrne
Max Fleischer
John Byrne
Sylvester Stallone
Alan Ball
William Henry Harrison
Answer: John Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Byrne" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Oxford United F.C." . } UNION { ?e <pred:name> "Alan Ball" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1985-03-29"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oxford United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Byrne
function: And
dependencies: 1
2
function: Find
inputs: Alan Ball
function: FilterDate
dependencies: 4
inputs: date of birth
1985-03-29
=
function: SelectBetween
dependencies: 3
5
inputs: height
less