Question: Does Napoleon (the one whose date of death is 1821-05-05) or John Madden (the one that is a member of Florida Panthers) have less height?
Choices:
Rahul Dev Burman
James E. Reilly
Simon Cowell
William Henry Harrison
Max Fleischer
David Byrne
John Madden
Richard Gere
Napoleon
Paul Simon
Program:
function: Find
inputs: Napoleon
function: FilterDate
dependencies: 0
inputs: date of death
1821-05-05
=
function: Find
inputs: Florida Panthers
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: John Madden
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Napoleon" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1821-05-05"^^xsd:date . } UNION { ?e <pred:name> "John Madden" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Florida Panthers" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Napoleon