Question: Tell me the publication date for the entertainment that is based on Independence Day (the one that has a narrative location of Washington DC).
Choices:
2007-11-29
1974-12-28
1973-11-23
2002-11-05
1997-01-01
2000-12-27
1977-04-01
1987-07-17
1992-05-21
2012-12-21
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Independence Day
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: entertainment
function: QueryAttr
dependencies: 5
inputs: publication date
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Independence Day" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "Washington, D.C." .  ?e <publication_date> ?pv .  }
Answer: 1997-01-01