S3 — Semantic Similarity Score
Map the intellectual structure of a research field from what its papers say.
S3 reads the titles and abstracts of a field's papers, finds its research themes, and shows how they cite and build on each other. Use it in your browser, from Claude or ChatGPT, in a notebook, from Python or from R.
Video tutorial (3 min) · Step-by-step guide · User guide · Web app · Paper · R package · Propose an analysis
▶ Watch the 3-minute tutorial: export from Scopus, run S3, read the report.
🚀 Start here: pick your way in
You need one file: your search results exported from Scopus as CSV (how to export, step by step).
| I want to… | Use | How to start |
|---|---|---|
| Get a map in my browser, nothing to install | Web app | Upload your export at s3-bibliometric.com (Scopus, Web of Science, Dimensions or OpenAlex) |
| Ask questions in plain language and get a literature-review report | Claude Desktop or Claude Code | Add S3 once, then ask "Run S3 on my Scopus file and build the report" (guide) |
| Use ChatGPT or Claude.ai in the browser | One command + upload | Make the report with one command, then upload it to the chat (guide) |
| Work in a notebook | Google Colab or Jupyter | Three cells: install, upload, run (guide) |
| Write my own analysis | Python library | pip install s3-bibliometric (user guide) |
| Work in R | R package | remotes::install_github("AI-Growth-Lab/s3-bibliometric", subdir = "r") (docs) |
Quick start for Python, the command line and R
pip install s3-bibliometric
import s3bib
res = s3bib.run_s3("scopus.csv")
res.communities() # the research themes
res.answer("Q8") # local vs global foundations of each theme
res.report("s3_report.html") # the full report, organised for a literature review
Or in one command, without installing anything first (uv runs it):
uvx --from s3-bibliometric s3bib report scopus.csv -o s3_report.html
In R:
remotes::install_github("AI-Growth-Lab/s3-bibliometric", subdir = "r")
library(s3bibliometric)
res <- s3_run("scopus.csv")
s3_report(res, "s3_report.html")
S3 uses the text map, the published method, by default. For a hybrid map, use
S3Config(map_weights="hybrid"), --map hybrid or map = "hybrid": S3 screens text plus each
citation relation at 5–40% weight and uses the best hybrid only when it raises both the silhouette
and the QI of the communities; otherwise it keeps the text map.
✨ What S3 gives you
- The themes of your field: communities of papers that say similar things, named by their distinctive terms.
- What to read first: the central papers of each theme, and its foundations inside the field (local citations) and beyond it (global citations).
- How themes connect: which themes cite and build on which, and the papers that bridge them.
- How the field evolves: growing and declining themes, and how they split over time.
- Gaps and agenda: knowledge gaps and emerging themes for your discussion section.
- Methods and findings (optional): methods, data, theories and findings per theme, from triples you upload or that Claude or ChatGPT extract from the abstracts.
- Trust in the map: the threshold choice (SII), coherence against other methods, an embedding map (UMAP) that shows how well the themes separate, and outliers that do not belong to the field.
- Network indicators: the map as a network (density, clustering, path length, small-world check, modularity on the citation and co-authorship layers) and each paper's position: degree, betweenness, PageRank, k-core, and its role as hub, connector or peripheral.
All of this comes as one HTML report organised for a literature review, with a methods paragraph to adapt and reading lists for Zotero, EndNote or Mendeley.
🧭 How S3 works
S3 maps a field from what papers say rather than who cites whom. Citations come back in only to
describe and validate the themes. Full method in docs/method.md.
flowchart LR
A["📄 Titles + abstracts"] --> B["🧠 Embeddings<br/>(SBERT)"]
B --> C["🔗 S3 similarity<br/>+ time ordering"]
C --> D["🧩 Communities<br/>(Leiden)"]
D --> E["🏷️ Themes<br/>(c-TF-IDF)"]
E --> F["📈 Citation analysis<br/>(QI, MI)"]
F --> G["🗺️ Intellectual<br/>structure"]
- Embeddings: encode each title + abstract with
sentence-transformers/all-mpnet-base-v2. - S3 matrix + time-masking: cosine similarity, then orient links by publication date
(parameter
γoptionally blends in citations;γ = 0is pure semantics). - Community detection: threshold the graph, partition with Leiden, keep the top-N Conceptual Building Blocks (elbow/scree).
- Topic characterisation: label communities from distinctive terms (c-TF-IDF, optional LLM).
- Citation analysis: Quality Index (QI), Maturity Index (MI), local/global citations.
- Intellectual structure: the validated field map.
Metric definitions: docs/metrics.md.
Input data and where to get it: docs/data-format.md.
📚 Documentation
| Step-by-step guide | Setup for Claude Desktop, Claude Code, ChatGPT, Colab and R, in pictures |
| Scopus export | Which fields to tick, and why |
| User guide | The full manual: maps and the hybrid screening, triples, networks, the three levels, the report, every option, the 23 Claude tools |
| R package | s3bibliometric: the same results from R |
| Method · Metrics · Data | The method and its measures |
💡 Propose a new analysis
S3 already maps themes and their citations. There are many more ways to analyse the same data: funding, author collaboration, geography, temporal trends or research impact across the themes S3 finds. This repository is where you propose them.
flowchart LR
A["💡 You propose an idea<br/>(open an issue)"] --> B["💬 Discussion"]
B --> C["🔬 Authors test it on the app/data"]
C -- validated --> D["🚀 Built into S3"]
D --> E["📒 Recorded in /proposals"]
E --> F["🎉 You're credited as a contributor"]
C -- not yet --> G["🗄️ Parked / declined<br/>with feedback"]
- Open an 💡 Analysis idea issue: a guided form walks you through it.
- The community and authors discuss whether it is feasible.
- The authors prototype and test it on the app and the underlying data.
- If it works, it is built into the app and the library for everyone, and recorded in
proposals/. - You are credited in
CONTRIBUTORS.mdand in the repository's history.
Worked examples: funding and
geography. The full lifecycle, review criteria and
crediting rules are in docs/proposal-process.md.
Not every idea makes it into the app, but every serious proposal gets a fair review and concrete feedback.
❓ FAQ
Do I need to know how to code?
No. Use the web app, or follow the step-by-step guide to run S3 from Claude, ChatGPT or a Colab notebook by copying a few lines.
Which data can I use?
A Scopus CSV export works best: title and abstract are required, and references, authors, affiliations, keywords and funding unlock more of the analysis. The web app also reads Web of Science, Dimensions and OpenAlex exports; the Python library reads Web of Science and OpenAlex exports that have Title and Abstract columns. See the Scopus export guide.
Where does my data go?
With the Python library (Claude Desktop, Claude Code, the command line, R or Jupyter), S3 runs on your own computer. In Google Colab it runs on Google's servers, and with the web app your file is uploaded to the app. Extracting triples with Claude or ChatGPT sends titles and abstracts to that service.
How is S3 different from citation-based maps?
Bibliographic coupling and co-citation group papers by who they cite, so new papers with few citations and papers without reference lists are hard to place. S3 groups papers by what they say, then uses citations to describe and validate the themes. The paper compares S3 with bibliographic coupling, BERTopic and random clusters (Tables 5–7).
📂 Repository structure
Show the folders
.
├── README.md ← you are here
├── src/s3bib/ ← the Python library, command line and Claude (MCP) server
├── r/ ← the R package s3bibliometric
├── tests/ ← tests on real data (Python); r/tests for R
├── docs/
│ ├── guide.md ← the full user guide
│ ├── method.md ← how the S3 method works
│ ├── metrics.md ← QI, MI, TCI, silhouette, citation definitions
│ ├── data-format.md ← input data and where to get it
│ ├── proposal-process.md ← the submit → test → implement → credit lifecycle
│ ├── index.html ← step-by-step guide (ai-growth-lab.github.io/s3-bibliometric)
│ └── scopus-export.html ← how to export from Scopus
├── proposals/ ← 💡 the catalogue of analysis ideas and their status
├── examples/ ← implemented analyses (notebooks / outputs)
├── notebooks/ ← exploratory notebooks
├── data/ ← where input data goes (large exports stay out of git)
├── CONTRIBUTORS.md ← 🎉 people credited for accepted ideas and contributions
├── CONTRIBUTING.md ← how to contribute
├── CODE_OF_CONDUCT.md
├── CITATION.cff
├── pyproject.toml
└── LICENSE ← MIT
🤝 Contributing
The main way to contribute is to propose an analysis.
You can also improve the method or the code, add a worked example from your own field to
examples/, or fix the docs: see
CONTRIBUTING.md. Everyone whose proposal is
accepted, or who contributes code or docs, is credited in
CONTRIBUTORS.md. Please be respectful: see the
Code of Conduct.
📣 Citation
If you use S3, please cite the paper (also in CITATION.cff,
which GitHub's Cite this repository button reads):
Bekamiri, H., Østergaard, C. R., & Timmermans, B. (2027). Semantic similarity score: A new method for mapping intellectual structures in business research. Journal of Business Research, 219, 116582. https://doi.org/10.1016/j.jbusres.2026.116582
BibTeX
@article{bekamiri2027s3,
author = {Bekamiri, Hamid and {\O}stergaard, Christian R. and Timmermans, Bram},
title = {Semantic similarity score: A new method for mapping intellectual structures in business research},
journal = {Journal of Business Research},
volume = {219},
pages = {116582},
year = {2027},
doi = {10.1016/j.jbusres.2026.116582}
}
📜 License
Released under the MIT License.
🙏 Acknowledgements
Created by Hamid Bekamiri with co-authors
Christian Richter Østergaard and Bram Timmermans
(see CONTRIBUTORS.md). The app was built with
substantial AI-assisted ("vibe") coding; community ideas and contributions to extend and strengthen
it are warmly welcomed.
Metadata
Release files for s3-bibliometric 0.18.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| s3_bibliometric-0.18.0.tar.gz | 713.3 kB | Without provenance | Details for s3_bibliometric-0.18.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| s3_bibliometric-0.18.0-py3-none-any.whl | Python 3 | none | any | Details for s3_bibliometric-0.18.0-py3-none-any.whl |
Total release size: 889.9 kB
Release files / s3_bibliometric-0.18.0.tar.gz
| Download URL | s3_bibliometric-0.18.0.tar.gz |
|---|---|
| Size | 713.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9176944d9948cdd82a7bdce1c8a11025b655482e5ebb8864c6819bf0f3dea1d6
|
|
BLAKE2b-256 checksum How to use checksums |
81f20a8cf1bb718809edcbb4b234c55e94c71eebb2274f4feca49d217a7a4b57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / s3_bibliometric-0.18.0-py3-none-any.whl
| Download URL | s3_bibliometric-0.18.0-py3-none-any.whl |
|---|---|
| Size | 176.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f1f574a82032403cfbde56d03e251a818b7944a075a84b311f74e3368b4652b
|
|
BLAKE2b-256 checksum How to use checksums |
7e4be5fd40cf58fda5ed8b97f826c2bb09fcd94c9eb0f06aaa113a7b05017dc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for s3-bibliometric 0.18.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.