Question: How is The Diary of Anne Frank published on 1987-01-01 related to The Holocaust?
Choices: main subject
organisation directed from the office or person
located on terrain feature
place of origin (Switzerland)
fictional universe described in
developer
head of government
location of formation
owner of
home venue
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Diary of Anne Frank" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1987-01-01"^^xsd:date . ?e_2 <pred:name> "The Holocaust" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Diary of Anne Frank
function: FilterDate
dependencies: 0
inputs: publication date
1987-01-01
=
function: Find
inputs: The Holocaust
function: QueryRelation
dependencies: 1
2
Answer: main subject