Question: How many political parties precede the Democratic Party or have a founding year other than 1918?
Choices:
53
54
55
56
57
58
59
60
61
62
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: political party
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1918
!=
function: FilterConcept
dependencies: 4
inputs: political party
function: Or
dependencies: 2
5
function: Count
dependencies: 6
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 Party" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1918 ) .  } }
Answer: 61