Question: How many constitutional monarchies belonging to the African Union have warred with Hungary?
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> "constitutional monarchy" . ?e <member_of> ?e_1 . ?e_1 <pred:name> "African Union" .  ?e <military_conflicts> ?e_2 . ?e_2 <pred:name> "Hungary" .  }
Program:
function: Find
inputs: African Union
function: Relate
dependencies: 0
inputs: member of
backward
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: Find
inputs: Hungary
function: Relate
dependencies: 3
inputs: military conflicts
backward
function: FilterConcept
dependencies: 4
inputs: constitutional monarchy
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0