Question: How is William Gibson who died on 1865-04-07 linked to Sweden?
Choices: student
partner
country of citizenship
language used
has contributing factor
opposite of
capital
official residence
drug used for treatment
worshipped by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Gibson" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1865-04-07"^^xsd:date . ?e_2 <pred:name> "Sweden" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William Gibson
function: FilterDate
dependencies: 0
inputs: date of death
1865-04-07
=
function: Find
inputs: Sweden
function: QueryRelation
dependencies: 1
2
Answer: country of citizenship