Skip to main content

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.

Paper PyPI Guide App License: MIT

Step-by-step guide · User guide · Web app · Paper · R package · Propose an analysis


🚀 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, and outliers that do not belong to the field.

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"]
  1. Embeddings: encode each title + abstract with sentence-transformers/all-mpnet-base-v2.
  2. S3 matrix + time-masking: cosine similarity, then orient links by publication date (parameter γ optionally blends in citations; γ = 0 is pure semantics).
  3. Community detection: threshold the graph, partition with Leiden, keep the top-N Conceptual Building Blocks (elbow/scree).
  4. Topic characterisation: label communities from distinctive terms (c-TF-IDF, optional LLM).
  5. Citation analysis: Quality Index (QI), Maturity Index (MI), local/global citations.
  6. 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"]
  1. Open an 💡 Analysis idea issue: a guided form walks you through it.
  2. The community and authors discuss whether it is feasible.
  3. The authors prototype and test it on the app and the underlying data.
  4. If it works, it is built into the app and the library for everyone, and recorded in proposals/.
  5. You are credited in CONTRIBUTORS.md and 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.16.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for s3-bibliometric 0.16.2
File Size Uploaded Provenance Actions
s3_bibliometric-0.16.2.tar.gz 699.1 kB Without provenance Details for s3_bibliometric-0.16.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for s3-bibliometric 0.16.2
File Interpreter ABI Platform Actions
s3_bibliometric-0.16.2-py3-none-any.whl Python 3 none any Details for s3_bibliometric-0.16.2-py3-none-any.whl

Total release size: 862.9 kB

Release files / s3_bibliometric-0.16.2.tar.gz

Download URL s3_bibliometric-0.16.2.tar.gz
Size 699.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c6692cc75bd1643d42672a61f3e3a30f805e106af016cd1593b87ce6b3943482
BLAKE2b-256 checksum
How to use checksums
371b6f1931873d76ffff014c33bf0750e68dc5ca9395a4a52c7b999f3ec8072f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.16.2-py3-none-any.whl

Download URL s3_bibliometric-0.16.2-py3-none-any.whl
Size 163.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
499814293da815ec5d632c993b3227a0e500ce63b76db7a16d88e4d5bf3d31eb
BLAKE2b-256 checksum
How to use checksums
5e787cd5b88fb4b71360764923d2e4bbe64d81482915aac4aef5dbb3ac0c3608
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.16.2

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.

Release history Release notifications | RSS feed

This release

0.16.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page