Question: What has the relation from The Wings of the Dove its origins from France to Henry James (his date of death is 1916-02-28)?
Choices: author
screenwriter
has parts of the class
is a list of
mother
art director
official language
published in
creator
drug used for treatment
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Wings of the Dove" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "Henry James" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> "1916-02-28"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Wings of the Dove
function: And
dependencies: 1
2
function: Find
inputs: Henry James
function: FilterDate
dependencies: 4
inputs: date of death
1916-02-28
=
function: QueryRelation
dependencies: 3
5
Answer: screenwriter