Skip to content
ไทย

Introduction

The WeVis team has been working with data related to Thai politics for many years. We found that Thai open data is scattered, lacks standardized collection sources, and is often in difficult-to-use formats such as PDFs. Therefore, we created “Politigraph” to elevate the standards of Open Data and Open API in Thailand.

We use an Automation System to collect data from various official government sources, convert it into a machine-readable format, and have a team constantly reviewing its accuracy.

graph TD
  A[Official Government Websites] -->|Pull and Convert Data| B[Automation System]
  B -->|Update| C[Politigraph]
  D[WeVis Data Team] -->|Add, Review, Correct| C
  C -->|Query| E[Parliament Watch]
  C -->|Query| F[Other Projects]
  C -->|Query| G[Interested Users]

We intend to open Politigraph as a public database, allowing users and various projects to utilize the data. We believe that effective open data fosters innovation, supports civic participation, and builds a strong democratic society.

Politigraph store the data in the “Graph” structure which consists of

  1. “Node” representing each entity in the database (has circle symbol). Each node have they own data called “property” such as a node representing person might have properties of first name, last name, birthdate, etc.

  2. “Relationship” or sometimes called edge (has arrow symbol) representing a relationship between two nodes.

graph TD
  A((Node A)) -->|Relationship| B((Node B))

Due to the large number of nodes and relationships in Politigraph, we need to extract data for each point of interest. We call the code writing process to select nodes and relationships of interest “query” and the returned data “response”, which is in JSON format: machine-readable and convenient for further use. However, to make it easier to visualize, we will visualize the response in this documentation in the form of a graph.

For example, if we want to know “Which vote event did Anutin Charnvirakul were agreeing with?” We can query a node representing him and the relationships that lead to the votes he were agreeing and the vote event.

Anutin CharnvirakulAgreeร่างพระราชบัญญัติควบ...Agreeร่างพระราชบัญญัติยกเ...Agreeร่างพระราชบัญญัติการ...Agreeร่างพระราชบัญญัติบริ...Agreeร่าง พ.ร.บ. งบประมาณ...Agreeร่าง พ.ร.บ. หอการค้า...Agreeร่าง พ.ร.บ. ยาเสพติด...Agreeร่างพระราชบัญญัติอาส...Agreeร่าง พ.ร.บ. งบประมาณ...Agreeร่าง พ.ร.บ. งบประมาณ...Agreeร่างพระราชบัญญัติงบป...Agreeร่างพระราชบัญญัติการ...Agreeร่างพระราชบัญญัติกอง...Agreeร่างพระราชบัญญัติกัญ...Agreeร่างพระราชบัญญัติงบป...Agreeร่าง พ.ร.บ. งบประมาณ...Agreeร่าง พ.ร.บ. การปรับเ...Agreeร่างพระราชบัญญัติองค...Agreeร่างพระราชบัญญัติสร้...Agreeร่างพระราชบัญญัติสร้...Agreeร่างพระราชบัญญัติสร้...Agreeร่าง พ.ร.บ. งบประมาณ...
Vote
Person
VoteEvent
Person

บุคคลที่เกี่ยวข้องทางการเมือง เช่น สมาชิกสภา สมาชิกพรรคการเมือง ฯลฯ

  • id: 4cc8dfaf-e5ce-41f4-94d3-53bf858308b4
  • name: อนุทิน ชาญวีรกูล
  • name_en: Anutin Charnvirakul
  • image: https://politigraph.wevis.info/assets/people/อนุทิน-ชาญวีรกูล.webp
  • votes:
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree
    • Agree

*Only showing nodes, properties, and relationships from the query see full schema