Skip to content
ไทย

A person Person or an organization Organization can be a member (Member union) of any organization.

The relationship between a person and an organization is described by nodes in the following order:

  • Person is a person.
  • Membership is membership information, such as the format or period.
  • Post is a position in that organization.
  • Organization is an organization.

For example, if we want to know what positions Chuan Leekpai has held in which organizations.

Membership
Person
Post
Organization
Person

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

  • id: 891ea463-c463-4f76-840d-e7d24a97d70c
  • name_en: Chuan Leekpai
  • memberships:
    • 24/3/62 - now
    • บัญชีรายชื่อ
    • บัญชีรายชื่อ
    • บัญชีรายชื่อ

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

Try this query in GraphQL Playground

Because the graph database connects all nodes, we can start a query from any node. For example, if we want to know who has ever held the position of leader of the Pheu Thai Party, we can start the query from Post.

Membership
Person
Post
Organization
Post

ตำแหน่งในองค์กร เช่น ประธานสภา หัวหน้าพรรค ฯลฯ

  • id: 91297acf-9f59-42cb-b5b7-02ffa87c543e
  • label: หัวหน้าพรรคก้าวไกล
  • role: หัวหน้าพรรคการเมือง
  • organizations:
    • ก้าวไกล
  • memberships:
    • 23/9/66 - 7/8/67
    • 14/3/63 - 23/9/66

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

Try this query in GraphQL Playground

We model “Government parties (พรรคฝ่ายรัฐบาล)” and “Opposition parties (พรรคฝ่ายค้าน)” as a Post in the cabinet organization.

Membership
Post
Organization
Organization

องค์กรที่เกี่ยวข้องทางการเมือง เช่น สส. สว. ครม. พรรคการเมือง ฯลฯ

  • id: คณะรัฐมนตรี-63
  • name_en: The 63th Cabinet
  • posts:
    • พรรคฝ่ายค้าน ครม. คณะที่ 63
    • พรรคฝ่ายรัฐบาล ครม. คณะที่ 63

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

Try this query in GraphQL Playground