Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/netherlands citation page #1572

Merged
merged 8 commits into from
May 29, 2024
Merged
11 changes: 11 additions & 0 deletions backend/corpora/dbnl/citation/citation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -34,3 +37,11 @@ This describes the query to view all chapters of the book on I-analyzer.
### 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.
44 changes: 44 additions & 0 deletions backend/corpora/parliament/citation/netherlands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## 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

### 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 (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, 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:

{{ frontend_url }}/search/parliament-netherlands?debate_id=ParlaMint-NL_2021-12-21-eerstekamer-4&sort=sequence,asc

## Citing a specific speech

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
### MLA style

> 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
Comment on lines +40 to +44
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember from my time on the project that the "official" English translations for eerste kamer / tweede kamer are house of commons / senate. Did you get this format from somewhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description comes from the actual data (debate title).

2 changes: 1 addition & 1 deletion backend/corpora/parliament/description/netherlands.md
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 3 additions & 0 deletions backend/corpora/parliament/netherlands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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__)
Expand Down
10 changes: 8 additions & 2 deletions frontend/src/assets/about/en-GB/people-and-parliament.md
Original file line number Diff line number Diff line change
@@ -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