Question: How many political ideologies there are whose Dewey Decimal Classification is 335.43 or that is the political ideology of Federalist Party?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political ideology" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "335.43" .  } UNION { ?e_1 <political_ideology> ?e . ?e_1 <pred:name> "Federalist Party" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
335.43
function: FilterConcept
dependencies: 1
inputs: political ideology
function: Find
inputs: Federalist Party
function: Relate
dependencies: 3
inputs: political ideology
forward
function: FilterConcept
dependencies: 4
inputs: political ideology
function: Or
dependencies: 2
5
function: Count
dependencies: 6