Skip to content

Commit

Permalink
Change affiliation role from MP to member.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomazErjavec committed May 23, 2022
1 parent 6617413 commit 7524d09
Show file tree
Hide file tree
Showing 7 changed files with 1,290 additions and 1,543 deletions.
18 changes: 10 additions & 8 deletions Schema/parla-clarin-odd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</titleStmt>
<publicationStmt>
<publisher>CLARIN</publisher>
<date>2022-05-03</date>
<date>2022-05-23</date>
<availability status="free">
<p>This file is freely available and you are hereby authorised to copy, modify, and redistribute it in any way without further reference or permissions.</p>
</availability>
Expand All @@ -34,6 +34,7 @@
</projectDesc>
</encodingDesc>
<revisionDesc>
<change when="2022-05-23">Tomaž Erjavec: change affiliation/@role from MP to member.</change>
<change when="2022-05-03">Tomaž Erjavec: make sex empty element, as per ParlaMint fix.</change>
<change when="2022-02-08">Tomaž Erjavec: take into account lessons from ParlaMint.</change>
<change when="2020-12-08">Tomaž Erjavec: add Sec. about normalisation.</change>
Expand Down Expand Up @@ -920,9 +921,9 @@
<gi>occupation</gi>, and <gi>affiliation</gi>.</p>

<p>In the context of PPCs, the <gi>affiliation</gi> element is especially important, as it
can denote the person's membership in a political party, or their role in the parliament,
such as being an MP. Different types of affiliations are distinguished by the different
values of the <att>role</att> attribute, such as <q>member</q> (of a party) or <q>MP</q>.
can denote the person's membership in a political party or in the
parliament. Different types of affiliations are distinguished by the different
values of the <att>role</att> attribute, such as <q>member</q>.
As affiliations are not necessarily fixed, and the <gi>affiliation</gi> element can
be marked for its temporal duration, as explained in the Section on
<ref target="#sec-temporal">Temporal information</ref>.
Expand All @@ -936,16 +937,17 @@
</persName>
<affiliation role="member" ref="#party.ZSMS" from="1990-05-08" to="1990-11-09"/>
<affiliation role="member" ref="#party.LDS.1" from="1990-11-10" to="1994-03-11"/>
<affiliation role="MP" ref="#DruzPolZb" from="1990-05-08" to="1992-12-22" ana="#SK.11"/>
<affiliation role="MP" ref="#DZ" from="1992-12-23" to="1996-11-27" ana="#DZ.1"/>
<affiliation role="member" ref="#DruzPolZb" from="1990-05-08" to="1992-12-22" ana="#SK.11"/>
<affiliation role="member" ref="#DZ" from="1992-12-23" to="1996-11-27" ana="#DZ.1"/>
</person>
</egXML>
</p>

<p>The example above uses, via the <att>ref</att> attribute, stand-off annotation to refer
to the names of the parties, which should then be defined in a <gi>taxonomy</gi> element in
the <gi>teiHeader</gi>, as explained in the Section on <ref target="#sec-party">Party
metadata</ref>. The same can be done for the MP affiliation to the national assembly,
metadata</ref>. The same can be done for the affiliation to the national assembly
(i.e. that the person is an MP),
where, additionally, a reference, via the <att>ana</att> attribute, is given to the
legislative period in which the person was an MP.</p>

Expand All @@ -956,7 +958,7 @@
elected as an MP to represent a certain constituency, giving its name and location.

<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="exa-constituency">
<affiliation role="MP" ref="#DruzPolZb" from="1990-05-08" to="1996-11-27">
<affiliation role="member" ref="#DruzPolZb" from="1990-05-08" to="1996-11-27">
<orgName xml:lang="sl">Državni zbor Republike Slovenije</orgName>
<orgName xml:lang="en">National Assembly of the Republic of Slovenia</orgName>
<affiliation role="consituency">
Expand Down
40 changes: 4 additions & 36 deletions Schema/parla-clarin.dtd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

<!--
DTD generated from ODD source 2022-05-03T13:22:37Z. 2022-05-03.This file is freely available and you are hereby authorised to copy, modify, and redistribute it in any way without further reference or permissions.
DTD generated from ODD source 2022-05-23T16:29:25Z. 2022-05-03.This file is freely available and you are hereby authorised to copy, modify, and redistribute it in any way without further reference or permissions.
TEI Edition: Version 4.4.0a. Last updated on
19th January 2022, revision daab99ca7
14th March 2022, revision 3a89ab0a0
TEI Edition Location: https://www.tei-c.org/Vault/P5/Version 4.4.0a./

