Question: The Batman performed by Christian Bale has how many superhero partners?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Christian Bale
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: partner
backward
function: FilterConcept
dependencies: 4
inputs: superhero
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "superhero" . ?e <partner> ?e_1 . ?e_1 <pred:name> "Batman" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Christian Bale" .   }
Answer: 2