Question: For the literature that inspired Harry Potter and the Goblet of Fire (the one that has a duration of 151 minutes), what is the date it was published?
Choices:
1997
2009-09-10
1990-09-27
1912-01-01
2008-12-17
2010-12-14
2000-07-08
2012-07-05
2011-10-23
1947-08-04
Answer: 2000-07-08
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Harry Potter and the Goblet of Fire" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "151"^^xsd:double . ?e <publication_date> ?pv .  }
Program:
function: Find
inputs: Harry Potter and the Goblet of Fire
function: FilterNum
dependencies: 0
inputs: duration
151 minute
=
function: Relate
dependencies: 1
inputs: based on
forward
function: FilterConcept
dependencies: 2
inputs: literary work
function: QueryAttr
dependencies: 3
inputs: publication date