Question: Which human is named after John Paul Jones (whose date of death is 1792-07-18)?
Choices:
Simon Cowell
John Paul Jones
Rahul Dev Burman
Richard Gere
Max Fleischer
William Henry Harrison
David Byrne
Larry Miller
Sylvester Stallone
Tom Green
Program:
function: Find
inputs: John Paul Jones
function: FilterDate
dependencies: 0
inputs: date of death
1792-07-18
=
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "John Paul Jones" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1792-07-18"^^xsd:date .   }
Answer: John Paul Jones