Question: How many political parties were established by Mpls. native Peter Graves or post-1919?
Choices:
28
29
30
31
32
33
34
35
36
37
Program:
function: Find
inputs: Minneapolis
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Peter Graves
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: founded by
backward
function: FilterConcept
dependencies: 4
inputs: political party
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1919
>
function: FilterConcept
dependencies: 7
inputs: political party
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" .  { ?e <founded_by> ?e_1 . ?e_1 <pred:name> "Peter Graves" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Minneapolis" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1919 ) .  } }
Answer: 35