# Organization An organization is a formal grouping of people formed to carry out certain activities together. In Politigraph, organizations are stored as nodes of type **`Organization`**. Since organizations can be of various types, we use the `classification` property to specify those types. ## Parliament, MPs, Senators, and Cabinet The Thai Parliament (รัฐสภาไทย) has a `classification` of _PARLIAMENT_ and will have child organizations in the `children` property with different `classification` values such as: - **House of Representatives** (สภาผู้แทนราษฎร): _HOUSE_OF_REPRESENTATIVE_ - **House of Senate** (วุฒิสภา): _HOUSE_OF_SENATE_ - **Cabinet** (คณะรัฐมนตรี): _CABINET_ ```graphql query Query($where: OrganizationWhere) { organizations(where: $where) { id name_en classification founding_date dissolution_date children { id name_en classification description founding_date dissolution_date } } } ``` Variables: ```json { "where": { "classification": { "eq": "PARLIAMENT" } } } ``` [Run this query in the playground](https://politigraph.wevis.info/graphql?explorerURLState=N4IgJg9gxgrgtgUwHYBcQC4QEcYIE4CeABAIq6EAUAJAO4AW+C6RA8ngOYCGSAlgF6cUPCEgDqDPAgCURYAB0kRIhA7d+g4UgDOFeo2a0J02QqVKeYU2aSdEAfWRWlUADactWngDMeUDSKciLwgYJDAeJHY7MEEEQPCPCBcYIRFo2MCoOh4XMElFeUUzc0si4pt7RzKzV3dPHz9UpEClMAQtKDweAAcmlqCQsIiomJQ46taeROSm9LHAgF8rJaQFkAAaEAA3Ti7OACMXdowQQqU5ED1JC+Yzswvaj29ff2aMEwmiC4QsG6+QAAKAEEAEoAGQAkkCALIAUQAcgAVC6LZYKNYLIA) ## Political Parties Political parties are also classified as **`Organization`** with a `classification` of _POLITICAL_PARTY_. Here are all the political parties we have in the database. ```graphql query Organizations($where: OrganizationWhere) { organizations(where: $where) { id name name_en color } } ``` Variables: ```json { "where": { "classification": { "eq": "POLITICAL_PARTY" } } } ``` [Run this query in the playground](https://politigraph.wevis.info/graphql?explorerURLState=N4IgJg9gxgrgtgUwHYBcQC4QEcYIE4CeABAPJ4DmAhkgJYBelKNESAzgBQAkA7gBb4J0pCtXqNmSAOr88CAJRFgAHSREiEEbQZMWHPgKE8Z8xSrVqaYM+aSVE1tbcQB9ZA6JQIAGw3WAvip+IAA0IABulHg0lABGXgisGCDKqkRKIPqy6UIp5mkgUF6UrKw0AGY0UOIs2aapeekIWLXpAAokADIAkgAqXQDCAIIdzq2DAEo9AJrp7gGp80F+QA)