Question: How many political ideologies are different from government or are characteristic of Nazism?
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 ideology" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> "government" .  } UNION { ?e_1 <has_quality> ?e . ?e_1 <pred:name> "Nazism" .  } }
Program:
function: Find
inputs: government
function: Relate
dependencies: 0
inputs: different from
forward
function: FilterConcept
dependencies: 1
inputs: political ideology
function: Find
inputs: Nazism
function: Relate
dependencies: 3
inputs: has quality
forward
function: FilterConcept
dependencies: 4
inputs: political ideology
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2