Question: Which is shorter, Napoleon who died on 1821-05-05 or Jason Lee of Stockport County F.C.?
Choices:
William Henry Harrison
Max Fleischer
Richard Gere
Jason Lee
Napoleon
Rahul Dev Burman
James E. Reilly
David Byrne
Simon Cowell
Paul Simon
Program:
function: Find
inputs: Napoleon
function: FilterDate
dependencies: 0
inputs: date of death
1821-05-05
=
function: Find
inputs: Stockport County F.C.
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Jason Lee
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> "Jason Lee" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Stockport County F.C." . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Napoleon