opensanctions / opensanctions/poliloom
Enrich politicians with citizenship and gender data
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 22
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
This is an idea to explore enriching politician data with citizenship and gender information.
Context
Currently we extract birth dates, death dates, birthplaces, and political positions from Wikipedia sources. We should consider whether it would be valuable to also extract:
- Citizenship information
- Gender identity
Considerations
- Wikipedia articles often contain citizenship and gender information
- These properties exist in Wikidata (P27 for citizenship, P21 for gender)
- Would provide more complete politician profiles
Current enrichment capabilities
The system currently extracts:
- Properties: BirthDate, DeathDate (models.py:330-380)
- Positions: Political positions held (enrichment_service.py:368-388)
- Birthplaces: Geographic birth locations (enrichment_service.py:390-410)
Adding citizenship and gender would follow similar patterns using the existing two-stage extraction approach.
This is just an idea at this stage and needs further discussion and planning.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading models.py:330-380 and enrichment_service.py:368-410 to understand the existing two-stage extraction for properties, positions, and birthplaces. Define the scope, acceptance criteria, and validation approach for citizenship and gender before implementation; the issue does not yet specify what done looks like.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100