Question: How many political parties were followed by Democratic-Republican Party or replaced Communist Party of the Soviet Union?
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> "political party" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> "Democratic-Republican Party" .  } UNION { ?e <replaces> ?e_1 . ?e_1 <pred:name> "Communist Party of the Soviet Union" .  } }
Program:
function: Find
inputs: Democratic-Republican Party
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: political party
function: Find
inputs: Communist Party of the Soviet Union
function: Relate
dependencies: 3
inputs: replaces
backward
function: FilterConcept
dependencies: 4
inputs: political party
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0