Relatenta visualizes research collaboration networks. Search for researchers via OpenAlex, ingest their publication data, and explore interactive network graphs and heatmaps.
- Python 3.10+
- Modern web browser
- Internet connection (for OpenAlex)
git clone https://github.com/Denny-Hwang/Relatenta.git
cd Relatenta
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtstreamlit run streamlit_app.pyOpens at http://localhost:8501.
In the sidebar under "OpenAlex Search":
- Enter a researcher name (e.g., "Geoffrey Hinton")
- Click "Search"
- Review the results — each card shows:
- Paper count, citation count
- Institution and country
- H-index
- ORCID (if available)
- Top 3 research topics with confidence scores
Disambiguation: Many researchers share the same name. Use institution, H-index, and research topics to identify the correct person before ingesting.
- Select one or more authors from the search results
- Adjust "Max works per author" (default: 200)
- Click "Ingest Selected"
- Wait for ingestion to complete — the sidebar shows a summary of imported works
You can search and ingest multiple times to build up your dataset.
- Select a layer:
authors,keywords,orgs, ornations - Set year range and minimum edge weight
- Click "Build Graph"
Graph interaction:
- Drag to pan the view
- Click nodes to select
- Scroll to zoom
- Press SPACE to toggle physics simulation
Focus Mode (optional):
- Use "Find Author IDs" / "Find Keyword IDs" expanders to look up IDs
- Enter comma-separated IDs in the focus input
- Choose "Full Network" (highlight) or "Focus Only" (isolate)
- Select type:
author_keywordornation_nation - Set year range
- Click "Compute Heatmap"
- Darker colors = stronger relationships
- Export: Click "Export CSV" in the sidebar to download a ZIP file
- Restore: Upload a previously exported ZIP via "Restore from Export"
- Clear: Click "Clear All" to reset the database
You can also import data from CSV files:
| Type | Required Columns |
|---|---|
works |
title, doi, year, venue, type, language, keywords (semicolon-separated) |
authors |
work_title, work_doi, author_name, position |
affiliations |
work_title, work_doi, author_name, org_name, country_code |
keywords |
work_title, work_doi, term |
Import works first, then authors/affiliations/keywords (they link to works by DOI or title).
- Start with 1-2 researchers and expand gradually
- Use year filters and edge weight thresholds to reduce graph complexity
- For large datasets (500+ papers), use Focus Only mode
- Always export before closing the browser
| Problem | Solution |
|---|---|
| Graph too cluttered | Increase edge weight minimum |
| No nodes in graph | Lower edge weight or widen year range |
| Data lost after refresh | Use Export/Restore to persist data |
| Slow ingestion | Reduce max works per author |
MIT License.