Question: How many political ideologies are in a military conflict with General Dynamics Electric Boat or refer to a basic government form of Nicaragua ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political ideology" .  { ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> "General Dynamics Electric Boat" .  } UNION { ?e_1 <basic_form_of_government> ?e . ?e_1 <pred:name> "Nicaragua" .  } }
Program:
function: Find
inputs: General Dynamics Electric Boat
function: Relate
dependencies: 0
inputs: military conflicts
forward
function: FilterConcept
dependencies: 1
inputs: political ideology
function: Find
inputs: Nicaragua
function: Relate
dependencies: 3
inputs: basic form of government
forward
function: FilterConcept
dependencies: 4
inputs: political ideology
function: Or
dependencies: 2
5
function: Count
dependencies: 6