Question: How many literary works are derived from Harry Potter and the Half-Blood Prince (the one that was nominated for MTV Movie Award for Best Villain)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: MTV Movie Award for Best Villain
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: literary work
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Harry Potter and the Half-Blood Prince" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "MTV Movie Award for Best Villain" .   }
Answer: 1