Question: What is the number of political parties that Pakistan Peoples Party replaces and have a member named Lorraine Bracco?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e_1 <replaces> ?e . ?e_1 <pred:name> "Pakistan Peoples Party" .  ?e_2 <member_of_political_party> ?e . ?e_2 <pred:name> "Lorraine Bracco" .  }
Program:
function: Find
inputs: Pakistan Peoples Party
function: Relate
dependencies: 0
inputs: replaces
forward
function: FilterConcept
dependencies: 1
inputs: political party
function: Find
inputs: Lorraine Bracco
function: Relate
dependencies: 3
inputs: member of political party
forward
function: FilterConcept
dependencies: 4
inputs: political party
function: And
dependencies: 2
5
function: Count
dependencies: 6