Question: How many genres are connected with a discipline of the literary award that was given toThe Polar Express (the one whose publication date is 1985) in 1986?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: The Polar Express
function: FilterYear
dependencies: 0
inputs: publication date
1985
=
function: Relate
dependencies: 1
inputs: award received
forward
function: QFilterYear
dependencies: 2
inputs: point in time
1986
=
function: FilterConcept
dependencies: 3
inputs: literary award
function: Relate
dependencies: 4
inputs: award disciplines or subjects
forward
function: FilterConcept
dependencies: 5
inputs: genre
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "genre" . ?e_1 <award_disciplines_or_subjects> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "literary award" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> "The Polar Express" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1985 . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1986 .   }
Answer: 1