IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0313149.html
   My bibliography  Save this article

A frustratingly easy way of extracting political networks from text

Author

Listed:
  • Naim Bro

Abstract

This study demonstrates the use of GPT-4 and variants, advanced language models readily accessible to many social scientists, in extracting political networks from text. This approach showcases the novel integration of GPT-4’s capabilities in entity recognition, relation extraction, entity linking, and sentiment analysis into a single cohesive process. Based on a corpus of 1009 Chilean political news articles, the study validates the graph extraction method using ‘legislative agreement’, i.e., the proportion of times two politicians vote the same way. It finds that sentiments identified by GPT-4 align with how frequently parliamentarians vote together in roll calls. Comprising two parts, the first involves a linear regression analysis indicating that negative relationships predicted by GPT-4 correspond with reduced legislative agreement between two parliamentarians. The second part employs node embeddings to analyze the impact of network distance, considering both with and without sentiment, on legislative agreements. This analysis reveals a notably stronger predictive power when sentiments are included. The findings underscore GPT-4’s versatility in political network analysis.

Suggested Citation

  • Naim Bro, 2025. "A frustratingly easy way of extracting political networks from text," PLOS ONE, Public Library of Science, vol. 20(1), pages 1-13, January.
  • Handle: RePEc:plo:pone00:0313149
    DOI: 10.1371/journal.pone.0313149
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0313149
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0313149&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0313149?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Commander, Simon & Poupakis, Stavros, 2020. "Political Networks across the Globe," IZA Discussion Papers 13103, Institute of Labor Economics (IZA).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Simon Commander & Ruta Prieskienyte, 2022. "The political economy of Kazakhstan: A case of good economics, bad politics?," Russian Journal of Economics, ARPHA Platform, vol. 8(2), pages 122-158, July.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0313149. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.