-->
Expand Down Expand Up @@ -1680,7 +1680,7 @@ target CDATA #IMPLIED >
%tei_att.global.attributes;
mode (s|w|sw|ws|m|x) "x" >
<!--doc:(character) provides descriptive information about a character. [5.2. Markup Constructs for Representation of Characters and Glyphs] -->
<!ELEMENT char (charName|charProp|unicodeProp|unihanProp|localProp|mapping|figure|%model.graphicLike;|%model.noteLike;|%model.descLike;)*>
<!ELEMENT char (unicodeProp|unihanProp|localProp|mapping|figure|%model.graphicLike;|%model.noteLike;|%model.descLike;)*>
<!ATTLIST char xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST char
%tei_att.global.attributes; >
Expand All @@ -1689,17 +1689,6 @@ mode (s|w|sw|ws|m|x) "x" >
<!ATTLIST charDecl xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST charDecl
%tei_att.global.attributes; >
<!--doc:(character name) contains the name of a character, expressed following Unicode conventions. [5.2. Markup Constructs for Representation of Characters and Glyphs] -->
<!ELEMENT charName (#PCDATA)>
<!ATTLIST charName xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST charName
%tei_att.global.attributes; >
<!--doc:(character property) provides a name and value for some property of the parent character or glyph. [5.2. Markup Constructs for Representation of Characters and Glyphs] -->
<!ELEMENT charProp (((unicodeName|localName),value))>
<!ATTLIST charProp xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST charProp
%tei_att.global.attributes;
%tei_att.typed.attributes; >
<!--doc:(choice) groups a number of alternative encodings for the same point in a text. [3.5. Simple Editorial Changes] -->
<!ELEMENT choice (%model.choicePart;|choice)+>
<!ATTLIST choice xmlns CDATA "http://www.tei-c.org/ns/1.0">
Expand Down Expand Up @@ -2232,15 +2221,10 @@ datum %teidata.enumerated; "WGS84" >
%tei_att.pointing.attributes;
%tei_att.cReferencing.attributes; >
<!--doc:(character glyph) provides descriptive information about a character glyph. [5.2. Markup Constructs for Representation of Characters and Glyphs] -->
<!ELEMENT glyph (glyphName|charProp|unicodeProp|unihanProp|localProp|mapping|figure|%model.graphicLike;|%model.noteLike;|%model.descLike;)*>
<!ELEMENT glyph (unicodeProp|unihanProp|localProp|mapping|figure|%model.graphicLike;|%model.noteLike;|%model.descLike;)*>
<!ATTLIST glyph xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST glyph
%tei_att.global.attributes; >
<!--doc:(character glyph name) contains the name of a glyph, expressed following Unicode conventions for character names. [5.2. Markup Constructs for Representation of Characters and Glyphs] -->
<!ELEMENT glyphName (#PCDATA)>
<!ATTLIST glyphName xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST glyphName
%tei_att.global.attributes; >
<!--doc:(graphic) indicates the location of a graphic or illustration, either forming part of a text, or providing an image of it. [3.10. Graphics and Other Non-textual Components 11.1. Digital Facsimiles] -->
<!ELEMENT graphic (%model.descLike;)*>
<!ATTLIST graphic xmlns CDATA "http://www.tei-c.org/ns/1.0">
Expand Down Expand Up @@ -2562,11 +2546,6 @@ ordered %teidata.truthValue; "true" >
<!ATTLIST listTranspose xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST listTranspose
%tei_att.global.attributes; >
<!--doc:(locally-defined property name) contains a locally defined name for some property. [5.2.1. Character Properties] -->
<!ELEMENT localName (#PCDATA)>
<!ATTLIST localName xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST localName
%tei_att.global.attributes; >
<!--doc:(locally defined property) provides a locally defined character (or glyph) property. [5.2.1. Character Properties] -->
<!ELEMENT localProp EMPTY>
<!ATTLIST localProp xmlns CDATA "http://www.tei-c.org/ns/1.0">
Expand Down Expand Up @@ -3762,12 +3741,6 @@ agent %teidata.enumerated; #IMPLIED >
%tei_att.transcriptional.attributes;
%tei_att.dimensions.attributes;
target CDATA #IMPLIED >
<!--doc:(Unicode property name) contains the name of a registered Unicode normative or informative property. [5.2.1. Character Properties] -->
<!ELEMENT unicodeName (#PCDATA)>
<!ATTLIST unicodeName xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST unicodeName
%tei_att.global.attributes;
version %teidata.version; #IMPLIED >
<!--doc:(unicode property) provides a Unicode property for a character (or glyph). [5.2.1. Character Properties] -->
<!ELEMENT unicodeProp EMPTY>
<!ATTLIST unicodeProp xmlns CDATA "http://www.tei-c.org/ns/1.0">
Expand Down Expand Up @@ -3818,11 +3791,6 @@ Measures] -->
<!ATTLIST vColl
%tei_att.global.attributes;
org (set|bag|list) #IMPLIED >
<!--doc:(value) contains a single value for some property, attribute, or other analysis. [5.2.1. Character Properties] -->
<!ELEMENT value %macro.xtext;>
<!ATTLIST value xmlns CDATA "http://www.tei-c.org/ns/1.0">
<!ATTLIST value
%tei_att.global.attributes; >
<!--doc:(vocal) marks any vocalized but not necessarily lexical phenomenon, for example voiced pauses, non-lexical backchannels, etc. [8.3.3. Vocal, Kinesic, Incident] -->
<!ELEMENT vocal (%model.descLike;)*>
<!ATTLIST vocal xmlns CDATA "http://www.tei-c.org/ns/1.0">
Expand Down
Loading

0 comments on commit 7524d09

Please sign in to comment.