Question: How many political ideologies either have the subreddit of Libertarian or are classified as 335 under the Dewey Decimal Classification system?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
Libertarian
function: FilterConcept
dependencies: 1
inputs: political ideology
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
335
function: FilterConcept
dependencies: 4
inputs: political ideology
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 ideology" .  { ?e <subreddit> ?pv . ?pv <pred:value> "Libertarian" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "335" .  } }
Answer: 2