Question: What is the relation between Death on the Nile (the one published in 1936) and the United Kingdom?
Choices:
located in the administrative territorial entity
doctoral advisor
has part
production designer
illustrator
works in collection
from fictional universe
head of government
country of origin
drafted by
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Death on the Nile" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1936 . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Death on the Nile
function: FilterYear
dependencies: 0
inputs: publication date
1936
=
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2