Question: How many governorships were held by both Patrick Stewart and Tyler Perry?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Patrick Stewart
function: Relate
dependencies: 0
inputs: officeholder
backward
function: FilterConcept
dependencies: 1
inputs: governor
function: Find
inputs: Tyler Perry
function: Relate
dependencies: 3
inputs: officeholder
backward
function: FilterConcept
dependencies: 4
inputs: governor
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "governor" . ?e <officeholder> ?e_1 . ?e_1 <pred:name> "Patrick Stewart" .  ?e <officeholder> ?e_2 . ?e_2 <pred:name> "Tyler Perry" .  }
Answer: 0