clarin-eric / ParlaMint

ParlaMint: Comparable Parliamentary Corpora
https://clarin-eric.github.io/ParlaMint/
40 stars 52 forks source link

"opposition" and "minority" parliamentary groups #569

Open gclux opened 1 year ago

gclux commented 1 year ago

In the French National Assembly, parliamentary groups have the option to declare themselves as: majority, opposition or minority. This is described in the following official document... I. – Les groupes d'opposition et les groupes minoritaires

We can assume in ParlaMint that "coalition" is equivalent to "majority" (although the concept is different, "coalition" is usually related to political parties).

However, we do not have the possibility in the current schema to describe minority groups... value of attribute "name" is invalid; must be equal to "coalition", "opposition", "renaming", "representing" or "successor"

TomazErjavec commented 1 year ago

I'd suggest:

And you could explain in the documentation this situation with FR. I guess we coulld also introduce "minority" as one of the name attribute values, but I am afraid it would get messy....

gclux commented 1 year ago

OK. I added the "unnamed" relations for minority parliamentary groups. Although, I do not find this very "readable" and I think it may be improved. <relation mutual="#PO771889" from="2020-05-26" to="2020-12-31" ana="#parl-lower-15"/>

gclux commented 1 year ago

Update! I first thought the validation was OK (at least on my side). But now I see on the GitHub job...

   INFO: XML validation for ParlaMint-FR.ana.xml
  Error: /home/runner/work/ParlaMint/ParlaMint/ParlaMint/Data/ParlaMint-FR/ParlaMint-FR.ana.xml:1665:128: error: element "relation" missing required attribute "name"
TomazErjavec commented 1 year ago

Sorry, I guess I wasn't clear: I wasn't suggesting a relation without the name attribute, but simply not putting these groups into a relation at all. My assumption was that all groups belong to one of the 3 types, so you don't actually lose information. Is this correct, or do you have parliamentary groups that are neither majority, opposition nor minority? If so, we might need to think again.