Question: What is the relationship of Andy Warhol to Heat (whose publication was in 01/01/1972)
Choices:
country of origin
broadcast by
legislative body
fabrication method
industry
after a work by
diaspora
producer
captain
color
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heat" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1972-01-01"^^xsd:date . ?e_2 <pred:name> "Andy Warhol" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Heat
function: FilterDate
dependencies: 0
inputs: publication date
1972-01-01
=
function: Find
inputs: Andy Warhol
function: QueryRelation
dependencies: 1
2