Question: What is the publication date of Downton Abbey (the one whose number of seasons is 6)?
Choices:
2006-05-26
1996-04-18
2012-01-06
2009-09-24
2019
2017-03-16
2004-04-28
2011-11-01
2000-10-06
2002-11-21
Answer: 2019
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Downton Abbey" . ?e_1 <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "6"^^xsd:double . ?e <publication_date> ?pv .  }
Program:
function: Find
inputs: Downton Abbey
function: FilterNum
dependencies: 0
inputs: number of seasons
6
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: publication date