Question: How many novels were nominated for an Astrid Lindgren Memorial Award and contain King Kong (that uses the English language)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Astrid Lindgren Memorial Award
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: novel
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: Find
inputs: King Kong
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: present in work
forward
function: FilterConcept
dependencies: 7
inputs: novel
function: And
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "novel" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Astrid Lindgren Memorial Award" .  ?e_2 <present_in_work> ?e . ?e_2 <pred:name> "King Kong" . ?e_2 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" .  }
Answer: 0