Question: How many novels do we know that contain King Kong character (the one that is created by Merian C. Cooper)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "novel" . ?e <characters> ?e_1 . ?e_1 <pred:name> "King Kong" . ?e_1 <creator> ?e_2 . ?e_2 <pred:name> "Merian C. Cooper" .   }
Program:
function: Find
inputs: Merian C. Cooper
function: Relate
dependencies: 0
inputs: creator
backward
function: Find
inputs: King Kong
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: novel
function: Count
dependencies: 5
Answer: 0