Question: Who is shorter, Michael Jackson born on 1964-07-13 or James Brown of the Chicago Bears?
Choices: Richard Gere
Paul Simon
Michael Jackson
David Byrne
Simon Cowell
Max Fleischer
Sylvester Stallone
James Brown
Rahul Dev Burman
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael Jackson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1964-07-13"^^xsd:date . } UNION { ?e <pred:name> "James Brown" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Chicago Bears" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Michael Jackson
function: FilterDate
dependencies: 0
inputs: date of birth
1964-07-13
=
function: Find
inputs: Chicago Bears
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: James Brown
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
less
Answer: Michael Jackson