I asked ChatGPT if I should create categories for the long list of social issues we have. Here below is what it responded with.
- Justice & Human Rights
- Access to Justice
- Human Trafficking Prevention
- LGBTQ+ Rights
- Employment Equity
- Gender Equality
- Indigenous Rights
- Disability Inclusion
- Poverty & Economic Inclusion
- Affordable Housing
- Food Security
- Financial Inclusion
- Urban Poverty
- Rural Development
- Fair Trade & Ethical Sourcing
- Health & Well-being
- Healthcare Access
- Mental Health Support
- Addiction Recovery
- Senior Support
- Disability Inclusion
- Education & Opportunity
- Education Equity
- Digital Divide
- Youth Empowerment
- Prisoner Reintegration
- Environment & Sustainability
- Climate Change Adaptation
- Environmental Sustainability
- Water Access
- Sanitation
- Community & Civic Engagement
- Refugee Support
- Civic Engagement
- Child Protection
- Disaster Relief
One approach is to create a Categories table and a Social_Issue_Categories linking table (for a many-to-many relationship). This way, each social issue can belong to multiple categories if needed, making it easier for users to explore based on their interests.
- Users can filter social issues by category.
- One issue can belong to multiple categories (e.g., Disability Inclusion is under both Justice & Human Rights and Health & Well-being).
- This structure makes it scalable as new social issues emerge.
CREATE TABLE Categories ( id INTEGER PRIMARY KEY, name VARCHAR(255) UNIQUE NOT NULL, description TEXT ); CREATE TABLE Social_Issue_Categories ( issue_id INTEGER, category_id INTEGER, PRIMARY KEY (issue_id, category_id), FOREIGN KEY (issue_id) REFERENCES Social_Issues(id), FOREIGN KEY (category_id) REFERENCES Categories(id) );
Below is the SQL for SQLite.
INSERT INTO Categories (id, name, description) VALUES (1, 'Justice & Human Rights', 'Issues related to legal access, equality, and fundamental rights.'), (2, 'Poverty & Economic Inclusion', 'Challenges related to financial security, employment, and equitable economic participation.'), (3, 'Health & Well-being', 'Access to healthcare, mental health support, and addiction recovery.'), (4, 'Education & Opportunity', 'Ensuring equal access to learning and skills development.'), (5, 'Environment & Sustainability', 'Addressing environmental protection, conservation, and climate change.'), (6, 'Community & Civic Engagement', 'Encouraging active participation in community development and disaster relief.');
Link social issues to categories.
-- Insert Social Issues INSERT INTO Social_Issues (name, description) VALUES ('Affordable Housing', 'Ensuring people have access to safe, affordable living spaces.'), ('Employment', 'Providing job opportunities and workforce development.'), ('Food Security', 'Ensuring access to nutritious food for all.'), ('Water Access', 'Providing reliable clean water supply.'); ('Sanitation', 'Improving hygiene and waste management to prevent disease.'), ('Environmental Sustainability', 'Promoting eco-friendly practices and conservation efforts.'), ('Healthcare Access', 'Ensuring people have access to essential medical services.'), ('Education Equity', 'Providing equal learning opportunities for all individuals.'), ('Mental Health Support', 'Addressing psychological well-being and access to mental health services.'), ('Financial Inclusion', 'Ensuring access to financial services for underserved populations.'), ('Digital Divide', 'Bridging gaps in technology access and digital literacy.'), ('Gender Equality', 'Promoting equal rights and opportunities regardless of gender.'), ('Indigenous Rights', 'Advancing the rights and well-being of Indigenous communities.'), ('Climate Change Adaptation', 'Helping communities adjust to environmental changes.'), ('Youth Empowerment', 'Supporting young people with education, training, and leadership opportunities.'), ('Disability Inclusion', 'Ensuring accessibility and equal opportunities for people with disabilities.'), ('Refugee Support', 'Providing assistance and resources for displaced populations.'), ('Civic Engagement', 'Encouraging participation in social and political processes.'), ('Employment Equity', 'Promoting fair and inclusive work opportunities.'), ('Senior Support', 'Addressing the needs and well-being of elderly populations.'), ('Prisoner Reintegration', 'Helping formerly incarcerated individuals transition back into society.'), ('Human Trafficking Prevention', 'Combating forced labor and exploitation.'), ('LGBTQ+ Rights', 'Advocating for equal rights and protections for LGBTQ+ individuals.'), ('Addiction Recovery', 'Providing support for individuals struggling with substance abuse.'), ('Disaster Relief', 'Providing emergency aid and long-term recovery support for affected communities.'), ('Rural Development', 'Improving infrastructure and opportunities in rural areas.'), ('Urban Poverty', 'Addressing social and economic challenges in low-income urban areas.'), ('Fair Trade & Ethical Sourcing', 'Promoting fair wages and responsible supply chains.'), ('Child Protection', 'Preventing abuse, exploitation, and neglect of children.'), ('Access to Justice', 'Ensuring legal representation and rights protection for marginalized groups.'); INSERT INTO Social_Issue_Categories (issue_id, category_id) VALUES -- Justice & Human Rights (1, 1), -- Access to Justice (2, 1), -- Human Trafficking Prevention (3, 1), -- LGBTQ+ Rights (4, 1), -- Employment Equity (5, 1), -- Gender Equality (6, 1), -- Indigenous Rights (7, 1), -- Disability Inclusion -- Poverty & Economic Inclusion (8, 2), -- Affordable Housing (9, 2), -- Food Security (10, 2), -- Financial Inclusion (11, 2), -- Urban Poverty (12, 2), -- Rural Development (13, 2), -- Fair Trade & Ethical Sourcing -- Health & Well-being (14, 3), -- Healthcare Access (15, 3), -- Mental Health Support (16, 3), -- Addiction Recovery (17, 3), -- Senior Support (7, 3), -- Disability Inclusion (also in Justice & Human Rights) -- Education & Opportunity (18, 4), -- Education Equity (19, 4), -- Digital Divide (20, 4), -- Youth Empowerment (21, 4), -- Prisoner Reintegration -- Environment & Sustainability (22, 5), -- Climate Change Adaptation (23, 5), -- Environmental Sustainability (24, 5), -- Water Access (25, 5), -- Sanitation -- Community & Civic Engagement (26, 6), -- Refugee Support (27, 6), -- Civic Engagement (28, 6), -- Child Protection (29, 6); -- Disaster Relief
I used this SQL code to create a SQLite database with these tables and data. I called the database Categories.db.