diff --git a/src/schema/ParlaMint.rng b/src/schema/ParlaMint.rng new file mode 100644 index 0000000..405065c --- /dev/null +++ b/src/schema/ParlaMint.rng @@ -0,0 +1,980 @@ + + + + RelaxNG XML schema for ParlaMint corpora: common definitions and ParlaMint + mandated vocabularis of attributes. + + + Prefix definition for extended TEI pointers. + + + + [a-z][a-z0-9\+\.\-]* + + + + + + + + + + + + + + Taxonomy element included directly in the teiHeader of corpus root or stored + in a separate file. + + + + + + + Optional @n attribute for storing the name of the source corpus for a taxonomy. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Optional @n attribute for storing the name of the source corpus for a taxonomy. + + + + + + + + + + + + + + + + Content of a category (or taxomony) description. Contains a term followed by + (lighlty) annotated text. + + + + + + + + Organization list element included directly in the teiHeader of corpus root or + stored in a separate file. + + + + + + + + + + + + + + + + + + + Organization element for storing info on political parties, government, + etc. + + + + + + The type of organization + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The name of an organisation. + + + + Used when "the same" party changes its name: + + + + + yes + abb + + + + + + + + Element defining political metadata of a politicalParty or parliamentaryGroup. + + The type (source) of state. + + + + + + + + The value of a some metadatum. + + + + + Optional pointer to the category of a metadatum. + + + + + + From - to when this information holds. + + + + Abbreviation(s) of the political party in the source. + + + + + + + + Optional note(s). + + + + + + + + + Subsidiary states giving more detailed information, e.g. by type of metadatum or by year. + + + + + + + + A list of events connected to organisations. + + + + + + + + + + + + Used to specify relations between politicalParties and/or + parliamentaryGroups. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A list of persons. This element can be included directly in the teiHeader of a + corpus root or stored in a separate file. + + + + + + + + + + + + + + + + All informaton pertaining to a person. + + + + We can have person name in several languages, or, rather, + scripts or several names with different temporal information. + + + + + + + + M + F + U + O + N + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The name of a person. + + + Names can change, and are then marked by @from / @to. + + + + + + + + + + + + Special persons (like 'group') have their name in term. This possibility + might have to be revisited. + + + + + + + + + + birth + patronym + married + + + + + + + + + + + + + first + middle + unused + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The affiliation of a person, with temporal attributes, its type and possibly some content. + + + + + + + + + + + + + The written out name of the role. + + + + + + + The name of the organisation they are affiliated with. + + + + Optional note for free-text description of the affiliation period. + + + + period + + + + + + + + + + The occupation of a person. + + + + + + + + + + + The education of a person. + + + + + + + + + + + Figure element is used to give a photo of person. + + + + + + + + + + + + + + + + (\-?[\d]+/\-?[\d]+)"/> + + + + + + + + + + + The content of elements that describe life events: they can have an partial + date (e.g. year only) in temporal attributes. The content can be empty, or gives the placeName + where the event happened. There can be several placenames in different langauges or scripts. + + + + + + + + + + + + + + + + + + The event (or duration) connected with an organisatoin, e.g. the period of its + existence. + + + + + + + + + + + + + + The reference element also giving a target URI. + + + + + + + + + + The heading element. + + + + + + + + + + + + + + + + + + A page break, possibly with its source URI. + + + + + + + + + A series of paragraphs. Paragraphs are only used in the teiHeader. + + + + + + + + + + The identification number element identifies a corpus element with an URI, + and specifies its type and subtype. + + + + + URI + VIAF + + + + + + + + + + https?://.+ + + + + + + The specification of a time. It can have textual content with the date + type-set according to the object language. + + + + + + + + + A date with with all possible temporal information. It can have textual + content with the date type-set according to the object language. + + + + + + + + + + + + A simple date, just with @when. It can have textual content with the date + type-set according to the object language. + + + + + + + + Attribute for the form of a person or organisation name, + cf. https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-att.personal.html + + + + + yes + abb + init + + + + + + + Attributes giving temporal information on the current + element. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + When attributes specifying when the content of the curret element + happened. + + + + + + + The who attribute, giving the reference to the person who spoke the text of + the current element. + + + + + + + The source attribute, giving the reference to the source of the element + content. + + + + + + + + + Reference attribute, pointing to element(s) containing analyses of the current + element. + + + + + + + + + The analysis attribute, pointing to element(s) containing interpretations of + the current element. + + + + + + + The corresponds attribute, pointing to element(s) that correspond to the + current element in some way. + + + + + + + + + Attributes allowed on most elements. + + + + + + + + + + + + + + The identifier attribute, giving the unique ID of the + element. + + + + + + + The language attribute, which specifies the langauge of the element + content. Optional everywhere except on TEI and teiCorpus elements, where its is defined + separately. + + + + + + + + + A temporal value, from less to more specific. + + + + + + + + + + A possible value for @xml:lang + + + + + A list of URIs, including fragment references. + + + + + + + + + Text maybe containing a reference to some other document. + + + + + + + + + A string that is non-empty and does not contain white-space. + + \S+ + + + + + A string that is non-empty, does not start or end with white-space, and + contains only ordinary spaces as spacing characters. + + (\S)|(\S[\S ]*\S) + + + + + XInclude element, which is explicitly allowed at some points in a ParlaMint + corpus root. + + + + + + + + Fixed ParlaMint vocabularies of attribute values: + + + The types of states of organisations distinguished. + + Data from Chapel Hill Survey. + CHES + A CHES variable. + variable + A value of a CHES variable. + value + + Data on political orientation. + politicalOrientation + Data from Wikipedia. + Wikipedia + Data by an encoder. + encoder + + + + + Legal values of the names of relation between + organisations. + + coalition + opposition + renaming + successor + representing + + + + + Legal values of the org/@role attribute. + + Common values: + country + republic + government + ministry + parliament + politicalParty + parliamentaryGroup + The following used only by AT: + europeanCommission + europeanInstitution + federatedState + The following used only by BG: + ngo + The following used only by LT: + conferenceOfChairs + boardOfParliament + The following used only by CZ: + institution + senate + committee + subcommittee + commission + delegation + supervisoryBoard + workingGroup + interparliamentaryFriendshipGroup + nationalCouncil + chamberOfThePeople + chamberOfTheNations + europeanParliament + internationalOrganisation + boardOfDirectors + The following used only by SI: + ethnicCommunity + + + + + Legal values of the affiliation/@role attribute. + + member + head + deputyHead + minister + + The following used only by FR: + associateMember + nonAttachedMember + ministerDelegate + secretaryOfState + + The following used only by CZ: + observer + verifier + vicePublicDefenderOfRights + publicDefenderOfRights + alternateOfDelegation + replacement + representative + + The following used only by BG: + academician + candidateChairman + constitutionalJudge + deputyMinister + ombudsman + prosecutorGeneral + secretary + secretaryGeneral + + + + + Legal values of the kinesic/@type attribute. + + kinesic + applause + ringing + signal + playback + gesture + smiling + laughter + snapping + noise + + + + + Legal values of the incident/@type attribute. + + action + incident + leaving + entering + break + pause + sound + editorial + + + + + Legal values of the vocal/@type attribute. + + greeting + question + clarification + speaking + interruption + exclamat + laughter + shouting + murmuring + noise + signal + + +