From e1136333092a4ad29699473dde00b00e22316ee8 Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Thu, 16 May 2024 11:24:01 +0200 Subject: [PATCH 1/7] work in progress: Netherlands citation page --- .../parliament/citation/netherlands.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 backend/corpora/parliament/citation/netherlands.md diff --git a/backend/corpora/parliament/citation/netherlands.md b/backend/corpora/parliament/citation/netherlands.md new file mode 100644 index 000000000..dbacdd08a --- /dev/null +++ b/backend/corpora/parliament/citation/netherlands.md @@ -0,0 +1,34 @@ +## Citing the entire corpus + +People & Parliament presents the *Dutch parliamentary data* corpus, which is a combination of the following: +- Dutch parliamentary proceedings from 1814-2013, harvested and enriched in the [Political Mashup project](https://ssh.datastations.nl/dataset.xhtml?persistentId=doi:10.17026/dans-xk5-dw3s), retrieved 2020 +- Dutch parliamentary proceedings from 2014-2022, harvested and enriched by [ParlaMINT](https://www.clarin.eu/parlamint), first retrieved 2020 and updated 2023 + +### APA style + +> University of Jyväskylä and Utrecht University (2020, 2023). *Dutch Parliamentary data* [data set]. People & Parliament: the Netherlands. {{ frontend_url }}/search/parliament-netherlands + +### MLA style + +[MLA guidelines](https://style.mla.org/) recommend against citing a database, and recommend [citing each individual work you use](https://style.mla.org/separate-entries-database-works/). If you want to cite the entire corpus nonetheless, we recommend the following format: + +> University of Jyväskylä and Utrecht University. "Dutch Parliamentary data". *People & Parliament*, 2020/2023. {{ frontend_url }}/search/parliament-netherlands + +## Citing a specific speech + +When you cite a speech in the *Dutch Parliamentary data* corpus, newer documents contain a `Source URL` field. If this field is not present, we recommend that you retrieve a link by clicking the *link* icon underneath the speech's document tile. This should give you an url as follows: +https://people-and-parliament.hum.uu.nl/document/parliament-netherlands/ParlaMint-NL_2021-12-21-eerstekamer-4.u1 + +To get an URL for an entire debate, you can use the *view debate* link for a speech. This will get you a link like this: + + {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc + +This describes the query to view all chapters of the book on I-analyzer. + +### APA style + +> Porjeere, O. (1788). *Zanglievende uitspanningen*. Martinus de Bruijn. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc + +### MLA style + +> Porjeere, Olivier. *Zanglievende uitspanningen*. Martinus de Bruijn, 1788. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc From a9d23b09131a8c04f6b78b20c635808961be478c Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Thu, 16 May 2024 11:24:17 +0200 Subject: [PATCH 2/7] add document_context() to Netherlands corpus definition --- backend/corpora/parliament/netherlands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/corpora/parliament/netherlands.py b/backend/corpora/parliament/netherlands.py index f83c8287e..09a21dc5e 100644 --- a/backend/corpora/parliament/netherlands.py +++ b/backend/corpora/parliament/netherlands.py @@ -11,6 +11,7 @@ from corpora.parliament.utils.parlamint import extract_all_party_data, extract_people_data, extract_role_data, party_attribute_extractor, person_attribute_extractor from corpora.utils.formatting import format_page_numbers from corpora.parliament.parliament import Parliament +from corpora.utils.constants import document_context import corpora.parliament.utils.field_defaults as field_defaults import re @@ -132,11 +133,13 @@ class ParliamentNetherlands(Parliament, XMLCorpusDefinition): es_index = getattr(settings, 'PP_NL_INDEX', 'parliament-netherlands') image = 'netherlands.jpg' description_page = 'netherlands.md' + citation_page = 'netherlands.md' tag_toplevel = lambda _, metadata: 'root' if is_old(metadata) else 'TEI' tag_entry = lambda _, metadata: 'speech' if is_old(metadata) else 'u' languages = ['nl'] category = 'parliament' + document_context = document_context() def sources(self, start, end): logger = logging.getLogger(__name__) From dd88f64101b811157951d6c1c9b6945d038e83dc Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Thu, 16 May 2024 12:00:40 +0200 Subject: [PATCH 3/7] update netherlands.md citation page --- .../corpora/parliament/citation/netherlands.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/backend/corpora/parliament/citation/netherlands.md b/backend/corpora/parliament/citation/netherlands.md index dbacdd08a..8e8a9d34d 100644 --- a/backend/corpora/parliament/citation/netherlands.md +++ b/backend/corpora/parliament/citation/netherlands.md @@ -14,21 +14,20 @@ People & Parliament presents the *Dutch parliamentary data* corpus, which is a c > University of Jyväskylä and Utrecht University. "Dutch Parliamentary data". *People & Parliament*, 2020/2023. {{ frontend_url }}/search/parliament-netherlands -## Citing a specific speech - -When you cite a speech in the *Dutch Parliamentary data* corpus, newer documents contain a `Source URL` field. If this field is not present, we recommend that you retrieve a link by clicking the *link* icon underneath the speech's document tile. This should give you an url as follows: -https://people-and-parliament.hum.uu.nl/document/parliament-netherlands/ParlaMint-NL_2021-12-21-eerstekamer-4.u1 - +## Referring to a debate To get an URL for an entire debate, you can use the *view debate* link for a speech. This will get you a link like this: - {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc + {{ frontend_url }}/search/parliament-netherlands?debate_id=ParlaMint-NL_2021-12-21-eerstekamer-4&sort=sequence,asc + +## Citing a specific speech -This describes the query to view all chapters of the book on I-analyzer. +To cite a speech in the *Dutch Parliamentary data* corpus, you can retrieve a link by clicking the *link* icon underneath the speech's document tile. This should give you an url as follows: +{{ frontend_url }}/document/parliament-netherlands/ParlaMint-NL_2021-12-21-eerstekamer-4.u1 ### APA style -> Porjeere, O. (1788). *Zanglievende uitspanningen*. Martinus de Bruijn. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc +> Rutte, M. (2021). In *Report of the meeting of the Dutch Lower House, Meeting 37, Session 2 (2021-12-21)*. {{ frontend_url }}/document/parliament-netherlands/ParlaMint-NL_2021-12-21-tweedekamer-2.u225 ### MLA style -> Porjeere, Olivier. *Zanglievende uitspanningen*. Martinus de Bruijn, 1788. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc +> Rutte, Mark. *Report of the meeting of the Dutch Lower House, Meeting 37, Session 2 (2021-12-21)*, 2021. {{ frontend_url }}/document/parliament-netherlands/ParlaMint-NL_2021-12-21-tweedekamer-2.u225 From e8c652c772a7b6b0467e4f91c68c9803e2566227 Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Wed, 22 May 2024 15:41:51 +0200 Subject: [PATCH 4/7] add Chicago reference recommendation --- backend/corpora/dbnl/citation/citation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/corpora/dbnl/citation/citation.md b/backend/corpora/dbnl/citation/citation.md index 47723dfd1..3207affd2 100644 --- a/backend/corpora/dbnl/citation/citation.md +++ b/backend/corpora/dbnl/citation/citation.md @@ -27,6 +27,10 @@ To get an URL for an entire book, you can use the *view book* link for a chapter This describes the query to view all chapters of the book on I-analyzer. +### Chicago style + +Mark Rutte, Dutch Lower House, 21 December 2021, page?, link. + ### APA style > Porjeere, O. (1788). *Zanglievende uitspanningen*. Martinus de Bruijn. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc From afd8a48e2df61261902685319da0cd0382c54166 Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Wed, 29 May 2024 14:58:02 +0200 Subject: [PATCH 5/7] add Chicago citation style --- backend/corpora/dbnl/citation/citation.md | 15 +++++++++++---- .../corpora/parliament/citation/netherlands.md | 15 +++++++++++++-- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/backend/corpora/dbnl/citation/citation.md b/backend/corpora/dbnl/citation/citation.md index 3207affd2..f8e947d3a 100644 --- a/backend/corpora/dbnl/citation/citation.md +++ b/backend/corpora/dbnl/citation/citation.md @@ -12,6 +12,9 @@ I-analyzer presents the [DBNL-dataset](https://www.kb.nl/onderzoeken-vinden/data > KB, Nationale Biliotheek. "DBNL-dataset". *I-analyzer*, 2023, {{ frontend_url }}/search/dbnl +### Chicago "notes and bibliography" style +> KB, Nationale Bibliotheek, "DBNL-dataset", distributed by I-analyzer, 2023. {{ frontend_url }}/search/dbnl. + ## Citing a specific work @@ -27,10 +30,6 @@ To get an URL for an entire book, you can use the *view book* link for a chapter This describes the query to view all chapters of the book on I-analyzer. -### Chicago style - -Mark Rutte, Dutch Lower House, 21 December 2021, page?, link. - ### APA style > Porjeere, O. (1788). *Zanglievende uitspanningen*. Martinus de Bruijn. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc @@ -38,3 +37,11 @@ Mark Rutte, Dutch Lower House, 21 December 2021, page?, link. ### MLA style > Porjeere, Olivier. *Zanglievende uitspanningen*. Martinus de Bruijn, 1788. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc + +### Chicago "notes and bibliography" style +#### First note +> Olivier Porjeere, *Zanglievende uitspanningen* (Alkmaar: Martinus de Bruijn, 1788) {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc. +#### Shortened note +> Porjeere, *Zanglievende uitspanningen* +#### Bibliography entry +> Porjeere, Olivier. *Zanglievende uitspanningen*. Alkmaar: Martinus de Bruijn, 1788. {{ frontend_url }}/search/dbnl?title_id=porj001zang01_01&sort=chapter_index,asc. \ No newline at end of file diff --git a/backend/corpora/parliament/citation/netherlands.md b/backend/corpora/parliament/citation/netherlands.md index 8e8a9d34d..d85763c42 100644 --- a/backend/corpora/parliament/citation/netherlands.md +++ b/backend/corpora/parliament/citation/netherlands.md @@ -4,15 +4,18 @@ People & Parliament presents the *Dutch parliamentary data* corpus, which is a c - Dutch parliamentary proceedings from 1814-2013, harvested and enriched in the [Political Mashup project](https://ssh.datastations.nl/dataset.xhtml?persistentId=doi:10.17026/dans-xk5-dw3s), retrieved 2020 - Dutch parliamentary proceedings from 2014-2022, harvested and enriched by [ParlaMINT](https://www.clarin.eu/parlamint), first retrieved 2020 and updated 2023 +### Chicago "notes and bibliography" style +> University of Jyväskylä and Utrecht University, "Dutch Parliamentary data", distributed by People & Parliament, 2023. {{ frontend_url }}/search/parliament-netherlands. + ### APA style -> University of Jyväskylä and Utrecht University (2020, 2023). *Dutch Parliamentary data* [data set]. People & Parliament: the Netherlands. {{ frontend_url }}/search/parliament-netherlands +> University of Jyväskylä and Utrecht University (2023). *Dutch Parliamentary data* [data set]. People & Parliament. {{ frontend_url }}/search/parliament-netherlands ### MLA style [MLA guidelines](https://style.mla.org/) recommend against citing a database, and recommend [citing each individual work you use](https://style.mla.org/separate-entries-database-works/). If you want to cite the entire corpus nonetheless, we recommend the following format: -> University of Jyväskylä and Utrecht University. "Dutch Parliamentary data". *People & Parliament*, 2020/2023. {{ frontend_url }}/search/parliament-netherlands +> University of Jyväskylä and Utrecht University. "Dutch Parliamentary data". People & Parliament, 2023. {{ frontend_url }}/search/parliament-netherlands ## Referring to a debate To get an URL for an entire debate, you can use the *view debate* link for a speech. This will get you a link like this: @@ -24,6 +27,14 @@ To get an URL for an entire debate, you can use the *view debate* link for a spe To cite a speech in the *Dutch Parliamentary data* corpus, you can retrieve a link by clicking the *link* icon underneath the speech's document tile. This should give you an url as follows: {{ frontend_url }}/document/parliament-netherlands/ParlaMint-NL_2021-12-21-eerstekamer-4.u1 +### Chicago "notes and bibliography" style +#### First note +> Mark Rutte in *Report of the meeting of the Dutch Lower House, Meeting 37, Session 2 (2021-12-21)*, 2021. {{ frontend_url }}/document/parliament-netherlands/ParlaMint-NL_2021-12-21-tweedekamer-2.u225. +#### Shortened note +> Rutte, *Meeting 37, Session 2 (2021-12-21)* +#### Bibliography entry +> Rutte, Mark. In *Report of the meeting of the Dutch Lower House, Meeting 37, Session 2 (2021-12-21)*, 2021. {{ frontend_url }}/document/parliament-netherlands/ParlaMint-NL_2021-12-21-tweedekamer-2.u225. + ### APA style > Rutte, M. (2021). In *Report of the meeting of the Dutch Lower House, Meeting 37, Session 2 (2021-12-21)*. {{ frontend_url }}/document/parliament-netherlands/ParlaMint-NL_2021-12-21-tweedekamer-2.u225 From c2d4585f339fd1101ba7f5b8f646e12a93850511 Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Wed, 29 May 2024 15:01:00 +0200 Subject: [PATCH 6/7] update Netherlands info --- backend/corpora/parliament/description/netherlands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/corpora/parliament/description/netherlands.md b/backend/corpora/parliament/description/netherlands.md index 696670a8b..2d4ce45fa 100644 --- a/backend/corpora/parliament/description/netherlands.md +++ b/backend/corpora/parliament/description/netherlands.md @@ -1 +1 @@ -The debates of the First and Second Chamber of the bicameral parliament, enriched until the early 2010s by Maarten Marx for the Political Mashup project, and 2014-2020 by ParlaMINT. Metadata is provided. +The debates of the First and Second Chamber of the bicameral parliament, enriched until the early 2010s by Maarten Marx for the Political Mashup project, and 2014-2023 by ParlaMINT. Metadata is provided. From 8d6795809c138cf74cfa81781c6c468cbf17534d Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Wed, 29 May 2024 15:12:34 +0200 Subject: [PATCH 7/7] update application disclaimer --- .../src/assets/about/en-GB/people-and-parliament.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/assets/about/en-GB/people-and-parliament.md b/frontend/src/assets/about/en-GB/people-and-parliament.md index 70296366c..7ab210e3e 100644 --- a/frontend/src/assets/about/en-GB/people-and-parliament.md +++ b/frontend/src/assets/about/en-GB/people-and-parliament.md @@ -1,5 +1,11 @@ -People & Parliament is a prototype of a comparative interface of digitised plenary parliamentary debates from several Northwest European countries. It has been constructed by the Academy of Finland Professor (AP) Project Political Representation: Tensions between Parliament and the People from the Age of Revolutions to the 21st Century (2021-2026, see [project decription](https://www.jyu.fi/hytk/fi/laitokset/hela/en/research/political-representation)) at the University of Jyväskylä, Finland, in cooperation with the Digital Humanities Lab of Utrecht University, The Netherlands. The construction has been based a dialogue between state-of-the-art text-mining techniques of the early 2020s and research in political history with a particular emphasis on comparative conceptual history. +*People & Parliament* is a comparative interface of digitised plenary parliamentary debates from several Northwest European countries. It has been constructed by the Academy of Finland Professor (AP) Project Political Representation: Tensions between Parliament and the People from the Age of Revolutions to the 21st Century (2021-2026, see [project decription](https://www.jyu.fi/hytk/fi/laitokset/hela/en/research/political-representation)) at the University of Jyväskylä, Finland, in cooperation with the Digital Humanities Lab of Utrecht University, The Netherlands. The construction has been based a dialogue between state-of-the-art text-mining techniques of the early 2020s and research in political history with a particular emphasis on comparative conceptual history. Data in the interface has been collected from a number of national sources and its quality varies from datasets in almost immediately research-ready state to ones that need extensive processing. Remaining quality problems are due to OCR errors, differing data structures and the availability of metadata. The AP project has not been able to solve all these issues on behalf of national institutions. It has not been possible to apply a unified data model for all the various national datasets, and each has hence been handled individually. Our recommendation is that the different corpora are primarily analysed in their national contexts and relative term frequencies from different countries, for instance, are not directly compared. -Currently People & Parliament contains plenary parliamentary debates from the following countries: Canada, Denmark, France, Germany, the Netherlands, Norway, Sweden and the United Kingdom. We are grateful for research partners that have made parts of the data available to us in an enriched form. +Currently *People & Parliament* contains plenary parliamentary debates from the following countries: Canada, Denmark, Finland, France, Germany, Ireland, the Netherlands, Norway, Sweden and the United Kingdom. We are grateful for research partners that have made parts of the data available to us in an enriched form. + +Please cite this interface as follows: +> Ihalainen, Pasi; Vaara, Ville; Bonin, Hugo; Turunen, Risto; Janssen, Berit; Marjanen, Jani; Van der Plas, Luka; Van Stiphout, Mees: *People & Parliament: A Comparative Interface on Parliamentary Debates in Northwest Europe since the Nineteenth Century* + +Contributors: +Jussi Kurunmäki and Zachris Haaparinne \ No newline at end of file