Question: What is the number of first-level administrative country subdivisions that have the fundamental government structure of a parliamentary system or the short name MG?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: Find
inputs: parliamentary system
function: Relate
dependencies: 0
inputs: basic form of government
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
MG
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
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> "first-level administrative country subdivision" .  { ?e <basic_form_of_government> ?e_1 . ?e_1 <pred:name> "parliamentary system" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> "MG" .  } }
Answer: 3