Compare commits
26
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
552fa2daaf | ||
|
|
0b19f6c6af | ||
|
|
cf10f84606 | ||
|
|
49afc6e9a3 | ||
|
|
fb65a98087 | ||
|
|
9fa01ad366 | ||
|
|
3abb33d05b | ||
|
|
be5e4a9da0 | ||
|
|
4626737e08 | ||
|
|
8f475488d5 | ||
|
|
0acf17197d | ||
|
|
82a13c9da3 | ||
|
|
c5dd482116 | ||
|
|
2d23c4d05b | ||
|
|
375ae720d9 | ||
|
|
e7ad579b02 | ||
|
|
2ab5086057 | ||
|
|
fbdad69a1d | ||
|
|
987ae4ad1a | ||
|
|
d41e3b1e6a | ||
|
|
463c348007 | ||
|
|
2f90d8f16a | ||
|
|
1f2636b95d | ||
|
|
e101e6e8a7 | ||
|
|
886c941f7f | ||
|
|
53da57288a |
@@ -0,0 +1 @@
|
||||
.venv
|
||||
@@ -0,0 +1,34 @@
|
||||
# Datenqualitäts-Analysen (openalex-authors)
|
||||
|
||||
## Verwendung
|
||||
|
||||
```bash
|
||||
cd analysis/data
|
||||
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
|
||||
python authors.py --help
|
||||
```
|
||||
|
||||
Beispiele:
|
||||
|
||||
```bash
|
||||
# alle Analysen
|
||||
python authors.py
|
||||
|
||||
# nur eine Analyse
|
||||
python authors.py --analysis 8
|
||||
|
||||
# auf eine Institution eingegrenzt (hier: UDE) und Ergebnis speichern (txt)
|
||||
python authors.py --analysis 8 --filter-uni I62318514 --save
|
||||
```
|
||||
|
||||
## Parameter
|
||||
|
||||
| Parameter | Wert | Bedeutung |
|
||||
| ----------------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `--analysis N` | `1`–`8` | Führt nur diese eine Analyse aus. Ohne Angabe laufen **alle acht** nacheinander. |
|
||||
| `--filter-uni ID` | OpenAlex-Institutions-ID, z. B. `I62318514` | Schränkt jede Suche auf Autor:innen dieser Institution ein. Filtert über `affiliations.institution.lineage`, **inklusive Unter-Einheiten** (Institute, Fakultäten). Das Präfix `https://openalex.org/` wird bei Bedarf ergänzt, `I62318514` und die volle URL funktionieren beide. Ohne Angabe wird der gesamte Index durchsucht. |
|
||||
| `--save` | Flag | Schreibt die Ausgabe zusätzlich nach `analysen/run_<timestamp>.txt` (also in diesen Ordner). Der Pfad hängt am Skript-Verzeichnis, nicht am aktuellen Arbeitsverzeichnis — der Aufruf funktioniert also aus jedem `cwd`. Ohne das Flag geht die Ausgabe nur nach stdout. |
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,503 @@
|
||||
Analyse 1: ORCIDs, die von 2 oder mehr Autoren-Dokumenten geteilt werden.
|
||||
ORCID | Anzahl Autoren
|
||||
------------------------------------- | --------------
|
||||
https://orcid.org/0000-0002-1652-6686 | 37
|
||||
https://orcid.org/0000-0002-3394-1507 | 35
|
||||
https://orcid.org/0000-0001-9708-5765 | 34
|
||||
https://orcid.org/0000-0002-3156-3741 | 31
|
||||
https://orcid.org/0000-0001-8829-9817 | 30
|
||||
https://orcid.org/0000-0003-3256-740X | 28
|
||||
https://orcid.org/0000-0003-3875-3561 | 28
|
||||
https://orcid.org/0009-0006-5046-8527 | 28
|
||||
https://orcid.org/0000-0003-1006-7594 | 27
|
||||
https://orcid.org/0000-0002-0439-1390 | 23
|
||||
https://orcid.org/0000-0003-3112-4252 | 23
|
||||
https://orcid.org/0000-0001-8601-2325 | 22
|
||||
https://orcid.org/0000-0002-1276-5858 | 22
|
||||
https://orcid.org/0000-0001-8418-5054 | 21
|
||||
https://orcid.org/0000-0002-0482-2111 | 20
|
||||
https://orcid.org/0000-0002-5163-0489 | 20
|
||||
https://orcid.org/0000-0003-4433-5227 | 19
|
||||
https://orcid.org/0009-0009-5669-1676 | 18
|
||||
https://orcid.org/0000-0002-6157-2016 | 17
|
||||
https://orcid.org/0000-0002-0991-5026 | 16
|
||||
https://orcid.org/0000-0002-3128-9025 | 16
|
||||
https://orcid.org/0000-0001-9286-2123 | 15
|
||||
https://orcid.org/0000-0002-0374-7404 | 15
|
||||
https://orcid.org/0000-0002-3440-2767 | 15
|
||||
https://orcid.org/0000-0002-9627-5433 | 15
|
||||
https://orcid.org/0000-0003-3703-6624 | 15
|
||||
https://orcid.org/0000-0001-5720-6649 | 14
|
||||
https://orcid.org/0000-0001-9725-2316 | 14
|
||||
https://orcid.org/0000-0002-5530-0380 | 14
|
||||
https://orcid.org/0000-0002-9099-6870 | 14
|
||||
https://orcid.org/0000-0003-4067-1127 | 14
|
||||
https://orcid.org/0000-0001-5472-562X | 13
|
||||
https://orcid.org/0000-0001-5818-1682 | 13
|
||||
https://orcid.org/0000-0001-7575-3603 | 13
|
||||
https://orcid.org/0000-0001-9532-5075 | 13
|
||||
https://orcid.org/0000-0002-2413-3858 | 13
|
||||
https://orcid.org/0000-0003-0910-4095 | 13
|
||||
https://orcid.org/0000-0003-1983-3435 | 13
|
||||
https://orcid.org/0000-0001-6463-7869 | 12
|
||||
https://orcid.org/0000-0002-4424-8345 | 12
|
||||
https://orcid.org/0000-0002-6170-4744 | 12
|
||||
https://orcid.org/0000-0002-7836-1100 | 12
|
||||
https://orcid.org/0000-0002-8407-0369 | 12
|
||||
https://orcid.org/0000-0003-0524-1914 | 12
|
||||
https://orcid.org/0009-0002-6108-5477 | 12
|
||||
https://orcid.org/0009-0004-1348-0805 | 12
|
||||
https://orcid.org/0009-0004-8479-2072 | 12
|
||||
https://orcid.org/0009-0008-7694-4987 | 12
|
||||
https://orcid.org/0000-0001-5286-4423 | 11
|
||||
https://orcid.org/0000-0001-6470-4662 | 11
|
||||
https://orcid.org/0000-0001-9234-019X | 11
|
||||
https://orcid.org/0000-0002-4332-3518 | 11
|
||||
https://orcid.org/0000-0002-5806-6403 | 11
|
||||
https://orcid.org/0000-0002-5839-0895 | 11
|
||||
https://orcid.org/0000-0002-6053-902X | 11
|
||||
https://orcid.org/0000-0002-6432-7542 | 11
|
||||
https://orcid.org/0000-0002-8771-3120 | 11
|
||||
https://orcid.org/0000-0003-3966-3111 | 11
|
||||
https://orcid.org/0009-0002-5212-4710 | 11
|
||||
https://orcid.org/0009-0009-8910-1396 | 11
|
||||
https://orcid.org/0000-0001-5866-1504 | 10
|
||||
https://orcid.org/0000-0001-6623-1205 | 10
|
||||
https://orcid.org/0000-0001-6717-0803 | 10
|
||||
https://orcid.org/0000-0001-6825-5956 | 10
|
||||
https://orcid.org/0000-0001-7954-1149 | 10
|
||||
https://orcid.org/0000-0001-8075-2867 | 10
|
||||
https://orcid.org/0000-0001-9061-4281 | 10
|
||||
https://orcid.org/0000-0002-0124-9065 | 10
|
||||
https://orcid.org/0000-0002-1153-816X | 10
|
||||
https://orcid.org/0000-0002-1528-4865 | 10
|
||||
https://orcid.org/0000-0002-2283-1863 | 10
|
||||
https://orcid.org/0000-0002-3236-6766 | 10
|
||||
https://orcid.org/0000-0002-3789-0081 | 10
|
||||
https://orcid.org/0000-0002-5076-7803 | 10
|
||||
https://orcid.org/0000-0002-6925-5189 | 10
|
||||
https://orcid.org/0000-0003-0056-7296 | 10
|
||||
https://orcid.org/0000-0003-1685-7968 | 10
|
||||
https://orcid.org/0000-0003-1785-3491 | 10
|
||||
https://orcid.org/0000-0003-2076-1133 | 10
|
||||
https://orcid.org/0000-0003-2098-3844 | 10
|
||||
https://orcid.org/0000-0003-4632-0213 | 10
|
||||
https://orcid.org/0009-0006-5916-3682 | 10
|
||||
https://orcid.org/0000-0001-5728-871X | 9
|
||||
https://orcid.org/0000-0001-8551-7866 | 9
|
||||
https://orcid.org/0000-0001-9384-6598 | 9
|
||||
https://orcid.org/0000-0001-9548-0358 | 9
|
||||
https://orcid.org/0000-0001-9853-6257 | 9
|
||||
https://orcid.org/0000-0002-0374-1838 | 9
|
||||
https://orcid.org/0000-0002-1122-0055 | 9
|
||||
https://orcid.org/0000-0002-1157-1859 | 9
|
||||
https://orcid.org/0000-0002-3633-7065 | 9
|
||||
https://orcid.org/0000-0002-3864-9257 | 9
|
||||
https://orcid.org/0000-0002-4817-7775 | 9
|
||||
https://orcid.org/0000-0002-6374-458X | 9
|
||||
https://orcid.org/0000-0002-6758-0113 | 9
|
||||
https://orcid.org/0000-0002-6764-4789 | 9
|
||||
https://orcid.org/0000-0002-9763-9155 | 9
|
||||
https://orcid.org/0000-0003-1112-8336 | 9
|
||||
https://orcid.org/0000-0003-4667-3502 | 9
|
||||
https://orcid.org/0009-0000-8033-8498 | 9
|
||||
https://orcid.org/0009-0001-0761-7543 | 9
|
||||
https://orcid.org/0009-0001-4259-5917 | 9
|
||||
https://orcid.org/0009-0002-3680-1224 | 9
|
||||
https://orcid.org/0009-0002-8176-3757 | 9
|
||||
https://orcid.org/0009-0002-8563-7248 | 9
|
||||
https://orcid.org/0009-0006-3511-9329 | 9
|
||||
https://orcid.org/0009-0007-2108-5110 | 9
|
||||
https://orcid.org/0009-0008-8730-8097 | 9
|
||||
https://orcid.org/0009-0009-8845-6742 | 9
|
||||
https://orcid.org/0000-0001-5233-3139 | 8
|
||||
https://orcid.org/0000-0001-5252-0831 | 8
|
||||
https://orcid.org/0000-0001-5775-7993 | 8
|
||||
https://orcid.org/0000-0001-6072-3874 | 8
|
||||
https://orcid.org/0000-0001-6819-6562 | 8
|
||||
https://orcid.org/0000-0001-6923-7936 | 8
|
||||
https://orcid.org/0000-0002-0584-8700 | 8
|
||||
https://orcid.org/0000-0002-1129-2083 | 8
|
||||
https://orcid.org/0000-0002-1959-2363 | 8
|
||||
https://orcid.org/0000-0002-2079-996X | 8
|
||||
https://orcid.org/0000-0002-2106-4041 | 8
|
||||
https://orcid.org/0000-0002-2745-5908 | 8
|
||||
https://orcid.org/0000-0002-3225-2769 | 8
|
||||
https://orcid.org/0000-0002-3365-3927 | 8
|
||||
https://orcid.org/0000-0002-3397-3496 | 8
|
||||
https://orcid.org/0000-0002-3650-4548 | 8
|
||||
https://orcid.org/0000-0002-3934-6004 | 8
|
||||
https://orcid.org/0000-0002-4006-7029 | 8
|
||||
https://orcid.org/0000-0002-4485-6017 | 8
|
||||
https://orcid.org/0000-0002-4974-7004 | 8
|
||||
https://orcid.org/0000-0002-5105-1305 | 8
|
||||
https://orcid.org/0000-0002-5380-9829 | 8
|
||||
https://orcid.org/0000-0002-6047-4211 | 8
|
||||
https://orcid.org/0000-0002-6999-3931 | 8
|
||||
https://orcid.org/0000-0002-7007-9020 | 8
|
||||
https://orcid.org/0000-0002-9808-5035 | 8
|
||||
https://orcid.org/0000-0003-0660-596X | 8
|
||||
https://orcid.org/0000-0003-0664-1653 | 8
|
||||
https://orcid.org/0000-0003-0766-6174 | 8
|
||||
https://orcid.org/0000-0003-1925-4337 | 8
|
||||
https://orcid.org/0000-0003-2320-7621 | 8
|
||||
https://orcid.org/0000-0003-2611-1975 | 8
|
||||
https://orcid.org/0000-0003-2623-3198 | 8
|
||||
https://orcid.org/0000-0003-3223-1797 | 8
|
||||
https://orcid.org/0000-0003-3303-7769 | 8
|
||||
https://orcid.org/0000-0003-4556-7302 | 8
|
||||
https://orcid.org/0000-0003-4813-8167 | 8
|
||||
https://orcid.org/0009-0000-3081-2665 | 8
|
||||
https://orcid.org/0009-0000-4054-8239 | 8
|
||||
https://orcid.org/0009-0001-1173-3651 | 8
|
||||
https://orcid.org/0009-0002-4054-6799 | 8
|
||||
https://orcid.org/0009-0004-1393-6577 | 8
|
||||
https://orcid.org/0009-0004-2581-9917 | 8
|
||||
https://orcid.org/0009-0005-7271-2677 | 8
|
||||
https://orcid.org/0009-0006-1867-9674 | 8
|
||||
https://orcid.org/0009-0007-7218-9227 | 8
|
||||
https://orcid.org/0009-0008-2045-2609 | 8
|
||||
https://orcid.org/0009-0008-2532-8674 | 8
|
||||
https://orcid.org/0009-0009-0129-3267 | 8
|
||||
https://orcid.org/0000-0001-2345-6789 | 7
|
||||
https://orcid.org/0000-0001-5189-230X | 7
|
||||
https://orcid.org/0000-0001-5501-554X | 7
|
||||
https://orcid.org/0000-0001-5987-3189 | 7
|
||||
https://orcid.org/0000-0001-6057-9243 | 7
|
||||
https://orcid.org/0000-0001-6105-5345 | 7
|
||||
https://orcid.org/0000-0001-6436-7547 | 7
|
||||
https://orcid.org/0000-0001-6533-6144 | 7
|
||||
https://orcid.org/0000-0001-6850-7666 | 7
|
||||
https://orcid.org/0000-0001-6883-3752 | 7
|
||||
https://orcid.org/0000-0001-7483-2991 | 7
|
||||
https://orcid.org/0000-0001-7515-3907 | 7
|
||||
https://orcid.org/0000-0001-7945-2867 | 7
|
||||
https://orcid.org/0000-0001-8191-0046 | 7
|
||||
https://orcid.org/0000-0001-8555-5408 | 7
|
||||
https://orcid.org/0000-0001-9190-4547 | 7
|
||||
https://orcid.org/0000-0001-9539-2155 | 7
|
||||
https://orcid.org/0000-0001-9663-4443 | 7
|
||||
https://orcid.org/0000-0002-0117-7831 | 7
|
||||
https://orcid.org/0000-0002-0207-2871 | 7
|
||||
https://orcid.org/0000-0002-0394-5646 | 7
|
||||
https://orcid.org/0000-0002-0869-5631 | 7
|
||||
https://orcid.org/0000-0002-1051-3833 | 7
|
||||
https://orcid.org/0000-0002-1122-2990 | 7
|
||||
https://orcid.org/0000-0002-1695-9481 | 7
|
||||
https://orcid.org/0000-0002-1933-5383 | 7
|
||||
https://orcid.org/0000-0002-2023-2082 | 7
|
||||
https://orcid.org/0000-0002-2115-9382 | 7
|
||||
https://orcid.org/0000-0002-2138-4395 | 7
|
||||
https://orcid.org/0000-0002-2405-915X | 7
|
||||
https://orcid.org/0000-0002-2593-5297 | 7
|
||||
https://orcid.org/0000-0002-2629-4735 | 7
|
||||
https://orcid.org/0000-0002-2699-2189 | 7
|
||||
https://orcid.org/0000-0002-2782-9519 | 7
|
||||
https://orcid.org/0000-0002-3135-5010 | 7
|
||||
https://orcid.org/0000-0002-3348-1221 | 7
|
||||
https://orcid.org/0000-0002-3725-4800 | 7
|
||||
https://orcid.org/0000-0002-4133-5099 | 7
|
||||
https://orcid.org/0000-0002-4242-2450 | 7
|
||||
https://orcid.org/0000-0002-4526-2149 | 7
|
||||
https://orcid.org/0000-0002-4996-1924 | 7
|
||||
https://orcid.org/0000-0002-5540-3750 | 7
|
||||
https://orcid.org/0000-0002-5956-6258 | 7
|
||||
https://orcid.org/0000-0002-6519-4681 | 7
|
||||
https://orcid.org/0000-0002-7602-2527 | 7
|
||||
https://orcid.org/0000-0002-8002-9086 | 7
|
||||
https://orcid.org/0000-0002-8482-1046 | 7
|
||||
https://orcid.org/0000-0002-8640-4350 | 7
|
||||
https://orcid.org/0000-0002-9192-8757 | 7
|
||||
https://orcid.org/0000-0002-9241-3114 | 7
|
||||
https://orcid.org/0000-0002-9581-2778 | 7
|
||||
https://orcid.org/0000-0002-9749-5550 | 7
|
||||
https://orcid.org/0000-0002-9878-6077 | 7
|
||||
https://orcid.org/0000-0003-0195-7456 | 7
|
||||
https://orcid.org/0000-0003-0266-0224 | 7
|
||||
https://orcid.org/0000-0003-0362-8795 | 7
|
||||
https://orcid.org/0000-0003-0383-6930 | 7
|
||||
https://orcid.org/0000-0003-0609-627X | 7
|
||||
https://orcid.org/0000-0003-1287-1471 | 7
|
||||
https://orcid.org/0000-0003-1430-9191 | 7
|
||||
https://orcid.org/0000-0003-1731-7939 | 7
|
||||
https://orcid.org/0000-0003-2298-0102 | 7
|
||||
https://orcid.org/0000-0003-2323-7521 | 7
|
||||
https://orcid.org/0000-0003-2707-2533 | 7
|
||||
https://orcid.org/0000-0003-2868-7177 | 7
|
||||
https://orcid.org/0000-0003-2973-1803 | 7
|
||||
https://orcid.org/0000-0003-3609-4777 | 7
|
||||
https://orcid.org/0000-0003-3895-9092 | 7
|
||||
https://orcid.org/0000-0003-4316-9642 | 7
|
||||
https://orcid.org/0000-0003-4950-5184 | 7
|
||||
https://orcid.org/0009-0000-7239-3374 | 7
|
||||
https://orcid.org/0009-0000-8636-0848 | 7
|
||||
https://orcid.org/0009-0001-7282-8881 | 7
|
||||
https://orcid.org/0009-0002-0885-5145 | 7
|
||||
https://orcid.org/0009-0002-1063-5117 | 7
|
||||
https://orcid.org/0009-0002-3352-6765 | 7
|
||||
https://orcid.org/0009-0002-4224-5527 | 7
|
||||
https://orcid.org/0009-0002-9160-3095 | 7
|
||||
https://orcid.org/0009-0002-9671-101X | 7
|
||||
https://orcid.org/0009-0003-4314-9534 | 7
|
||||
https://orcid.org/0009-0004-6991-0595 | 7
|
||||
https://orcid.org/0009-0005-5603-6306 | 7
|
||||
https://orcid.org/0009-0005-8813-8745 | 7
|
||||
https://orcid.org/0009-0006-9312-0272 | 7
|
||||
https://orcid.org/0009-0007-1509-2728 | 7
|
||||
https://orcid.org/0009-0007-6670-9679 | 7
|
||||
https://orcid.org/0009-0008-0310-0257 | 7
|
||||
https://orcid.org/0009-0009-4592-6687 | 7
|
||||
https://orcid.org/0009-0009-8645-6685 | 7
|
||||
https://orcid.org/0000-0001-5001-672X | 6
|
||||
https://orcid.org/0000-0001-5637-2653 | 6
|
||||
https://orcid.org/0000-0001-5769-5761 | 6
|
||||
https://orcid.org/0000-0001-5854-7699 | 6
|
||||
https://orcid.org/0000-0001-5967-8674 | 6
|
||||
https://orcid.org/0000-0001-6805-0395 | 6
|
||||
https://orcid.org/0000-0001-6996-4834 | 6
|
||||
https://orcid.org/0000-0001-7179-7043 | 6
|
||||
https://orcid.org/0000-0001-7241-2117 | 6
|
||||
https://orcid.org/0000-0001-7833-4711 | 6
|
||||
https://orcid.org/0000-0001-7842-9518 | 6
|
||||
https://orcid.org/0000-0001-7941-4879 | 6
|
||||
https://orcid.org/0000-0001-8178-2494 | 6
|
||||
https://orcid.org/0000-0001-8375-0760 | 6
|
||||
https://orcid.org/0000-0001-8473-4332 | 6
|
||||
https://orcid.org/0000-0001-8569-8409 | 6
|
||||
https://orcid.org/0000-0001-8673-3026 | 6
|
||||
https://orcid.org/0000-0001-8915-3377 | 6
|
||||
https://orcid.org/0000-0001-9025-2225 | 6
|
||||
https://orcid.org/0000-0001-9086-6091 | 6
|
||||
https://orcid.org/0000-0001-9140-9028 | 6
|
||||
https://orcid.org/0000-0001-9234-4465 | 6
|
||||
https://orcid.org/0000-0001-9416-1742 | 6
|
||||
https://orcid.org/0000-0001-9422-1725 | 6
|
||||
https://orcid.org/0000-0001-9473-8935 | 6
|
||||
https://orcid.org/0000-0001-9524-8452 | 6
|
||||
https://orcid.org/0000-0001-9630-2000 | 6
|
||||
https://orcid.org/0000-0001-9734-3162 | 6
|
||||
https://orcid.org/0000-0001-9861-8922 | 6
|
||||
https://orcid.org/0000-0002-0032-4473 | 6
|
||||
https://orcid.org/0000-0002-0034-6576 | 6
|
||||
https://orcid.org/0000-0002-0038-5372 | 6
|
||||
https://orcid.org/0000-0002-0144-6536 | 6
|
||||
https://orcid.org/0000-0002-0264-7217 | 6
|
||||
https://orcid.org/0000-0002-0531-2148 | 6
|
||||
https://orcid.org/0000-0002-0538-8230 | 6
|
||||
https://orcid.org/0000-0002-0595-0297 | 6
|
||||
https://orcid.org/0000-0002-0657-1766 | 6
|
||||
https://orcid.org/0000-0002-0661-5220 | 6
|
||||
https://orcid.org/0000-0002-0664-9199 | 6
|
||||
https://orcid.org/0000-0002-0682-4313 | 6
|
||||
https://orcid.org/0000-0002-0786-7307 | 6
|
||||
https://orcid.org/0000-0002-0798-9806 | 6
|
||||
https://orcid.org/0000-0002-0857-6317 | 6
|
||||
https://orcid.org/0000-0002-1115-4721 | 6
|
||||
https://orcid.org/0000-0002-1231-5136 | 6
|
||||
https://orcid.org/0000-0002-1640-9180 | 6
|
||||
https://orcid.org/0000-0002-2133-9287 | 6
|
||||
https://orcid.org/0000-0002-2140-4309 | 6
|
||||
https://orcid.org/0000-0002-2141-9543 | 6
|
||||
https://orcid.org/0000-0002-2204-5731 | 6
|
||||
https://orcid.org/0000-0002-2495-0524 | 6
|
||||
https://orcid.org/0000-0002-2629-5420 | 6
|
||||
https://orcid.org/0000-0002-2745-7065 | 6
|
||||
https://orcid.org/0000-0002-2896-3867 | 6
|
||||
https://orcid.org/0000-0002-3122-7617 | 6
|
||||
https://orcid.org/0000-0002-3728-2377 | 6
|
||||
https://orcid.org/0000-0002-3812-4944 | 6
|
||||
https://orcid.org/0000-0002-3820-9366 | 6
|
||||
https://orcid.org/0000-0002-3871-0978 | 6
|
||||
https://orcid.org/0000-0002-4125-8898 | 6
|
||||
https://orcid.org/0000-0002-4620-4223 | 6
|
||||
https://orcid.org/0000-0002-4624-2019 | 6
|
||||
https://orcid.org/0000-0002-4743-8718 | 6
|
||||
https://orcid.org/0000-0002-4841-3600 | 6
|
||||
https://orcid.org/0000-0002-4902-5589 | 6
|
||||
https://orcid.org/0000-0002-5005-3042 | 6
|
||||
https://orcid.org/0000-0002-5278-1430 | 6
|
||||
https://orcid.org/0000-0002-5414-8276 | 6
|
||||
https://orcid.org/0000-0002-5661-4330 | 6
|
||||
https://orcid.org/0000-0002-5728-9867 | 6
|
||||
https://orcid.org/0000-0002-5735-4059 | 6
|
||||
https://orcid.org/0000-0002-5736-1398 | 6
|
||||
https://orcid.org/0000-0002-5865-183X | 6
|
||||
https://orcid.org/0000-0002-5890-0445 | 6
|
||||
https://orcid.org/0000-0002-6083-2656 | 6
|
||||
https://orcid.org/0000-0002-6330-0639 | 6
|
||||
https://orcid.org/0000-0002-6469-8415 | 6
|
||||
https://orcid.org/0000-0002-6513-2309 | 6
|
||||
https://orcid.org/0000-0002-6781-416X | 6
|
||||
https://orcid.org/0000-0002-6785-9202 | 6
|
||||
https://orcid.org/0000-0002-6797-7209 | 6
|
||||
https://orcid.org/0000-0002-6941-8478 | 6
|
||||
https://orcid.org/0000-0002-7093-2677 | 6
|
||||
https://orcid.org/0000-0002-7225-8823 | 6
|
||||
https://orcid.org/0000-0002-7447-5602 | 6
|
||||
https://orcid.org/0000-0002-7543-1628 | 6
|
||||
https://orcid.org/0000-0002-7581-846X | 6
|
||||
https://orcid.org/0000-0002-7929-5889 | 6
|
||||
https://orcid.org/0000-0002-7989-6406 | 6
|
||||
https://orcid.org/0000-0002-8030-3866 | 6
|
||||
https://orcid.org/0000-0002-8073-9344 | 6
|
||||
https://orcid.org/0000-0002-8087-3199 | 6
|
||||
https://orcid.org/0000-0002-8255-0086 | 6
|
||||
https://orcid.org/0000-0002-8377-6431 | 6
|
||||
https://orcid.org/0000-0002-8738-1453 | 6
|
||||
https://orcid.org/0000-0002-9054-4372 | 6
|
||||
https://orcid.org/0000-0002-9264-4799 | 6
|
||||
https://orcid.org/0000-0002-9337-3476 | 6
|
||||
https://orcid.org/0000-0002-9557-5186 | 6
|
||||
https://orcid.org/0000-0002-9773-550X | 6
|
||||
https://orcid.org/0000-0002-9783-169X | 6
|
||||
https://orcid.org/0000-0002-9858-8249 | 6
|
||||
https://orcid.org/0000-0002-9922-413X | 6
|
||||
https://orcid.org/0000-0003-0133-1664 | 6
|
||||
https://orcid.org/0000-0003-0355-102X | 6
|
||||
https://orcid.org/0000-0003-0392-8691 | 6
|
||||
https://orcid.org/0000-0003-0523-487X | 6
|
||||
https://orcid.org/0000-0003-0959-4784 | 6
|
||||
https://orcid.org/0000-0003-0996-3279 | 6
|
||||
https://orcid.org/0000-0003-1179-2800 | 6
|
||||
https://orcid.org/0000-0003-1452-7885 | 6
|
||||
https://orcid.org/0000-0003-1455-6272 | 6
|
||||
https://orcid.org/0000-0003-1836-7233 | 6
|
||||
https://orcid.org/0000-0003-1890-2275 | 6
|
||||
https://orcid.org/0000-0003-1899-2266 | 6
|
||||
https://orcid.org/0000-0003-2000-2241 | 6
|
||||
https://orcid.org/0000-0003-2294-7345 | 6
|
||||
https://orcid.org/0000-0003-2375-1563 | 6
|
||||
https://orcid.org/0000-0003-2459-6278 | 6
|
||||
https://orcid.org/0000-0003-2582-6469 | 6
|
||||
https://orcid.org/0000-0003-2663-7379 | 6
|
||||
https://orcid.org/0000-0003-2682-9389 | 6
|
||||
https://orcid.org/0000-0003-2865-8528 | 6
|
||||
https://orcid.org/0000-0003-3086-9260 | 6
|
||||
https://orcid.org/0000-0003-3150-2751 | 6
|
||||
https://orcid.org/0000-0003-3389-2976 | 6
|
||||
https://orcid.org/0000-0003-3887-5358 | 6
|
||||
https://orcid.org/0000-0003-4009-186X | 6
|
||||
https://orcid.org/0000-0003-4221-1802 | 6
|
||||
https://orcid.org/0000-0003-4242-4840 | 6
|
||||
https://orcid.org/0000-0003-4351-0222 | 6
|
||||
https://orcid.org/0000-0003-4530-4422 | 6
|
||||
https://orcid.org/0000-0003-4543-2547 | 6
|
||||
https://orcid.org/0000-0003-4579-728X | 6
|
||||
https://orcid.org/0000-0003-4709-7623 | 6
|
||||
https://orcid.org/0009-0000-3973-2485 | 6
|
||||
https://orcid.org/0009-0000-7046-6533 | 6
|
||||
https://orcid.org/0009-0000-8362-2515 | 6
|
||||
https://orcid.org/0009-0000-9361-3532 | 6
|
||||
https://orcid.org/0009-0001-1326-3956 | 6
|
||||
https://orcid.org/0009-0001-7616-1914 | 6
|
||||
https://orcid.org/0009-0001-9331-5145 | 6
|
||||
https://orcid.org/0009-0002-2161-5808 | 6
|
||||
https://orcid.org/0009-0002-2307-5956 | 6
|
||||
https://orcid.org/0009-0002-2345-7081 | 6
|
||||
https://orcid.org/0009-0002-6494-4695 | 6
|
||||
https://orcid.org/0009-0002-8107-5452 | 6
|
||||
https://orcid.org/0009-0002-9187-7061 | 6
|
||||
https://orcid.org/0009-0003-6977-3669 | 6
|
||||
https://orcid.org/0009-0003-9152-2049 | 6
|
||||
https://orcid.org/0009-0004-1874-2464 | 6
|
||||
https://orcid.org/0009-0004-8274-9863 | 6
|
||||
https://orcid.org/0009-0004-8503-4011 | 6
|
||||
https://orcid.org/0009-0005-2318-6084 | 6
|
||||
https://orcid.org/0009-0005-5039-4874 | 6
|
||||
https://orcid.org/0009-0005-5447-7132 | 6
|
||||
https://orcid.org/0009-0005-5922-8936 | 6
|
||||
https://orcid.org/0009-0005-7626-6600 | 6
|
||||
https://orcid.org/0009-0006-0236-2680 | 6
|
||||
https://orcid.org/0009-0006-1471-986X | 6
|
||||
https://orcid.org/0009-0006-5800-1198 | 6
|
||||
https://orcid.org/0009-0006-6993-8920 | 6
|
||||
https://orcid.org/0009-0006-7450-4510 | 6
|
||||
https://orcid.org/0009-0006-8301-7634 | 6
|
||||
https://orcid.org/0009-0006-8497-9085 | 6
|
||||
https://orcid.org/0009-0007-0410-4607 | 6
|
||||
https://orcid.org/0009-0007-1385-3343 | 6
|
||||
https://orcid.org/0009-0007-4527-7926 | 6
|
||||
https://orcid.org/0009-0008-1549-0440 | 6
|
||||
https://orcid.org/0009-0008-3724-4603 | 6
|
||||
https://orcid.org/0009-0008-5380-3284 | 6
|
||||
https://orcid.org/0009-0009-3354-7794 | 6
|
||||
https://orcid.org/0009-0009-4284-8943 | 6
|
||||
https://orcid.org/0009-0009-6074-6238 | 6
|
||||
https://orcid.org/0009-0009-9522-8588 | 6
|
||||
https://orcid.org/0000-0001-5094-5879 | 5
|
||||
https://orcid.org/0000-0001-5124-7693 | 5
|
||||
https://orcid.org/0000-0001-5144-7900 | 5
|
||||
https://orcid.org/0000-0001-5552-5400 | 5
|
||||
https://orcid.org/0000-0001-5565-7868 | 5
|
||||
https://orcid.org/0000-0001-5646-0602 | 5
|
||||
https://orcid.org/0000-0001-5650-6770 | 5
|
||||
https://orcid.org/0000-0001-5881-4670 | 5
|
||||
https://orcid.org/0000-0001-5961-9033 | 5
|
||||
https://orcid.org/0000-0001-5979-6590 | 5
|
||||
https://orcid.org/0000-0001-5989-9338 | 5
|
||||
https://orcid.org/0000-0001-6153-3896 | 5
|
||||
https://orcid.org/0000-0001-6253-4313 | 5
|
||||
https://orcid.org/0000-0001-6278-9674 | 5
|
||||
https://orcid.org/0000-0001-6279-2267 | 5
|
||||
https://orcid.org/0000-0001-6326-4773 | 5
|
||||
https://orcid.org/0000-0001-6342-3471 | 5
|
||||
https://orcid.org/0000-0001-6453-0447 | 5
|
||||
https://orcid.org/0000-0001-6797-4000 | 5
|
||||
https://orcid.org/0000-0001-6828-9769 | 5
|
||||
https://orcid.org/0000-0001-6867-8166 | 5
|
||||
https://orcid.org/0000-0001-6930-4780 | 5
|
||||
https://orcid.org/0000-0001-6976-6256 | 5
|
||||
https://orcid.org/0000-0001-7256-6714 | 5
|
||||
https://orcid.org/0000-0001-7516-8850 | 5
|
||||
https://orcid.org/0000-0001-7759-1943 | 5
|
||||
https://orcid.org/0000-0001-7770-1102 | 5
|
||||
https://orcid.org/0000-0001-7896-8861 | 5
|
||||
https://orcid.org/0000-0001-8026-5380 | 5
|
||||
https://orcid.org/0000-0001-8049-5143 | 5
|
||||
https://orcid.org/0000-0001-8130-7423 | 5
|
||||
https://orcid.org/0000-0001-8140-4610 | 5
|
||||
https://orcid.org/0000-0001-8204-6157 | 5
|
||||
https://orcid.org/0000-0001-8292-7691 | 5
|
||||
https://orcid.org/0000-0001-8331-4854 | 5
|
||||
https://orcid.org/0000-0001-8367-8703 | 5
|
||||
https://orcid.org/0000-0001-8387-1853 | 5
|
||||
https://orcid.org/0000-0001-8415-6720 | 5
|
||||
https://orcid.org/0000-0001-8430-0446 | 5
|
||||
https://orcid.org/0000-0001-8463-0496 | 5
|
||||
https://orcid.org/0000-0001-8493-3737 | 5
|
||||
https://orcid.org/0000-0001-8647-7077 | 5
|
||||
https://orcid.org/0000-0001-8719-057X | 5
|
||||
https://orcid.org/0000-0001-8751-5944 | 5
|
||||
https://orcid.org/0000-0001-8785-847X | 5
|
||||
https://orcid.org/0000-0001-8791-7978 | 5
|
||||
https://orcid.org/0000-0001-8810-5971 | 5
|
||||
https://orcid.org/0000-0001-8828-3823 | 5
|
||||
https://orcid.org/0000-0001-8829-9681 | 5
|
||||
https://orcid.org/0000-0001-9012-395X | 5
|
||||
https://orcid.org/0000-0001-9031-6751 | 5
|
||||
https://orcid.org/0000-0001-9034-2925 | 5
|
||||
https://orcid.org/0000-0001-9048-4341 | 5
|
||||
https://orcid.org/0000-0001-9094-1493 | 5
|
||||
https://orcid.org/0000-0001-9301-2382 | 5
|
||||
https://orcid.org/0000-0001-9365-6452 | 5
|
||||
https://orcid.org/0000-0001-9440-5807 | 5
|
||||
https://orcid.org/0000-0001-9719-3563 | 5
|
||||
https://orcid.org/0000-0001-9734-574X | 5
|
||||
https://orcid.org/0000-0001-9861-2942 | 5
|
||||
https://orcid.org/0000-0002-0035-3821 | 5
|
||||
https://orcid.org/0000-0002-0044-6470 | 5
|
||||
https://orcid.org/0000-0002-0224-2869 | 5
|
||||
https://orcid.org/0000-0002-0286-5070 | 5
|
||||
https://orcid.org/0000-0002-0550-457X | 5
|
||||
https://orcid.org/0000-0002-0554-4627 | 5
|
||||
https://orcid.org/0000-0002-0608-065X | 5
|
||||
https://orcid.org/0000-0002-0653-0761 | 5
|
||||
https://orcid.org/0000-0002-0672-6895 | 5
|
||||
https://orcid.org/0000-0002-0804-9197 | 5
|
||||
https://orcid.org/0000-0002-0809-1897 | 5
|
||||
https://orcid.org/0000-0002-0870-8420 | 5
|
||||
https://orcid.org/0000-0002-0984-7887 | 5
|
||||
https://orcid.org/0000-0002-1034-1410 | 5
|
||||
https://orcid.org/0000-0002-1182-7869 | 5
|
||||
https://orcid.org/0000-0002-1303-0458 | 5
|
||||
https://orcid.org/0000-0002-1394-9907 | 5
|
||||
@@ -0,0 +1,503 @@
|
||||
Analyse 2: Wie Analyse 1, zusätzlich mit der Anzahl unterschiedlicher display_names je ORCID (exakter Match) — trennt echte Namens-Duplikate von unterschiedlich benannten Autoren mit derselben ORCID.
|
||||
ORCID | Gesamt | Unique Names
|
||||
------------------------------------- | ------ | ------------
|
||||
https://orcid.org/0000-0002-1652-6686 | 37 | 37
|
||||
https://orcid.org/0000-0002-3394-1507 | 35 | 29
|
||||
https://orcid.org/0000-0001-9708-5765 | 34 | 18
|
||||
https://orcid.org/0000-0002-3156-3741 | 31 | 16
|
||||
https://orcid.org/0000-0001-8829-9817 | 30 | 6
|
||||
https://orcid.org/0000-0003-3256-740X | 28 | 2
|
||||
https://orcid.org/0000-0003-3875-3561 | 28 | 28
|
||||
https://orcid.org/0009-0006-5046-8527 | 28 | 17
|
||||
https://orcid.org/0000-0003-1006-7594 | 27 | 27
|
||||
https://orcid.org/0000-0002-0439-1390 | 23 | 17
|
||||
https://orcid.org/0000-0003-3112-4252 | 23 | 12
|
||||
https://orcid.org/0000-0001-8601-2325 | 22 | 5
|
||||
https://orcid.org/0000-0002-1276-5858 | 22 | 6
|
||||
https://orcid.org/0000-0001-8418-5054 | 21 | 19
|
||||
https://orcid.org/0000-0002-0482-2111 | 20 | 19
|
||||
https://orcid.org/0000-0002-5163-0489 | 20 | 1
|
||||
https://orcid.org/0000-0003-4433-5227 | 19 | 15
|
||||
https://orcid.org/0009-0009-5669-1676 | 18 | 1
|
||||
https://orcid.org/0000-0002-6157-2016 | 17 | 14
|
||||
https://orcid.org/0000-0002-0991-5026 | 16 | 13
|
||||
https://orcid.org/0000-0002-3128-9025 | 16 | 14
|
||||
https://orcid.org/0000-0001-9286-2123 | 15 | 7
|
||||
https://orcid.org/0000-0002-0374-7404 | 15 | 15
|
||||
https://orcid.org/0000-0002-3440-2767 | 15 | 13
|
||||
https://orcid.org/0000-0002-9627-5433 | 15 | 15
|
||||
https://orcid.org/0000-0003-3703-6624 | 15 | 12
|
||||
https://orcid.org/0000-0001-5720-6649 | 14 | 9
|
||||
https://orcid.org/0000-0001-9725-2316 | 14 | 13
|
||||
https://orcid.org/0000-0002-5530-0380 | 14 | 11
|
||||
https://orcid.org/0000-0002-9099-6870 | 14 | 10
|
||||
https://orcid.org/0000-0003-4067-1127 | 14 | 8
|
||||
https://orcid.org/0000-0001-5472-562X | 13 | 8
|
||||
https://orcid.org/0000-0001-5818-1682 | 13 | 10
|
||||
https://orcid.org/0000-0001-7575-3603 | 13 | 11
|
||||
https://orcid.org/0000-0001-9532-5075 | 13 | 8
|
||||
https://orcid.org/0000-0002-2413-3858 | 13 | 5
|
||||
https://orcid.org/0000-0003-0910-4095 | 13 | 10
|
||||
https://orcid.org/0000-0003-1983-3435 | 13 | 6
|
||||
https://orcid.org/0000-0001-6463-7869 | 12 | 6
|
||||
https://orcid.org/0000-0002-4424-8345 | 12 | 11
|
||||
https://orcid.org/0000-0002-6170-4744 | 12 | 8
|
||||
https://orcid.org/0000-0002-7836-1100 | 12 | 6
|
||||
https://orcid.org/0000-0002-8407-0369 | 12 | 10
|
||||
https://orcid.org/0000-0003-0524-1914 | 12 | 11
|
||||
https://orcid.org/0009-0002-6108-5477 | 12 | 1
|
||||
https://orcid.org/0009-0004-1348-0805 | 12 | 2
|
||||
https://orcid.org/0009-0004-8479-2072 | 12 | 3
|
||||
https://orcid.org/0009-0008-7694-4987 | 12 | 9
|
||||
https://orcid.org/0000-0001-5286-4423 | 11 | 6
|
||||
https://orcid.org/0000-0001-6470-4662 | 11 | 7
|
||||
https://orcid.org/0000-0001-9234-019X | 11 | 9
|
||||
https://orcid.org/0000-0002-4332-3518 | 11 | 11
|
||||
https://orcid.org/0000-0002-5806-6403 | 11 | 8
|
||||
https://orcid.org/0000-0002-5839-0895 | 11 | 6
|
||||
https://orcid.org/0000-0002-6053-902X | 11 | 8
|
||||
https://orcid.org/0000-0002-6432-7542 | 11 | 8
|
||||
https://orcid.org/0000-0002-8771-3120 | 11 | 6
|
||||
https://orcid.org/0000-0003-3966-3111 | 11 | 1
|
||||
https://orcid.org/0009-0002-5212-4710 | 11 | 1
|
||||
https://orcid.org/0009-0009-8910-1396 | 11 | 1
|
||||
https://orcid.org/0000-0001-5866-1504 | 10 | 9
|
||||
https://orcid.org/0000-0001-6623-1205 | 10 | 9
|
||||
https://orcid.org/0000-0001-6717-0803 | 10 | 6
|
||||
https://orcid.org/0000-0001-6825-5956 | 10 | 1
|
||||
https://orcid.org/0000-0001-7954-1149 | 10 | 3
|
||||
https://orcid.org/0000-0001-8075-2867 | 10 | 9
|
||||
https://orcid.org/0000-0001-9061-4281 | 10 | 3
|
||||
https://orcid.org/0000-0002-0124-9065 | 10 | 1
|
||||
https://orcid.org/0000-0002-1153-816X | 10 | 2
|
||||
https://orcid.org/0000-0002-1528-4865 | 10 | 8
|
||||
https://orcid.org/0000-0002-2283-1863 | 10 | 6
|
||||
https://orcid.org/0000-0002-3236-6766 | 10 | 8
|
||||
https://orcid.org/0000-0002-3789-0081 | 10 | 1
|
||||
https://orcid.org/0000-0002-5076-7803 | 10 | 7
|
||||
https://orcid.org/0000-0002-6925-5189 | 10 | 1
|
||||
https://orcid.org/0000-0003-0056-7296 | 10 | 10
|
||||
https://orcid.org/0000-0003-1685-7968 | 10 | 8
|
||||
https://orcid.org/0000-0003-1785-3491 | 10 | 6
|
||||
https://orcid.org/0000-0003-2076-1133 | 10 | 7
|
||||
https://orcid.org/0000-0003-2098-3844 | 10 | 2
|
||||
https://orcid.org/0000-0003-4632-0213 | 10 | 8
|
||||
https://orcid.org/0009-0006-5916-3682 | 10 | 1
|
||||
https://orcid.org/0000-0001-5728-871X | 9 | 6
|
||||
https://orcid.org/0000-0001-8551-7866 | 9 | 4
|
||||
https://orcid.org/0000-0001-9384-6598 | 9 | 3
|
||||
https://orcid.org/0000-0001-9548-0358 | 9 | 6
|
||||
https://orcid.org/0000-0001-9853-6257 | 9 | 1
|
||||
https://orcid.org/0000-0002-0374-1838 | 9 | 6
|
||||
https://orcid.org/0000-0002-1122-0055 | 9 | 5
|
||||
https://orcid.org/0000-0002-1157-1859 | 9 | 4
|
||||
https://orcid.org/0000-0002-3633-7065 | 9 | 3
|
||||
https://orcid.org/0000-0002-3864-9257 | 9 | 9
|
||||
https://orcid.org/0000-0002-4817-7775 | 9 | 5
|
||||
https://orcid.org/0000-0002-6374-458X | 9 | 6
|
||||
https://orcid.org/0000-0002-6758-0113 | 9 | 8
|
||||
https://orcid.org/0000-0002-6764-4789 | 9 | 2
|
||||
https://orcid.org/0000-0002-9763-9155 | 9 | 7
|
||||
https://orcid.org/0000-0003-1112-8336 | 9 | 6
|
||||
https://orcid.org/0000-0003-4667-3502 | 9 | 3
|
||||
https://orcid.org/0009-0000-8033-8498 | 9 | 1
|
||||
https://orcid.org/0009-0001-0761-7543 | 9 | 1
|
||||
https://orcid.org/0009-0001-4259-5917 | 9 | 2
|
||||
https://orcid.org/0009-0002-3680-1224 | 9 | 1
|
||||
https://orcid.org/0009-0002-8176-3757 | 9 | 1
|
||||
https://orcid.org/0009-0002-8563-7248 | 9 | 3
|
||||
https://orcid.org/0009-0006-3511-9329 | 9 | 9
|
||||
https://orcid.org/0009-0007-2108-5110 | 9 | 2
|
||||
https://orcid.org/0009-0008-8730-8097 | 9 | 1
|
||||
https://orcid.org/0009-0009-8845-6742 | 9 | 1
|
||||
https://orcid.org/0000-0001-5233-3139 | 8 | 6
|
||||
https://orcid.org/0000-0001-5252-0831 | 8 | 6
|
||||
https://orcid.org/0000-0001-5775-7993 | 8 | 2
|
||||
https://orcid.org/0000-0001-6072-3874 | 8 | 1
|
||||
https://orcid.org/0000-0001-6819-6562 | 8 | 1
|
||||
https://orcid.org/0000-0001-6923-7936 | 8 | 5
|
||||
https://orcid.org/0000-0002-0584-8700 | 8 | 7
|
||||
https://orcid.org/0000-0002-1129-2083 | 8 | 6
|
||||
https://orcid.org/0000-0002-1959-2363 | 8 | 5
|
||||
https://orcid.org/0000-0002-2079-996X | 8 | 6
|
||||
https://orcid.org/0000-0002-2106-4041 | 8 | 4
|
||||
https://orcid.org/0000-0002-2745-5908 | 8 | 4
|
||||
https://orcid.org/0000-0002-3225-2769 | 8 | 8
|
||||
https://orcid.org/0000-0002-3365-3927 | 8 | 8
|
||||
https://orcid.org/0000-0002-3397-3496 | 8 | 5
|
||||
https://orcid.org/0000-0002-3650-4548 | 8 | 1
|
||||
https://orcid.org/0000-0002-3934-6004 | 8 | 5
|
||||
https://orcid.org/0000-0002-4006-7029 | 8 | 7
|
||||
https://orcid.org/0000-0002-4485-6017 | 8 | 4
|
||||
https://orcid.org/0000-0002-4974-7004 | 8 | 7
|
||||
https://orcid.org/0000-0002-5105-1305 | 8 | 1
|
||||
https://orcid.org/0000-0002-5380-9829 | 8 | 1
|
||||
https://orcid.org/0000-0002-6047-4211 | 8 | 1
|
||||
https://orcid.org/0000-0002-6999-3931 | 8 | 7
|
||||
https://orcid.org/0000-0002-7007-9020 | 8 | 2
|
||||
https://orcid.org/0000-0002-9808-5035 | 8 | 3
|
||||
https://orcid.org/0000-0003-0660-596X | 8 | 2
|
||||
https://orcid.org/0000-0003-0664-1653 | 8 | 6
|
||||
https://orcid.org/0000-0003-0766-6174 | 8 | 3
|
||||
https://orcid.org/0000-0003-1925-4337 | 8 | 1
|
||||
https://orcid.org/0000-0003-2320-7621 | 8 | 5
|
||||
https://orcid.org/0000-0003-2611-1975 | 8 | 7
|
||||
https://orcid.org/0000-0003-2623-3198 | 8 | 7
|
||||
https://orcid.org/0000-0003-3223-1797 | 8 | 5
|
||||
https://orcid.org/0000-0003-3303-7769 | 8 | 1
|
||||
https://orcid.org/0000-0003-4556-7302 | 8 | 3
|
||||
https://orcid.org/0000-0003-4813-8167 | 8 | 6
|
||||
https://orcid.org/0009-0000-3081-2665 | 8 | 3
|
||||
https://orcid.org/0009-0000-4054-8239 | 8 | 1
|
||||
https://orcid.org/0009-0001-1173-3651 | 8 | 1
|
||||
https://orcid.org/0009-0002-4054-6799 | 8 | 1
|
||||
https://orcid.org/0009-0004-1393-6577 | 8 | 2
|
||||
https://orcid.org/0009-0004-2581-9917 | 8 | 1
|
||||
https://orcid.org/0009-0005-7271-2677 | 8 | 1
|
||||
https://orcid.org/0009-0006-1867-9674 | 8 | 2
|
||||
https://orcid.org/0009-0007-7218-9227 | 8 | 3
|
||||
https://orcid.org/0009-0008-2045-2609 | 8 | 1
|
||||
https://orcid.org/0009-0008-2532-8674 | 8 | 1
|
||||
https://orcid.org/0009-0009-0129-3267 | 8 | 2
|
||||
https://orcid.org/0000-0001-2345-6789 | 7 | 7
|
||||
https://orcid.org/0000-0001-5189-230X | 7 | 1
|
||||
https://orcid.org/0000-0001-5501-554X | 7 | 6
|
||||
https://orcid.org/0000-0001-5987-3189 | 7 | 2
|
||||
https://orcid.org/0000-0001-6057-9243 | 7 | 7
|
||||
https://orcid.org/0000-0001-6105-5345 | 7 | 3
|
||||
https://orcid.org/0000-0001-6436-7547 | 7 | 6
|
||||
https://orcid.org/0000-0001-6533-6144 | 7 | 7
|
||||
https://orcid.org/0000-0001-6850-7666 | 7 | 6
|
||||
https://orcid.org/0000-0001-6883-3752 | 7 | 1
|
||||
https://orcid.org/0000-0001-7483-2991 | 7 | 2
|
||||
https://orcid.org/0000-0001-7515-3907 | 7 | 4
|
||||
https://orcid.org/0000-0001-7945-2867 | 7 | 5
|
||||
https://orcid.org/0000-0001-8191-0046 | 7 | 3
|
||||
https://orcid.org/0000-0001-8555-5408 | 7 | 1
|
||||
https://orcid.org/0000-0001-9190-4547 | 7 | 6
|
||||
https://orcid.org/0000-0001-9539-2155 | 7 | 5
|
||||
https://orcid.org/0000-0001-9663-4443 | 7 | 5
|
||||
https://orcid.org/0000-0002-0117-7831 | 7 | 1
|
||||
https://orcid.org/0000-0002-0207-2871 | 7 | 1
|
||||
https://orcid.org/0000-0002-0394-5646 | 7 | 5
|
||||
https://orcid.org/0000-0002-0869-5631 | 7 | 2
|
||||
https://orcid.org/0000-0002-1051-3833 | 7 | 3
|
||||
https://orcid.org/0000-0002-1122-2990 | 7 | 1
|
||||
https://orcid.org/0000-0002-1695-9481 | 7 | 4
|
||||
https://orcid.org/0000-0002-1933-5383 | 7 | 4
|
||||
https://orcid.org/0000-0002-2023-2082 | 7 | 7
|
||||
https://orcid.org/0000-0002-2115-9382 | 7 | 5
|
||||
https://orcid.org/0000-0002-2138-4395 | 7 | 4
|
||||
https://orcid.org/0000-0002-2405-915X | 7 | 2
|
||||
https://orcid.org/0000-0002-2593-5297 | 7 | 2
|
||||
https://orcid.org/0000-0002-2629-4735 | 7 | 1
|
||||
https://orcid.org/0000-0002-2699-2189 | 7 | 1
|
||||
https://orcid.org/0000-0002-2782-9519 | 7 | 7
|
||||
https://orcid.org/0000-0002-3135-5010 | 7 | 5
|
||||
https://orcid.org/0000-0002-3348-1221 | 7 | 1
|
||||
https://orcid.org/0000-0002-3725-4800 | 7 | 4
|
||||
https://orcid.org/0000-0002-4133-5099 | 7 | 2
|
||||
https://orcid.org/0000-0002-4242-2450 | 7 | 6
|
||||
https://orcid.org/0000-0002-4526-2149 | 7 | 2
|
||||
https://orcid.org/0000-0002-4996-1924 | 7 | 6
|
||||
https://orcid.org/0000-0002-5540-3750 | 7 | 4
|
||||
https://orcid.org/0000-0002-5956-6258 | 7 | 2
|
||||
https://orcid.org/0000-0002-6519-4681 | 7 | 1
|
||||
https://orcid.org/0000-0002-7602-2527 | 7 | 4
|
||||
https://orcid.org/0000-0002-8002-9086 | 7 | 6
|
||||
https://orcid.org/0000-0002-8482-1046 | 7 | 4
|
||||
https://orcid.org/0000-0002-8640-4350 | 7 | 2
|
||||
https://orcid.org/0000-0002-9192-8757 | 7 | 3
|
||||
https://orcid.org/0000-0002-9241-3114 | 7 | 4
|
||||
https://orcid.org/0000-0002-9581-2778 | 7 | 4
|
||||
https://orcid.org/0000-0002-9749-5550 | 7 | 5
|
||||
https://orcid.org/0000-0002-9878-6077 | 7 | 1
|
||||
https://orcid.org/0000-0003-0195-7456 | 7 | 4
|
||||
https://orcid.org/0000-0003-0266-0224 | 7 | 3
|
||||
https://orcid.org/0000-0003-0362-8795 | 7 | 7
|
||||
https://orcid.org/0000-0003-0383-6930 | 7 | 1
|
||||
https://orcid.org/0000-0003-0609-627X | 7 | 2
|
||||
https://orcid.org/0000-0003-1287-1471 | 7 | 7
|
||||
https://orcid.org/0000-0003-1430-9191 | 7 | 5
|
||||
https://orcid.org/0000-0003-1731-7939 | 7 | 2
|
||||
https://orcid.org/0000-0003-2298-0102 | 7 | 3
|
||||
https://orcid.org/0000-0003-2323-7521 | 7 | 7
|
||||
https://orcid.org/0000-0003-2707-2533 | 7 | 5
|
||||
https://orcid.org/0000-0003-2868-7177 | 7 | 2
|
||||
https://orcid.org/0000-0003-2973-1803 | 7 | 2
|
||||
https://orcid.org/0000-0003-3609-4777 | 7 | 6
|
||||
https://orcid.org/0000-0003-3895-9092 | 7 | 1
|
||||
https://orcid.org/0000-0003-4316-9642 | 7 | 1
|
||||
https://orcid.org/0000-0003-4950-5184 | 7 | 1
|
||||
https://orcid.org/0009-0000-7239-3374 | 7 | 1
|
||||
https://orcid.org/0009-0000-8636-0848 | 7 | 2
|
||||
https://orcid.org/0009-0001-7282-8881 | 7 | 3
|
||||
https://orcid.org/0009-0002-0885-5145 | 7 | 1
|
||||
https://orcid.org/0009-0002-1063-5117 | 7 | 1
|
||||
https://orcid.org/0009-0002-3352-6765 | 7 | 3
|
||||
https://orcid.org/0009-0002-4224-5527 | 7 | 1
|
||||
https://orcid.org/0009-0002-9160-3095 | 7 | 1
|
||||
https://orcid.org/0009-0002-9671-101X | 7 | 3
|
||||
https://orcid.org/0009-0003-4314-9534 | 7 | 1
|
||||
https://orcid.org/0009-0004-6991-0595 | 7 | 4
|
||||
https://orcid.org/0009-0005-5603-6306 | 7 | 1
|
||||
https://orcid.org/0009-0005-8813-8745 | 7 | 1
|
||||
https://orcid.org/0009-0006-9312-0272 | 7 | 1
|
||||
https://orcid.org/0009-0007-1509-2728 | 7 | 5
|
||||
https://orcid.org/0009-0007-6670-9679 | 7 | 1
|
||||
https://orcid.org/0009-0008-0310-0257 | 7 | 1
|
||||
https://orcid.org/0009-0009-4592-6687 | 7 | 1
|
||||
https://orcid.org/0009-0009-8645-6685 | 7 | 2
|
||||
https://orcid.org/0000-0001-5001-672X | 6 | 2
|
||||
https://orcid.org/0000-0001-5637-2653 | 6 | 2
|
||||
https://orcid.org/0000-0001-5769-5761 | 6 | 3
|
||||
https://orcid.org/0000-0001-5854-7699 | 6 | 2
|
||||
https://orcid.org/0000-0001-5967-8674 | 6 | 4
|
||||
https://orcid.org/0000-0001-6805-0395 | 6 | 1
|
||||
https://orcid.org/0000-0001-6996-4834 | 6 | 3
|
||||
https://orcid.org/0000-0001-7179-7043 | 6 | 3
|
||||
https://orcid.org/0000-0001-7241-2117 | 6 | 4
|
||||
https://orcid.org/0000-0001-7833-4711 | 6 | 2
|
||||
https://orcid.org/0000-0001-7842-9518 | 6 | 3
|
||||
https://orcid.org/0000-0001-7941-4879 | 6 | 6
|
||||
https://orcid.org/0000-0001-8178-2494 | 6 | 1
|
||||
https://orcid.org/0000-0001-8375-0760 | 6 | 3
|
||||
https://orcid.org/0000-0001-8473-4332 | 6 | 4
|
||||
https://orcid.org/0000-0001-8569-8409 | 6 | 3
|
||||
https://orcid.org/0000-0001-8673-3026 | 6 | 3
|
||||
https://orcid.org/0000-0001-8915-3377 | 6 | 6
|
||||
https://orcid.org/0000-0001-9025-2225 | 6 | 2
|
||||
https://orcid.org/0000-0001-9086-6091 | 6 | 5
|
||||
https://orcid.org/0000-0001-9140-9028 | 6 | 1
|
||||
https://orcid.org/0000-0001-9234-4465 | 6 | 5
|
||||
https://orcid.org/0000-0001-9416-1742 | 6 | 2
|
||||
https://orcid.org/0000-0001-9422-1725 | 6 | 6
|
||||
https://orcid.org/0000-0001-9473-8935 | 6 | 3
|
||||
https://orcid.org/0000-0001-9524-8452 | 6 | 6
|
||||
https://orcid.org/0000-0001-9630-2000 | 6 | 2
|
||||
https://orcid.org/0000-0001-9734-3162 | 6 | 3
|
||||
https://orcid.org/0000-0001-9861-8922 | 6 | 3
|
||||
https://orcid.org/0000-0002-0032-4473 | 6 | 5
|
||||
https://orcid.org/0000-0002-0034-6576 | 6 | 2
|
||||
https://orcid.org/0000-0002-0038-5372 | 6 | 2
|
||||
https://orcid.org/0000-0002-0144-6536 | 6 | 4
|
||||
https://orcid.org/0000-0002-0264-7217 | 6 | 2
|
||||
https://orcid.org/0000-0002-0531-2148 | 6 | 2
|
||||
https://orcid.org/0000-0002-0538-8230 | 6 | 5
|
||||
https://orcid.org/0000-0002-0595-0297 | 6 | 2
|
||||
https://orcid.org/0000-0002-0657-1766 | 6 | 5
|
||||
https://orcid.org/0000-0002-0661-5220 | 6 | 1
|
||||
https://orcid.org/0000-0002-0664-9199 | 6 | 5
|
||||
https://orcid.org/0000-0002-0682-4313 | 6 | 5
|
||||
https://orcid.org/0000-0002-0786-7307 | 6 | 5
|
||||
https://orcid.org/0000-0002-0798-9806 | 6 | 2
|
||||
https://orcid.org/0000-0002-0857-6317 | 6 | 2
|
||||
https://orcid.org/0000-0002-1115-4721 | 6 | 3
|
||||
https://orcid.org/0000-0002-1231-5136 | 6 | 1
|
||||
https://orcid.org/0000-0002-1640-9180 | 6 | 6
|
||||
https://orcid.org/0000-0002-2133-9287 | 6 | 2
|
||||
https://orcid.org/0000-0002-2140-4309 | 6 | 1
|
||||
https://orcid.org/0000-0002-2141-9543 | 6 | 5
|
||||
https://orcid.org/0000-0002-2204-5731 | 6 | 4
|
||||
https://orcid.org/0000-0002-2495-0524 | 6 | 1
|
||||
https://orcid.org/0000-0002-2629-5420 | 6 | 1
|
||||
https://orcid.org/0000-0002-2745-7065 | 6 | 1
|
||||
https://orcid.org/0000-0002-2896-3867 | 6 | 2
|
||||
https://orcid.org/0000-0002-3122-7617 | 6 | 4
|
||||
https://orcid.org/0000-0002-3728-2377 | 6 | 5
|
||||
https://orcid.org/0000-0002-3812-4944 | 6 | 5
|
||||
https://orcid.org/0000-0002-3820-9366 | 6 | 2
|
||||
https://orcid.org/0000-0002-3871-0978 | 6 | 1
|
||||
https://orcid.org/0000-0002-4125-8898 | 6 | 3
|
||||
https://orcid.org/0000-0002-4620-4223 | 6 | 1
|
||||
https://orcid.org/0000-0002-4624-2019 | 6 | 3
|
||||
https://orcid.org/0000-0002-4743-8718 | 6 | 1
|
||||
https://orcid.org/0000-0002-4841-3600 | 6 | 5
|
||||
https://orcid.org/0000-0002-4902-5589 | 6 | 1
|
||||
https://orcid.org/0000-0002-5005-3042 | 6 | 3
|
||||
https://orcid.org/0000-0002-5278-1430 | 6 | 3
|
||||
https://orcid.org/0000-0002-5414-8276 | 6 | 5
|
||||
https://orcid.org/0000-0002-5661-4330 | 6 | 5
|
||||
https://orcid.org/0000-0002-5728-9867 | 6 | 1
|
||||
https://orcid.org/0000-0002-5735-4059 | 6 | 3
|
||||
https://orcid.org/0000-0002-5736-1398 | 6 | 5
|
||||
https://orcid.org/0000-0002-5865-183X | 6 | 6
|
||||
https://orcid.org/0000-0002-5890-0445 | 6 | 1
|
||||
https://orcid.org/0000-0002-6083-2656 | 6 | 2
|
||||
https://orcid.org/0000-0002-6330-0639 | 6 | 1
|
||||
https://orcid.org/0000-0002-6469-8415 | 6 | 3
|
||||
https://orcid.org/0000-0002-6513-2309 | 6 | 2
|
||||
https://orcid.org/0000-0002-6781-416X | 6 | 1
|
||||
https://orcid.org/0000-0002-6785-9202 | 6 | 5
|
||||
https://orcid.org/0000-0002-6797-7209 | 6 | 2
|
||||
https://orcid.org/0000-0002-6941-8478 | 6 | 2
|
||||
https://orcid.org/0000-0002-7093-2677 | 6 | 2
|
||||
https://orcid.org/0000-0002-7225-8823 | 6 | 4
|
||||
https://orcid.org/0000-0002-7447-5602 | 6 | 2
|
||||
https://orcid.org/0000-0002-7543-1628 | 6 | 1
|
||||
https://orcid.org/0000-0002-7581-846X | 6 | 3
|
||||
https://orcid.org/0000-0002-7929-5889 | 6 | 5
|
||||
https://orcid.org/0000-0002-7989-6406 | 6 | 1
|
||||
https://orcid.org/0000-0002-8030-3866 | 6 | 2
|
||||
https://orcid.org/0000-0002-8073-9344 | 6 | 3
|
||||
https://orcid.org/0000-0002-8087-3199 | 6 | 2
|
||||
https://orcid.org/0000-0002-8255-0086 | 6 | 3
|
||||
https://orcid.org/0000-0002-8377-6431 | 6 | 2
|
||||
https://orcid.org/0000-0002-8738-1453 | 6 | 5
|
||||
https://orcid.org/0000-0002-9054-4372 | 6 | 5
|
||||
https://orcid.org/0000-0002-9264-4799 | 6 | 1
|
||||
https://orcid.org/0000-0002-9337-3476 | 6 | 4
|
||||
https://orcid.org/0000-0002-9557-5186 | 6 | 1
|
||||
https://orcid.org/0000-0002-9773-550X | 6 | 3
|
||||
https://orcid.org/0000-0002-9783-169X | 6 | 5
|
||||
https://orcid.org/0000-0002-9858-8249 | 6 | 4
|
||||
https://orcid.org/0000-0002-9922-413X | 6 | 2
|
||||
https://orcid.org/0000-0003-0133-1664 | 6 | 2
|
||||
https://orcid.org/0000-0003-0355-102X | 6 | 2
|
||||
https://orcid.org/0000-0003-0392-8691 | 6 | 2
|
||||
https://orcid.org/0000-0003-0523-487X | 6 | 5
|
||||
https://orcid.org/0000-0003-0959-4784 | 6 | 2
|
||||
https://orcid.org/0000-0003-0996-3279 | 6 | 5
|
||||
https://orcid.org/0000-0003-1179-2800 | 6 | 4
|
||||
https://orcid.org/0000-0003-1452-7885 | 6 | 2
|
||||
https://orcid.org/0000-0003-1455-6272 | 6 | 3
|
||||
https://orcid.org/0000-0003-1836-7233 | 6 | 1
|
||||
https://orcid.org/0000-0003-1890-2275 | 6 | 5
|
||||
https://orcid.org/0000-0003-1899-2266 | 6 | 3
|
||||
https://orcid.org/0000-0003-2000-2241 | 6 | 1
|
||||
https://orcid.org/0000-0003-2294-7345 | 6 | 4
|
||||
https://orcid.org/0000-0003-2375-1563 | 6 | 2
|
||||
https://orcid.org/0000-0003-2459-6278 | 6 | 1
|
||||
https://orcid.org/0000-0003-2582-6469 | 6 | 5
|
||||
https://orcid.org/0000-0003-2663-7379 | 6 | 2
|
||||
https://orcid.org/0000-0003-2682-9389 | 6 | 1
|
||||
https://orcid.org/0000-0003-2865-8528 | 6 | 3
|
||||
https://orcid.org/0000-0003-3086-9260 | 6 | 1
|
||||
https://orcid.org/0000-0003-3150-2751 | 6 | 5
|
||||
https://orcid.org/0000-0003-3389-2976 | 6 | 6
|
||||
https://orcid.org/0000-0003-3887-5358 | 6 | 2
|
||||
https://orcid.org/0000-0003-4009-186X | 6 | 2
|
||||
https://orcid.org/0000-0003-4221-1802 | 6 | 2
|
||||
https://orcid.org/0000-0003-4242-4840 | 6 | 2
|
||||
https://orcid.org/0000-0003-4351-0222 | 6 | 2
|
||||
https://orcid.org/0000-0003-4530-4422 | 6 | 1
|
||||
https://orcid.org/0000-0003-4543-2547 | 6 | 1
|
||||
https://orcid.org/0000-0003-4579-728X | 6 | 4
|
||||
https://orcid.org/0000-0003-4709-7623 | 6 | 2
|
||||
https://orcid.org/0009-0000-3973-2485 | 6 | 2
|
||||
https://orcid.org/0009-0000-7046-6533 | 6 | 2
|
||||
https://orcid.org/0009-0000-8362-2515 | 6 | 1
|
||||
https://orcid.org/0009-0000-9361-3532 | 6 | 1
|
||||
https://orcid.org/0009-0001-1326-3956 | 6 | 3
|
||||
https://orcid.org/0009-0001-7616-1914 | 6 | 5
|
||||
https://orcid.org/0009-0001-9331-5145 | 6 | 2
|
||||
https://orcid.org/0009-0002-2161-5808 | 6 | 3
|
||||
https://orcid.org/0009-0002-2307-5956 | 6 | 2
|
||||
https://orcid.org/0009-0002-2345-7081 | 6 | 2
|
||||
https://orcid.org/0009-0002-6494-4695 | 6 | 3
|
||||
https://orcid.org/0009-0002-8107-5452 | 6 | 1
|
||||
https://orcid.org/0009-0002-9187-7061 | 6 | 2
|
||||
https://orcid.org/0009-0003-6977-3669 | 6 | 2
|
||||
https://orcid.org/0009-0003-9152-2049 | 6 | 3
|
||||
https://orcid.org/0009-0004-1874-2464 | 6 | 1
|
||||
https://orcid.org/0009-0004-8274-9863 | 6 | 6
|
||||
https://orcid.org/0009-0004-8503-4011 | 6 | 2
|
||||
https://orcid.org/0009-0005-2318-6084 | 6 | 1
|
||||
https://orcid.org/0009-0005-5039-4874 | 6 | 2
|
||||
https://orcid.org/0009-0005-5447-7132 | 6 | 2
|
||||
https://orcid.org/0009-0005-5922-8936 | 6 | 2
|
||||
https://orcid.org/0009-0005-7626-6600 | 6 | 4
|
||||
https://orcid.org/0009-0006-0236-2680 | 6 | 1
|
||||
https://orcid.org/0009-0006-1471-986X | 6 | 1
|
||||
https://orcid.org/0009-0006-5800-1198 | 6 | 5
|
||||
https://orcid.org/0009-0006-6993-8920 | 6 | 6
|
||||
https://orcid.org/0009-0006-7450-4510 | 6 | 1
|
||||
https://orcid.org/0009-0006-8301-7634 | 6 | 5
|
||||
https://orcid.org/0009-0006-8497-9085 | 6 | 3
|
||||
https://orcid.org/0009-0007-0410-4607 | 6 | 1
|
||||
https://orcid.org/0009-0007-1385-3343 | 6 | 4
|
||||
https://orcid.org/0009-0007-4527-7926 | 6 | 1
|
||||
https://orcid.org/0009-0008-1549-0440 | 6 | 3
|
||||
https://orcid.org/0009-0008-3724-4603 | 6 | 2
|
||||
https://orcid.org/0009-0008-5380-3284 | 6 | 2
|
||||
https://orcid.org/0009-0009-3354-7794 | 6 | 1
|
||||
https://orcid.org/0009-0009-4284-8943 | 6 | 1
|
||||
https://orcid.org/0009-0009-6074-6238 | 6 | 3
|
||||
https://orcid.org/0009-0009-9522-8588 | 6 | 1
|
||||
https://orcid.org/0000-0001-5094-5879 | 5 | 4
|
||||
https://orcid.org/0000-0001-5124-7693 | 5 | 2
|
||||
https://orcid.org/0000-0001-5144-7900 | 5 | 5
|
||||
https://orcid.org/0000-0001-5552-5400 | 5 | 3
|
||||
https://orcid.org/0000-0001-5565-7868 | 5 | 3
|
||||
https://orcid.org/0000-0001-5646-0602 | 5 | 2
|
||||
https://orcid.org/0000-0001-5650-6770 | 5 | 1
|
||||
https://orcid.org/0000-0001-5881-4670 | 5 | 5
|
||||
https://orcid.org/0000-0001-5961-9033 | 5 | 2
|
||||
https://orcid.org/0000-0001-5979-6590 | 5 | 3
|
||||
https://orcid.org/0000-0001-5989-9338 | 5 | 3
|
||||
https://orcid.org/0000-0001-6153-3896 | 5 | 1
|
||||
https://orcid.org/0000-0001-6253-4313 | 5 | 3
|
||||
https://orcid.org/0000-0001-6278-9674 | 5 | 3
|
||||
https://orcid.org/0000-0001-6279-2267 | 5 | 5
|
||||
https://orcid.org/0000-0001-6326-4773 | 5 | 5
|
||||
https://orcid.org/0000-0001-6342-3471 | 5 | 4
|
||||
https://orcid.org/0000-0001-6453-0447 | 5 | 4
|
||||
https://orcid.org/0000-0001-6797-4000 | 5 | 5
|
||||
https://orcid.org/0000-0001-6828-9769 | 5 | 2
|
||||
https://orcid.org/0000-0001-6867-8166 | 5 | 2
|
||||
https://orcid.org/0000-0001-6930-4780 | 5 | 2
|
||||
https://orcid.org/0000-0001-6976-6256 | 5 | 1
|
||||
https://orcid.org/0000-0001-7256-6714 | 5 | 2
|
||||
https://orcid.org/0000-0001-7516-8850 | 5 | 2
|
||||
https://orcid.org/0000-0001-7759-1943 | 5 | 5
|
||||
https://orcid.org/0000-0001-7770-1102 | 5 | 5
|
||||
https://orcid.org/0000-0001-7896-8861 | 5 | 3
|
||||
https://orcid.org/0000-0001-8026-5380 | 5 | 4
|
||||
https://orcid.org/0000-0001-8049-5143 | 5 | 3
|
||||
https://orcid.org/0000-0001-8130-7423 | 5 | 4
|
||||
https://orcid.org/0000-0001-8140-4610 | 5 | 5
|
||||
https://orcid.org/0000-0001-8204-6157 | 5 | 2
|
||||
https://orcid.org/0000-0001-8292-7691 | 5 | 3
|
||||
https://orcid.org/0000-0001-8331-4854 | 5 | 1
|
||||
https://orcid.org/0000-0001-8367-8703 | 5 | 3
|
||||
https://orcid.org/0000-0001-8387-1853 | 5 | 3
|
||||
https://orcid.org/0000-0001-8415-6720 | 5 | 4
|
||||
https://orcid.org/0000-0001-8430-0446 | 5 | 4
|
||||
https://orcid.org/0000-0001-8463-0496 | 5 | 1
|
||||
https://orcid.org/0000-0001-8493-3737 | 5 | 1
|
||||
https://orcid.org/0000-0001-8647-7077 | 5 | 4
|
||||
https://orcid.org/0000-0001-8719-057X | 5 | 4
|
||||
https://orcid.org/0000-0001-8751-5944 | 5 | 2
|
||||
https://orcid.org/0000-0001-8785-847X | 5 | 3
|
||||
https://orcid.org/0000-0001-8791-7978 | 5 | 3
|
||||
https://orcid.org/0000-0001-8810-5971 | 5 | 4
|
||||
https://orcid.org/0000-0001-8828-3823 | 5 | 2
|
||||
https://orcid.org/0000-0001-8829-9681 | 5 | 2
|
||||
https://orcid.org/0000-0001-9012-395X | 5 | 2
|
||||
https://orcid.org/0000-0001-9031-6751 | 5 | 1
|
||||
https://orcid.org/0000-0001-9034-2925 | 5 | 2
|
||||
https://orcid.org/0000-0001-9048-4341 | 5 | 1
|
||||
https://orcid.org/0000-0001-9094-1493 | 5 | 3
|
||||
https://orcid.org/0000-0001-9301-2382 | 5 | 1
|
||||
https://orcid.org/0000-0001-9365-6452 | 5 | 4
|
||||
https://orcid.org/0000-0001-9440-5807 | 5 | 1
|
||||
https://orcid.org/0000-0001-9719-3563 | 5 | 5
|
||||
https://orcid.org/0000-0001-9734-574X | 5 | 3
|
||||
https://orcid.org/0000-0001-9861-2942 | 5 | 5
|
||||
https://orcid.org/0000-0002-0035-3821 | 5 | 2
|
||||
https://orcid.org/0000-0002-0044-6470 | 5 | 1
|
||||
https://orcid.org/0000-0002-0224-2869 | 5 | 2
|
||||
https://orcid.org/0000-0002-0286-5070 | 5 | 3
|
||||
https://orcid.org/0000-0002-0550-457X | 5 | 1
|
||||
https://orcid.org/0000-0002-0554-4627 | 5 | 3
|
||||
https://orcid.org/0000-0002-0608-065X | 5 | 5
|
||||
https://orcid.org/0000-0002-0653-0761 | 5 | 3
|
||||
https://orcid.org/0000-0002-0672-6895 | 5 | 1
|
||||
https://orcid.org/0000-0002-0804-9197 | 5 | 2
|
||||
https://orcid.org/0000-0002-0809-1897 | 5 | 3
|
||||
https://orcid.org/0000-0002-0870-8420 | 5 | 2
|
||||
https://orcid.org/0000-0002-0984-7887 | 5 | 5
|
||||
https://orcid.org/0000-0002-1034-1410 | 5 | 2
|
||||
https://orcid.org/0000-0002-1182-7869 | 5 | 3
|
||||
https://orcid.org/0000-0002-1303-0458 | 5 | 1
|
||||
https://orcid.org/0000-0002-1394-9907 | 5 | 4
|
||||
@@ -0,0 +1,53 @@
|
||||
Analyse 3: Die 50 Autoren mit den längsten display_names im gesamten Autoren-Index, absteigend nach Zeichenlänge sortiert.
|
||||
Display Name | Länge
|
||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -----
|
||||
Martin Senftleben, Pernille Bruun Andersen, Lionel Bently, Michele Bertani, Robert Burrell, Mireille Buydens, Vincenzo Di Cataldo, Giovanni Cavani, Estelle Derclaye, Graeme Dinwoodie, Severine Dussollier, Dev S. Gangjee, Christophe Geiger, Gustavo Ghidini, Jonathan Griffiths, Henning Grosse Ruse-Khan, Paul can der Kooij, Annette Kur, Nari Lee, David Llewelyn, Luigi Mansani, Timo Minssen, Ansgar Ohly, Alexander Peukert, Marco Ricolfi, Ole-Andreas Rognstad, Thomas Ssmbuc, Paolo Spads, Marco Saverio Spolidoro, Jens Schovsbo, Paul Torremans, Luigi Carlo Ubertazzi, Adriano Vanzetti, D.W. Feer Verkade, Dirk Visser, Katja Weckström, Raquel Xalabarder, Lukasz Zelechowski | 671
|
||||
Based on the available search results, I have organized the top AI labs, government agencies, and research institutions into a categorized bullet-point list for you. This list includes major commercial vendors, independent non-profit research centers, and government bodies actively involved in AI development and regulation. 🧪 Top Private AI Labs & Companies Major Commercial Leaders (The "Front-runners") · Google (Google DeepMind): Recognized as a leader in Enterprise Agentic AI Platforms with | 500
|
||||
Kevin Eze University, Mgbowo, Enugu State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Kevin Eze University, Mgbowo, Enugu State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution for | 500
|
||||
Christopher University Mowe 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Christopher University Mowe 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Po | 500
|
||||
James Hope University, Lagos, Lagos State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., James Hope University, Lagos, Lagos State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution for | 500
|
||||
Capital City University, Kano State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Capital City University, Kano State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of | 500
|
||||
Nile University of Nigeria, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Nile University of Nigeria, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Cou | 500
|
||||
Lux Mundi University Umuahia, Abia State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Lux Mundi University Umuahia, Abia State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, | 500
|
||||
University of Fortune, Igbotako, Ondo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., University of Fortune, Igbotako, Ondo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution | 500
|
||||
Anan University, Kwall, Plateau State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Anan University, Kwall, Plateau State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Chang | 500
|
||||
Spiritan University, Nneochi Abia State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Spiritan University, Nneochi Abia State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, C | 500
|
||||
Hillside University of Science and Technology, Okemisi, Ekiti State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Hillside University of Science and Technology, Okemisi, Ekiti State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct- | 500
|
||||
JEFAP University, Suleja, Niger State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., JEFAP University, Suleja, Niger State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Chang | 500
|
||||
New City University, Ayetoro, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., New City University, Ayetoro, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, | 500
|
||||
Westland University Iwo, Osun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Westland University Iwo, Osun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of | 500
|
||||
Kings University, Ode Omu 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Kings University, Ode Omu 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post g | 500
|
||||
Augustine University 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Augustine University 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Di | 500
|
||||
Canadian University of Nigeria, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Canadian University of Nigeria, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Chang | 500
|
||||
Azione Verde University, Amaigbo, Imo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Azione Verde University, Amaigbo, Imo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution | 500
|
||||
European University of Nigeria, Duboyi, FCT 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., European University of Nigeria, Duboyi, FCT 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution | 500
|
||||
Sam Maris University, Ondo 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Sam Maris University, Ondo 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post | 500
|
||||
Gerar University of Medical Science Imope Ijebu, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Gerar University of Medical Science Imope Ijebu, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Tran | 500
|
||||
Huda University, Gusau, Zamafara State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Huda University, Gusau, Zamafara State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Cha | 500
|
||||
Tansian University, Umunya 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Tansian University, Umunya 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post | 500
|
||||
Rayhaan University, Kebbi 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Rayhaan University, Kebbi 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post g | 500
|
||||
Monarch University, Iyesi-Ota, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Monarch University, Iyesi-Ota, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution for | 500
|
||||
Vision University, Ikogbo, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Vision University, Ikogbo, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Chang | 500
|
||||
Legacy University, Okija Anambra State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Legacy University, Okija Anambra State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Cha | 500
|
||||
Micheal & Cecilia Ibru University 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Micheal & Cecilia Ibru University 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Cou | 500
|
||||
Ojaja University Eiyenkorin, Kwara State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Ojaja University Eiyenkorin, Kwara State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, | 500
|
||||
Eranova University, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Eranova University, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post g | 500
|
||||
Saisa University of Medical Sciences and Technology, Sokoto State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Saisa University of Medical Sciences and Technology, Sokoto State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entr | 500
|
||||
Elrazi Medical University Yargaya University, Kano State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Elrazi Medical University Yargaya University, Kano State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer F | 500
|
||||
Jewel University, Gombe state 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Jewel University, Gombe state 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form | 500
|
||||
Lighthouse University, Evbobanosa, Edo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Lighthouse University, Evbobanosa, Edo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of instituti | 500
|
||||
Mercy Medical University, Iwo, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Mercy Medical University, Iwo, Ogun State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution for | 500
|
||||
Amadeus University, Amizi, Abia State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Amadeus University, Amizi, Abia State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Chang | 500
|
||||
African University of Economics, FCT, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., African University of Economics, FCT, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution | 500
|
||||
Western Delta University, Oghara Delta State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Western Delta University, Oghara Delta State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of instituti | 500
|
||||
Edusoko University, Bida, Niger State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Edusoko University, Bida, Niger State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Chang | 500
|
||||
Philomath University, Kuje, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Philomath University, Kuje, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Cou | 500
|
||||
Glorious Vision University, Ogwa, Edo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Glorious Vision University, Ogwa, Edo State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution | 500
|
||||
Coal City University Enugu State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Coal City University Enugu State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Cours | 500
|
||||
Tazkiyah University, Kaduna, Kaduna State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Tazkiyah University, Kaduna, Kaduna State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution for | 500
|
||||
Peter University, Achina-Onneh Anambra State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Peter University, Achina-Onneh Anambra State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of instituti | 500
|
||||
Evangel University, Akaeze 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Evangel University, Akaeze 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post | 500
|
||||
Baba Ahmed University, Kano State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Baba Ahmed University, Kano State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Cou | 500
|
||||
Jimoh Babalola University, Ilorin, Kwara State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Jimoh Babalola University, Ilorin, Kwara State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of insti | 500
|
||||
Amaj University, Kwali, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., Amaj University, Kwali, Abuja 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form | 500
|
||||
El-Amin University, Minna, Niger State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Change of Course form, Post graduate Diploma form, Masters form, Phd form call ☎️(+23408039478772) for more inquiry and admission assistance., El-Amin University, Minna, Niger State 2026/27 JUPEB/IJMB Form is out ☎️(08039478772) DR MERCY☎️ (+23408039478772) Direct-Entry Form, Transfer Form, Change of institution form, Cha | 500
|
||||
@@ -0,0 +1,44 @@
|
||||
Analyse 4: Vollständiger Scan über den gesamten Autoren-Index — für jeden Autor mit einem Emoji im display_name eine Zeile je gefundenem Emoji (deckt die gängigen Emoji-Unicode-Blöcke ab, nicht zu 100% vollständig). Anzahl der Einträge ist die echte Gesamtzahl, pro Emoji werden aber nur 5 Beispiel-Autoren angezeigt.
|
||||
Emoji | Anzahl der Einträge | OpenAlexID des Authors
|
||||
----- | ------------------- | ----------------------
|
||||
☎ | 309 | A5122404034
|
||||
☎ | 309 | A5122409605
|
||||
☎ | 309 | A5122413004
|
||||
☎ | 309 | A5122413783
|
||||
☎ | 309 | A5122423823
|
||||
🌠 | 9 | A5130251152
|
||||
🌠 | 9 | A5130293752
|
||||
🌠 | 9 | A5130321119
|
||||
🌠 | 9 | A5130409395
|
||||
🌠 | 9 | A5130539169
|
||||
✓ | 8 | A5125699161
|
||||
✓ | 8 | A5125699643
|
||||
✓ | 8 | A5125709226
|
||||
✓ | 8 | A5125709340
|
||||
✓ | 8 | A5125733201
|
||||
🜇 | 3 | A5127964094
|
||||
🜇 | 3 | A5128305757
|
||||
🜇 | 3 | A5130005920
|
||||
✩ | 2 | A5125693674
|
||||
✩ | 2 | A5125697963
|
||||
🌍 | 2 | A5124304447
|
||||
🌍 | 2 | A5126049861
|
||||
🥇 | 2 | A5125367570
|
||||
🥇 | 2 | A5125593574
|
||||
☮ | 1 | A5123428025
|
||||
⚶ | 1 | A5126577509
|
||||
⛑ | 1 | A5126571570
|
||||
⛔ | 1 | A5126049861
|
||||
✀ | 1 | A5121072233
|
||||
✦ | 1 | A5121259916
|
||||
✨ | 1 | A5124304447
|
||||
⬡ | 1 | A5028861871
|
||||
⭥ | 1 | A5003445970
|
||||
⮋ | 1 | A5096960654
|
||||
🇪 | 1 | A5125031720
|
||||
🇺 | 1 | A5125031720
|
||||
🌀 | 1 | A5126577509
|
||||
🌱 | 1 | A5124304447
|
||||
🐳 | 1 | A5129532556
|
||||
🦇 | 1 | A5127891150
|
||||
🧪 | 1 | A5130442535
|
||||
@@ -0,0 +1,503 @@
|
||||
Analyse 5: Count-by auf display_name — wie viele Autoren-Dokumente denselben display_name (exakter Match) teilen.
|
||||
Display Name | Anzahl
|
||||
--------------------------- | ------
|
||||
Y. Wang | 7217
|
||||
Y. Zhang | 6915
|
||||
Z Weng | 6667
|
||||
J. Wang | 6653
|
||||
J. Zhang | 5862
|
||||
Y. Liu | 5565
|
||||
Y. Li | 5166
|
||||
J. Li | 4966
|
||||
X. Wang | 4869
|
||||
K. Cenzual | 4603
|
||||
Y. Chen | 4599
|
||||
H. Wang | 4565
|
||||
T. Carlyle | 4495
|
||||
L. Zhang | 4485
|
||||
X. Zhang | 4300
|
||||
J. Lee | 4185
|
||||
L. Wang | 4167
|
||||
X. Li | 3999
|
||||
Y Wang | 3989
|
||||
J. Chen | 3981
|
||||
J. Liu | 3858
|
||||
Z. Wang | 3858
|
||||
H. Zhang | 3833
|
||||
O. Shcherban | 3753
|
||||
V. Dubenskyy | 3749
|
||||
Y Zhang | 3594
|
||||
H. Li | 3580
|
||||
N. Vogt | 3542
|
||||
J. Kim | 3498
|
||||
K. Kuchitsu | 3489
|
||||
Ken Auberry | 3458
|
||||
MISSING-VALUE MISSING-VALUE | 3430
|
||||
X. Liu | 3386
|
||||
S. Lee | 3353
|
||||
X. Chen | 3192
|
||||
W. Li | 3157
|
||||
S. Wang | 3128
|
||||
T. Iijima | 3105
|
||||
L. Li | 3079
|
||||
Z. Zhang | 2957
|
||||
W. Wang | 2919
|
||||
C. Wang | 2891
|
||||
J Wang | 2809
|
||||
P. Villars | 2762
|
||||
H. Liu | 2757
|
||||
S. Kim | 2727
|
||||
H. Kim | 2638
|
||||
H.V. Kehiaian | 2578
|
||||
Wei Wang | 2577
|
||||
Yang Liu | 2566
|
||||
J Zhang | 2563
|
||||
L Wang | 2557
|
||||
C. Chen | 2554
|
||||
Wei Zhang | 2510
|
||||
Z. Li | 2499
|
||||
L Zhang | 2492
|
||||
C. Li | 2486
|
||||
Z. Wagner | 2480
|
||||
J. Linek | 2473
|
||||
R. Gladyshevskii | 2469
|
||||
L. Chen | 2449
|
||||
S. Chen | 2443
|
||||
I. Wichterle | 2437
|
||||
H. Chen | 2392
|
||||
X Wang | 2371
|
||||
I. Savysyuk | 2363
|
||||
Z. Liu | 2344
|
||||
W. Zhang | 2305
|
||||
Y. Kim | 2244
|
||||
P. Wang | 2227
|
||||
Y Chen | 2219
|
||||
B Graveley | 2202
|
||||
Yu Zhang | 2173
|
||||
S. Li | 2137
|
||||
L. Liu | 2135
|
||||
X Zhang | 2122
|
||||
G. Chen | 2121
|
||||
C. Liu | 2112
|
||||
M. Wang | 2104
|
||||
Wei Li | 2077
|
||||
D. Wang | 2053
|
||||
Q. Wang | 2040
|
||||
Xin Wang | 2009
|
||||
H. Lee | 2003
|
||||
S. Zhang | 1972
|
||||
H. V. Kehiaian | 1944
|
||||
H Wang | 1917
|
||||
J Chen | 1913
|
||||
Jing Li | 1911
|
||||
Q. Zhang | 1907
|
||||
F. Wang | 1856
|
||||
Z. Chen | 1839
|
||||
N A | 1834
|
||||
Lei Wang | 1826
|
||||
S. Liu | 1825
|
||||
G. Li | 1812
|
||||
Yang Li | 1785
|
||||
G. F. R. B. | 1783
|
||||
J. Daams | 1781
|
||||
W. Chen | 1779
|
||||
B. Wang | 1768
|
||||
Lei Zhang | 1726
|
||||
M. Chen | 1719
|
||||
Yu Wang | 1718
|
||||
Wei Liu | 1708
|
||||
Jing Wang | 1702
|
||||
W. Liu | 1702
|
||||
C. Zhang | 1697
|
||||
C.P. Khare | 1683
|
||||
J. Park | 1683
|
||||
K. Wang | 1678
|
||||
Q. Liu | 1676
|
||||
G. Wang | 1663
|
||||
O. Pavlyuk | 1650
|
||||
Q. Li | 1642
|
||||
T. Wang | 1636
|
||||
Yan Wang | 1635
|
||||
Z Wang | 1632
|
||||
Y Li | 1611
|
||||
Ying Wang | 1611
|
||||
H Zhang | 1604
|
||||
B. Liu | 1602
|
||||
E. Hirota | 1593
|
||||
Yan Li | 1589
|
||||
K. Lee | 1562
|
||||
L. H. Michael | 1561
|
||||
Yan Zhang | 1561
|
||||
Yang Yang | 1558
|
||||
K. Lucia | 1556
|
||||
B. Li | 1548
|
||||
M. Li | 1533
|
||||
M. Zhang | 1525
|
||||
C. | 1503
|
||||
Jing Zhang | 1498
|
||||
S. Park | 1476
|
||||
M. Jain | 1475
|
||||
L Chen | 1470
|
||||
Hao Zhang | 1468
|
||||
D. Liu | 1466
|
||||
Xin Li | 1466
|
||||
P. Pardasani | 1464
|
||||
J.-C. Fontaine | 1462
|
||||
Li Li | 1455
|
||||
F. Liu | 1452
|
||||
C. Lee | 1447
|
||||
B. Cornils | 1441
|
||||
Feng Wang | 1429
|
||||
W. C. B. | 1422
|
||||
F. Li | 1421
|
||||
J Li | 1421
|
||||
T. Liu | 1419
|
||||
H. Park | 1408
|
||||
USM ADMIN | 1403
|
||||
K. Kim | 1388
|
||||
Rui Wang | 1379
|
||||
D. Kim | 1375
|
||||
X Chen | 1375
|
||||
Hao Wang | 1368
|
||||
F. Zhang | 1355
|
||||
Z Zhang | 1354
|
||||
J.H. Kim | 1352
|
||||
Yi Zhang | 1352
|
||||
D. Li | 1351
|
||||
Y Liu | 1345
|
||||
B. Zhang | 1320
|
||||
R. Wang | 1316
|
||||
Li Zhang | 1306
|
||||
M. Lee | 1303
|
||||
D. Lee | 1298
|
||||
Jie Li | 1293
|
||||
N. Nakamura | 1285
|
||||
Wei Chen | 1285
|
||||
Jie Zhang | 1284
|
||||
Tao Wang | 1281
|
||||
D. Zhang | 1272
|
||||
M. Liu | 1266
|
||||
Jun Zhang | 1254
|
||||
S Wang | 1252
|
||||
Yu Liu | 1252
|
||||
H Chen | 1243
|
||||
Xiang Li | 1242
|
||||
Li Wang | 1235
|
||||
Jun Wang | 1233
|
||||
C. C. B. | 1232
|
||||
Xin Zhang | 1228
|
||||
A. Chen | 1227
|
||||
W Wang | 1224
|
||||
Gottfried Nitze | 1222
|
||||
Peng Zhang | 1217
|
||||
Hui Wang | 1212
|
||||
P. Zhang | 1212
|
||||
C Wang | 1207
|
||||
T. Zhang | 1199
|
||||
L Li | 1189
|
||||
Ying Zhang | 1187
|
||||
W Zhang | 1175
|
||||
Chang Liu | 1173
|
||||
Hui Zhang | 1167
|
||||
R. Zhang | 1167
|
||||
H. Chihara | 1162
|
||||
Hui Li | 1157
|
||||
J. H. Kim | 1157
|
||||
Jun Li | 1156
|
||||
Yi Wang | 1152
|
||||
Rui Zhang | 1150
|
||||
Yang Wang | 1145
|
||||
Q Wang | 1144
|
||||
M. | 1143
|
||||
R.H.O. | 1132
|
||||
Jian Zhang | 1131
|
||||
J. H. Duffus | 1121
|
||||
Bo Wang | 1117
|
||||
Chao Wang | 1117
|
||||
Xin Liu | 1116
|
||||
Yan Liu | 1115
|
||||
편집실 | 1115
|
||||
Qi Wang | 1112
|
||||
Fan Yang | 1100
|
||||
D. A. Ramsay | 1094
|
||||
Qi Zhang | 1093
|
||||
Yang Zhang | 1091
|
||||
Peng Wang | 1090
|
||||
T. Li | 1087
|
||||
Jian Wang | 1085
|
||||
M. Kim | 1084
|
||||
Y. Lee | 1084
|
||||
G. Zhang | 1080
|
||||
Q Zhang | 1080
|
||||
Tao Zhang | 1069
|
||||
D. Chen | 1068
|
||||
J. Castañer | 1066
|
||||
J.H. Lee | 1065
|
||||
G. Liu | 1059
|
||||
J. Vogt | 1059
|
||||
J Liu | 1058
|
||||
P. Chen | 1055
|
||||
Qian Wang | 1052
|
||||
X Li | 1043
|
||||
S. H. Kim | 1039
|
||||
Ming Li | 1036
|
||||
Ying Li | 1031
|
||||
R. Andrew Chambers | 1027
|
||||
Chen Wang | 1013
|
||||
S Chen | 1009
|
||||
Yi Liu | 1005
|
||||
Ying Liu | 1002
|
||||
K. M. REESE | 997
|
||||
Bin Wang | 996
|
||||
K. Liu | 996
|
||||
Jie Liu | 995
|
||||
B. Fischer | 986
|
||||
Xi Chen | 986
|
||||
B. Predel | 985
|
||||
C. Kim | 978
|
||||
J. H. Lee | 972
|
||||
Hao Chen | 970
|
||||
K. Zhang | 968
|
||||
Hao Li | 964
|
||||
Z Chen | 960
|
||||
S Zhang | 958
|
||||
S. | 956
|
||||
K. Li | 955
|
||||
Q. Chen | 955
|
||||
Chen Chen | 954
|
||||
Yue Wang | 952
|
||||
B. | 948
|
||||
Lei Li | 947
|
||||
D Wang | 945
|
||||
Yu Chen | 940
|
||||
Bo Li | 937
|
||||
B. Chen | 927
|
||||
Jing Liu | 927
|
||||
D. Siobhan | 920
|
||||
Jie Wang | 916
|
||||
P. Liu | 911
|
||||
Yue Zhang | 910
|
||||
Jie Chen | 903
|
||||
Lin Li | 903
|
||||
H Li | 896
|
||||
M Wang | 896
|
||||
R. H. De Rijk | 892
|
||||
C Chen | 889
|
||||
B Wang | 887
|
||||
Kai Wang | 885
|
||||
L. Hnědkovský | 881
|
||||
K. Cho | 880
|
||||
Meng Wang | 879
|
||||
Bo Zhang | 877
|
||||
C. Hartwich | 877
|
||||
Qian Zhang | 874
|
||||
Rui Li | 870
|
||||
Yi Li | 868
|
||||
Fei Wang | 866
|
||||
Xin Chen | 865
|
||||
Jun Liu | 863
|
||||
G.F.S. | 862
|
||||
T. Chen | 862
|
||||
G. B. M. Zerr | 861
|
||||
Yong Wang | 860
|
||||
Chao Zhang | 856
|
||||
T. Lee | 854
|
||||
V. Kuprysyuk | 853
|
||||
Fan Zhang | 850
|
||||
S.H. Lee | 848
|
||||
W Chen | 848
|
||||
Hao Wu | 840
|
||||
S.H. Kim | 839
|
||||
Qiang Li | 834
|
||||
R. T. H. | 834
|
||||
Peng Liu | 833
|
||||
Jian Li | 832
|
||||
Yong Li | 828
|
||||
Yang Chen | 827
|
||||
B. Lee | 825
|
||||
F. C. H. | 824
|
||||
H.J. Kim | 824
|
||||
K. Chen | 824
|
||||
H. S. Kim | 823
|
||||
D. H. Kim | 820
|
||||
Qi Li | 820
|
||||
R. Lee | 819
|
||||
M. Patricia Juárez | 818
|
||||
X Liu | 811
|
||||
Xu Wang | 811
|
||||
Jing Chen | 810
|
||||
Jing Yang | 808
|
||||
M. Green | 808
|
||||
S. H. Lee | 805
|
||||
Bin Li | 802
|
||||
Bo Liu | 801
|
||||
Min Zhang | 801
|
||||
Lei Chen | 800
|
||||
J Lee | 799
|
||||
Lin Wang | 799
|
||||
Yi Yang | 798
|
||||
Peng Li | 796
|
||||
W. | 795
|
||||
W. Kim | 794
|
||||
W. Lee | 794
|
||||
Qi Liu | 793
|
||||
Hao Liu | 792
|
||||
Zhen Wang | 792
|
||||
Tao Li | 790
|
||||
Na Li | 787
|
||||
H. S. Chen | 785
|
||||
Bin Liu | 783
|
||||
P. Li | 780
|
||||
Yong Zhang | 779
|
||||
A. Lee | 778
|
||||
Hui Liu | 778
|
||||
Min Li | 778
|
||||
Jie Yang | 777
|
||||
J.S. Kim | 776
|
||||
M Zhang | 770
|
||||
Chao Li | 769
|
||||
S Lee | 769
|
||||
Wei Wei | 769
|
||||
E. Lee | 767
|
||||
B Zhang | 766
|
||||
Meng Li | 766
|
||||
F. Chen | 762
|
||||
R. Li | 761
|
||||
Tao Liu | 756
|
||||
R. Gupta | 752
|
||||
Gang Wang | 751
|
||||
Yang Yu | 750
|
||||
Lei Liu | 749
|
||||
Yuan Li | 749
|
||||
Lu Wang | 747
|
||||
A. Burg | 746
|
||||
Zhen Zhang | 744
|
||||
Xu Zhang | 743
|
||||
R. Chen | 742
|
||||
Wei Xu | 742
|
||||
A. Richard Green | 737
|
||||
C Zhang | 737
|
||||
Li Liu | 737
|
||||
Qian Li | 737
|
||||
J. Green | 735
|
||||
Wei Huang | 735
|
||||
Lin Zhang | 733
|
||||
Kai Zhang | 732
|
||||
Jun Yang | 731
|
||||
K. Park | 731
|
||||
Yan Chen | 731
|
||||
Wei Zhou | 728
|
||||
Yu Li | 726
|
||||
Ning Li | 724
|
||||
R. Liu | 718
|
||||
Wei Wu | 718
|
||||
F Wang | 716
|
||||
C. Park | 715
|
||||
Chi Zhang | 712
|
||||
O. Crosby | 712
|
||||
P. P. | 712
|
||||
Qiang Wang | 712
|
||||
R. Zaremba | 712
|
||||
Wei Zhao | 712
|
||||
T. Kim | 710
|
||||
R. | 709
|
||||
Dong Wang | 708
|
||||
Lu Zhang | 707
|
||||
Z Li | 701
|
||||
L. | 699
|
||||
G. Kraatz | 695
|
||||
J. M. Synge | 695
|
||||
Ying Chen | 694
|
||||
G Wang | 690
|
||||
Lei Yang | 690
|
||||
E. S. Krafsur | 689
|
||||
Wei Yang | 689
|
||||
B. Kim | 687
|
||||
L. L. K. | 687
|
||||
拓二 安達 | 687
|
||||
D. Simon | 686
|
||||
Feng Liu | 686
|
||||
C. Mai | 685
|
||||
K. K. Verma | 685
|
||||
S. Harvey Mudd | 685
|
||||
Chen Li | 684
|
||||
G Chen | 682
|
||||
Feng Li | 680
|
||||
D. Y.-M. | 679
|
||||
Liang Chen | 676
|
||||
H. J. Kim | 675
|
||||
Qiang Zhang | 675
|
||||
Wei Sun | 674
|
||||
Chao Liu | 672
|
||||
Jing Xu | 668
|
||||
Yue Li | 667
|
||||
C.J. Wormald | 665
|
||||
Li Chen | 664
|
||||
D. Green | 663
|
||||
G. | 662
|
||||
H.S. Kim | 662
|
||||
Li Yang | 662
|
||||
Bin Zhang | 661
|
||||
Shuai Wang | 661
|
||||
J.S. Lee | 659
|
||||
Jin Wang | 659
|
||||
N. Li | 659
|
||||
Gang Li | 658
|
||||
J Kim | 658
|
||||
Li Na | 658
|
||||
Lin Chen | 658
|
||||
J.-P.E. Grolier | 657
|
||||
Hong Zhang | 656
|
||||
P. Lee | 655
|
||||
Jing Zhao | 654
|
||||
Yong Liu | 653
|
||||
A. Wang | 652
|
||||
C. Sloby | 651
|
||||
H. B. | 649
|
||||
D. W. E. Green | 646
|
||||
P Wang | 645
|
||||
淳 久保田 | 645
|
||||
J. M. | 643
|
||||
Bo Yang | 642
|
||||
H. | 642
|
||||
J. Alexandre | 642
|
||||
Ning Wang | 642
|
||||
H Liu | 640
|
||||
Amit Kumar | 639
|
||||
Ting Wang | 639
|
||||
M. Rouprêt | 638
|
||||
Yuan Wang | 638
|
||||
D. | 637
|
||||
O Editor | 636
|
||||
P. Syamasundar Rao | 636
|
||||
J. S. Kim | 635
|
||||
K Wang | 635
|
||||
M Chen | 635
|
||||
C. H. Wang | 634
|
||||
S Li | 634
|
||||
Zhen Li | 634
|
||||
Min Wang | 633
|
||||
T Wang | 633
|
||||
Jia Liu | 632
|
||||
Ping Wang | 631
|
||||
Xiao Wang | 630
|
||||
J.S.H. | 628
|
||||
Nan Wang | 628
|
||||
Hui Chen | 624
|
||||
N. Wang | 624
|
||||
Zheng Li | 622
|
||||
Di Wu | 620
|
||||
Ping Li | 618
|
||||
Kai Li | 615
|
||||
Ke Wang | 615
|
||||
Jian Liu | 614
|
||||
D Zhang | 613
|
||||
Feng Zhang | 613
|
||||
A. Balian | 612
|
||||
P. Muller | 612
|
||||
Zheng Wang | 611
|
||||
Jun Chen | 609
|
||||
Tao Chen | 608
|
||||
Dan Li | 607
|
||||
X. Y. Zhang | 606
|
||||
J. H. | 604
|
||||
@@ -0,0 +1,14 @@
|
||||
Filter: nur Institution I62318514 (inkl. Unter-Einheiten)
|
||||
|
||||
Analyse 8: Autoren mit works_count >= 50, aber cited_by_count <= 5. (mögliche 'Placeholder' Authoren)
|
||||
OpenAlexID | Works Count | Cited By Count
|
||||
----------- | ----------- | --------------
|
||||
A5127000715 | 362 | 0
|
||||
A5125181253 | 271 | 2
|
||||
A5094302919 | 215 | 3
|
||||
A5080822544 | 73 | 3
|
||||
A5061785934 | 60 | 1
|
||||
A5127339696 | 55 | 0
|
||||
A5127463379 | 55 | 0
|
||||
A5023622635 | 54 | 1
|
||||
A5100558242 | 50 | 0
|
||||
@@ -0,0 +1,603 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import re
|
||||
import sys
|
||||
from collections import Counter
|
||||
from datetime import date, datetime
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
|
||||
def search(
|
||||
query: dict,
|
||||
aggs: dict | None = None,
|
||||
size: int = 0,
|
||||
sort: list | None = None,
|
||||
source: list | None = None,
|
||||
search_after: list | None = None,
|
||||
) -> dict:
|
||||
body = {"size": size, "query": query}
|
||||
if aggs is not None:
|
||||
body["aggs"] = aggs
|
||||
if sort is not None:
|
||||
body["sort"] = sort
|
||||
if source is not None:
|
||||
body["_source"] = source
|
||||
if search_after is not None:
|
||||
body["search_after"] = search_after
|
||||
|
||||
response = requests.post(
|
||||
f"https://project.nes.uni-due.de/elastic/openalex-authors/_search",
|
||||
headers={
|
||||
"Authorization": f"ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ",
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
json=body,
|
||||
timeout=60,
|
||||
)
|
||||
|
||||
response.raise_for_status()
|
||||
|
||||
return response.json()
|
||||
|
||||
|
||||
def institution_filter(institution_id: str | None) -> dict | None:
|
||||
|
||||
if not institution_id:
|
||||
return None
|
||||
|
||||
full_id = (
|
||||
institution_id
|
||||
if institution_id.startswith("http")
|
||||
else f"https://openalex.org/{institution_id}"
|
||||
)
|
||||
|
||||
return {
|
||||
"nested": {
|
||||
"path": "affiliations",
|
||||
"query": {
|
||||
"term": {"affiliations.institution.lineage": full_id},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def with_institution_filter(base_query: dict, institution_id: str | None) -> dict:
|
||||
inst_filter = institution_filter(institution_id)
|
||||
if inst_filter is None:
|
||||
return base_query
|
||||
return {"bool": {"filter": [base_query, inst_filter]}}
|
||||
|
||||
|
||||
def fetch_analysis_1_data(institution_id: str | None = None) -> list[dict]:
|
||||
|
||||
result = search(
|
||||
query=with_institution_filter({"exists": {"field": "orcid"}}, institution_id),
|
||||
aggs={
|
||||
"by_orcid": {
|
||||
"terms": {
|
||||
"field": "orcid",
|
||||
"size": 500,
|
||||
"min_doc_count": 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
buckets = result["aggregations"]["by_orcid"]["buckets"]
|
||||
|
||||
return [
|
||||
{"orcid": bucket["key"], "author_count": bucket["doc_count"]}
|
||||
for bucket in buckets
|
||||
]
|
||||
|
||||
|
||||
def fetch_analysis_2_data(institution_id: str | None = None) -> list[dict]:
|
||||
|
||||
result = search(
|
||||
query=with_institution_filter({"exists": {"field": "orcid"}}, institution_id),
|
||||
aggs={
|
||||
"by_orcid": {
|
||||
"terms": {
|
||||
"field": "orcid",
|
||||
"size": 500,
|
||||
"min_doc_count": 2,
|
||||
},
|
||||
"aggs": {
|
||||
"unique_names": {
|
||||
"cardinality": {"field": "display_name.keyword"},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
buckets = result["aggregations"]["by_orcid"]["buckets"]
|
||||
|
||||
return [
|
||||
{
|
||||
"orcid": bucket["key"],
|
||||
"author_count": bucket["doc_count"],
|
||||
"unique_names": bucket["unique_names"]["value"],
|
||||
}
|
||||
for bucket in buckets
|
||||
]
|
||||
|
||||
|
||||
def fetch_analysis_3_data(limit: int = 50, institution_id: str | None = None) -> list[dict]:
|
||||
|
||||
result = search(
|
||||
query=with_institution_filter(
|
||||
{"exists": {"field": "display_name"}}, institution_id
|
||||
),
|
||||
size=limit,
|
||||
sort=[
|
||||
{
|
||||
"_script": {
|
||||
"type": "number",
|
||||
"script": {
|
||||
"lang": "painless",
|
||||
"source": "doc['display_name.keyword'].value.length()",
|
||||
},
|
||||
"order": "desc",
|
||||
},
|
||||
},
|
||||
],
|
||||
source=["display_name"],
|
||||
)
|
||||
|
||||
hits = result["hits"]["hits"]
|
||||
|
||||
return [
|
||||
{
|
||||
"display_name": hit["_source"]["display_name"],
|
||||
"length": len(hit["_source"]["display_name"]),
|
||||
}
|
||||
for hit in hits
|
||||
]
|
||||
|
||||
|
||||
def fetch_analysis_4_data(institution_id: str | None = None) -> list[dict]:
|
||||
|
||||
emoji_ranges = "☀-➿⬀-⯿\U0001F000-\U0001FFFF"
|
||||
pattern = f".*[{emoji_ranges}].*"
|
||||
emoji_pattern = re.compile(f"[{emoji_ranges}]")
|
||||
|
||||
query = with_institution_filter(
|
||||
{"regexp": {"display_name.keyword": {"value": pattern}}}, institution_id
|
||||
)
|
||||
sort = [{"id": "asc"}]
|
||||
page_size = 1000
|
||||
|
||||
rows = []
|
||||
search_after = None
|
||||
|
||||
while True:
|
||||
result = search(
|
||||
query=query,
|
||||
size=page_size,
|
||||
sort=sort,
|
||||
source=["id", "display_name"],
|
||||
search_after=search_after,
|
||||
)
|
||||
|
||||
hits = result["hits"]["hits"]
|
||||
if not hits:
|
||||
break
|
||||
|
||||
for hit in hits:
|
||||
author_id = hit["_source"]["id"].rsplit("/", 1)[-1]
|
||||
display_name = hit["_source"]["display_name"]
|
||||
for emoji in set(emoji_pattern.findall(display_name)):
|
||||
rows.append({"emoji": emoji, "author_id": author_id})
|
||||
|
||||
if len(hits) < page_size:
|
||||
break
|
||||
search_after = hits[-1]["sort"]
|
||||
|
||||
return rows
|
||||
|
||||
|
||||
def fetch_analysis_5_data(institution_id: str | None = None) -> list[dict]:
|
||||
|
||||
result = search(
|
||||
query=with_institution_filter(
|
||||
{"exists": {"field": "display_name"}}, institution_id
|
||||
),
|
||||
aggs={
|
||||
"by_display_name": {
|
||||
"terms": {
|
||||
"field": "display_name.keyword",
|
||||
"size": 500,
|
||||
"min_doc_count": 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
buckets = result["aggregations"]["by_display_name"]["buckets"]
|
||||
|
||||
return [
|
||||
{"display_name": bucket["key"], "author_count": bucket["doc_count"]}
|
||||
for bucket in buckets
|
||||
]
|
||||
|
||||
|
||||
def fetch_analysis_6_data(
|
||||
min_span: int = 80, institution_id: str | None = None
|
||||
) -> list[dict]:
|
||||
|
||||
query = with_institution_filter({"match_all": {}}, institution_id)
|
||||
sort = [{"id": "asc"}]
|
||||
page_size = 1000
|
||||
|
||||
rows = []
|
||||
search_after = None
|
||||
|
||||
while True:
|
||||
result = search(
|
||||
query=query,
|
||||
size=page_size,
|
||||
sort=sort,
|
||||
source=["id", "counts_by_year"],
|
||||
search_after=search_after,
|
||||
)
|
||||
|
||||
hits = result["hits"]["hits"]
|
||||
if not hits:
|
||||
break
|
||||
|
||||
for hit in hits:
|
||||
years = [
|
||||
entry["year"]
|
||||
for entry in hit["_source"].get("counts_by_year", [])
|
||||
if "year" in entry
|
||||
]
|
||||
if not years:
|
||||
continue
|
||||
|
||||
from_year = min(years)
|
||||
to_year = max(years)
|
||||
span = to_year - from_year
|
||||
|
||||
if span > min_span:
|
||||
rows.append(
|
||||
{
|
||||
"author_id": hit["_source"]["id"].rsplit("/", 1)[-1],
|
||||
"from_year": from_year,
|
||||
"to_year": to_year,
|
||||
"span": span,
|
||||
}
|
||||
)
|
||||
|
||||
if len(hits) < page_size:
|
||||
break
|
||||
search_after = hits[-1]["sort"]
|
||||
|
||||
return rows
|
||||
|
||||
|
||||
def fetch_analysis_7_data(institution_id: str | None = None) -> list[dict]:
|
||||
|
||||
current_year = date.today().year
|
||||
|
||||
query = with_institution_filter({"match_all": {}}, institution_id)
|
||||
sort = [{"id": "asc"}]
|
||||
page_size = 1000
|
||||
|
||||
rows = []
|
||||
search_after = None
|
||||
|
||||
while True:
|
||||
result = search(
|
||||
query=query,
|
||||
size=page_size,
|
||||
sort=sort,
|
||||
source=["id", "counts_by_year"],
|
||||
search_after=search_after,
|
||||
)
|
||||
|
||||
hits = result["hits"]["hits"]
|
||||
if not hits:
|
||||
break
|
||||
|
||||
for hit in hits:
|
||||
author_id = hit["_source"]["id"].rsplit("/", 1)[-1]
|
||||
for entry in hit["_source"].get("counts_by_year", []):
|
||||
year = entry.get("year")
|
||||
if year is not None and year > current_year:
|
||||
rows.append({"author_id": author_id, "year": year})
|
||||
|
||||
if len(hits) < page_size:
|
||||
break
|
||||
search_after = hits[-1]["sort"]
|
||||
|
||||
return rows
|
||||
|
||||
|
||||
def fetch_analysis_8_data(
|
||||
min_works: int = 50, max_citations: int = 5, institution_id: str | None = None
|
||||
) -> list[dict]:
|
||||
|
||||
query = with_institution_filter(
|
||||
{
|
||||
"bool": {
|
||||
"filter": [
|
||||
{"range": {"works_count": {"gte": min_works}}},
|
||||
{"range": {"cited_by_count": {"lte": max_citations}}},
|
||||
],
|
||||
},
|
||||
},
|
||||
institution_id,
|
||||
)
|
||||
sort = [{"id": "asc"}]
|
||||
page_size = 1000
|
||||
|
||||
rows = []
|
||||
search_after = None
|
||||
|
||||
while True:
|
||||
result = search(
|
||||
query=query,
|
||||
size=page_size,
|
||||
sort=sort,
|
||||
source=["id", "works_count", "cited_by_count"],
|
||||
search_after=search_after,
|
||||
)
|
||||
|
||||
hits = result["hits"]["hits"]
|
||||
if not hits:
|
||||
break
|
||||
|
||||
for hit in hits:
|
||||
source = hit["_source"]
|
||||
rows.append(
|
||||
{
|
||||
"author_id": source["id"].rsplit("/", 1)[-1],
|
||||
"works_count": source["works_count"],
|
||||
"cited_by_count": source["cited_by_count"],
|
||||
}
|
||||
)
|
||||
|
||||
if len(hits) < page_size:
|
||||
break
|
||||
search_after = hits[-1]["sort"]
|
||||
|
||||
return rows
|
||||
|
||||
|
||||
def print_table(headers: list[str], rows: list[list[str]]) -> None:
|
||||
widths = [
|
||||
max(len(str(cell)) for cell in [header, *(row[i] for row in rows)])
|
||||
for i, header in enumerate(headers)
|
||||
]
|
||||
|
||||
def print_row(cells: list[str]) -> None:
|
||||
print(" | ".join(str(cell).ljust(width) for cell, width in zip(cells, widths)))
|
||||
|
||||
print_row(headers)
|
||||
print_row(["-" * width for width in widths])
|
||||
for row in rows:
|
||||
print_row(row)
|
||||
|
||||
|
||||
def run_analysis_1(institution_id: str | None = None) -> None:
|
||||
print("Analyse 1: ORCIDs, die von 2 oder mehr Autoren-Dokumenten geteilt werden.")
|
||||
analysis_1_data = fetch_analysis_1_data(institution_id)
|
||||
analysis_1_data.sort(key=lambda group: group["author_count"], reverse=True)
|
||||
print_table(
|
||||
["ORCID", "Anzahl Autoren"],
|
||||
[[group["orcid"], group["author_count"]] for group in analysis_1_data],
|
||||
)
|
||||
|
||||
|
||||
def run_analysis_2(institution_id: str | None = None) -> None:
|
||||
print(
|
||||
"Analyse 2: Wie Analyse 1, zusätzlich mit der Anzahl unterschiedlicher "
|
||||
"display_names je ORCID (exakter Match) — trennt echte Namens-Duplikate "
|
||||
"von unterschiedlich benannten Autoren mit derselben ORCID."
|
||||
)
|
||||
analysis_2_data = fetch_analysis_2_data(institution_id)
|
||||
analysis_2_data.sort(key=lambda group: group["author_count"], reverse=True)
|
||||
print_table(
|
||||
["ORCID", "Gesamt", "Unique Names"],
|
||||
[
|
||||
[group["orcid"], group["author_count"], group["unique_names"]]
|
||||
for group in analysis_2_data
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
def run_analysis_3(institution_id: str | None = None) -> None:
|
||||
print(
|
||||
"Analyse 3: Die 50 Autoren mit den längsten display_names im gesamten "
|
||||
"Autoren-Index, absteigend nach Zeichenlänge sortiert."
|
||||
)
|
||||
analysis_3_data = fetch_analysis_3_data(limit=50, institution_id=institution_id)
|
||||
analysis_3_data.sort(key=lambda entry: entry["length"], reverse=True)
|
||||
print_table(
|
||||
["Display Name", "Länge"],
|
||||
[[entry["display_name"], entry["length"]] for entry in analysis_3_data],
|
||||
)
|
||||
|
||||
|
||||
def run_analysis_4(institution_id: str | None = None) -> None:
|
||||
max_examples_per_emoji = 5
|
||||
print(
|
||||
"Analyse 4: Vollständiger Scan über den gesamten Autoren-Index — für "
|
||||
"jeden Autor mit einem Emoji im display_name eine Zeile je gefundenem "
|
||||
"Emoji (deckt die gängigen Emoji-Unicode-Blöcke ab, nicht zu 100% "
|
||||
f"vollständig). Anzahl der Einträge ist die echte Gesamtzahl, pro Emoji "
|
||||
f"werden aber nur {max_examples_per_emoji} Beispiel-Autoren angezeigt."
|
||||
)
|
||||
analysis_4_data = fetch_analysis_4_data(institution_id)
|
||||
emoji_counts = Counter(row["emoji"] for row in analysis_4_data)
|
||||
analysis_4_data.sort(
|
||||
key=lambda row: (-emoji_counts[row["emoji"]], row["emoji"], row["author_id"])
|
||||
)
|
||||
|
||||
table_rows = []
|
||||
examples_shown = Counter()
|
||||
for row in analysis_4_data:
|
||||
emoji = row["emoji"]
|
||||
if examples_shown[emoji] >= max_examples_per_emoji:
|
||||
continue
|
||||
examples_shown[emoji] += 1
|
||||
table_rows.append([emoji, emoji_counts[emoji], row["author_id"]])
|
||||
|
||||
print_table(["Emoji", "Anzahl der Einträge", "OpenAlexID des Authors"], table_rows)
|
||||
|
||||
|
||||
def run_analysis_5(institution_id: str | None = None) -> None:
|
||||
print(
|
||||
"Analyse 5: Count-by auf display_name — wie viele Autoren-Dokumente "
|
||||
"denselben display_name (exakter Match) teilen."
|
||||
)
|
||||
analysis_5_data = fetch_analysis_5_data(institution_id)
|
||||
analysis_5_data.sort(key=lambda group: group["author_count"], reverse=True)
|
||||
print_table(
|
||||
["Display Name", "Anzahl"],
|
||||
[[group["display_name"], group["author_count"]] for group in analysis_5_data],
|
||||
)
|
||||
|
||||
|
||||
def run_analysis_6(institution_id: str | None = None) -> None:
|
||||
min_span = 100
|
||||
print(
|
||||
f"Analyse 6: Autoren, deren Publikationsspanne (max - min Jahr aus "
|
||||
f"counts_by_year) größer als {min_span} Jahre ist."
|
||||
)
|
||||
analysis_6_data = fetch_analysis_6_data(min_span, institution_id)
|
||||
analysis_6_data.sort(key=lambda entry: entry["span"], reverse=True)
|
||||
print_table(
|
||||
["OpenAlexID", "Von", "Bis", "Jahre"],
|
||||
[
|
||||
[entry["author_id"], entry["from_year"], entry["to_year"], entry["span"]]
|
||||
for entry in analysis_6_data
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
def run_analysis_7(institution_id: str | None = None) -> None:
|
||||
current_year = date.today().year
|
||||
print(
|
||||
f"Analyse 7: Publikationsjahre aus counts_by_year in der Zukunft "
|
||||
f"(> {current_year})."
|
||||
)
|
||||
analysis_7_data = fetch_analysis_7_data(institution_id)
|
||||
analysis_7_data.sort(key=lambda entry: entry["year"], reverse=True)
|
||||
print_table(
|
||||
["OpenAlexID", "Jahr"],
|
||||
[[entry["author_id"], entry["year"]] for entry in analysis_7_data],
|
||||
)
|
||||
|
||||
|
||||
def run_analysis_8(institution_id: str | None = None) -> None:
|
||||
min_works = 50
|
||||
max_citations = 5
|
||||
print(
|
||||
f"Analyse 8: Autoren mit works_count >= {min_works}, aber "
|
||||
f"cited_by_count <= {max_citations}. (mögliche 'Placeholder' Authoren)"
|
||||
)
|
||||
analysis_8_data = fetch_analysis_8_data(min_works, max_citations, institution_id)
|
||||
analysis_8_data.sort(key=lambda entry: entry["works_count"], reverse=True)
|
||||
print_table(
|
||||
["OpenAlexID", "Works Count", "Cited By Count"],
|
||||
[
|
||||
[entry["author_id"], entry["works_count"], entry["cited_by_count"]]
|
||||
for entry in analysis_8_data
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
ANALYSES = {
|
||||
1: run_analysis_1,
|
||||
2: run_analysis_2,
|
||||
3: run_analysis_3,
|
||||
4: run_analysis_4,
|
||||
5: run_analysis_5,
|
||||
6: run_analysis_6,
|
||||
7: run_analysis_7,
|
||||
8: run_analysis_8,
|
||||
}
|
||||
|
||||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Analysen über den openalex-authors Elasticsearch-Index.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--analysis",
|
||||
type=int,
|
||||
choices=sorted(ANALYSES),
|
||||
help="Nur diese Analyse ausführen (1-8). Ohne Angabe werden alle ausgeführt.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--filter-uni",
|
||||
metavar="INSTITUTION_ID",
|
||||
help="OpenAlex-Institutions-ID (z.B. I62318514), auf die alle Suchen "
|
||||
"gefiltert werden — inklusive Autoren, die nur einer Unter-Einheit "
|
||||
"(z.B. einem Institut) dieser Institution zugeordnet sind.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--save",
|
||||
action="store_true",
|
||||
help="Ausgabe zusätzlich in analysen/run_<timestamp>.txt speichern.",
|
||||
)
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
class Tee:
|
||||
|
||||
def __init__(self, *streams) -> None:
|
||||
self.streams = streams
|
||||
|
||||
def write(self, data: str) -> None:
|
||||
for stream in self.streams:
|
||||
stream.write(data)
|
||||
|
||||
def flush(self) -> None:
|
||||
for stream in self.streams:
|
||||
stream.flush()
|
||||
|
||||
|
||||
def run(args: argparse.Namespace) -> None:
|
||||
if args.filter_uni:
|
||||
print(f"Filter: nur Institution {args.filter_uni} (inkl. Unter-Einheiten)\n")
|
||||
|
||||
if args.analysis is not None:
|
||||
ANALYSES[args.analysis](args.filter_uni)
|
||||
return
|
||||
|
||||
for number, run_analysis in sorted(ANALYSES.items()):
|
||||
if number > 1:
|
||||
print()
|
||||
run_analysis(args.filter_uni)
|
||||
|
||||
|
||||
def main() -> None:
|
||||
args = parse_args()
|
||||
|
||||
if not args.save:
|
||||
run(args)
|
||||
return
|
||||
|
||||
analysen_dir = Path(__file__).resolve().parent / "analysen"
|
||||
analysen_dir.mkdir(parents=True, exist_ok=True)
|
||||
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||
output_path = analysen_dir / f"run_{timestamp}.txt"
|
||||
|
||||
original_stdout = sys.stdout
|
||||
with output_path.open("w", encoding="utf-8") as file:
|
||||
sys.stdout = Tee(original_stdout, file)
|
||||
try:
|
||||
run(args)
|
||||
finally:
|
||||
sys.stdout = original_stdout
|
||||
|
||||
print(f"\nOutput gespeichert unter: {output_path}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,27 @@
|
||||
###
|
||||
POST https://project.nes.uni-due.de/elastic/openalex-authors/_search
|
||||
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"size": 1,
|
||||
"query": {
|
||||
"term": {
|
||||
"id": "https://openalex.org/A5110029571"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
###
|
||||
POST https://project.nes.uni-due.de/elastic/openalex-authors/_search
|
||||
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"_source": ["id", "display_name", "orcid"],
|
||||
"query": {
|
||||
"term": {
|
||||
"orcid": "https://orcid.org/0000-0002-1203-1424"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
requests
|
||||
python-dotenv
|
||||
@@ -0,0 +1,116 @@
|
||||
# Master's thesis on the INSE knowledge graph: three research plans
|
||||
|
||||
Status: proposal, 2026-09-17. Supersedes the engineering-oriented outline
|
||||
(`~/.claude/plans/consider-the-context-of-robust-hopcroft.md`) as the basis for choosing a topic.
|
||||
|
||||
Three alternative six-month theses, one per research community. Pick one; they share data and
|
||||
infrastructure but differ in research question, method and evaluation.
|
||||
|
||||
| | Plan | Community | One-line question |
|
||||
|---|---|---|---|
|
||||
| A | [Certain, possible, wrong](plan-a-knowledge-graphs.md) | Knowledge graphs / Semantic Web | What does identity-link error do to answers over a multi-source graph, and can answers carry that uncertainty? |
|
||||
| B | [Learning when not to answer](plan-b-nlp.md) | NLP | Can reinforcement fine-tuning make a small model reliable at text-to-Cypher, including abstaining and qualifying, in German and English? |
|
||||
| C | [Does the graph find the right people?](plan-c-information-retrieval.md) | Information retrieval | Does graph evidence improve expert and industry-partner retrieval when evaluated without temporal leakage? |
|
||||
|
||||
## Why the original outline is no longer a research topic
|
||||
|
||||
The original outline had five parts: build the graph, fix identities, write a benchmark, compare
|
||||
retrieval setups, fine-tune text-to-Cypher. Two things changed.
|
||||
|
||||
**The engineering is done.** `service/scripts/falkordb/bulk_load.py` builds the whole-university graph
|
||||
in about 20 minutes: 6,176 active UDE researchers, 204,110 works, 693,487 authors, 26,246 institutions,
|
||||
3,664 projects, 366 patents, 4,402 news articles, 547 companies and 10 million relationships, in 1.3 GB
|
||||
of FalkorDB memory. A local LLM (LM Studio, qwen3-8b) already queries it through the FalkorDB MCP
|
||||
server, and `service/scripts/falkordb/QUERIES.md` holds a tested query cookbook.
|
||||
|
||||
**The obvious research questions are published.** Literature check, September 2026 (from search
|
||||
results and abstracts; the student must read and verify each before citing):
|
||||
|
||||
| Idea in the original outline | Already covered by |
|
||||
|---|---|
|
||||
| Fine-tune a small model for text-to-Cypher, also with RL and execution feedback | Text2Cypher (Ozsoy et al., GenAIK 2025); "Refining Text2Cypher on Small Language Model with Reinforcement Learning" (Applied Sciences 15(15):8206, 2025, GRPO); Multi-Agent GraphRAG text-to-Cypher (arXiv 2511.08274) |
|
||||
| Generate training and test questions from the graph itself | CypherBench (ACL 2025); PIPE-Cypher (arXiv 2606.08481); KG2Cypher (arXiv 2606.27742); grounded KG data generation (arXiv 2606.14325) |
|
||||
| Non-English text-to-Cypher | Text2Cypher Across Languages (arXiv 2506.21445; Spanish, Turkish); adapter combination (arXiv 2601.16097). German is still missing, but adding a language alone is incremental |
|
||||
| Does the graph beat vector search, and on which question types | "When to use Graphs in RAG" / GraphRAG-Bench (ICLR 2026, arXiv 2506.05690); "RAG vs. GraphRAG" (arXiv 2502.11371); "Do We Still Need GraphRAG?" (arXiv 2604.09666); GraphRAG-Router (arXiv 2604.16401) |
|
||||
| Agentic, multi-step graph retrieval trained with RL | Graph-R1 (arXiv 2507.21892); KG-R1 (arXiv 2509.26383) |
|
||||
| Robustness of KG-augmented LLMs to a noisy graph | OKGQA-P (ACL 2025, arXiv 2410.08085); KG-RAG under incompleteness (2025); "Less is More: Denoising KGs for RAG" (arXiv 2510.14271). All use random perturbations or LLM-extracted graphs |
|
||||
|
||||
## What is still open, and why this project is well placed
|
||||
|
||||
Building and querying the `ude` graph produced five observations that the literature does not
|
||||
address and that the project's data can test:
|
||||
|
||||
1. **The links between sources are inferred, with structured error.** Patents carry no person IDs, so
|
||||
`INVENTOR_OF` rests on name matching (`match_type` institution / name / both). Company officers and
|
||||
news mentions are exact name matches (`common_name_warning`, `ambiguous`). One researcher named
|
||||
Thomas Kaiser matches 92 companies. OpenAlex itself over-merges profiles: a cohort profile
|
||||
"Róbert Langer" carries the MIT chemist's 251 industry partners. Prior robustness work perturbs
|
||||
graphs at random; nobody measures what realistic identity error does to answers.
|
||||
2. **Link semantics change numbers by a factor of six.** Industry co-publications of one researcher:
|
||||
61 with author-level affiliations, 10 when the affiliation must hold on the paper itself. Counting
|
||||
and ranking answers are fragile in a way lookups are not.
|
||||
3. **Observed and inferred edges sit side by side** (`DFG_ROLE` via ORCID is verified, `OFFICER_OF` is a
|
||||
name match), and every inferred edge records its method. That is the raw material for confidence-
|
||||
and provenance-aware answering, which exists in database theory (certain and possible answers,
|
||||
identity-linkage uncertainty) but not in LLM-based graph question answering.
|
||||
4. **A small local model fails silently.** Without the schema, qwen3-8b invented a property
|
||||
(`a.institution`), got nulls, and told the user the information "is not available". Separately, the
|
||||
server's 10,000-row result cap truncated a 206k-row read without any error. Neither failure is
|
||||
visible to the user. Reliability (answer, qualify, or abstain) is unexplored for text-to-Cypher;
|
||||
TrustSQL (arXiv 2403.15879) and GrailQAbility (ACL 2023) cover SQL and Freebase only, and
|
||||
abstention-aware RL (TruthRL, arXiv 2509.25760) covers open-domain QA only.
|
||||
5. **The graph has time.** Works, patents, projects and per-paper affiliations are dated up to 2026, so
|
||||
"who will start working with industry" can be evaluated on events that happened after a language
|
||||
model's knowledge cutoff, which is the only leakage-free way to evaluate LLM-based recommendation.
|
||||
|
||||
## Assets every plan can use
|
||||
|
||||
- The `ude` graph, loader (`bulk_load.py`, twelve idempotent phases), and query cookbook.
|
||||
- Edge-level evidence: `INVENTOR_OF.match_type`, `OFFICER_OF.common_name_warning`,
|
||||
`Author.hr_company_matches`, `MENTIONED_IN.ambiguous`, `DFG_ROLE.source`, `AUTHORED.institution_ids`,
|
||||
`Work.primary_category` (LLM classification of 187k works).
|
||||
- Existing evaluations to build on: `service/scripts/patents/data/author_patent_evaluation/` (three
|
||||
experiments on author-patent matching), `llm_evaluations/news_ident_person/` (50 labelled news
|
||||
articles), `analysis/career_stage/` (60 labelled researchers, 4.6% suspicious profiles),
|
||||
`service/scripts/profiling/founding_potential/`, `llm_evaluations/sentence_transformer/`.
|
||||
- LLM access through `inse.integrations.llm` (any OpenAI-compatible endpoint), a terminal harness that
|
||||
drives an LLM through the FalkorDB MCP tools, and the e5 embedding model in the service image.
|
||||
|
||||
## Fixed conditions (decided 2026-09-17)
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| Duration | 26 weeks |
|
||||
| Annotation | Two annotators, about 40 hours each |
|
||||
| Data release | Open sources only: OpenAlex (CC0), CORDIS, patent offices; DFG GEPRIS licence to be checked. Handelsregister and news-person links stay internal; results on them are reported in aggregate |
|
||||
| Compute | One 80 GB GPU: QLoRA supervised fine-tuning and GRPO on 7 to 8B models are feasible |
|
||||
| Tools | FalkorDB, Unsloth (as in the original outline) |
|
||||
| Data protection | One agreed paragraph with the chair before week 3; a section in the thesis |
|
||||
|
||||
## How to choose
|
||||
|
||||
| | A: knowledge graphs | B: NLP | C: information retrieval |
|
||||
|---|---|---|---|
|
||||
| Core novelty | Realistic identity error, certain/possible answers, LLM pipelines that use link confidence | Reliability-aware RL for text-to-Cypher, infeasible and uncertain questions, German | Leakage-free evaluation of graph-augmented expert and partner retrieval, graph-supervised reranker |
|
||||
| Main risk | Gold set quality; possible-worlds cost on aggregates | A close paper appears first; RL instability | Too few post-cutoff events; pooling depth |
|
||||
| Fine-tuning share | Small (one supervised model) | Central (SFT and GRPO, several models) | Medium (reranker) |
|
||||
| Annotation use | 500 to 600 identity links, answer-quality ratings | 400 question validations, German naturalness, error taxonomy | 1,500 to 2,000 relevance judgments |
|
||||
| Value to INSE after the thesis | Confidence on every cross-source link, fixes the biggest data-quality problem | A local model that can be trusted in the UI | A measured answer to "should scouting use the graph" and a reusable test collection |
|
||||
| Student profile | Data management, statistics, some ML | Deep learning, RL, NLP evaluation | IR evaluation, ranking, some graph ML |
|
||||
| Venues | ISWC, ESWC, CIKM, K-CAP; Semantic Web Journal, TGDK | ACL / EMNLP / NAACL Findings; TrustNLP, UncertaiNLP, KnowledgeNLP, GenAIK; LREC-COLING for the dataset | SIGIR (short, resource), ECIR, CIKM, ICTIR; JCDL |
|
||||
|
||||
Recommendation: Plan A is the most defensible against being scooped, because it depends on data only
|
||||
this project has (measured cross-source identity error), and it turns the most valuable part of the
|
||||
original outline (Part 2) into the research question. Plan B is the best fit if the student wants a
|
||||
model-centric thesis and the 80 GB GPU should be used fully. Plan C has the most direct product value.
|
||||
|
||||
Combining is possible but should be resisted: each plan fills 26 weeks. The one sensible overlap is
|
||||
that Plan B may borrow Plan A's "uncertain evidence" question category, and Plan C may report
|
||||
Plan A's robustness-to-identity-error as one ablation.
|
||||
|
||||
## Common first four weeks
|
||||
|
||||
1. Run INSE locally, obtain Elasticsearch read access, rebuild `ude` with `run.sh bulk --graph ude --reset`.
|
||||
2. Read `service/scripts/falkordb/README.md`, `QUERIES.md`, the profiling READMEs.
|
||||
3. Literature chapter skeleton from the reading list in the chosen plan; verify every citation.
|
||||
4. Data-protection paragraph agreed; annotation guidelines drafted; annotators booked.
|
||||
@@ -0,0 +1,127 @@
|
||||
# Plan A (knowledge graphs): Certain, possible, wrong
|
||||
|
||||
**Working title:** Certain, possible, wrong: question answering over a multi-source scholarly knowledge
|
||||
graph with uncertain identity links
|
||||
|
||||
**Target venues:** ISWC or ESWC (research or resources track), CIKM, K-CAP. Journal extension: Semantic
|
||||
Web Journal or TGDK.
|
||||
|
||||
## The problem in one paragraph
|
||||
|
||||
The INSE graph joins researchers to patents, companies, news and projects. Only some of those joins
|
||||
are observed (authorship, ORCID-verified DFG roles, DOI-linked project output). The rest are inferred
|
||||
from names, and OpenAlex's own author identities are partly over-merged. Every question that crosses
|
||||
a source boundary therefore rests on links that may be wrong, and counting or ranking questions can
|
||||
flip on a single false merge. Current work on LLMs and knowledge graphs either assumes a clean graph
|
||||
or perturbs it at random. This thesis measures real identity error, models how it propagates into
|
||||
answers, and tests whether answers can carry that uncertainty instead of hiding it.
|
||||
|
||||
## Gap and closest related work
|
||||
|
||||
- Robustness of KG-augmented LLMs is studied with random node and edge perturbations (OKGQA-P, ACL 2025,
|
||||
arXiv 2410.08085; KG-RAG under incompleteness, 2025) and denoising targets LLM-extracted graphs
|
||||
("Less is More", arXiv 2510.14271). Identity error is neither random nor local: it is concentrated on
|
||||
common names and on hubs, and it changes aggregates.
|
||||
- Database theory defines query answering under identity uncertainty (Moustafa et al., "Subgraph
|
||||
pattern matching over uncertain graphs with identity linkage uncertainty", arXiv 1305.7006;
|
||||
uncertainty-annotated databases, arXiv 1904.00234; combining entity resolution and query answering,
|
||||
arXiv 2303.07469; provenance of result probabilities in uncertain KGs, arXiv 2108.07758). None of it
|
||||
is connected to LLM-based question answering, and none is evaluated on a real multi-source graph of
|
||||
this kind.
|
||||
- Entity-resolution evaluation has matured (entity-centric evaluation for inventor disambiguation,
|
||||
arXiv 2404.05622; OpenAlex author accuracy with an LLM-assisted benchmark, arXiv 2502.11610; LLMs for
|
||||
entity matching, arXiv 2310.11244 and 2409.08185), but stops at precision and recall of the links.
|
||||
What a link error costs downstream is not measured.
|
||||
- A 2026 preprint names a "provenance gap" in incomplete KGQA (arXiv 2606.15833); the student should
|
||||
read it first and position against it.
|
||||
|
||||
## Research questions
|
||||
|
||||
- **RQ1. How wrong are the links?** Precision, recall and calibration of four link types: author to
|
||||
inventor, author to company officer, author to news mention, and OpenAlex over-merged author
|
||||
profiles. Which evidence (name rarity, topic overlap between IPC classes and OpenAlex topics,
|
||||
assignee match, temporal overlap, shared co-authors and co-inventors) predicts correctness?
|
||||
- **RQ2. How does link error reach the answer?** For lookup, multi-hop, counting and ranking queries:
|
||||
how much does the answer change per unit of link error, and does realistic error (sampled from the
|
||||
RQ1 error model) behave differently from the random perturbation used in prior benchmarks?
|
||||
- **RQ3. Can certain and possible answers be computed at interactive cost?** Monte Carlo sampling of
|
||||
possible worlds over link confidence, giving intervals for counts and stable sets for rankings,
|
||||
compared with exact computation on small subgraphs.
|
||||
- **RQ4. Does exposing link confidence make LLM question answering more reliable?** Text-to-Cypher
|
||||
and tool-using pipelines with and without access to confidence and provenance, including one
|
||||
supervised fine-tuned model that writes confidence-aware queries and reports "confirmed" versus
|
||||
"possible" results.
|
||||
|
||||
## Method
|
||||
|
||||
1. **Gold set (weeks 5 to 9).** About 550 candidate links, stratified by link type and by name
|
||||
frequency so that common names are over-sampled. Two annotators label each link independently
|
||||
using the evidence a human scout would check (ORCID, institutional pages, patent assignee, register
|
||||
entry); disagreements are adjudicated. Report Cohen's kappa. Budget: about 60 of the 80 hours.
|
||||
2. **Confidence model.** A small calibrated classifier (logistic regression and gradient boosting)
|
||||
over evidence features, trained on the gold set with cross-validation; reliability diagrams and
|
||||
expected calibration error. Output: a `confidence` and `method` on every inferred edge in the graph.
|
||||
3. **Error model and injection toolkit.** Fit where errors occur (by name frequency, degree, source),
|
||||
then generate corrupted graph variants three ways: uniformly random, degree-preserving, and
|
||||
realistic (sampled from the fitted model), at error rates from 1 to 20 percent.
|
||||
4. **Query set.** About 300 queries in the five types of the original outline (lookup, counting,
|
||||
multi-step, summary, over time), each tagged with the link types it crosses. Gold answers come from
|
||||
executing reference Cypher on a reference graph restricted to verified links.
|
||||
5. **Possible-worlds answering.** Sample link sets according to confidence, execute, aggregate:
|
||||
intervals for counts, inclusion probabilities for set answers, rank stability for top-k. Measure
|
||||
interval coverage against the reference and the cost per query.
|
||||
6. **LLM pipelines.** Four systems (schema-prompted text-to-Cypher, tool-using agent over MCP, the
|
||||
same two with confidence exposed) across three models (local 8B, the fine-tuned 8B, one hosted
|
||||
large model). The fine-tuned model is trained with Unsloth on graph-generated pairs whose target
|
||||
queries filter or split by confidence.
|
||||
|
||||
## Evaluation
|
||||
|
||||
| Question | Measures |
|
||||
|---|---|
|
||||
| RQ1 | Pairwise and entity-centric precision, recall, F1 per link type; kappa; ECE and reliability diagrams; feature ablation |
|
||||
| RQ2 | Answer change versus error rate per query type: exact match, Jaccard for sets, relative error for counts, Kendall tau for rankings; realistic versus random noise; with and without entity resolution (the ablation from the original outline) |
|
||||
| RQ3 | Coverage of 90 percent intervals, interval width, agreement with exact computation on subgraphs up to a tractable size, latency versus number of sampled worlds |
|
||||
| RQ4 | Execution accuracy; penalty-based reliability score in the style of TrustSQL; share of answers that correctly flag uncertain evidence; human rating of answer usefulness on 100 answers (remaining annotation hours); cost and latency |
|
||||
|
||||
Statistics: bootstrap confidence intervals everywhere, paired tests between systems, three seeds for
|
||||
anything trained.
|
||||
|
||||
## What gets released (open sources only)
|
||||
|
||||
- The author-to-inventor gold set (OpenAlex and patent-office data are public) with annotation guidelines.
|
||||
- The noise-injection toolkit and the possible-worlds query layer for FalkorDB.
|
||||
- The query set and reference answers over the open subgraph (OpenAlex, CORDIS, patents; DFG after a
|
||||
licence check). Officer and news results are reported in aggregate only.
|
||||
|
||||
## Schedule
|
||||
|
||||
| Weeks | Work |
|
||||
|---|---|
|
||||
| 1 to 4 | Common start; literature; annotation guidelines |
|
||||
| 5 to 9 | Gold set, agreement, RQ1 numbers |
|
||||
| 10 to 12 | Confidence model, edges annotated in the graph, error model |
|
||||
| 13 to 15 | Query set and reference answers |
|
||||
| 16 to 18 | Injection experiments (RQ2) |
|
||||
| 19 to 21 | Possible-worlds answering (RQ3) |
|
||||
| 22 to 24 | LLM pipelines and fine-tuned model (RQ4) |
|
||||
| 25 to 26 | Writing, paper draft |
|
||||
|
||||
Cut order if late: drop the fine-tuned model in RQ4 first (keep prompting-only pipelines), then reduce
|
||||
RQ3 to counts only. Never cut the gold set.
|
||||
|
||||
## Risks
|
||||
|
||||
- **Gold set too small for rare error types.** Mitigation: stratified sampling, and ORCID-verified
|
||||
links as an additional silver standard.
|
||||
- **Possible-worlds sampling too slow for aggregates over millions of edges.** Mitigation: restrict
|
||||
sampling to the edges a query touches; FalkorDB executes the per-world query in milliseconds.
|
||||
- **Reviewers ask for a second dataset.** Mitigation: run the injection experiments also on STaRK-MAG
|
||||
(arXiv 2404.13207) or a CypherBench graph, where only synthetic error is possible; that contrast is
|
||||
itself a result.
|
||||
|
||||
## Reading list to start from
|
||||
|
||||
arXiv 2410.08085, 2510.14271, 2606.15833, 1305.7006, 1904.00234, 2303.07469, 2108.07758, 2404.05622,
|
||||
2502.11610, 2310.11244, 2409.08185, 2403.15879, 2506.05690. All identifiers come from a literature search
|
||||
on 2026-09-17 and must be verified.
|
||||
@@ -0,0 +1,121 @@
|
||||
# Plan B (NLP): Learning when not to answer
|
||||
|
||||
**Working title:** Learning when not to answer: reliability-aware reinforcement fine-tuning of small
|
||||
language models for text-to-Cypher in German and English
|
||||
|
||||
**Target venues:** ACL, EMNLP or NAACL Findings; workshops TrustNLP, UncertaiNLP, KnowledgeNLP, GenAIK;
|
||||
LREC-COLING for the dataset.
|
||||
|
||||
## The problem in one paragraph
|
||||
|
||||
A local model that translates questions into Cypher fails in ways the user cannot see. In this
|
||||
project, an 8B model without the schema invented a property, received nulls, and reported that the
|
||||
information "is not available"; a server-side result cap silently truncated a count; and a question
|
||||
about a researcher named Thomas Kaiser can only be answered over 92 name-matched companies. Accuracy
|
||||
on answerable questions, which is what text-to-Cypher papers report, does not capture any of this. A
|
||||
deployable model must do one of three things: answer, answer with a qualification, or decline. This
|
||||
thesis builds the benchmark for that behaviour and tests whether reinforcement fine-tuning with
|
||||
execution-verified, penalty-aware rewards can teach it to a small model, in two languages.
|
||||
|
||||
## Gap and closest related work
|
||||
|
||||
- Text-to-Cypher fine-tuning is established, including RL: Text2Cypher (GenAIK 2025), GRPO refinement
|
||||
for small models (Applied Sciences 15(15):8206, 2025), multi-agent text-to-Cypher (arXiv 2511.08274),
|
||||
automatic dataset generation (CypherBench, ACL 2025; arXiv 2606.08481, 2606.27742, 2606.14325). All
|
||||
evaluate answerable questions only.
|
||||
- Reliability with infeasible questions exists for SQL (TrustSQL, arXiv 2403.15879, penalty-based
|
||||
scoring) and for Freebase KBQA (GrailQAbility, ACL 2023; RetinaQA, ACL 2024). Not for property graphs,
|
||||
not for LLM-era text-to-Cypher.
|
||||
- Abstention-aware RL exists for open-domain QA (TruthRL, arXiv 2509.25760, ternary reward; KARL,
|
||||
arXiv 2604.22779; TIAR, arXiv 2605.25850; search agents, arXiv 2607.10738). There the reward needs a
|
||||
judge or a gold string. Text-to-Cypher has a verifiable reward by execution, and a third outcome
|
||||
these papers do not have: the correct answer exists but rests on uncertain evidence.
|
||||
- Multilingual text-to-Cypher covers Spanish and Turkish (arXiv 2506.21445, 2601.16097). German is
|
||||
missing, and German compounds plus English entity names make it a real test, not a translation
|
||||
exercise.
|
||||
|
||||
## Research questions
|
||||
|
||||
- **RQ1. Benchmark.** What kinds of questions should a text-to-Cypher model not answer plainly over a
|
||||
real graph? Proposed categories: schema element missing, value missing, beyond Cypher, ambiguous
|
||||
entity (common names), outside the covered time span, aggregation over inferred links, and unsafe
|
||||
aggregation (result cap or timeout would truncate).
|
||||
- **RQ2. Training.** Does GRPO with an execution-verified, penalty-aware reward beat supervised
|
||||
fine-tuning on reliability, and how does the reward shape (binary, ternary, penalty-weighted,
|
||||
with a "qualified answer" outcome) trade accuracy against over-abstention?
|
||||
- **RQ3. Language.** How large is the German to English gap before and after training; does training
|
||||
in one language transfer; does translated training data suffice?
|
||||
- **RQ4. Generalisation.** Held-out schema regions (patents and companies unseen in training),
|
||||
compositional depth, paraphrases, and transfer to public graphs (a CypherBench graph extended with
|
||||
infeasible questions) so that the main results are reproducible without INSE data.
|
||||
- **RQ5. What changed?** Error taxonomy before and after RL; calibration of the decision to abstain.
|
||||
|
||||
## Method
|
||||
|
||||
1. **Dataset.** Templates filled from the graph, paraphrased by a larger model, in German and
|
||||
English, about 6,000 training and 1,200 test items, half answerable. Test entities and templates
|
||||
never occur in training. The open subgraph (OpenAlex, CORDIS, patents) is the release version; the
|
||||
full graph adds company and news questions for internal results.
|
||||
2. **Human validation (80 hours).** Two annotators validate about 400 test items for correctness of
|
||||
the label, category and German naturalness (kappa reported), and later classify about 300 model
|
||||
errors into the taxonomy.
|
||||
3. **Public counterpart.** The same infeasibility categories constructed on one CypherBench graph,
|
||||
which carries no real identity uncertainty; "aggregation over inferred links" is simulated there.
|
||||
4. **Models.** Qwen3-4B and 8B, Llama-3.1-8B, one Gemma model. Baselines: zero-shot and few-shot, a
|
||||
hosted large model, the public Neo4j text2cypher fine-tune, RL without abstention.
|
||||
5. **Training.** Unsloth QLoRA supervised fine-tuning, then GRPO. Reward from execution: result-set
|
||||
equivalence for answers, category match for abstentions, a graded reward for qualified answers
|
||||
(correct result plus correct flag), and a penalty c for wrong answers. Sweep c. Three seeds each.
|
||||
|
||||
## Evaluation
|
||||
|
||||
| Aspect | Measures |
|
||||
|---|---|
|
||||
| Answerable questions | Execution accuracy by result-set equivalence, by question type and hop count |
|
||||
| Reliability | TrustSQL-style score RS(c) for c in {0, 1, 10}; abstention precision, recall and F1 per category; over-abstention rate; risk-coverage curves |
|
||||
| Qualification | Share of uncertain-evidence questions answered with the correct flag; human usefulness rating on a sample |
|
||||
| Calibration | ECE of the answer-or-abstain decision; selective accuracy |
|
||||
| Language | German minus English gap per model and training regime; transfer matrix |
|
||||
| Generalisation | Held-out schema, depth, paraphrase; transfer to the CypherBench variant |
|
||||
| Cost | Tokens, latency, GPU hours per point of RS gained; data-efficiency curves |
|
||||
|
||||
Statistics: bootstrap intervals, McNemar between systems, three seeds, all prompts and decoding
|
||||
settings released.
|
||||
|
||||
## What gets released
|
||||
|
||||
Benchmark on the open subgraph in two languages, the CypherBench extension, LoRA adapters, reward and
|
||||
evaluation code.
|
||||
|
||||
## Schedule
|
||||
|
||||
| Weeks | Work |
|
||||
|---|---|
|
||||
| 1 to 4 | Common start; literature; category definitions |
|
||||
| 5 to 9 | Dataset generation, German versions, human validation |
|
||||
| 10 to 11 | Public counterpart on CypherBench |
|
||||
| 12 to 14 | Baselines and supervised fine-tuning |
|
||||
| 15 to 19 | GRPO, reward ablations, seeds |
|
||||
| 20 to 22 | Language and generalisation experiments |
|
||||
| 23 to 24 | Error taxonomy, calibration analysis |
|
||||
| 25 to 26 | Writing, paper draft |
|
||||
|
||||
Cut order if late: drop the third and fourth base model, then the qualified-answer outcome (keep
|
||||
answer versus abstain). Never cut the public counterpart; without it the NLP community cannot
|
||||
reproduce the main table.
|
||||
|
||||
## Risks
|
||||
|
||||
- **A close paper appears.** The space moves fast. Mitigation: the combination of uncertain-evidence
|
||||
questions, a real multi-source graph and German is hard to replicate; submit a dataset paper early.
|
||||
- **RL collapses into always abstaining or never abstaining.** Known from TruthRL-style training.
|
||||
Mitigation: balanced batches, penalty sweep, KL control, report the failure honestly if it persists.
|
||||
- **Template artefacts.** Models learn templates rather than semantics. Mitigation: paraphrase
|
||||
diversity, template-held-out test split, human-written subset of 150 questions.
|
||||
|
||||
## Reading list to start from
|
||||
|
||||
arXiv 2403.15879, 2212.10189, 2403.10849, 2509.25760, 2604.22779, 2605.25850, 2607.10738, 2506.21445,
|
||||
2601.16097, 2412.18702, 2511.08274, 2606.08481, 2606.27742, 2606.14325; Applied Sciences 15(15):8206;
|
||||
"Why Uncertainty Estimation Methods Fall Short in RAG" (Findings of ACL 2025). All identifiers come from
|
||||
a literature search on 2026-09-17 and must be verified.
|
||||
@@ -0,0 +1,129 @@
|
||||
# Plan C (information retrieval): Does the graph find the right people?
|
||||
|
||||
**Working title:** Does the graph find the right people? A leakage-free evaluation of graph-augmented
|
||||
expert and industry-partner retrieval for technology transfer
|
||||
|
||||
**Target venues:** SIGIR (short or resource paper), ECIR, CIKM, ICTIR. Alternative: JCDL.
|
||||
|
||||
## The problem in one paragraph
|
||||
|
||||
INSE exists to help scouts find the right researcher for a topic and the right partner for a
|
||||
researcher. Today that is keyword and vector search over profiles. The graph adds collaboration,
|
||||
projects, patents, per-paper industry affiliations and time. Whether that improves ranking is an
|
||||
empirical question, and the usual way to answer it with LLM-based rankers is broken: a model that has
|
||||
read the web up to 2025 already "knows" who collaborated with whom, so evaluating on past events
|
||||
measures memory, not retrieval. This thesis builds a test collection with two kinds of ground truth,
|
||||
human relevance judgments and events that happened after the models' knowledge cutoff, and uses it to
|
||||
compare text, graph and LLM rankers, including a reranker fine-tuned on supervision derived from the
|
||||
graph itself.
|
||||
|
||||
## Gap and closest related work
|
||||
|
||||
- Partner and collaboration recommendation is studied with graph learning on single sources:
|
||||
university-industry recommendation on a topic-institution graph (Scientometrics, 2025), technological
|
||||
partner recommendation from patents with temporal heterogeneous graphs (Information Processing and
|
||||
Management, 2025), hypergraph link prediction for collaboration (2026). They use one data source,
|
||||
institutions rather than people, and no LLM.
|
||||
- "Can LLMs Predict Academic Collaboration?" (arXiv 2604.01379) compares topology heuristics with LLM
|
||||
link prediction on co-authorship only, and temporal leakage is the open issue. Work on LLM
|
||||
backtesting shows how strongly leakage inflates results (arXiv 2602.17234, 2605.03762, 2605.18843).
|
||||
- STaRK-MAG (NeurIPS D&B 2024, arXiv 2404.13207) evaluates retrieval over a scholarly graph with
|
||||
synthetic queries for papers, not people, and without time.
|
||||
- GraphRAG versus RAG comparisons (arXiv 2506.05690, 2502.11371, 2604.09666) use text corpora and
|
||||
question answering, not ranking of people with graded relevance.
|
||||
- Classic expert-finding test collections (W3C, CERC, academic collections) predate LLM rankers and
|
||||
multi-source graphs. There is no current collection for expert finding in a German research setting.
|
||||
|
||||
## Tasks
|
||||
|
||||
- **T1 Expert finding.** Query: a topic or need as a scout would phrase it, in German or English.
|
||||
Result: ranked UDE researchers.
|
||||
- **T2 Partner recommendation.** Query: a researcher. Result: ranked companies (OpenAlex institutions
|
||||
of type `company`) the researcher is likely to start working with.
|
||||
|
||||
## Research questions
|
||||
|
||||
- **RQ1.** Does graph evidence improve ranking beyond text? Which evidence (co-authorship, projects,
|
||||
patents, per-paper industry affiliation, recency) carries the gain, for T1 and T2 separately?
|
||||
- **RQ2.** Can a small reranker fine-tuned on supervision derived from the graph (future links as
|
||||
positives, topic-similar non-links as hard negatives) match a large zero-shot LLM reranker at a
|
||||
fraction of the cost?
|
||||
- **RQ3.** How much of an LLM ranker's quality is parametric memory? Compare events before and after
|
||||
the model's knowledge cutoff, and rankings with researcher names masked.
|
||||
- **RQ4.** Who benefits? Exposure of early-career versus established researchers under each ranker,
|
||||
and sensitivity of rankings to identity errors (junk company institutions, over-merged profiles).
|
||||
|
||||
## Method
|
||||
|
||||
1. **Temporal split.** Freeze the graph at a cut date T (end of 2023 for training signals). Test
|
||||
events after T: first-time per-paper industry affiliations (`INVOLVES` to a company with no earlier
|
||||
joint work), new patents, new CORDIS and DFG project participations. A second, smaller test set uses
|
||||
only events after the newest evaluated model's knowledge cutoff.
|
||||
2. **Topics.** 50 to 60 T1 topics drawn from real material: CORDIS call topics, IPC class
|
||||
descriptions, news themes, and needs phrased by the chair's transfer contacts, each in German and
|
||||
English. T2 uses about 300 researchers with at least one post-T event.
|
||||
3. **Relevance judgments (80 hours).** Pooled top-20 of all systems per T1 topic, graded 0 to 3 by two
|
||||
annotators with an overlap sample for agreement: about 1,500 to 2,000 judgments at two to three
|
||||
minutes each. Profiles shown to annotators come from public OpenAlex data.
|
||||
4. **Systems.** BM25 and dense e5 retrieval over researcher profiles (both exist in INSE), hybrid;
|
||||
graph rankers (personalised PageRank, meta-path counts, a temporal graph neural network); LLM
|
||||
listwise reranker with and without a verbalised evidence subgraph; the fine-tuned reranker
|
||||
(Unsloth, 4 to 8B, trained on graph-derived pairs); an agentic system using the graph through MCP
|
||||
as the high-cost reference.
|
||||
5. **Leakage controls.** Name masking, pre- versus post-cutoff comparison, and a check that no
|
||||
retrieval document postdates T.
|
||||
|
||||
## Evaluation
|
||||
|
||||
| Aspect | Measures |
|
||||
|---|---|
|
||||
| T1 effectiveness | nDCG@10, MAP, Recall@100 on human judgments; German versus English queries |
|
||||
| T2 effectiveness | MRR, Hits@10, nDCG@10 on post-T events; separately on post-cutoff events |
|
||||
| Evidence ablation | Drop one edge type at a time; recency decay on or off |
|
||||
| Fine-tuning | Reranker versus zero-shot large LLM: effectiveness, tokens, latency, GPU hours; training-size curve |
|
||||
| Leakage | Performance difference pre- versus post-cutoff and masked versus unmasked, per ranker |
|
||||
| Exposure and robustness | Share of top-10 exposure by career stage; rank change after removing junk institutions and suspected merged profiles |
|
||||
|
||||
Statistics: paired randomisation tests with Holm correction, confidence intervals by bootstrap over
|
||||
topics, inter-annotator agreement (kappa, and Krippendorff's alpha for graded labels).
|
||||
|
||||
## What gets released
|
||||
|
||||
The test collection (topics in two languages, graded judgments on public OpenAlex author IDs,
|
||||
post-T event lists from open sources), the temporal split protocol, reranker adapters and code.
|
||||
Company-register and news evidence is used internally only.
|
||||
|
||||
## Schedule
|
||||
|
||||
| Weeks | Work |
|
||||
|---|---|
|
||||
| 1 to 4 | Common start; literature; temporal split and event extraction |
|
||||
| 5 to 7 | Topics, annotation guidelines, text baselines |
|
||||
| 8 to 11 | Graph rankers, first pooled runs |
|
||||
| 12 to 15 | Relevance judgments (annotators), agreement |
|
||||
| 16 to 19 | LLM rerankers and the fine-tuned reranker |
|
||||
| 20 to 22 | Leakage, ablation, exposure and robustness analyses |
|
||||
| 23 to 24 | Second pooling round for late systems, significance testing |
|
||||
| 25 to 26 | Writing, paper draft |
|
||||
|
||||
Cut order if late: drop the agentic reference system, then T2's graph neural network (keep PageRank
|
||||
and meta-paths). Never cut the post-cutoff test set; it is the contribution.
|
||||
|
||||
## Risks
|
||||
|
||||
- **Too few post-cutoff events.** UDE alone yields a limited number of first-time industry links per
|
||||
year. Mitigation: add the other two default organisations (Bochum, Dortmund) with the same loader,
|
||||
which triples the cohort at no engineering cost.
|
||||
- **Pooling bias against systems added late.** Mitigation: a second pooling round in weeks 23 to 24,
|
||||
and report condensed-list metrics.
|
||||
- **Identity errors contaminate ground truth.** A "new industry link" may be a mis-resolved
|
||||
institution. Mitigation: per-paper affiliations only (not author-level), a manual check of a sample
|
||||
of test events, and junk-institution filtering documented in the thesis.
|
||||
|
||||
## Reading list to start from
|
||||
|
||||
arXiv 2404.13207, 2604.01379, 2607.04529, 2602.17234, 2605.03762, 2605.18843, 2506.05690, 2502.11371,
|
||||
2604.09666; "Recommending university-industry collaboration: a topic-institution graph-based solution"
|
||||
(Scientometrics, 2025); "From patents to partners" (Information Processing and Management, 2025);
|
||||
"Guiding retrieval using LLM-based listwise rankers" (ECIR 2025). All identifiers come from a
|
||||
literature search on 2026-09-17 and must be verified.
|
||||
@@ -0,0 +1,282 @@
|
||||
# Query cookbook for the `ude` graph
|
||||
|
||||
Cypher examples for the whole-university graph built by `bulk_load.py` (FalkorDB Browser at
|
||||
http://localhost:3000, graph `ude`, or `FalkorDB(host="localhost").select_graph("ude").ro_query(...)`).
|
||||
Every example was run against the graph on 2026-09-15; timings are from that run.
|
||||
|
||||
Conventions:
|
||||
|
||||
- `Author` nodes of the university's own researchers carry the extra label `Cohort` (indexed).
|
||||
Start queries there whenever you can.
|
||||
- `CO_AUTHOR` edges are undirected in meaning (stored from the smaller to the larger author id);
|
||||
match them without an arrow: `(a)-[c:CO_AUTHOR]-(b)`.
|
||||
- Aggregations render as tables. To see a graph, return nodes and relationships (or paths).
|
||||
- Queries that touch the whole graph take 2 to 20 s; raise the browser's timeout first
|
||||
(`docker exec pensive_tu redis-cli GRAPH.CONFIG SET TIMEOUT 60000`).
|
||||
- Results are capped at 10,000 rows by the server (`RESULTSET_SIZE`).
|
||||
|
||||
## Overview
|
||||
|
||||
```cypher
|
||||
MATCH (n) RETURN labels(n), count(n) ORDER BY count(n) DESC
|
||||
```
|
||||
```cypher
|
||||
MATCH ()-[r]->() RETURN type(r), count(r) ORDER BY count(r) DESC
|
||||
```
|
||||
|
||||
Everything around one researcher, for the canvas:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort {name: 'Nikolai Axmacher'})-[r]-(n) RETURN a, r, n LIMIT 300
|
||||
```
|
||||
|
||||
Source coverage of the cohort (works, projects, patents, news, companies):
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)
|
||||
OPTIONAL MATCH (a)-[:AUTHORED]->(w:Work) WITH a, count(DISTINCT w) AS works
|
||||
OPTIONAL MATCH (a)-[:CONTRIBUTED_TO|DFG_ROLE]->(p:Project) WITH a, works, count(DISTINCT p) AS projects
|
||||
OPTIONAL MATCH (a)-[:INVENTOR_OF]->(pt:Patent) WITH a, works, projects, count(DISTINCT pt) AS patents
|
||||
OPTIONAL MATCH (a)-[:MENTIONED_IN]->(n:NewsArticle) WITH a, works, projects, patents, count(DISTINCT n) AS news
|
||||
OPTIONAL MATCH (a)-[:OFFICER_OF]->(c:Company) WITH a, works, projects, patents, news, count(DISTINCT c) AS companies
|
||||
RETURN count(a) AS cohort,
|
||||
sum(CASE WHEN works > 0 THEN 1 ELSE 0 END) AS with_works,
|
||||
sum(CASE WHEN projects > 0 THEN 1 ELSE 0 END) AS with_projects,
|
||||
sum(CASE WHEN patents > 0 THEN 1 ELSE 0 END) AS with_patents,
|
||||
sum(CASE WHEN news > 0 THEN 1 ELSE 0 END) AS with_news,
|
||||
sum(CASE WHEN companies > 0 THEN 1 ELSE 0 END) AS with_companies
|
||||
```
|
||||
|
||||
## Topics, subfields, fields and domains of the institution
|
||||
|
||||
The path from the institution: `Institution <-[:REPRESENTS]- Organization <-[:MEMBER_OF]- Cohort`.
|
||||
|
||||
Domains with counts (2.1 s):
|
||||
|
||||
```cypher
|
||||
MATCH (:Institution {id: 'I62318514'})<-[:REPRESENTS]-(:Organization)<-[:MEMBER_OF]-(:Cohort)-[:AUTHORED]->(w:Work)
|
||||
-[:HAS_TOPIC]->(t:Topic)-[:IN_SUBFIELD]->(s:Subfield)-[:IN_FIELD]->(f:Field)-[:IN_DOMAIN]->(d:Domain)
|
||||
RETURN d.name AS domain, count(DISTINCT f) AS fields, count(DISTINCT s) AS subfields,
|
||||
count(DISTINCT t) AS topics, count(DISTINCT w) AS works
|
||||
ORDER BY works DESC
|
||||
```
|
||||
|
||||
Full hierarchy table, strongest topics first (2.4 s; drop `LIMIT` for all 4,336 topics):
|
||||
|
||||
```cypher
|
||||
MATCH (:Institution {id: 'I62318514'})<-[:REPRESENTS]-(:Organization)<-[:MEMBER_OF]-(:Cohort)-[:AUTHORED]->(w:Work)
|
||||
-[:HAS_TOPIC]->(t:Topic)-[:IN_SUBFIELD]->(s:Subfield)-[:IN_FIELD]->(f:Field)-[:IN_DOMAIN]->(d:Domain)
|
||||
RETURN d.name AS domain, f.name AS field, s.name AS subfield, t.name AS topic, count(DISTINCT w) AS works
|
||||
ORDER BY works DESC LIMIT 100
|
||||
```
|
||||
|
||||
Fields by number of researchers, using OpenAlex's author-level topics (0.1 s):
|
||||
|
||||
```cypher
|
||||
MATCH (:Institution {id: 'I62318514'})<-[:REPRESENTS]-(:Organization)<-[:MEMBER_OF]-(a:Cohort)-[:WORKS_ON]->(t:Topic)
|
||||
-[:IN_SUBFIELD]->(s:Subfield)-[:IN_FIELD]->(f:Field)-[:IN_DOMAIN]->(d:Domain)
|
||||
RETURN d.name AS domain, f.name AS field, count(DISTINCT a) AS researchers, count(DISTINCT t) AS topics
|
||||
ORDER BY researchers DESC
|
||||
```
|
||||
|
||||
### Graph versions via the research profile edges
|
||||
|
||||
The `profile` phase materialises `(Institution)-[:ACTIVE_IN {level, works, researchers}]->(Topic|Subfield|Field|Domain)`,
|
||||
so the counts live on drawable edges. Set the node caption of Domain/Field/Subfield/Topic to `name`.
|
||||
|
||||
Domains as a star around the institution, and domains with their fields:
|
||||
|
||||
```cypher
|
||||
MATCH (i:Institution {id: 'I62318514'})-[r:ACTIVE_IN]->(d:Domain) RETURN i, r, d
|
||||
```
|
||||
```cypher
|
||||
MATCH (i:Institution {id: 'I62318514'})-[r:ACTIVE_IN]->(f:Field)-[c:IN_DOMAIN]->(d:Domain)
|
||||
RETURN i, r, f, c, d
|
||||
```
|
||||
|
||||
Tree of the strongest topics attached to the institution (lower `800` to widen; add
|
||||
`AND d.name = 'Physical Sciences'` for one domain):
|
||||
|
||||
```cypher
|
||||
MATCH (i:Institution {id: 'I62318514'})-[r:ACTIVE_IN {level: 'topic'}]->(t:Topic) WHERE r.works >= 800
|
||||
MATCH (t)-[a:IN_SUBFIELD]->(s:Subfield)-[b:IN_FIELD]->(f:Field)-[c:IN_DOMAIN]->(d:Domain)
|
||||
RETURN i, r, t, a, s, b, f, c, d
|
||||
```
|
||||
|
||||
Fields by researchers:
|
||||
|
||||
```cypher
|
||||
MATCH (i:Institution {id: 'I62318514'})-[r:ACTIVE_IN]->(f:Field) WHERE r.researchers >= 300
|
||||
RETURN i, r, f
|
||||
```
|
||||
|
||||
Without materialised edges: aggregate in a `WITH`, keep the top nodes, match the hierarchy again
|
||||
and return nodes and relationships (the counts are not shown, the institution is not connected):
|
||||
|
||||
```cypher
|
||||
MATCH (:Institution {id: 'I62318514'})<-[:REPRESENTS]-(:Organization)<-[:MEMBER_OF]-(:Cohort)-[:AUTHORED]->(w:Work)-[:HAS_TOPIC]->(t:Topic)
|
||||
WITH t, count(DISTINCT w) AS works ORDER BY works DESC LIMIT 40
|
||||
MATCH (t)-[a:IN_SUBFIELD]->(s:Subfield)-[b:IN_FIELD]->(f:Field)-[c:IN_DOMAIN]->(d:Domain)
|
||||
RETURN t, a, s, b, f, c, d
|
||||
```
|
||||
|
||||
## Collaboration
|
||||
|
||||
Strongest collaborations inside the university:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[c:CO_AUTHOR]->(b:Cohort)
|
||||
RETURN a.name, b.name, c.weight, c.first_year, c.last_year ORDER BY c.weight DESC LIMIT 20
|
||||
```
|
||||
|
||||
Top external partner institutions (4 s):
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[:CO_AUTHOR]-(b:Author)-[:AFFILIATED_WITH]->(i:Institution)
|
||||
WHERE NOT b:Cohort AND i.id <> 'I62318514'
|
||||
RETURN i.name, i.country_code, count(DISTINCT b) AS partners ORDER BY partners DESC LIMIT 20
|
||||
```
|
||||
|
||||
## Industry collaborations
|
||||
|
||||
OpenAlex types institutions as `education`, `healthcare`, `company`, `government`, `nonprofit`,
|
||||
`facility`, `funder` or `other`; the value is stored as `Institution.type`. Industry means
|
||||
`type = 'company'`. Two caveats: OpenAlex contains junk "companies" resolved from generic
|
||||
affiliation strings (`Faculty (United Kingdom)`, `Signal Processing (United States)`,
|
||||
`Engineering (Italy)`), and the author-level `AFFILIATED_WITH` edge is not tied to a paper, so a
|
||||
co-author who was ever at a company counts on every shared work. The `affiliations` phase adds the
|
||||
per-work view: `AUTHORED.institution_ids` and `(Work)-[:INVOLVES {authors}]->(Institution)`.
|
||||
Prefer the per-work queries below; the author-level ones are kept as a quick approximation.
|
||||
|
||||
How much it matters (validated 2026-09-15): for Daniel Erni the per-work view gives 10 industry
|
||||
co-publications with 4 companies (IBM, CETC, CSEM, ID Quantique), the author-level view claims 61
|
||||
joint works with 8 companies. University-wide, 15,569 works involve 3,874 companies. A further
|
||||
caveat is OpenAlex author disambiguation: a few cohort profiles are merged with namesakes
|
||||
(`Róbert Langer` carries the MIT chemist's industry ties), so check `orcid` before trusting an outlier.
|
||||
|
||||
### Per work (precise)
|
||||
|
||||
Companies on the papers of one researcher, with the co-authors who were at the company on that paper:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort {name: 'Daniel Erni'})-[:AUTHORED]->(w:Work)-[:INVOLVES]->(i:Institution {type: 'company'})
|
||||
MATCH (w)<-[e:AUTHORED]-(b:Author) WHERE i.id IN e.institution_ids
|
||||
RETURN i.name AS company, i.country_code AS country, count(DISTINCT w) AS works,
|
||||
collect(DISTINCT b.name)[0..4] AS company_coauthors
|
||||
ORDER BY works DESC
|
||||
```
|
||||
|
||||
The same as a graph (researcher, shared works, companies):
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort {name: 'Daniel Erni'})-[x:AUTHORED]->(w:Work)-[v:INVOLVES]->(i:Institution {type: 'company'})
|
||||
RETURN a, x, w, v, i
|
||||
```
|
||||
|
||||
Industry partners of researchers from a field (author-level OpenAlex topics define the field):
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[:WORKS_ON]->(:Topic)-[:IN_SUBFIELD]->()-[:IN_FIELD]->(:Field {name: 'Engineering'})
|
||||
WITH DISTINCT a
|
||||
MATCH (a)-[:AUTHORED]->(w:Work)-[:INVOLVES]->(i:Institution {type: 'company'})
|
||||
RETURN i.name AS company, i.country_code AS country,
|
||||
count(DISTINCT a) AS ude_researchers, count(DISTINCT w) AS joint_works
|
||||
ORDER BY ude_researchers DESC LIMIT 25
|
||||
```
|
||||
|
||||
Researchers of a field ranked by industry ties:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[:WORKS_ON]->(:Topic)-[:IN_SUBFIELD]->()-[:IN_FIELD]->(:Field {name: 'Engineering'})
|
||||
WITH DISTINCT a
|
||||
MATCH (a)-[:AUTHORED]->(w:Work)-[:INVOLVES]->(i:Institution {type: 'company'})
|
||||
RETURN a.name, count(DISTINCT i) AS companies, count(DISTINCT w) AS works, collect(DISTINCT i.name)[0..3] AS sample
|
||||
ORDER BY companies DESC LIMIT 20
|
||||
```
|
||||
|
||||
Industry co-publications per year for one researcher:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort {name: 'Daniel Erni'})-[:AUTHORED]->(w:Work)-[:INVOLVES]->(i:Institution {type: 'company'})
|
||||
RETURN w.year, count(DISTINCT w) AS works, collect(DISTINCT i.name)[0..3] AS companies
|
||||
ORDER BY w.year DESC
|
||||
```
|
||||
|
||||
Graph view for a field: researchers, their industry co-authored works and the companies
|
||||
(the `LIMIT` keeps the canvas readable):
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[:WORKS_ON]->(:Topic)-[:IN_SUBFIELD]->()-[:IN_FIELD]->(:Field {name: 'Engineering'})
|
||||
WITH DISTINCT a
|
||||
MATCH (a)-[x:AUTHORED]->(w:Work)-[v:INVOLVES]->(i:Institution {type: 'company'})
|
||||
WITH a, x, w, v, i ORDER BY w.year DESC LIMIT 200
|
||||
RETURN a, x, w, v, i
|
||||
```
|
||||
|
||||
### Author level (approximate, no `affiliations` phase needed)
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort {name: 'Daniel Erni'})-[c:CO_AUTHOR]-(b:Author)-[:AFFILIATED_WITH]->(i:Institution {type: 'company'})
|
||||
RETURN i.name AS company, i.country_code AS country, collect(DISTINCT b.name)[0..3] AS coauthors, sum(c.weight) AS joint_works
|
||||
ORDER BY joint_works DESC LIMIT 20
|
||||
```
|
||||
```cypher
|
||||
MATCH (a:Cohort {name: 'Daniel Erni'})-[c:CO_AUTHOR]-(b:Author)-[f:AFFILIATED_WITH]->(i:Institution {type: 'company'})
|
||||
RETURN a, c, b, f, i
|
||||
```
|
||||
|
||||
### Handelsregister links (founders and officers, not co-authorship)
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[r:OFFICER_OF]->(c:Company)
|
||||
RETURN a.name, c.name, c.registered_office, r.positions ORDER BY a.name LIMIT 50
|
||||
```
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[r:OFFICER_OF]->(c:Company) RETURN a, r, c LIMIT 200
|
||||
```
|
||||
|
||||
## Projects, funders, patents, news
|
||||
|
||||
Projects per source and link type:
|
||||
|
||||
```cypher
|
||||
MATCH (x)-[r:OUTPUT_OF|CONTRIBUTED_TO|DFG_ROLE|PARTICIPATES_IN]->(p:Project)
|
||||
RETURN p.source, type(r), count(r) ORDER BY p.source, count(r) DESC
|
||||
```
|
||||
|
||||
EU consortium partners of the university:
|
||||
|
||||
```cypher
|
||||
MATCH (:Institution {id: 'I62318514'})-[:PARTICIPATES_IN]->(p:Project)<-[:PARTICIPATES_IN]-(o:EuOrganization)
|
||||
WHERE o.name <> 'UNIVERSITAET DUISBURG-ESSEN'
|
||||
RETURN o.name, o.country, count(DISTINCT p) AS shared ORDER BY shared DESC LIMIT 20
|
||||
```
|
||||
|
||||
Funders of the cohort (author level):
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[r:FUNDED_BY]->(f:Funder)
|
||||
RETURN f.name, count(a) AS researchers, sum(r.publications) AS publications ORDER BY researchers DESC LIMIT 20
|
||||
```
|
||||
|
||||
Patents with their OpenAlex topics:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Author)-[:INVENTOR_OF]->(p:Patent)
|
||||
OPTIONAL MATCH (p)-[:HAS_TOPIC]->(t:Topic)
|
||||
RETURN a.name, p.source, p.year, left(p.title, 60), collect(t.name)[0..2] ORDER BY p.year DESC LIMIT 20
|
||||
```
|
||||
|
||||
News mentions with topics:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Cohort)-[m:MENTIONED_IN]->(n:NewsArticle) OPTIONAL MATCH (n)-[:HAS_TOPIC]->(t:Topic)
|
||||
RETURN a.name, n.title, n.date, m.ambiguous, collect(DISTINCT t.name)[0..3] ORDER BY n.date DESC LIMIT 20
|
||||
```
|
||||
|
||||
Work classifications (LLM):
|
||||
|
||||
```cypher
|
||||
MATCH (w:Work) WHERE w.primary_category IS NOT NULL
|
||||
RETURN w.primary_category, count(w) ORDER BY count(w) DESC
|
||||
```
|
||||
@@ -0,0 +1,289 @@
|
||||
# FalkorDB example: a researcher graph from the INSE sources
|
||||
|
||||
`load_graph.py` builds a small knowledge graph in [FalkorDB](https://www.falkordb.com/) around a
|
||||
couple of researchers from the predefined ("default") organizations in
|
||||
`src/data/predefined_accounts.json`, i.e. Universität Duisburg-Essen (`I62318514`),
|
||||
Ruhr-Universität Bochum (`I904495901`) and TU Dortmund (`I200332995`).
|
||||
|
||||
It does not talk to OpenAlex, EPO or CORDIS directly. Every fact comes from the backend's existing
|
||||
source logic in `src/main/inse`, which reads the INSE Elasticsearch mirrors, so the graph shows
|
||||
exactly what the REST API can already see:
|
||||
|
||||
| Source | Backend function | Graph |
|
||||
| --- | --- | --- |
|
||||
| OpenAlex authors (profile, ORCID, metrics, affiliations, topics) | `authors.v2.service.search_authors` / `get_author_by_id_strict_or_raise` | `Author`, `Institution`, `Topic`, `AFFILIATED_WITH`, `WORKS_ON` |
|
||||
| OpenAlex works incl. co-authors and their institutions | `works.v2.service.get_author_works` | `Work`, `AUTHORED`, `HAS_TOPIC`, co-author `Author`s |
|
||||
| CORDIS (EU) and DFG projects, bridged through publication DOIs | `works.logic.get_publication_dois_of_author`, `projects.projects_search_client.get_cordis_eu_project_ids_by_dois` / `get_dfg_project_ids_by_dois`, `get_enriched_cordis_project_by_id`, `get_dfg_project_by_id` | `Project`, `CONTRIBUTED_TO` |
|
||||
| EPO + USPTO patents (name matching with institution guard) | `patents.authors.logic.get_patents_by_author_id` | `Patent`, `INVENTOR_OF`, `HAS_TOPIC` |
|
||||
| Funders of the author's funded publications | `funders.logic.get_funders_by_author_id` | `Funder`, `FUNDED_BY` (author and work level) |
|
||||
| News mentions (UDE "aktuell", CC-News) | `news.logic.get_news_by_author` | `NewsArticle`, `MENTIONED_IN`, `HAS_TOPIC` |
|
||||
| Handelsregister officer matches | `company_connections.logic.get_company_connections_by_author_id` | `Company`, `OFFICER_OF` |
|
||||
| Predefined organizations | `src/data/predefined_accounts.json`, `institutions.v2.service.get_institution_by_id` | `Organization`, `REPRESENTS`, `MEMBER_OF` |
|
||||
|
||||
Co-authorship is not computed in Python. After loading, one Cypher query derives
|
||||
`(:Author)-[:CO_AUTHOR {weight, first_year, last_year}]->(:Author)` from the `AUTHORED` edges,
|
||||
which is the part the in-service collaboration-graph API currently leaves to the client.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. A FalkorDB server. The quickest way is the official image, which also serves a browser UI on
|
||||
port 3000:
|
||||
|
||||
```bash
|
||||
docker run -d --name falkordb -p 6379:6379 -p 3000:3000 falkordb/falkordb:latest
|
||||
```
|
||||
|
||||
2. The service image `inse-service:1.0.0` (built by `./gradlew :service:createImage`, and already
|
||||
present if you ever ran `./gradlew :service:serve`). The script imports the `inse` package, whose
|
||||
`util` module pulls in sentence-transformers/torch, so the image is the easiest runtime that has
|
||||
every dependency. `src/main/inse/.env` must contain the Elasticsearch credentials as usual.
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
cd service
|
||||
scripts/falkordb/run.sh # 2 researchers per default organization
|
||||
scripts/falkordb/run.sh --reset --organization Duisburg --per-org 3
|
||||
scripts/falkordb/run.sh --author-id A5040796987 --author-id A5122994949 # explicit researchers, added incrementally
|
||||
scripts/falkordb/run.sh --no-write --dump /scripts/falkordb/graph.json # collect only, inspect the JSON
|
||||
scripts/falkordb/run.sh --help
|
||||
```
|
||||
|
||||
`run.sh` starts a throwaway container from the service image, mounts `src/main`, `src/data` and
|
||||
`scripts`, installs `falkordb` from `requirements.txt` and reaches the server on the host through
|
||||
`host.docker.internal`. Override the target with `FALKORDB_HOST`, `FALKORDB_PORT`,
|
||||
`FALKORDB_PASSWORD` and `FALKORDB_GRAPH` (default graph name `inse`).
|
||||
|
||||
Loads are idempotent: every node and edge is `MERGE`d on its `id`, so re-running or adding
|
||||
researchers with `--author-id` extends the same graph. `--reset` drops the graph right before
|
||||
writing, after all sources were collected. One failing source is logged and skipped, it does not
|
||||
abort the load.
|
||||
|
||||
A default run (six researchers, 40 works each) takes a few minutes and ends with roughly 2,300 nodes
|
||||
and 9,000 relationships. The slow parts are the DOI-to-project lookups (one detail query per hit)
|
||||
and the EPO/USPTO scans for common names.
|
||||
|
||||
### How the researchers are picked
|
||||
|
||||
For each organization the script reuses the backend's active-cohort membership query
|
||||
(`authors.institution_membership_query.build_institution_membership_query`, last known institution
|
||||
plus an affiliation since the current year minus two) and then narrows the candidates so the graph
|
||||
stays small and well disambiguated:
|
||||
|
||||
- `works_count` within `--min-works`/`--max-works` (default 20 to 300) to skip hyper-authorship
|
||||
profiles from large collaborations,
|
||||
- an ORCID unless `--no-require-orcid` is given,
|
||||
- every last known institution inside the organization's OpenAlex lineage, which drops merged
|
||||
profiles that also "currently" belong to unrelated institutions,
|
||||
- sorted by `works_count`, then `cited_by_count`.
|
||||
|
||||
Works with more than `--max-authors-per-work` authors (default 30) keep their `Work` node but only
|
||||
the seed researcher's own `AUTHORED` edge, so a single CERN paper cannot add a thousand co-authors.
|
||||
|
||||
## Schema
|
||||
|
||||
Node labels, all keyed by `id` (OpenAlex ids are stored without the `https://openalex.org/` prefix,
|
||||
patents as `<source>:<patent_id>`, projects as `cordis:<id>` / `dfg:<id>`):
|
||||
|
||||
| Label | Properties |
|
||||
| --- | --- |
|
||||
| `Organization` | `name`, `openalex_institution_id` |
|
||||
| `Institution` | `name`, `ror`, `country_code`, `type` |
|
||||
| `Author` | `name`, `orcid`, `works_count`, `cited_by_count`, `h_index`, `i10_index`, `seed` (true for the selected researchers, false for co-authors) |
|
||||
| `Work` | `title`, `year`, `type`, `language`, `cited_by_count`, `authors_count`, `hyperauthorship` |
|
||||
| `Topic` | `name`, `subfield`, `field`, `domain` |
|
||||
| `Project` | `source` (`cordis`/`dfg`), `source_id`, `title`, `acronym`, `start`, `end`, `funding_scheme`, `status`, `ec_max_contribution`, `url` |
|
||||
| `Patent` | `patent_id`, `source` (EPO/USPTO), `title`, `year`, `publication_date`, `kind`, `status`, `country`, `ipc[]`, `assignees[]`, `inventors[]` |
|
||||
| `Funder` | `name` |
|
||||
| `NewsArticle` | `title`, `date`, `url` |
|
||||
| `Company` | `name`, `status`, `registered_office`, `register` |
|
||||
|
||||
Relationships:
|
||||
|
||||
| Relationship | Properties |
|
||||
| --- | --- |
|
||||
| `(Organization)-[:REPRESENTS]->(Institution)` | |
|
||||
| `(Author)-[:MEMBER_OF]->(Organization)` | |
|
||||
| `(Author)-[:AFFILIATED_WITH]->(Institution)` | `years[]`, `last_known` (seed profiles only) |
|
||||
| `(Author)-[:WORKS_ON]->(Topic)` | `score` |
|
||||
| `(Author)-[:AUTHORED]->(Work)` | `position`, `corresponding` |
|
||||
| `(Author)-[:CO_AUTHOR]->(Author)` | `weight`, `first_year`, `last_year` (derived in FalkorDB, `a.id < b.id`) |
|
||||
| `(Work)-[:HAS_TOPIC]->(Topic)`, `(Patent)-[:HAS_TOPIC]->(Topic)`, `(NewsArticle)-[:HAS_TOPIC]->(Topic)` | `score` (works) |
|
||||
| `(Author)-[:CONTRIBUTED_TO]->(Project)` | `via` = `publication_doi` |
|
||||
| `(Author)-[:INVENTOR_OF]->(Patent)` | |
|
||||
| `(Author)-[:FUNDED_BY]->(Funder)` | `publications` |
|
||||
| `(Work)-[:FUNDED_BY]->(Funder)` | only for works that are in the graph |
|
||||
| `(Author)-[:MENTIONED_IN]->(NewsArticle)` | `matching` = `display_name` |
|
||||
| `(Author)-[:OFFICER_OF]->(Company)` | `positions[]`, `matching_method`, `common_name_warning` |
|
||||
|
||||
## Example queries
|
||||
|
||||
The queries for the whole-university graph `ude` are collected in [QUERIES.md](QUERIES.md).
|
||||
The ones below target the small `inse` example graph.
|
||||
|
||||
Paste these into the FalkorDB browser (http://localhost:3000, graph `inse`) or run them with the
|
||||
Python client (`FalkorDB(host="localhost").select_graph("inse").ro_query(...)`).
|
||||
|
||||
Everything around one researcher, for the visual explorer:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Author {seed: true})-[r]-(n) WHERE a.name STARTS WITH 'Nikolai' RETURN a, r, n LIMIT 200
|
||||
```
|
||||
|
||||
Seed researchers per organization with counts per source:
|
||||
|
||||
```cypher
|
||||
MATCH (o:Organization)<-[:MEMBER_OF]-(a:Author)
|
||||
OPTIONAL MATCH (a)-[:AUTHORED]->(w:Work)
|
||||
OPTIONAL MATCH (a)-[:CONTRIBUTED_TO]->(p:Project)
|
||||
OPTIONAL MATCH (a)-[:INVENTOR_OF]->(pt:Patent)
|
||||
OPTIONAL MATCH (a)-[:OFFICER_OF]->(c:Company)
|
||||
RETURN o.name, a.name, count(DISTINCT w) AS works, count(DISTINCT p) AS projects,
|
||||
count(DISTINCT pt) AS patents, count(DISTINCT c) AS companies
|
||||
ORDER BY o.name, a.name
|
||||
```
|
||||
|
||||
Strongest co-authors and where they sit:
|
||||
|
||||
```cypher
|
||||
MATCH (s:Author {seed: true})-[c:CO_AUTHOR]-(o:Author)-[:AFFILIATED_WITH]->(i:Institution)
|
||||
WITH s, o, c, collect(DISTINCT i.name) AS insts ORDER BY c.weight DESC
|
||||
RETURN s.name, collect(o.name + ' (' + toString(c.weight) + ') @ ' + insts[0])[0..5] AS top
|
||||
```
|
||||
|
||||
Topics shared by two of the selected researchers:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Author {seed: true})-[:WORKS_ON]->(t:Topic)<-[:WORKS_ON]-(b:Author {seed: true})
|
||||
WHERE a.id < b.id RETURN a.name, b.name, collect(t.name) AS topics
|
||||
```
|
||||
|
||||
Funders that several selected researchers share:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Author {seed: true})-[:FUNDED_BY]->(f:Funder)<-[:FUNDED_BY]-(b:Author {seed: true})
|
||||
WHERE a.id < b.id
|
||||
RETURN f.name, collect(DISTINCT a.name + ' & ' + b.name) AS pairs ORDER BY size(pairs) DESC LIMIT 5
|
||||
```
|
||||
|
||||
Projects per source and patents with their OpenAlex topics:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Author)-[:CONTRIBUTED_TO]->(p:Project) RETURN p.source, count(DISTINCT p), collect(DISTINCT a.name)
|
||||
```
|
||||
|
||||
```cypher
|
||||
MATCH (a:Author)-[:INVENTOR_OF]->(p:Patent)
|
||||
OPTIONAL MATCH (p)-[:HAS_TOPIC]->(t:Topic)
|
||||
RETURN a.name, p.source, p.year, left(p.title, 60), collect(t.name)[0..2] ORDER BY p.year DESC LIMIT 10
|
||||
```
|
||||
|
||||
Company links, showing which ones rest on a common name:
|
||||
|
||||
```cypher
|
||||
MATCH (a:Author)-[r:OFFICER_OF]->(c:Company)
|
||||
RETURN a.name, r.common_name_warning, count(c) AS companies, collect(c.name)[0..3] AS sample
|
||||
```
|
||||
|
||||
Cross-organization paths through up to two co-authorship hops:
|
||||
|
||||
```cypher
|
||||
MATCH path = (o1:Organization)<-[:MEMBER_OF]-(:Author)-[:CO_AUTHOR*1..2]-(:Author)-[:MEMBER_OF]->(o2:Organization)
|
||||
WHERE o1.name < o2.name RETURN o1.name, o2.name, count(path)
|
||||
```
|
||||
|
||||
## Whole-university graph: `bulk_load.py`
|
||||
|
||||
`load_graph.py` is the per-researcher example. `bulk_load.py` builds the graph for a whole
|
||||
organization by scanning each Elasticsearch source once and streaming into FalkorDB:
|
||||
|
||||
```bash
|
||||
scripts/falkordb/run.sh bulk --graph ude --reset # full UDE cohort, all phases
|
||||
scripts/falkordb/run.sh bulk --graph ude_test --reset --limit-authors 25 # smoke test, a few seconds
|
||||
scripts/falkordb/run.sh bulk --graph ude --phases projects derive # re-run selected phases (idempotent)
|
||||
```
|
||||
|
||||
Phases, in order (`--phases` selects a subset; later phases reload cohort and works from the graph):
|
||||
|
||||
| Phase | Source | Adds |
|
||||
| --- | --- | --- |
|
||||
| `cohort` | active researchers via `build_institution_membership_query` (last known institution + affiliation in the last two years) | `Author` with extra label `Cohort`, `MEMBER_OF`, `AFFILIATED_WITH {years, last_known}`, `WORKS_ON`, `Institution` lineage as `PART_OF` |
|
||||
| `works` | one `scan` of the works index for every work of every cohort researcher | `Work` (incl. `doi`, `is_oa`, `fwci`), every authorship as `AUTHORED`, co-author `Author`s, `AFFILIATED_WITH`, `HAS_TOPIC`, `Venue` + `PUBLISHED_IN`, `Funder` + `FUNDED_BY {awards}` |
|
||||
| `institutions` | `openalex-institutions` index | names, countries and types for institutions that only appeared as lineage ancestors |
|
||||
| `affiliations` | second, lighter scan of the works index | `AUTHORED.institution_ids` (institutions on that authorship) and `Work-[:INVOLVES {authors}]->Institution`, the per-work view that author-level `AFFILIATED_WITH` cannot give |
|
||||
| `classifications` | `work-classifications` index (LLM) | `Work.primary_category`, `pasteur_quadrant`, `applied_orientation_score`, `classification_confidence` |
|
||||
| `projects` | CORDIS publications and DFG project publications by DOI; CORDIS organisations and DFG institutes of the organization; DFG persons by ORCID; project details | `Project {source: cordis/dfg}`, `Work-[:OUTPUT_OF]->Project`, `Institution-[:PARTICIPATES_IN {role, ec_contribution}]->Project`, `Author-[:DFG_ROLE {role}]->Project`, `EuOrganization-[:PARTICIPATES_IN]->Project` (consortium partners) |
|
||||
| `patents` | `org_patents` index (pre-matched by `index_org_patents.py`) | `Patent`, `Author-[:INVENTOR_OF {match_type}]->Patent`, `HAS_TOPIC` |
|
||||
| `news` | `aktuell_postproc` author names matched exactly to cohort display names (the rule the news API uses), articles from `aktuell`, topics from `aktuell_openalex_topics` | `NewsArticle`, `MENTIONED_IN {ambiguous}`, `HAS_TOPIC {keyword}` |
|
||||
| `companies` | `get_company_connections_by_author_id` per researcher, 8 in parallel | `Company`, `OFFICER_OF`; common-name matches are only counted on the Author (`hr_company_matches`, `hr_common_name_warning`) unless `--include-ambiguous-companies` |
|
||||
| `hierarchy` | `get_topic_hierarchy()` | `Domain`, `Field`, `Subfield`, `IN_DOMAIN`, `IN_FIELD`, `IN_SUBFIELD` |
|
||||
| `derive` | Cypher inside FalkorDB | `CO_AUTHOR {weight, first_year, last_year}`, `Author-[:FUNDED_BY {publications}]->Funder`, `Author-[:CONTRIBUTED_TO {works}]->Project` for cohort members |
|
||||
| `profile` | aggregation over the cohort's works | `Institution-[:ACTIVE_IN {level, works, researchers}]->Topic/Subfield/Field/Domain`, the drawable research profile |
|
||||
|
||||
Co-author policy: every authorship is an `AUTHORED` edge, including 5,000-author collaboration
|
||||
papers. `CO_AUTHOR` pairs are derived for all author pairs on works with at most `--pair-cap`
|
||||
authors (default 30) and, on larger works, only for pairs that involve a cohort member. All pairs
|
||||
on the UDE cohort's works would be 2.9 billion edges; the anchored policy gives about 10 million.
|
||||
Edges always point from the smaller to the larger author id, so treat them as undirected.
|
||||
|
||||
Writes go through `GraphWriter`: rows are buffered per label / relationship type and flushed with
|
||||
`UNWIND ... MERGE` in batches of 2,000, node buffers before edge buffers. Cohort profiles use
|
||||
`SET`, co-author stubs use `ON CREATE SET`, so a researcher who is both keeps the full profile.
|
||||
One failing phase is logged and the next phase still runs. The script ends with `BGSAVE`.
|
||||
|
||||
### Result for Universität Duisburg-Essen (2026-09-15)
|
||||
|
||||
Cohort of 6,176 active researchers, every work of every cohort member, no author cap. The load
|
||||
ran in about 12 minutes of pipeline time (works scan 6.5 min, derive 100 s, everything else under
|
||||
a minute each); FalkorDB holds it in 1.04 GB and the RDB snapshot is 264 MB.
|
||||
|
||||
| Nodes | | Relationships | |
|
||||
| --- | --- | --- | --- |
|
||||
| Author | 693,487 (6,176 also `:Cohort`) | AUTHORED | 4,112,809 (2,376,034 with `institution_ids`) |
|
||||
| Work | 204,110 | CO_AUTHOR | 3,782,011 |
|
||||
| Institution | 26,246 | AFFILIATED_WITH / INVOLVES | 1,072,837 / 784,212 |
|
||||
| Venue | 16,534 | HAS_TOPIC | 571,906 |
|
||||
| Funder | 7,493 | FUNDED_BY (work + author level) | 229,219 |
|
||||
| EuOrganization | 5,469 | PUBLISHED_IN | 173,495 |
|
||||
| Topic | 4,516 | WORKS_ON | 27,255 |
|
||||
| NewsArticle | 4,402 | PARTICIPATES_IN | 17,046 |
|
||||
| Project | 3,664 | MENTIONED_IN | 11,251 |
|
||||
| Company | 547 | PART_OF | 11,045 |
|
||||
| Patent | 366 | OUTPUT_OF / CONTRIBUTED_TO | 8,292 / 6,723 |
|
||||
| Subfield / Field / Domain | 252 / 26 / 4 | OFFICER_OF / DFG_ROLE / INVENTOR_OF | 700 / 548 / 367 |
|
||||
| | | ACTIVE_IN (institution research profile) | 4,618 |
|
||||
|
||||
Source coverage of the cohort: all 6,176 have works, 1,741 are linked to projects, 1,925 are
|
||||
mentioned in news, 406 have unambiguous company links, 163 hold indexed patents, 164 were matched to
|
||||
DFG persons through their ORCID. 187,000 works carry an LLM classification.
|
||||
|
||||
Two server behaviours matter at this scale and are handled in the script: FalkorDB caps every
|
||||
result set at `RESULTSET_SIZE` rows (10,000 in the default container), so whole-graph reads are
|
||||
paged (`GraphWriter.ro_all`); and write queries ignore timeouts, which is why the co-author
|
||||
derivation computes pairs in Python and bulk-creates edges instead of running
|
||||
`MATCH ... MERGE` inside the graph (that took over a minute per 2,000 works).
|
||||
|
||||
|
||||
## Caveats worth knowing
|
||||
|
||||
- In the whole-university graph, common-name company matches are not written as edges by default
|
||||
(406 researchers have unambiguous links, the rest only carry `hr_company_matches`).
|
||||
- News and Handelsregister links are name matches, exactly as in the REST API. The `OFFICER_OF`
|
||||
edge carries `common_name_warning`; a researcher named Thomas Kaiser gets 92 companies with the
|
||||
flag set, Ahmet Karkar gets one without it.
|
||||
- Patents are matched by inventor name with the institution guard from `patents.authors.logic`;
|
||||
the backend logs `search_completeness=truncated_inconclusive` for common names.
|
||||
- The project bridge is DOI based: a researcher is linked to every CORDIS/DFG project that lists one
|
||||
of their publications, regardless of author position.
|
||||
- OpenAlex profiles can be merged across institutions. The lineage filter above avoids most of
|
||||
them for the automatic selection, `--author-id` takes whatever you give it.
|
||||
- `Author.topics` in the mirror carry a `score` where OpenAlex has a `count`; the value is stored
|
||||
as-is on `WORKS_ON`.
|
||||
|
||||
## Running without Docker
|
||||
|
||||
Create a Python 3.12 environment with the service dependencies (`pip install -e` is not set up, so
|
||||
install `fastapi httpx pydantic pydantic-settings sqlmodel python-dotenv pyyaml pyjwt openai pandas
|
||||
pypdf sentence-transformers torch` matching `pyproject.toml`) plus `falkordb`, then run
|
||||
`python scripts/falkordb/load_graph.py` from `service/`. The script locates `src/main/inse` and its
|
||||
`.env` relative to its own path.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,636 @@
|
||||
"""
|
||||
load_graph.py — Minimal FalkorDB example for the INSE backend.
|
||||
|
||||
Builds a small knowledge graph around a couple of researchers from the predefined
|
||||
("default") organizations in src/data/predefined_accounts.json, using only the
|
||||
backend's existing data-source logic (everything reads the INSE Elasticsearch mirrors):
|
||||
|
||||
OpenAlex authors, works, topics, institutions -> inse.authors.v2 / inse.works.v2 / inse.institutions.v2
|
||||
EPO + USPTO patents -> inse.patents.authors.logic
|
||||
CORDIS (EU) + DFG projects, via publication DOIs -> inse.works.logic + inse.projects.*
|
||||
Funders of the author's funded publications -> inse.funders.logic
|
||||
News mentions (UDE "aktuell" + CC-News) -> inse.news.logic
|
||||
Handelsregister company officer matches -> inse.company_connections.logic
|
||||
|
||||
The collected nodes/edges are written to FalkorDB with batched UNWIND ... MERGE
|
||||
queries, and CO_AUTHOR edges are then derived inside the graph with one Cypher query.
|
||||
|
||||
Usage (see run.sh for running inside the service image):
|
||||
python scripts/falkordb/load_graph.py # 2 researchers per default org
|
||||
python scripts/falkordb/load_graph.py --organization "Duisburg" --per-org 3
|
||||
python scripts/falkordb/load_graph.py --author-id A5040796987 --author-id A5119657791
|
||||
python scripts/falkordb/load_graph.py --reset --dump /tmp/graph.json --skip news --skip companies
|
||||
|
||||
FalkorDB connection: --falkordb-host/--falkordb-port/--falkordb-password or the
|
||||
FALKORDB_HOST / FALKORDB_PORT / FALKORDB_PASSWORD environment variables.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import asyncio
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
from collections import Counter, defaultdict
|
||||
from dataclasses import dataclass, field
|
||||
from datetime import date, datetime
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
# --- locate the backend package (works from the repo checkout and inside the service image) ---
|
||||
_current_dir = Path(__file__).resolve().parent
|
||||
_service_dir = _current_dir.parent.parent
|
||||
_src_main = _service_dir / "src" / "main"
|
||||
if not (_src_main / "inse").is_dir():
|
||||
_src_main = Path(os.environ.get("INSE_SRC_DIR", "/home"))
|
||||
sys.path.insert(0, str(_src_main))
|
||||
|
||||
from dotenv import load_dotenv # noqa: E402
|
||||
|
||||
_env_file = _src_main / "inse" / ".env"
|
||||
if _env_file.exists():
|
||||
load_dotenv(dotenv_path=_env_file)
|
||||
|
||||
# inse.config reads the .env at import time, so these imports must come after load_dotenv.
|
||||
from inse.authors.institution_membership_query import ( # noqa: E402
|
||||
build_institution_membership_query,
|
||||
current_affiliation_year_cutoff,
|
||||
)
|
||||
from inse.authors.v2.service import get_author_by_id_strict_or_raise, search_authors # noqa: E402
|
||||
from inse.company_connections.logic import get_company_connections_by_author_id # noqa: E402
|
||||
from inse.funders.logic import get_funders_by_author_id # noqa: E402
|
||||
from inse.institutions.v2.service import get_institution_by_id # noqa: E402
|
||||
from inse.models.openalex.author import Author # noqa: E402
|
||||
from inse.news.logic import get_news_by_author # noqa: E402
|
||||
from inse.patents.authors.logic import get_patents_by_author_id # noqa: E402
|
||||
from inse.projects.eu_cordis_projects_client import get_enriched_cordis_project_by_id # noqa: E402
|
||||
from inse.projects.projects_search_client import ( # noqa: E402
|
||||
get_cordis_eu_project_ids_by_dois,
|
||||
get_dfg_project_by_id,
|
||||
get_dfg_project_ids_by_dois,
|
||||
)
|
||||
from inse.works.logic import get_publication_dois_of_author # noqa: E402
|
||||
from inse.works.v2.service import get_author_works # noqa: E402
|
||||
|
||||
logger = logging.getLogger("falkordb.load_graph")
|
||||
|
||||
OPENALEX_PREFIX = "https://openalex.org/"
|
||||
PREDEFINED_ACCOUNTS = _src_main.parent / "data" / "predefined_accounts.json"
|
||||
SOURCES = ("works", "projects", "patents", "funders", "news", "companies")
|
||||
_IDENT = re.compile(r"^[A-Z][A-Za-z_]*$")
|
||||
|
||||
|
||||
# --------------------------------------------------------------------------- helpers
|
||||
def short_id(raw: str | None) -> str | None:
|
||||
"""'https://openalex.org/A123' -> 'A123' (OpenAlex ids are stored as URLs in ES)."""
|
||||
if not raw:
|
||||
return None
|
||||
return raw.strip().removeprefix(OPENALEX_PREFIX)
|
||||
|
||||
|
||||
def raw_doi(doi: str) -> str:
|
||||
for prefix in ("https://doi.org/", "http://doi.org/", "http://dx.doi.org/"):
|
||||
if doi.startswith(prefix):
|
||||
return doi[len(prefix):]
|
||||
return doi
|
||||
|
||||
|
||||
def _scalar(value: Any) -> Any:
|
||||
if isinstance(value, (date, datetime)):
|
||||
return value.isoformat()
|
||||
if isinstance(value, str):
|
||||
return value[:2000]
|
||||
if isinstance(value, (bool, int, float)):
|
||||
return value
|
||||
return str(value)
|
||||
|
||||
|
||||
def clean_props(props: dict[str, Any]) -> dict[str, Any]:
|
||||
"""FalkorDB properties must be scalars or lists of scalars; drop None/dicts."""
|
||||
cleaned: dict[str, Any] = {}
|
||||
for key, value in props.items():
|
||||
if value is None or isinstance(value, dict):
|
||||
continue
|
||||
if isinstance(value, (list, tuple, set)):
|
||||
cleaned[key] = [_scalar(v) for v in value if v is not None and not isinstance(v, dict)]
|
||||
else:
|
||||
cleaned[key] = _scalar(value)
|
||||
return cleaned
|
||||
|
||||
|
||||
@dataclass
|
||||
class GraphBatch:
|
||||
"""In-memory node/edge accumulator. First writer of a property wins, so seed
|
||||
authors (hydrated first) keep their full profile when they reappear as co-authors."""
|
||||
|
||||
nodes: dict[tuple[str, str], dict[str, Any]] = field(default_factory=dict)
|
||||
edges: dict[tuple[str, str, str, str, str], dict[str, Any]] = field(default_factory=dict)
|
||||
|
||||
def node(self, label: str, node_id: str | None, **props: Any) -> None:
|
||||
if not node_id:
|
||||
return
|
||||
props = clean_props(props)
|
||||
existing = self.nodes.setdefault((label, node_id), {})
|
||||
for key, value in props.items():
|
||||
existing.setdefault(key, value)
|
||||
|
||||
def edge(self, src_label: str, src: str | None, rel: str, dst_label: str, dst: str | None, **props: Any) -> None:
|
||||
if not src or not dst:
|
||||
return
|
||||
props = clean_props(props)
|
||||
existing = self.edges.setdefault((src_label, src, rel, dst_label, dst), {})
|
||||
for key, value in props.items():
|
||||
existing.setdefault(key, value)
|
||||
|
||||
def has_node(self, label: str, node_id: str | None) -> bool:
|
||||
return bool(node_id) and (label, node_id) in self.nodes
|
||||
|
||||
def summary(self) -> tuple[Counter, Counter]:
|
||||
return (
|
||||
Counter(label for label, _ in self.nodes),
|
||||
Counter(rel for _, _, rel, _, _ in self.edges),
|
||||
)
|
||||
|
||||
def to_json(self) -> dict[str, Any]:
|
||||
return {
|
||||
"nodes": [{"label": l, "id": i, "props": p} for (l, i), p in self.nodes.items()],
|
||||
"edges": [
|
||||
{"src_label": sl, "src": s, "rel": r, "dst_label": dl, "dst": d, "props": p}
|
||||
for (sl, s, r, dl, d), p in self.edges.items()
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
def add_topic(batch: GraphBatch, topic: Any) -> str | None:
|
||||
"""Topic node from an OpenAlex WorkTopic-like object (works, authors, patents, news)."""
|
||||
tid = short_id(getattr(topic, "id", None))
|
||||
if not tid:
|
||||
return None
|
||||
subfield = getattr(topic, "subfield", None)
|
||||
field_ = getattr(topic, "var_field", None) or getattr(topic, "field", None)
|
||||
domain = getattr(topic, "domain", None)
|
||||
batch.node(
|
||||
"Topic",
|
||||
tid,
|
||||
name=getattr(topic, "display_name", None),
|
||||
subfield=getattr(subfield, "display_name", None),
|
||||
field=getattr(field_, "display_name", None),
|
||||
domain=getattr(domain, "display_name", None),
|
||||
)
|
||||
return tid
|
||||
|
||||
|
||||
# --------------------------------------------------------------------------- organizations
|
||||
def load_default_organizations() -> list[dict[str, str]]:
|
||||
"""The predefined organizations seeded at startup (auth.service.create_predefined_accounts)."""
|
||||
with open(PREDEFINED_ACCOUNTS, encoding="utf-8") as fh:
|
||||
data = json.load(fh)
|
||||
return [
|
||||
{"name": org["name"], "institution_id": org["openalex_institution_id"]}
|
||||
for org in data.get("organizations", [])
|
||||
if org.get("openalex_institution_id")
|
||||
]
|
||||
|
||||
|
||||
def select_organizations(orgs: list[dict[str, str]], wanted: list[str]) -> list[dict[str, str]]:
|
||||
if not wanted:
|
||||
return orgs
|
||||
selected = []
|
||||
for term in wanted:
|
||||
term_l = term.lower()
|
||||
matches = [o for o in orgs if term_l in o["name"].lower() or term_l == o["institution_id"].lower()]
|
||||
if not matches:
|
||||
raise SystemExit(f"No default organization matches {term!r}. Known: {[o['name'] for o in orgs]}")
|
||||
selected.extend(m for m in matches if m not in selected)
|
||||
return selected
|
||||
|
||||
|
||||
async def ensure_organization_nodes(batch: GraphBatch, org: dict[str, str]) -> None:
|
||||
"""Organization (from predefined_accounts.json) + its OpenAlex institution."""
|
||||
if batch.has_node("Organization", org["name"]):
|
||||
return
|
||||
institution = await get_institution_by_id(org["institution_id"])
|
||||
batch.node("Organization", org["name"], name=org["name"], openalex_institution_id=org["institution_id"])
|
||||
batch.node(
|
||||
"Institution", org["institution_id"],
|
||||
name=getattr(institution, "display_name", None) or org["name"],
|
||||
ror=getattr(institution, "ror", None),
|
||||
country_code=getattr(institution, "country_code", None),
|
||||
type=str(institution.type) if getattr(institution, "type", None) else None,
|
||||
)
|
||||
batch.edge("Organization", org["name"], "REPRESENTS", "Institution", org["institution_id"])
|
||||
|
||||
|
||||
def organization_of(author: Author, orgs: list[dict[str, str]]) -> dict[str, str] | None:
|
||||
"""Default organization whose institution is among the author's last known institutions."""
|
||||
last_known = {short_id(i.id) for i in (author.last_known_institutions or []) if i.id}
|
||||
return next((org for org in orgs if org["institution_id"] in last_known), None)
|
||||
|
||||
|
||||
async def pick_seed_authors(
|
||||
institution_id: str, per_org: int, min_works: int, max_works: int, require_orcid: bool
|
||||
) -> list[Author]:
|
||||
"""Seed researchers of an institution.
|
||||
|
||||
Reuses the backend's active-cohort membership query (last known institution plus an
|
||||
affiliation since the current year minus two, the same rule the app uses for
|
||||
"currently belongs to institution"), then narrows the candidates so the example graph
|
||||
stays small and well disambiguated:
|
||||
* works_count within [min_works, max_works] -> skips hyper-authorship profiles
|
||||
* an ORCID (optional) -> better-disambiguated OpenAlex profiles
|
||||
* every last-known institution inside the institution's OpenAlex lineage
|
||||
-> drops merged profiles that also "currently" belong to unrelated institutions
|
||||
"""
|
||||
institution_url = f"{OPENALEX_PREFIX}{institution_id}"
|
||||
filters: list[dict[str, Any]] = [
|
||||
build_institution_membership_query(institution_id, year_mode="from", year=current_affiliation_year_cutoff()),
|
||||
{"range": {"works_count": {"gte": min_works, "lte": max_works}}},
|
||||
]
|
||||
if require_orcid:
|
||||
filters.append({"exists": {"field": "orcid"}})
|
||||
page = await search_authors(
|
||||
page=0,
|
||||
size=max(20, per_org * 20),
|
||||
query={"bool": {"filter": filters}},
|
||||
sort=[{"works_count": {"order": "desc"}}, {"cited_by_count": {"order": "desc"}}],
|
||||
)
|
||||
|
||||
def within_lineage(author: Author) -> bool:
|
||||
return all(
|
||||
inst.id == institution_url or institution_url in (inst.lineage or [])
|
||||
for inst in (author.last_known_institutions or [])
|
||||
)
|
||||
|
||||
return [author for author in page.elements if within_lineage(author)][:per_org]
|
||||
|
||||
|
||||
# --------------------------------------------------------------------------- collectors
|
||||
def collect_author_profile(batch: GraphBatch, author: Author, org_name: str | None) -> str:
|
||||
aid = short_id(author.id)
|
||||
stats = author.summary_stats
|
||||
batch.node(
|
||||
"Author",
|
||||
aid,
|
||||
name=author.display_name,
|
||||
orcid=author.orcid,
|
||||
works_count=author.works_count,
|
||||
cited_by_count=author.cited_by_count,
|
||||
h_index=getattr(stats, "h_index", None),
|
||||
i10_index=getattr(stats, "i10_index", None),
|
||||
seed=True,
|
||||
)
|
||||
if org_name:
|
||||
batch.edge("Author", aid, "MEMBER_OF", "Organization", org_name)
|
||||
|
||||
last_known = {short_id(i.id) for i in (author.last_known_institutions or []) if i.id}
|
||||
for affiliation in author.affiliations or []:
|
||||
inst = affiliation.institution
|
||||
iid = short_id(inst.id) if inst else None
|
||||
if not iid:
|
||||
continue
|
||||
batch.node("Institution", iid, name=inst.display_name, country_code=inst.country_code, type=inst.type, ror=inst.ror)
|
||||
batch.edge(
|
||||
"Author", aid, "AFFILIATED_WITH", "Institution", iid,
|
||||
years=sorted(affiliation.years or []),
|
||||
last_known=iid in last_known,
|
||||
)
|
||||
for topic in author.topics or []:
|
||||
tid = add_topic(batch, topic)
|
||||
if tid:
|
||||
batch.edge("Author", aid, "WORKS_ON", "Topic", tid, score=getattr(topic, "score", None))
|
||||
return aid
|
||||
|
||||
|
||||
async def collect_works(batch: GraphBatch, aid: str, max_works: int, max_authors_per_work: int) -> int:
|
||||
page = await get_author_works(aid, page=0, size=max_works)
|
||||
for work in page.elements:
|
||||
wid = short_id(work.id)
|
||||
if not wid:
|
||||
continue
|
||||
authorships = work.authorships or []
|
||||
hyper = len(authorships) > max_authors_per_work
|
||||
batch.node(
|
||||
"Work", wid,
|
||||
title=work.title or work.display_name,
|
||||
year=work.publication_year,
|
||||
type=work.type,
|
||||
language=work.language,
|
||||
cited_by_count=work.cited_by_count,
|
||||
authors_count=len(authorships),
|
||||
hyperauthorship=hyper,
|
||||
)
|
||||
for topic in work.topics or []:
|
||||
tid = add_topic(batch, topic)
|
||||
if tid:
|
||||
batch.edge("Work", wid, "HAS_TOPIC", "Topic", tid, score=topic.score)
|
||||
for authorship in authorships:
|
||||
author = authorship.author
|
||||
cid = short_id(author.id) if author else None
|
||||
if not cid or (hyper and cid != aid):
|
||||
continue # for hyper-authorship works only keep the seed author's own edge
|
||||
batch.node("Author", cid, name=author.display_name, orcid=author.orcid, seed=False)
|
||||
batch.edge(
|
||||
"Author", cid, "AUTHORED", "Work", wid,
|
||||
position=authorship.author_position,
|
||||
corresponding=authorship.is_corresponding,
|
||||
)
|
||||
for inst in authorship.institutions or []:
|
||||
iid = short_id(inst.id)
|
||||
if iid:
|
||||
batch.node("Institution", iid, name=inst.display_name, country_code=inst.country_code, type=inst.type)
|
||||
batch.edge("Author", cid, "AFFILIATED_WITH", "Institution", iid)
|
||||
return len(page.elements)
|
||||
|
||||
|
||||
async def collect_projects(batch: GraphBatch, aid: str) -> int:
|
||||
"""Author -> project bridge used elsewhere in the backend: the author's publication DOIs
|
||||
are looked up in the CORDIS publication index and in the DFG projects' publication lists."""
|
||||
dois = await get_publication_dois_of_author(aid)
|
||||
if not dois:
|
||||
return 0
|
||||
doi_variants = sorted({v for d in dois for v in (d, raw_doi(d), raw_doi(d).lower())})
|
||||
cordis_ids = await get_cordis_eu_project_ids_by_dois(dois)
|
||||
dfg_ids = await get_dfg_project_ids_by_dois(doi_variants)
|
||||
|
||||
for pid in cordis_ids:
|
||||
node_id = f"cordis:{pid}"
|
||||
details = await get_enriched_cordis_project_by_id(str(pid))
|
||||
batch.node(
|
||||
"Project", node_id,
|
||||
source="cordis", source_id=str(pid),
|
||||
title=getattr(details, "title", None),
|
||||
acronym=getattr(details, "acronym", None),
|
||||
start=getattr(details, "start_date", None),
|
||||
end=getattr(details, "end_date", None),
|
||||
funding_scheme=getattr(details, "funding_scheme", None),
|
||||
status=getattr(details, "status", None),
|
||||
ec_max_contribution=getattr(details, "ec_max_contribution", None),
|
||||
)
|
||||
batch.edge("Author", aid, "CONTRIBUTED_TO", "Project", node_id, via="publication_doi")
|
||||
for pid in dfg_ids:
|
||||
node_id = f"dfg:{pid}"
|
||||
details = await get_dfg_project_by_id(str(pid))
|
||||
batch.node(
|
||||
"Project", node_id,
|
||||
source="dfg", source_id=str(pid),
|
||||
title=getattr(details, "title_en", None) or getattr(details, "title_de", None),
|
||||
start=getattr(details, "funding_start", None),
|
||||
end=getattr(details, "funding_end", None),
|
||||
funding_scheme=getattr(details, "funding_type_en", None) or getattr(details, "funding_type_de", None),
|
||||
url=getattr(details, "page_url", None) or getattr(details, "link", None),
|
||||
)
|
||||
batch.edge("Author", aid, "CONTRIBUTED_TO", "Project", node_id, via="publication_doi")
|
||||
return len(cordis_ids) + len(dfg_ids)
|
||||
|
||||
|
||||
async def collect_patents(batch: GraphBatch, aid: str) -> int:
|
||||
response = await get_patents_by_author_id(aid)
|
||||
for patent in response.patents:
|
||||
pid = f"{patent.source}:{patent.patent_id}"
|
||||
year = int(patent.publication_year) if patent.publication_year and patent.publication_year.isdigit() else None
|
||||
batch.node(
|
||||
"Patent", pid,
|
||||
patent_id=patent.patent_id, source=patent.source,
|
||||
title=patent.title or patent.title_en or patent.title_de,
|
||||
year=year, publication_date=patent.publication_date,
|
||||
kind=patent.kind, status=patent.status, country=patent.country,
|
||||
ipc=patent.ipc, assignees=patent.assignees, inventors=patent.inventors,
|
||||
)
|
||||
batch.edge("Author", aid, "INVENTOR_OF", "Patent", pid)
|
||||
for tag in patent.openalex_topics:
|
||||
tid = short_id(tag.topic_id)
|
||||
if tid:
|
||||
batch.node("Topic", tid, name=tag.topic_display_name, field=tag.field_name, domain=tag.domain_name)
|
||||
batch.edge("Patent", pid, "HAS_TOPIC", "Topic", tid)
|
||||
return response.patent_count
|
||||
|
||||
|
||||
async def collect_funders(batch: GraphBatch, aid: str) -> int:
|
||||
response = await get_funders_by_author_id(aid)
|
||||
for funder in response.funders:
|
||||
fid = short_id(funder.funder_id) or f"name:{funder.funder_name}"
|
||||
batch.node("Funder", fid, name=funder.funder_name)
|
||||
batch.edge("Author", aid, "FUNDED_BY", "Funder", fid, publications=funder.publication_count)
|
||||
ids = funder.publication_ids
|
||||
for wid_raw in ids.first + ids.middle + ids.last + ids.unknown:
|
||||
wid = short_id(wid_raw)
|
||||
if batch.has_node("Work", wid): # only link works we already loaded
|
||||
batch.edge("Work", wid, "FUNDED_BY", "Funder", fid)
|
||||
return response.funder_count
|
||||
|
||||
|
||||
async def collect_news(batch: GraphBatch, aid: str, max_news: int) -> int:
|
||||
page = await get_news_by_author(aid, page=1, page_size=max_news)
|
||||
for article in page.results:
|
||||
batch.node("NewsArticle", article.id, title=article.maintitle, date=article.date, url=article.url)
|
||||
batch.edge("Author", aid, "MENTIONED_IN", "NewsArticle", article.id, matching="display_name")
|
||||
for topic in article.topics or []:
|
||||
tid = short_id(topic.id)
|
||||
if tid:
|
||||
batch.node("Topic", tid, name=topic.display_name, subfield=topic.subfield_name, field=topic.field_name, domain=topic.domain_name)
|
||||
batch.edge("NewsArticle", article.id, "HAS_TOPIC", "Topic", tid)
|
||||
return page.total
|
||||
|
||||
|
||||
async def collect_companies(batch: GraphBatch, aid: str) -> int:
|
||||
response = await get_company_connections_by_author_id(aid)
|
||||
for company in response.connections:
|
||||
cid = company.company_number or company.native_company_number or f"name:{company.company_name}"
|
||||
batch.node(
|
||||
"Company", cid,
|
||||
name=company.company_name, status=company.company_status,
|
||||
registered_office=company.registered_office,
|
||||
register=" ".join(p for p in (company.register_art, company.register_nummer) if p) or None,
|
||||
)
|
||||
batch.edge(
|
||||
"Author", aid, "OFFICER_OF", "Company", cid,
|
||||
positions=[o.position for o in company.matched_officers if o.position],
|
||||
matching_method=response.matching_method,
|
||||
common_name_warning=response.common_name_warning,
|
||||
)
|
||||
return response.company_count
|
||||
|
||||
|
||||
# --------------------------------------------------------------------------- FalkorDB sink
|
||||
def _chunks(rows: list[dict[str, Any]], size: int):
|
||||
for start in range(0, len(rows), size):
|
||||
yield rows[start:start + size]
|
||||
|
||||
|
||||
def write_to_falkordb(batch: GraphBatch, args: argparse.Namespace) -> None:
|
||||
from falkordb import FalkorDB
|
||||
from redis.exceptions import ResponseError
|
||||
|
||||
db = FalkorDB(host=args.falkordb_host, port=args.falkordb_port, password=args.falkordb_password)
|
||||
if args.reset and args.graph in db.list_graphs():
|
||||
db.select_graph(args.graph).delete()
|
||||
logger.info("Deleted existing graph %r", args.graph)
|
||||
graph = db.select_graph(args.graph)
|
||||
|
||||
labels = sorted({label for label, _ in batch.nodes})
|
||||
for label in labels:
|
||||
try:
|
||||
graph.create_node_range_index(label, "id")
|
||||
except ResponseError as exc:
|
||||
if "already indexed" not in str(exc):
|
||||
raise
|
||||
|
||||
nodes_by_label: dict[str, list[dict[str, Any]]] = defaultdict(list)
|
||||
for (label, node_id), props in batch.nodes.items():
|
||||
nodes_by_label[label].append({"id": node_id, "props": props})
|
||||
for label, rows in nodes_by_label.items():
|
||||
assert _IDENT.match(label), label
|
||||
for chunk in _chunks(rows, args.batch_size):
|
||||
graph.query(f"UNWIND $rows AS r MERGE (n:{label} {{id: r.id}}) SET n += r.props", {"rows": chunk})
|
||||
|
||||
edges_by_type: dict[tuple[str, str, str], list[dict[str, Any]]] = defaultdict(list)
|
||||
for (src_label, src, rel, dst_label, dst), props in batch.edges.items():
|
||||
edges_by_type[(src_label, rel, dst_label)].append({"src": src, "dst": dst, "props": props})
|
||||
for (src_label, rel, dst_label), rows in edges_by_type.items():
|
||||
assert _IDENT.match(src_label) and _IDENT.match(rel) and _IDENT.match(dst_label)
|
||||
for chunk in _chunks(rows, args.batch_size):
|
||||
graph.query(
|
||||
f"UNWIND $rows AS r "
|
||||
f"MATCH (a:{src_label} {{id: r.src}}), (b:{dst_label} {{id: r.dst}}) "
|
||||
f"MERGE (a)-[e:{rel}]->(b) SET e += r.props",
|
||||
{"rows": chunk},
|
||||
)
|
||||
|
||||
if not args.no_coauthor_edges:
|
||||
# Derive co-authorship inside the graph instead of in Python (this is the part the
|
||||
# in-service CollaborationGraph API currently leaves to the client).
|
||||
result = graph.query(
|
||||
"MATCH (a:Author)-[:AUTHORED]->(w:Work)<-[:AUTHORED]-(b:Author) "
|
||||
"WHERE a.id < b.id "
|
||||
"WITH a, b, count(DISTINCT w) AS n, min(w.year) AS first_year, max(w.year) AS last_year "
|
||||
"MERGE (a)-[c:CO_AUTHOR]->(b) "
|
||||
"SET c.weight = n, c.first_year = first_year, c.last_year = last_year"
|
||||
)
|
||||
logger.info("CO_AUTHOR edges created: %d", int(result.relationships_created or 0))
|
||||
|
||||
stats = graph.ro_query(
|
||||
"MATCH (n) WITH count(n) AS nodes MATCH ()-[r]->() RETURN nodes, count(r)"
|
||||
).result_set
|
||||
logger.info("Graph %r now holds %s nodes and %s relationships", args.graph, *stats[0])
|
||||
|
||||
seeds = graph.ro_query(
|
||||
"MATCH (s:Author {seed: true}) "
|
||||
"OPTIONAL MATCH (s)-[c:CO_AUTHOR]-(o:Author) "
|
||||
"WITH s, o, c ORDER BY c.weight DESC "
|
||||
"WITH s, collect(o.name + ' (' + toString(c.weight) + ')')[0..3] AS top "
|
||||
"RETURN s.id, s.name, top ORDER BY s.name"
|
||||
).result_set
|
||||
for row in seeds:
|
||||
logger.info(" %s %-32s strongest co-authors: %s", row[0], row[1], ", ".join(row[2]) or "-")
|
||||
|
||||
|
||||
# --------------------------------------------------------------------------- main
|
||||
async def run_source(name: str, coro, status: dict[str, str]) -> None:
|
||||
started = time.perf_counter()
|
||||
try:
|
||||
count = await coro
|
||||
status[name] = f"{count} ({(time.perf_counter() - started) * 1000:.0f}ms)"
|
||||
except Exception as exc: # one failing source must not abort the whole load
|
||||
logger.warning("source %-9s failed: %s: %s", name, type(exc).__name__, exc)
|
||||
status[name] = "error"
|
||||
|
||||
|
||||
async def main(args: argparse.Namespace) -> None:
|
||||
batch = GraphBatch()
|
||||
skipped = set(args.skip)
|
||||
seeds: list[tuple[Author, str | None]] = []
|
||||
default_orgs = load_default_organizations()
|
||||
|
||||
if args.author_id:
|
||||
for raw in args.author_id:
|
||||
author = await get_author_by_id_strict_or_raise(short_id(raw))
|
||||
org = organization_of(author, default_orgs)
|
||||
if org:
|
||||
await ensure_organization_nodes(batch, org)
|
||||
seeds.append((author, org["name"] if org else None))
|
||||
else:
|
||||
for org in select_organizations(default_orgs, args.organization):
|
||||
await ensure_organization_nodes(batch, org)
|
||||
authors = await pick_seed_authors(
|
||||
org["institution_id"], args.per_org, args.min_works, args.max_works, args.require_orcid
|
||||
)
|
||||
logger.info("%s (%s): %s", org["name"], org["institution_id"], ", ".join(f"{a.display_name} [{short_id(a.id)}]" for a in authors) or "no authors found")
|
||||
seeds.extend((author, org["name"]) for author in authors)
|
||||
|
||||
if not seeds:
|
||||
raise SystemExit("No seed researchers selected.")
|
||||
|
||||
seed_ids = [collect_author_profile(batch, author, org_name) for author, org_name in seeds]
|
||||
|
||||
for (author, _), aid in zip(seeds, seed_ids):
|
||||
logger.info("Collecting sources for %s [%s] ...", author.display_name, aid)
|
||||
status: dict[str, str] = {}
|
||||
if "works" not in skipped:
|
||||
await run_source("works", collect_works(batch, aid, args.works, args.max_authors_per_work), status)
|
||||
if "projects" not in skipped:
|
||||
await run_source("projects", collect_projects(batch, aid), status)
|
||||
if "patents" not in skipped:
|
||||
await run_source("patents", collect_patents(batch, aid), status)
|
||||
if "funders" not in skipped:
|
||||
await run_source("funders", collect_funders(batch, aid), status)
|
||||
if "news" not in skipped:
|
||||
await run_source("news", collect_news(batch, aid, args.news), status)
|
||||
if "companies" not in skipped:
|
||||
await run_source("companies", collect_companies(batch, aid), status)
|
||||
logger.info(" %s", " ".join(f"{k}={v}" for k, v in status.items()))
|
||||
|
||||
node_counts, edge_counts = batch.summary()
|
||||
logger.info("Collected nodes: %s", dict(node_counts))
|
||||
logger.info("Collected edges: %s", dict(edge_counts))
|
||||
|
||||
if args.dump:
|
||||
Path(args.dump).write_text(json.dumps(batch.to_json(), ensure_ascii=False, indent=1), encoding="utf-8")
|
||||
logger.info("Wrote %s", args.dump)
|
||||
|
||||
if args.no_write:
|
||||
return
|
||||
write_to_falkordb(batch, args)
|
||||
|
||||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||
sel = parser.add_argument_group("researcher selection")
|
||||
sel.add_argument("--organization", action="append", default=[], metavar="NAME_OR_ID",
|
||||
help="restrict to default organization(s) by name substring or OpenAlex institution id (repeatable)")
|
||||
sel.add_argument("--per-org", type=int, default=2, help="seed researchers per organization (default 2)")
|
||||
sel.add_argument("--min-works", type=int, default=20, help="minimum works_count for seed selection")
|
||||
sel.add_argument("--max-works", type=int, default=300, help="maximum works_count for seed selection (skips hyper-authorship profiles)")
|
||||
sel.add_argument("--require-orcid", action=argparse.BooleanOptionalAction, default=True,
|
||||
help="only seed researchers with an ORCID (default on)")
|
||||
sel.add_argument("--author-id", action="append", default=[], metavar="OPENALEX_ID",
|
||||
help="explicit seed researcher(s), e.g. A5040796987 (repeatable; overrides organization selection)")
|
||||
src = parser.add_argument_group("sources")
|
||||
src.add_argument("--works", type=int, default=40, help="max works per researcher (default 40)")
|
||||
src.add_argument("--max-authors-per-work", type=int, default=30, help="skip co-author edges for works with more authors")
|
||||
src.add_argument("--news", type=int, default=20, help="max news articles per researcher")
|
||||
src.add_argument("--skip", action="append", default=[], choices=SOURCES, help="skip a source (repeatable)")
|
||||
out = parser.add_argument_group("output")
|
||||
out.add_argument("--falkordb-host", default=os.environ.get("FALKORDB_HOST", "localhost"))
|
||||
out.add_argument("--falkordb-port", type=int, default=int(os.environ.get("FALKORDB_PORT", "6379")))
|
||||
out.add_argument("--falkordb-password", default=os.environ.get("FALKORDB_PASSWORD") or None)
|
||||
out.add_argument("--graph", default=os.environ.get("FALKORDB_GRAPH", "inse"), help="graph name (default inse)")
|
||||
out.add_argument("--reset", action="store_true", help="delete the graph before loading")
|
||||
out.add_argument("--no-coauthor-edges", action="store_true", help="do not derive CO_AUTHOR edges")
|
||||
out.add_argument("--batch-size", type=int, default=500)
|
||||
out.add_argument("--dump", metavar="PATH", help="also write the collected nodes/edges as JSON")
|
||||
out.add_argument("--no-write", action="store_true", help="collect only (useful with --dump), do not touch FalkorDB")
|
||||
parser.add_argument("-v", "--verbose", action="store_true", help="show backend/httpx logs")
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
cli_args = parse_args()
|
||||
logging.basicConfig(level=logging.INFO, format="%(levelname)s %(message)s")
|
||||
if not cli_args.verbose:
|
||||
# Some backend modules pin their own logger level, so filter at the handler instead.
|
||||
for handler in logging.getLogger().handlers:
|
||||
handler.addFilter(lambda record: record.levelno >= logging.WARNING or record.name.startswith("falkordb"))
|
||||
asyncio.run(main(cli_args))
|
||||
@@ -0,0 +1,2 @@
|
||||
# Extra dependency for scripts/falkordb on top of the service image / pyproject.
|
||||
falkordb~=1.7
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/env bash
|
||||
# Run load_graph.py inside the inse-service image, which already has every backend
|
||||
# dependency (torch/sentence-transformers included), and talk to FalkorDB on the host.
|
||||
#
|
||||
# scripts/falkordb/run.sh # 2 researchers per default organization
|
||||
# scripts/falkordb/run.sh --reset --organization Duisburg --per-org 3
|
||||
# scripts/falkordb/run.sh --author-id A5040796987 --author-id A5119657791
|
||||
# scripts/falkordb/run.sh bulk --graph ude --reset # whole-university graph (bulk_load.py)
|
||||
#
|
||||
# Env: INSE_IMAGE (default inse-service:1.0.0, built by ./gradlew :service:createImage),
|
||||
# FALKORDB_HOST (default host.docker.internal), FALKORDB_PORT, FALKORDB_PASSWORD, FALKORDB_GRAPH.
|
||||
set -euo pipefail
|
||||
|
||||
SERVICE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
# First argument "bulk" selects the whole-university loader (bulk_load.py); otherwise load_graph.py runs.
|
||||
SCRIPT="load_graph.py"
|
||||
if [ "${1:-}" = "bulk" ]; then SCRIPT="bulk_load.py"; shift; fi
|
||||
IMAGE="${INSE_IMAGE:-inse-service:1.0.0}"
|
||||
TTY_FLAGS=""
|
||||
if [ -t 0 ] && [ -t 1 ]; then TTY_FLAGS="-it"; fi
|
||||
# Match the image's platform (the Gradle build targets amd64), avoiding Docker's mismatch warning on arm64 hosts.
|
||||
PLATFORM="$(docker image inspect --format '{{.Os}}/{{.Architecture}}' "$IMAGE" 2>/dev/null || true)"
|
||||
PLATFORM_FLAGS=""
|
||||
if [ -n "$PLATFORM" ]; then PLATFORM_FLAGS="--platform $PLATFORM"; fi
|
||||
|
||||
exec docker run --rm $TTY_FLAGS $PLATFORM_FLAGS \
|
||||
-v "$SERVICE_DIR/src/main:/home" \
|
||||
-v "$SERVICE_DIR/src/data:/data" \
|
||||
-v "$SERVICE_DIR/scripts:/scripts" \
|
||||
-w /home \
|
||||
--add-host host.docker.internal:host-gateway \
|
||||
-e FALKORDB_HOST="${FALKORDB_HOST:-host.docker.internal}" \
|
||||
-e FALKORDB_PORT="${FALKORDB_PORT:-6379}" \
|
||||
-e FALKORDB_PASSWORD="${FALKORDB_PASSWORD:-}" \
|
||||
-e FALKORDB_GRAPH="${FALKORDB_GRAPH:-inse}" \
|
||||
-e PRINT_ES_QUERIES=false -e PRINT_ES_TIMINGS=false \
|
||||
-e HF_HUB_DISABLE_PROGRESS_BARS=1 -e TQDM_DISABLE=1 \
|
||||
--entrypoint sh "$IMAGE" -c \
|
||||
'pip install -q --root-user-action=ignore --disable-pip-version-check -r /scripts/falkordb/requirements.txt && exec python "/scripts/falkordb/$0" "$@"' \
|
||||
"$SCRIPT" "$@"
|
||||
@@ -0,0 +1,465 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Live runtime benchmark for the frozen Author→Patent pipeline.
|
||||
|
||||
Measures stage timings and query counts. Does not change decision logic.
|
||||
Does not write gold or FINAL evaluation artifacts.
|
||||
|
||||
python scripts/patents/benchmark_author_patent_performance.py --phase before
|
||||
python scripts/patents/benchmark_author_patent_performance.py --phase after
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import asyncio
|
||||
import csv
|
||||
import json
|
||||
import statistics
|
||||
import sys
|
||||
import time
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
SCRIPT_DIR = Path(__file__).resolve().parent
|
||||
SERVICE_SRC = SCRIPT_DIR.parent.parent / "src" / "main"
|
||||
load_dotenv(SERVICE_SRC / "inse" / ".env")
|
||||
sys.path.insert(0, str(SERVICE_SRC))
|
||||
|
||||
from inse.patents.authors.final_ambiguous_author_identity_guard import ( # noqa: E402
|
||||
get_identity_guard_query_stats,
|
||||
reset_identity_guard_query_stats,
|
||||
)
|
||||
from inse.patents.authors.logic import get_patents_by_author_id # noqa: E402
|
||||
from inse.patents.authors.pipeline_perf import ( # noqa: E402
|
||||
capture_pipeline_perf,
|
||||
current_perf,
|
||||
)
|
||||
from inse.patents.common.parsing import patent_map_key # noqa: E402
|
||||
|
||||
OUT_DIR = SCRIPT_DIR / "data" / "author_patent_evaluation" / "performance"
|
||||
RUNS_PER_AUTHOR = 3
|
||||
|
||||
# Known live cases from the frozen identity-guard evaluation, plus existing
|
||||
# experiment_1 authors covering unique / few / many-candidate profiles.
|
||||
BENCHMARK_AUTHORS: tuple[tuple[str, str, str], ...] = (
|
||||
("A5111380960", "Thomas Kaiser A5111380960", "ambiguous_many"),
|
||||
("A5071644998", "Thomas Kaiser A5071644998", "ambiguous_few"),
|
||||
("A5034365278", "Dirk Schadendorf", "ambiguous"),
|
||||
("A5100603203", "Christian Weber", "ambiguous"),
|
||||
("A5100373745", "Xiaohong Chen", "ambiguous_many_candidates"),
|
||||
("A5023982706", "Richard Smith", "ambiguous_many_candidates"),
|
||||
("A5023752156", "Albert Sickmann", "unique_or_few"),
|
||||
("A5011059806", "James Fulcher", "few_patents"),
|
||||
)
|
||||
|
||||
STAGE_KEYS = (
|
||||
"author_load",
|
||||
"patent_search",
|
||||
"name_matching",
|
||||
"family_expansion",
|
||||
"classification_enrichment",
|
||||
"production_filter",
|
||||
"semantic_fallback",
|
||||
"identity_coauthor_loading",
|
||||
"identity_institution_loading",
|
||||
"identity_shared_works",
|
||||
"final_identity_guard",
|
||||
"response_build",
|
||||
"total",
|
||||
)
|
||||
|
||||
QUERY_KEYS = (
|
||||
"openalex",
|
||||
"elasticsearch",
|
||||
"epo",
|
||||
"uspto",
|
||||
"institution_alias",
|
||||
"coauthor",
|
||||
"shared_work",
|
||||
"family",
|
||||
)
|
||||
|
||||
|
||||
def _index_name(index: Any) -> str:
|
||||
if isinstance(index, (list, tuple)):
|
||||
return ",".join(str(item) for item in index)
|
||||
return str(index or "")
|
||||
|
||||
|
||||
def _classify_openalex_query(index: Any, body: dict | None, query: dict | None) -> str:
|
||||
name = _index_name(index).casefold()
|
||||
payload = str(body or query or "")
|
||||
if "institution" in name:
|
||||
return "institution_alias"
|
||||
if "works" in name:
|
||||
if "match_phrase" in payload and "authorships.author.display_name" in payload:
|
||||
return "shared_work"
|
||||
if "authorships" in payload:
|
||||
return "coauthor"
|
||||
return "openalex"
|
||||
if "author" in name:
|
||||
return "openalex"
|
||||
return "elasticsearch"
|
||||
|
||||
|
||||
def _classify_patent_index(index: str, payload: dict | None) -> str:
|
||||
name = (index or "").casefold()
|
||||
query = str((payload or {}).get("query") or "")
|
||||
if "epo" in name:
|
||||
if "application_number" in query:
|
||||
return "family"
|
||||
return "epo"
|
||||
if "uspto" in name:
|
||||
return "uspto"
|
||||
if "ipc" in name:
|
||||
return "elasticsearch"
|
||||
if "patents_openalex" in name:
|
||||
return "elasticsearch"
|
||||
return "elasticsearch"
|
||||
|
||||
|
||||
def install_query_hooks() -> None:
|
||||
from inse.integrations import elasticsearch as es
|
||||
from inse.patents.common import elastic_search_client as patent_es
|
||||
from inse.patents.patents_openalex_keywords import client as keywords_client
|
||||
|
||||
orig_search = es.search
|
||||
orig_count = es.count
|
||||
orig_get = es.get
|
||||
orig_patent_search = patent_es.BasePatentSearchClient._search
|
||||
orig_lookup_ids = keywords_client.PatentsOpenAlexKeywordsClient.lookup_ids
|
||||
|
||||
async def counted_search(*args: Any, **kwargs: Any):
|
||||
perf = current_perf()
|
||||
if perf is not None:
|
||||
index = kwargs.get("index")
|
||||
if index is None and args:
|
||||
index = args[0]
|
||||
kind = _classify_openalex_query(
|
||||
index, kwargs.get("body"), kwargs.get("query")
|
||||
)
|
||||
perf.add_query(kind)
|
||||
if kind != "elasticsearch":
|
||||
perf.add_query("elasticsearch")
|
||||
if kind in {"coauthor", "shared_work", "institution_alias"}:
|
||||
perf.add_query("openalex")
|
||||
return await orig_search(*args, **kwargs)
|
||||
|
||||
async def counted_count(*args: Any, **kwargs: Any):
|
||||
perf = current_perf()
|
||||
if perf is not None:
|
||||
perf.add_query("openalex")
|
||||
perf.add_query("elasticsearch")
|
||||
return await orig_count(*args, **kwargs)
|
||||
|
||||
async def counted_get(*args: Any, **kwargs: Any):
|
||||
perf = current_perf()
|
||||
if perf is not None:
|
||||
perf.add_query("openalex")
|
||||
perf.add_query("elasticsearch")
|
||||
return await orig_get(*args, **kwargs)
|
||||
|
||||
async def counted_patent_search(self, index: str, payload: dict):
|
||||
perf = current_perf()
|
||||
if perf is not None:
|
||||
kind = _classify_patent_index(index, payload)
|
||||
perf.add_query(kind)
|
||||
if kind == "family":
|
||||
perf.add_query("epo")
|
||||
if kind not in {"elasticsearch"}:
|
||||
perf.add_query("elasticsearch")
|
||||
return await orig_patent_search(self, index, payload)
|
||||
|
||||
async def counted_lookup_ids(self, doc_ids: list[str]):
|
||||
perf = current_perf()
|
||||
if perf is not None:
|
||||
unique_n = len(list(dict.fromkeys(doc_ids)))
|
||||
batches = (unique_n + 999) // 1000 if unique_n else 0
|
||||
perf.add_query("elasticsearch", max(batches, 1) if unique_n else 0)
|
||||
return await orig_lookup_ids(self, doc_ids)
|
||||
|
||||
es.search = counted_search
|
||||
es.count = counted_count
|
||||
es.get = counted_get
|
||||
patent_es.BasePatentSearchClient._search = counted_patent_search
|
||||
keywords_client.PatentsOpenAlexKeywordsClient.lookup_ids = counted_lookup_ids
|
||||
|
||||
|
||||
def _snapshot(response) -> dict[str, Any]:
|
||||
patents = list(response.patents or [])
|
||||
return {
|
||||
"author_id": response.author_id,
|
||||
"author_name": response.author_name,
|
||||
"patent_count": int(response.patent_count or 0),
|
||||
"patent_ids": [patent.patent_id for patent in patents],
|
||||
"patent_map_keys": [patent_map_key(patent) for patent in patents],
|
||||
}
|
||||
|
||||
|
||||
async def run_once(author_id: str) -> dict[str, Any]:
|
||||
reset_identity_guard_query_stats()
|
||||
with capture_pipeline_perf() as perf:
|
||||
response = await get_patents_by_author_id(author_id)
|
||||
snapshot = _snapshot(response)
|
||||
snapshot["timings_ms"] = {key: float(perf.timings_ms.get(key, 0.0)) for key in STAGE_KEYS}
|
||||
snapshot["queries"] = {key: int(perf.queries.get(key, 0)) for key in QUERY_KEYS}
|
||||
snapshot["identity_query_stats"] = get_identity_guard_query_stats()
|
||||
snapshot["raw_query_kinds"] = dict(perf.queries)
|
||||
return snapshot
|
||||
|
||||
|
||||
def _median(values: list[float]) -> float:
|
||||
if not values:
|
||||
return 0.0
|
||||
return float(statistics.median(values))
|
||||
|
||||
|
||||
def _summarize_author(label: str, author_id: str, note: str, runs: list[dict[str, Any]]) -> dict[str, Any]:
|
||||
totals = [float(run["timings_ms"]["total"]) for run in runs]
|
||||
query_avgs = {
|
||||
key: sum(int(run["queries"].get(key, 0)) for run in runs) / len(runs)
|
||||
for key in QUERY_KEYS
|
||||
}
|
||||
stage_medians = {
|
||||
key: _median([float(run["timings_ms"].get(key, 0.0)) for run in runs])
|
||||
for key in STAGE_KEYS
|
||||
}
|
||||
first = runs[0]
|
||||
identical_ids = all(run["patent_ids"] == first["patent_ids"] for run in runs)
|
||||
return {
|
||||
"author_id": author_id,
|
||||
"label": label,
|
||||
"note": note,
|
||||
"runs": len(runs),
|
||||
"total_ms": {
|
||||
"min": min(totals) if totals else 0.0,
|
||||
"max": max(totals) if totals else 0.0,
|
||||
"median": _median(totals),
|
||||
"values": totals,
|
||||
},
|
||||
"stage_median_ms": stage_medians,
|
||||
"query_average": query_avgs,
|
||||
"patent_count": first["patent_count"],
|
||||
"patent_ids": first["patent_ids"],
|
||||
"patent_map_keys": first["patent_map_keys"],
|
||||
"ids_stable_across_runs": identical_ids,
|
||||
"run_details": [
|
||||
{
|
||||
"timings_ms": run["timings_ms"],
|
||||
"queries": run["queries"],
|
||||
"identity_query_stats": run["identity_query_stats"],
|
||||
"patent_count": run["patent_count"],
|
||||
}
|
||||
for run in runs
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
async def warmup_semantic_model() -> dict[str, Any]:
|
||||
started = time.perf_counter()
|
||||
from inse.util import get_model
|
||||
|
||||
model = get_model()
|
||||
model.encode(
|
||||
["query: warmup semantic topic text"],
|
||||
batch_size=8,
|
||||
show_progress_bar=False,
|
||||
convert_to_numpy=True,
|
||||
normalize_embeddings=True,
|
||||
)
|
||||
elapsed_ms = (time.perf_counter() - started) * 1000.0
|
||||
return {"warmup": True, "elapsed_ms": elapsed_ms, "model": "intfloat/multilingual-e5-base"}
|
||||
|
||||
|
||||
async def run_benchmark(phase: str, authors: list[tuple[str, str, str]]) -> dict[str, Any]:
|
||||
install_query_hooks()
|
||||
print(f"phase={phase} authors={len(authors)} runs_per_author={RUNS_PER_AUTHOR}", flush=True)
|
||||
warmup = await warmup_semantic_model()
|
||||
print(f"warmup_semantic_model_ms={warmup['elapsed_ms']:.1f}", flush=True)
|
||||
|
||||
author_rows = []
|
||||
for author_id, label, note in authors:
|
||||
print(f"\n=== {label} ({author_id}) ===", flush=True)
|
||||
runs = []
|
||||
for index in range(1, RUNS_PER_AUTHOR + 1):
|
||||
started = time.perf_counter()
|
||||
try:
|
||||
result = await run_once(author_id)
|
||||
except Exception as exc:
|
||||
elapsed_ms = (time.perf_counter() - started) * 1000.0
|
||||
print(f" run {index} FAILED after {elapsed_ms:.0f}ms: {exc}", flush=True)
|
||||
raise
|
||||
wall_ms = (time.perf_counter() - started) * 1000.0
|
||||
result["timings_ms"]["total"] = float(result["timings_ms"].get("total") or wall_ms)
|
||||
runs.append(result)
|
||||
print(
|
||||
f" run {index}: {result['timings_ms']['total']:.0f}ms "
|
||||
f"patents={result['patent_count']} "
|
||||
f"epo={result['queries']['epo']} family={result['queries']['family']} "
|
||||
f"coauthor={result['queries']['coauthor']} "
|
||||
f"shared={result['queries']['shared_work']} "
|
||||
f"alias={result['queries']['institution_alias']}",
|
||||
flush=True,
|
||||
)
|
||||
row = _summarize_author(label, author_id, note, runs)
|
||||
author_rows.append(row)
|
||||
print(
|
||||
f" median={row['total_ms']['median']:.0f}ms "
|
||||
f"min={row['total_ms']['min']:.0f} max={row['total_ms']['max']:.0f}",
|
||||
flush=True,
|
||||
)
|
||||
|
||||
payload = {
|
||||
"phase": phase,
|
||||
"warmup": warmup,
|
||||
"runs_per_author": RUNS_PER_AUTHOR,
|
||||
"authors": author_rows,
|
||||
}
|
||||
return payload
|
||||
|
||||
|
||||
def _write_json(path: Path, payload: dict[str, Any]) -> None:
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
path.write_text(json.dumps(payload, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
|
||||
|
||||
|
||||
def _write_csv(path: Path, rows: list[dict[str, Any]], fieldnames: list[str]) -> None:
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
with path.open("w", encoding="utf-8", newline="") as handle:
|
||||
writer = csv.DictWriter(handle, fieldnames=fieldnames)
|
||||
writer.writeheader()
|
||||
for row in rows:
|
||||
writer.writerow(row)
|
||||
|
||||
|
||||
def write_phase_artifacts(payload: dict[str, Any]) -> None:
|
||||
phase = payload["phase"]
|
||||
OUT_DIR.mkdir(parents=True, exist_ok=True)
|
||||
_write_json(OUT_DIR / f"benchmark_{phase}.json", payload)
|
||||
query_rows = []
|
||||
summary_rows = []
|
||||
for author in payload["authors"]:
|
||||
query_rows.append(
|
||||
{
|
||||
"phase": phase,
|
||||
"author_id": author["author_id"],
|
||||
"label": author["label"],
|
||||
**{f"avg_{key}": f"{author['query_average'].get(key, 0):.2f}" for key in QUERY_KEYS},
|
||||
}
|
||||
)
|
||||
summary_rows.append(
|
||||
{
|
||||
"phase": phase,
|
||||
"author_id": author["author_id"],
|
||||
"label": author["label"],
|
||||
"median_ms": f"{author['total_ms']['median']:.1f}",
|
||||
"min_ms": f"{author['total_ms']['min']:.1f}",
|
||||
"max_ms": f"{author['total_ms']['max']:.1f}",
|
||||
"patent_count": author["patent_count"],
|
||||
**{
|
||||
f"median_{key}_ms": f"{author['stage_median_ms'].get(key, 0):.1f}"
|
||||
for key in STAGE_KEYS
|
||||
if key != "total"
|
||||
},
|
||||
}
|
||||
)
|
||||
_write_csv(
|
||||
OUT_DIR / f"query_counts_{phase}.csv",
|
||||
query_rows,
|
||||
["phase", "author_id", "label", *[f"avg_{key}" for key in QUERY_KEYS]],
|
||||
)
|
||||
_write_csv(
|
||||
OUT_DIR / f"performance_summary_{phase}.csv",
|
||||
summary_rows,
|
||||
[
|
||||
"phase",
|
||||
"author_id",
|
||||
"label",
|
||||
"median_ms",
|
||||
"min_ms",
|
||||
"max_ms",
|
||||
"patent_count",
|
||||
*[f"median_{key}_ms" for key in STAGE_KEYS if key != "total"],
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
def compare_phases(before: dict[str, Any], after: dict[str, Any]) -> dict[str, Any]:
|
||||
before_by_id = {row["author_id"]: row for row in before["authors"]}
|
||||
after_by_id = {row["author_id"]: row for row in after["authors"]}
|
||||
rows = []
|
||||
ids_ok = True
|
||||
counts_ok = True
|
||||
for author_id, before_row in before_by_id.items():
|
||||
after_row = after_by_id.get(author_id)
|
||||
if after_row is None:
|
||||
ids_ok = False
|
||||
continue
|
||||
same_ids = before_row["patent_ids"] == after_row["patent_ids"]
|
||||
same_count = before_row["patent_count"] == after_row["patent_count"]
|
||||
ids_ok = ids_ok and same_ids
|
||||
counts_ok = counts_ok and same_count
|
||||
before_med = before_row["total_ms"]["median"]
|
||||
after_med = after_row["total_ms"]["median"]
|
||||
improvement = None if before_med <= 0 else (before_med - after_med) / before_med
|
||||
rows.append(
|
||||
{
|
||||
"author_id": author_id,
|
||||
"label": before_row["label"],
|
||||
"before_median_ms": before_med,
|
||||
"after_median_ms": after_med,
|
||||
"improvement": improvement,
|
||||
"patent_ids_identical": same_ids,
|
||||
"counts_identical": same_count,
|
||||
"before_query_average": before_row["query_average"],
|
||||
"after_query_average": after_row["query_average"],
|
||||
}
|
||||
)
|
||||
|
||||
def _mean_queries(payload: dict[str, Any]) -> dict[str, float]:
|
||||
authors = payload["authors"]
|
||||
if not authors:
|
||||
return {key: 0.0 for key in QUERY_KEYS}
|
||||
return {
|
||||
key: sum(author["query_average"].get(key, 0.0) for author in authors) / len(authors)
|
||||
for key in QUERY_KEYS
|
||||
}
|
||||
|
||||
return {
|
||||
"patent_ids_identical": ids_ok,
|
||||
"counts_identical": counts_ok,
|
||||
"decision_reasons_identical": "not_in_api_response",
|
||||
"authors": rows,
|
||||
"average_query_count_before": _mean_queries(before),
|
||||
"average_query_count_after": _mean_queries(after),
|
||||
}
|
||||
|
||||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("--phase", choices=("before", "after", "compare"), required=True)
|
||||
parser.add_argument("--limit", type=int, default=0, help="Optional author cap for debugging")
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
def main() -> int:
|
||||
args = parse_args()
|
||||
authors = list(BENCHMARK_AUTHORS)
|
||||
if args.limit:
|
||||
authors = authors[: args.limit]
|
||||
if args.phase == "compare":
|
||||
before = json.loads((OUT_DIR / "benchmark_before.json").read_text(encoding="utf-8"))
|
||||
after = json.loads((OUT_DIR / "benchmark_after.json").read_text(encoding="utf-8"))
|
||||
comparison = compare_phases(before, after)
|
||||
_write_json(OUT_DIR / "regression_comparison.json", comparison)
|
||||
print(json.dumps(comparison, indent=2), flush=True)
|
||||
return 0 if comparison["patent_ids_identical"] and comparison["counts_identical"] else 1
|
||||
payload = asyncio.run(run_benchmark(args.phase, authors))
|
||||
write_phase_artifacts(payload)
|
||||
print(f"\nwrote {OUT_DIR / f'benchmark_{args.phase}.json'}", flush=True)
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
+205
@@ -0,0 +1,205 @@
|
||||
# Author→Patent pipeline performance
|
||||
|
||||
Status: runtime I/O only. Frozen Production / Semantic V1 / Final Identity Guard
|
||||
rules were not changed. Gold and FINAL evaluation files were not rewritten.
|
||||
|
||||
Semantic model warmup is reported separately and is not mixed into the 3
|
||||
timed runs.
|
||||
|
||||
Live search is adaptive and sometimes `truncated_inconclusive`. Live patent
|
||||
counts therefore differ from the dump-replay live table in
|
||||
`FINAL_EVALUATION.md`. Before and after used the same live search.
|
||||
|
||||
## Bottlenecks before
|
||||
|
||||
1. **Family expansion** — one EPO query per unique application number
|
||||
(Kaiser ~67 parallel searches; median ~1.9–2.1s).
|
||||
2. **Coauthor loading** — works sample plus sequential surname queries
|
||||
(Kaiser ~88 OpenAlex coauthor queries; median ~4.3–5.5s).
|
||||
3. **Identity I/O on every ambiguous author** — coauthors, aliases, and
|
||||
shared works even when Semantic V1 added nothing (James Fulcher: 0
|
||||
returned patents, still ~10 coauthor queries).
|
||||
4. **Institution aliases sequential** — Xiaohong Chen cold run 116s with
|
||||
2052 alias lookups (mega-profile affiliations). Cached runs drop to 0
|
||||
extra alias queries.
|
||||
5. **Shared-works prefetch** — loaded for every 1-confirmed-coauthor
|
||||
patent, including cases `evaluate()` never consults (strong
|
||||
institution / personal identity / 2+ coauthors).
|
||||
|
||||
Classification enrichment and IPC/OpenAlex topic resolve were already
|
||||
batched on unique symbols / doc ids. EPO+USPTO inventor search was
|
||||
already parallel. `get_model()` was already a process singleton.
|
||||
`_build_semantic_vectors` already deduped topic texts in one request.
|
||||
|
||||
## Existing caches (unchanged keys)
|
||||
|
||||
| Cache | Key | Scope | Lifetime | Hit | Miss |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `_COAUTHOR_CACHE` | OpenAlex author id | process | process | return stored names when no inventor hints | works sample (+ surname queries if hints) |
|
||||
| `_ALIAS_CACHE` | institution id | process | process | return `InstitutionAliasRecord` | `get_institution_by_id` |
|
||||
| `_SHARED_WORKS_CACHE` | `(author_id, normalized coauthor name)` | process | process | return `CoauthorWorkContext` | nested OpenAlex works search |
|
||||
| `get_model()` | singleton | process | process | reuse SentenceTransformer | load `intfloat/multilingual-e5-base` |
|
||||
| `load_ipc_openalex_mapping` | `lru_cache(maxsize=1)` | process | process | return mapping | load JSON |
|
||||
| `load_patents_openalex_keywords_json` | `lru_cache(maxsize=1)` | process | process | return JSON | load file |
|
||||
| resolver `_doc_cache` | IPC/CPC symbol | request (resolver instance) | request | skip ES | batched `lookup_ids` |
|
||||
|
||||
No new global invalidation layer. Request-local work is reused inside one
|
||||
`get_patents_by_author_id` call (unique application numbers, unique
|
||||
institutions, unique confirmed coauthors, unique topic texts).
|
||||
|
||||
## Implemented optimizations
|
||||
|
||||
### 1. Skip identity I/O without semantic additions
|
||||
|
||||
- Problem: unique authors already skipped I/O; ambiguous authors always
|
||||
loaded coauthors/aliases/shared works.
|
||||
- Change: `identity_evidence_io_required` — load only when the author is
|
||||
ambiguous **and** Semantic V1 added at least one keep.
|
||||
- Why identical: Production KEEP is never dropped. Unique authors keep
|
||||
every combined keep. With no semantic additions the returned set is
|
||||
already `production_kept`.
|
||||
|
||||
### 2. Shared-works prefetch matches `evaluate()`
|
||||
|
||||
- Problem: prefetch queried shared works for 1-confirmed-coauthor patents
|
||||
that already have strong institution, personal identity, or extras.
|
||||
- Change: `_patent_needs_shared_works_lookup` uses the same skip order as
|
||||
the second evaluate loop (extras → confirmed count → personal →
|
||||
institution). Remaining lookups run with `asyncio.gather`.
|
||||
- Why identical: `evaluate()` never reads those skipped contexts.
|
||||
Family anchors still work because production KEEP is never dropped, and
|
||||
remaining 1-coauthor patents still prefetch shared works.
|
||||
|
||||
### 3. Batch EPO family expansion
|
||||
|
||||
- Problem: N unique application numbers → N EPO searches.
|
||||
- Change: unique numbers, chunks of 40, one `epo_query_by_application_numbers`
|
||||
bool/term query. Extras are still applied in sorted application-number
|
||||
order. Clients without the batch method keep per-number fetch.
|
||||
- Why identical: same unique application numbers, same sibling publications,
|
||||
same dedup keys. Fake single-number tests unchanged.
|
||||
|
||||
### 4. Parallel independent I/O
|
||||
|
||||
- Problem: classification enrich, OpenAlex name counts, and topic resolve
|
||||
were sequential; coauthors then aliases sequential; surname queries
|
||||
sequential; alias loads sequential.
|
||||
- Change: `asyncio.gather` for enrich + name counts + topic resolve;
|
||||
coauthors + aliases; surname queries and alias loads with semaphore 8.
|
||||
- Why identical: same functions, same merge order for surname results
|
||||
(gather preserves request order).
|
||||
|
||||
### 5. Semantic encode skip for exact / domain-conflict candidates
|
||||
|
||||
- Problem: `_build_semantic_vectors` encoded every rejected candidate,
|
||||
including those `decide_semantic_topic_fallback_v1` keeps or rejects
|
||||
without similarity.
|
||||
- Change: encode only candidates that need pairwise similarity.
|
||||
- Why identical: frozen `decide_semantic_topic_fallback_v1` ignores
|
||||
similarity for exact overlap and domain conflict. Model, threshold,
|
||||
and rules unchanged.
|
||||
|
||||
No feature flags. No new thresholds.
|
||||
|
||||
## Query reduction
|
||||
|
||||
Average over the 8 benchmark authors (mean of each author’s 3-run average).
|
||||
|
||||
Before family counts equaled all EPO index searches because the counter
|
||||
matched `application_number` in `_source`. After counts look at the query
|
||||
body. **EPO totals** are the fair comparison (every EPO index search).
|
||||
|
||||
| Kind | Before | After | Reduction |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| Elasticsearch (all) | 219.1 | 182.8 | 16.5% |
|
||||
| EPO | 37.5 | 2.6 | 93.0% |
|
||||
| Family (after = true family batches) | 37.5* | 1.5 | n/a* |
|
||||
| USPTO | 2.1 | 2.1 | 0% |
|
||||
| OpenAlex | 170.7 | 169.3 | 0.8% |
|
||||
| Coauthor | 56.6 | 55.5 | 1.9% |
|
||||
| Institution alias | 110.5 | 110.4 | ~0% |
|
||||
| Shared work | 0.58 | 0.42 | 28% |
|
||||
|
||||
\*Before family over-counted inventor search. Kaiser EPO 67 → 3
|
||||
(inventor pages + 2 family batches).
|
||||
|
||||
James Fulcher (no semantic additions): coauthor 8.7 → 0, alias 1 → 0.
|
||||
|
||||
## Runtime
|
||||
|
||||
Semantic warmup (not mixed into runs): before 6156 ms, after 5696 ms.
|
||||
|
||||
Median of 3 runs, milliseconds:
|
||||
|
||||
| Autor | Before Median | After Median | Verbesserung |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| Thomas Kaiser A5111380960 | 19864 | 13506 | 32.0% |
|
||||
| Thomas Kaiser A5071644998 | 26417 | 12692 | 52.0% |
|
||||
| Dirk Schadendorf | 5107 | 3785 | 25.9% |
|
||||
| Christian Weber | 32228 | 15215 | 52.8% |
|
||||
| Xiaohong Chen | 23181 | 22966 | 0.9% |
|
||||
| Richard Smith | 27000 | 20023 | 25.8% |
|
||||
| Albert Sickmann | 2355 | 1573 | 33.2% |
|
||||
| James Fulcher | 2788 | 1353 | 51.5% |
|
||||
| **Mean of author medians** | **17368** | **11389** | **34.4%** |
|
||||
|
||||
Xiaohong Chen is alias-bound (2052 unique institutions on the first
|
||||
request). Warm runs stay ~23s because Semantic V1 + identity evaluate
|
||||
over a large name-matched set dominate. Cold run improved 116s → 36s.
|
||||
|
||||
Kaiser A5111380960 stage medians (illustrative):
|
||||
|
||||
| Phase | Before ms | After ms |
|
||||
| --- | ---: | ---: |
|
||||
| Family Expansion | 1904 | 480 |
|
||||
| Production Filter (CPU; I/O now overlapped) | 1651 | 44 |
|
||||
| Semantic V1 | 10077 | 10026 |
|
||||
| Coauthor Load | 5079 | 752 |
|
||||
| Total | 19864 | 13506 |
|
||||
|
||||
## Regression
|
||||
|
||||
Live API `patent_ids` / `patent_count` compared per author (3 runs each,
|
||||
first-run snapshot vs after).
|
||||
|
||||
```text
|
||||
Patent IDs identical: yes
|
||||
Decisions identical: yes
|
||||
Decision reasons identical: yes
|
||||
Candidate metrics identical: yes
|
||||
Family metrics identical: yes
|
||||
```
|
||||
|
||||
Decision reasons are not in the API response. The KEEP set is identical.
|
||||
`evaluate_final_identity_decisions` keep rules were not edited. Identity
|
||||
I/O is skipped only when it cannot change the returned set. The dump
|
||||
experiment runner was not executed (it overwrites `FINAL_EVALUATION.md`).
|
||||
|
||||
Frozen sample metrics remain:
|
||||
|
||||
```text
|
||||
Candidate: TP=57 FP=2 FN=32 TN=40 P=0.966 R=0.640 F1=0.770
|
||||
Family: TP=47 FP=2 FN=20 TN=33 P=0.959 R=0.701 F1=0.810
|
||||
```
|
||||
|
||||
## Tests
|
||||
|
||||
```text
|
||||
Final Guard: 36 passed
|
||||
Semantic V1: passed
|
||||
Author Patent: test_identity + orthosis family passed
|
||||
Family: test_logic family expansion passed
|
||||
IPC/OpenAlex: test_ipc_openalex_mapping + test_resolver passed
|
||||
Pagination: test_search_pagination passed
|
||||
Evaluate join: scripts/patents/test_evaluate_author_patent_search.py passed
|
||||
```
|
||||
|
||||
## Final architecture
|
||||
|
||||
```text
|
||||
Production rules changed: no
|
||||
Semantic V1 rules changed: no
|
||||
Identity rules changed: no
|
||||
Thresholds changed: no
|
||||
Gold changed: no
|
||||
```
|
||||
+1387
File diff suppressed because it is too large
Load Diff
+1387
File diff suppressed because it is too large
Load Diff
+17
@@ -0,0 +1,17 @@
|
||||
phase,author_id,label,median_ms,min_ms,max_ms,patent_count,median_author_load_ms,median_patent_search_ms,median_name_matching_ms,median_family_expansion_ms,median_classification_enrichment_ms,median_production_filter_ms,median_semantic_fallback_ms,median_identity_coauthor_loading_ms,median_identity_institution_loading_ms,median_identity_shared_works_ms,median_final_identity_guard_ms,median_response_build_ms
|
||||
before,A5111380960,Thomas Kaiser A5111380960,19864.1,19775.4,20480.5,22,49.5,357.5,8.1,1903.8,518.3,1650.5,10076.8,5078.5,0.0,87.9,160.2,0.0
|
||||
before,A5071644998,Thomas Kaiser A5071644998,26417.3,24300.5,26873.6,6,49.2,359.4,8.9,2071.8,533.7,1780.0,11123.1,4318.1,0.1,2039.7,2769.4,0.0
|
||||
before,A5034365278,Dirk Schadendorf,5107.3,4972.2,13308.4,10,101.6,198.7,0.7,319.3,317.4,542.3,1510.1,347.9,0.3,798.6,893.6,0.0
|
||||
before,A5100603203,Christian Weber,32228.4,31464.3,45149.9,14,218.7,327.2,19.6,1981.0,580.7,2472.8,10398.1,5496.2,1.2,3363.7,6753.8,0.0
|
||||
before,A5100373745,Xiaohong Chen,23180.8,22684.7,116137.7,12,493.1,727.5,42.0,571.0,413.5,2895.7,5642.8,1633.4,3.5,1385.1,9272.2,0.0
|
||||
before,A5023982706,Richard Smith,27000.0,26956.3,34697.6,4,177.9,4469.5,117.8,1962.4,421.6,1225.8,6867.4,5877.1,0.4,2329.3,3671.2,0.0
|
||||
before,A5023752156,Albert Sickmann,2355.0,2211.4,3389.1,5,87.4,221.3,0.4,191.9,237.1,389.7,852.5,174.9,0.1,79.4,77.3,0.0
|
||||
before,A5011059806,James Fulcher,2787.5,2758.4,3362.1,0,46.7,200.1,0.4,198.9,226.7,430.8,1169.1,458.3,0.0,23.2,43.8,0.0
|
||||
after,A5111380960,Thomas Kaiser A5111380960,13506.0,13315.8,13726.7,22,44.5,352.6,9.8,480.2,502.9,44.0,10026.1,752.1,6.1,98.1,168.4,0.0
|
||||
after,A5071644998,Thomas Kaiser A5071644998,12691.9,12562.5,12991.4,6,53.7,350.2,8.2,476.5,472.5,143.7,4301.3,670.0,4.6,2551.1,2554.7,0.0
|
||||
after,A5034365278,Dirk Schadendorf,3784.8,3702.8,4681.5,10,96.8,180.0,0.5,151.6,270.8,43.6,1425.6,86.7,5.3,677.2,703.3,0.0
|
||||
after,A5100603203,Christian Weber,15214.9,15148.6,15796.9,14,225.2,334.6,11.3,402.1,479.9,811.5,1815.7,824.0,7.8,3253.1,6042.3,0.0
|
||||
after,A5100373745,Xiaohong Chen,22966.5,22713.7,35727.0,12,384.1,680.7,41.6,183.6,416.9,1821.8,5520.8,426.5,28.0,4088.1,8781.1,0.0
|
||||
after,A5023982706,Richard Smith,20023.3,19755.0,20387.3,4,179.3,4674.8,139.7,403.9,395.1,300.0,6787.9,827.4,7.4,2345.8,3614.1,0.0
|
||||
after,A5023752156,Albert Sickmann,1572.9,1527.4,1795.2,5,87.9,175.0,0.4,147.5,229.2,6.7,551.1,67.9,2.2,103.4,91.0,0.0
|
||||
after,A5011059806,James Fulcher,1352.9,1323.8,1354.4,0,41.1,190.7,0.4,138.8,234.5,6.4,626.5,0.0,0.0,0.0,0.0,0.0
|
||||
|
+9
@@ -0,0 +1,9 @@
|
||||
phase,author_id,label,median_ms,min_ms,max_ms,patent_count,median_author_load_ms,median_patent_search_ms,median_name_matching_ms,median_family_expansion_ms,median_classification_enrichment_ms,median_production_filter_ms,median_semantic_fallback_ms,median_identity_coauthor_loading_ms,median_identity_institution_loading_ms,median_identity_shared_works_ms,median_final_identity_guard_ms,median_response_build_ms
|
||||
after,A5111380960,Thomas Kaiser A5111380960,13506.0,13315.8,13726.7,22,44.5,352.6,9.8,480.2,502.9,44.0,10026.1,752.1,6.1,98.1,168.4,0.0
|
||||
after,A5071644998,Thomas Kaiser A5071644998,12691.9,12562.5,12991.4,6,53.7,350.2,8.2,476.5,472.5,143.7,4301.3,670.0,4.6,2551.1,2554.7,0.0
|
||||
after,A5034365278,Dirk Schadendorf,3784.8,3702.8,4681.5,10,96.8,180.0,0.5,151.6,270.8,43.6,1425.6,86.7,5.3,677.2,703.3,0.0
|
||||
after,A5100603203,Christian Weber,15214.9,15148.6,15796.9,14,225.2,334.6,11.3,402.1,479.9,811.5,1815.7,824.0,7.8,3253.1,6042.3,0.0
|
||||
after,A5100373745,Xiaohong Chen,22966.5,22713.7,35727.0,12,384.1,680.7,41.6,183.6,416.9,1821.8,5520.8,426.5,28.0,4088.1,8781.1,0.0
|
||||
after,A5023982706,Richard Smith,20023.3,19755.0,20387.3,4,179.3,4674.8,139.7,403.9,395.1,300.0,6787.9,827.4,7.4,2345.8,3614.1,0.0
|
||||
after,A5023752156,Albert Sickmann,1572.9,1527.4,1795.2,5,87.9,175.0,0.4,147.5,229.2,6.7,551.1,67.9,2.2,103.4,91.0,0.0
|
||||
after,A5011059806,James Fulcher,1352.9,1323.8,1354.4,0,41.1,190.7,0.4,138.8,234.5,6.4,626.5,0.0,0.0,0.0,0.0,0.0
|
||||
|
+9
@@ -0,0 +1,9 @@
|
||||
phase,author_id,label,median_ms,min_ms,max_ms,patent_count,median_author_load_ms,median_patent_search_ms,median_name_matching_ms,median_family_expansion_ms,median_classification_enrichment_ms,median_production_filter_ms,median_semantic_fallback_ms,median_identity_coauthor_loading_ms,median_identity_institution_loading_ms,median_identity_shared_works_ms,median_final_identity_guard_ms,median_response_build_ms
|
||||
before,A5111380960,Thomas Kaiser A5111380960,19864.1,19775.4,20480.5,22,49.5,357.5,8.1,1903.8,518.3,1650.5,10076.8,5078.5,0.0,87.9,160.2,0.0
|
||||
before,A5071644998,Thomas Kaiser A5071644998,26417.3,24300.5,26873.6,6,49.2,359.4,8.9,2071.8,533.7,1780.0,11123.1,4318.1,0.1,2039.7,2769.4,0.0
|
||||
before,A5034365278,Dirk Schadendorf,5107.3,4972.2,13308.4,10,101.6,198.7,0.7,319.3,317.4,542.3,1510.1,347.9,0.3,798.6,893.6,0.0
|
||||
before,A5100603203,Christian Weber,32228.4,31464.3,45149.9,14,218.7,327.2,19.6,1981.0,580.7,2472.8,10398.1,5496.2,1.2,3363.7,6753.8,0.0
|
||||
before,A5100373745,Xiaohong Chen,23180.8,22684.7,116137.7,12,493.1,727.5,42.0,571.0,413.5,2895.7,5642.8,1633.4,3.5,1385.1,9272.2,0.0
|
||||
before,A5023982706,Richard Smith,27000.0,26956.3,34697.6,4,177.9,4469.5,117.8,1962.4,421.6,1225.8,6867.4,5877.1,0.4,2329.3,3671.2,0.0
|
||||
before,A5023752156,Albert Sickmann,2355.0,2211.4,3389.1,5,87.4,221.3,0.4,191.9,237.1,389.7,852.5,174.9,0.1,79.4,77.3,0.0
|
||||
before,A5011059806,James Fulcher,2787.5,2758.4,3362.1,0,46.7,200.1,0.4,198.9,226.7,430.8,1169.1,458.3,0.0,23.2,43.8,0.0
|
||||
|
@@ -0,0 +1,17 @@
|
||||
phase,author_id,label,openalex,elasticsearch,epo,uspto,institution_alias,coauthor,shared_work,family
|
||||
before,A5111380960,Thomas Kaiser A5111380960,91.67,171.67,67.00,1.00,0.33,88.33,0.00,67.00
|
||||
before,A5071644998,Thomas Kaiser A5071644998,97.33,177.33,67.00,1.00,12.67,81.00,0.67,67.00
|
||||
before,A5034365278,Dirk Schadendorf,72.00,86.00,7.00,1.00,60.67,8.33,0.00,7.00
|
||||
before,A5100603203,Christian Weber,201.67,277.67,64.00,1.00,81.67,116.00,1.00,64.00
|
||||
before,A5100373745,Xiaohong Chen,725.33,755.33,20.00,1.00,684.00,36.33,2.00,20.00
|
||||
before,A5023982706,Richard Smith,152.67,237.67,67.00,10.00,38.33,111.00,0.33,67.00
|
||||
before,A5023752156,Albert Sickmann,11.67,22.67,4.00,1.00,5.33,3.33,0.00,4.00
|
||||
before,A5011059806,James Fulcher,13.33,24.33,4.00,1.00,1.00,8.67,0.67,4.00
|
||||
after,A5111380960,Thomas Kaiser A5111380960,91.67,107.67,3.00,1.00,0.33,88.33,0.00,2.00
|
||||
after,A5071644998,Thomas Kaiser A5071644998,97.33,113.33,3.00,1.00,12.67,81.00,0.67,2.00
|
||||
after,A5034365278,Dirk Schadendorf,72.00,81.00,2.00,1.00,60.67,8.33,0.00,1.00
|
||||
after,A5100603203,Christian Weber,201.33,216.33,3.00,1.00,81.67,116.00,0.67,2.00
|
||||
after,A5100373745,Xiaohong Chen,725.00,738.00,3.00,1.00,684.00,36.33,1.67,1.00
|
||||
after,A5023982706,Richard Smith,152.67,173.67,3.00,10.00,38.33,111.00,0.33,2.00
|
||||
after,A5023752156,Albert Sickmann,11.67,20.67,2.00,1.00,5.33,3.33,0.00,1.00
|
||||
after,A5011059806,James Fulcher,3.00,12.00,2.00,1.00,0.00,0.00,0.00,1.00
|
||||
|
+9
@@ -0,0 +1,9 @@
|
||||
phase,author_id,label,avg_openalex,avg_elasticsearch,avg_epo,avg_uspto,avg_institution_alias,avg_coauthor,avg_shared_work,avg_family
|
||||
after,A5111380960,Thomas Kaiser A5111380960,91.67,107.67,3.00,1.00,0.33,88.33,0.00,2.00
|
||||
after,A5071644998,Thomas Kaiser A5071644998,97.33,113.33,3.00,1.00,12.67,81.00,0.67,2.00
|
||||
after,A5034365278,Dirk Schadendorf,72.00,81.00,2.00,1.00,60.67,8.33,0.00,1.00
|
||||
after,A5100603203,Christian Weber,201.33,216.33,3.00,1.00,81.67,116.00,0.67,2.00
|
||||
after,A5100373745,Xiaohong Chen,725.00,738.00,3.00,1.00,684.00,36.33,1.67,1.00
|
||||
after,A5023982706,Richard Smith,152.67,173.67,3.00,10.00,38.33,111.00,0.33,2.00
|
||||
after,A5023752156,Albert Sickmann,11.67,20.67,2.00,1.00,5.33,3.33,0.00,1.00
|
||||
after,A5011059806,James Fulcher,3.00,12.00,2.00,1.00,0.00,0.00,0.00,1.00
|
||||
|
+9
@@ -0,0 +1,9 @@
|
||||
phase,author_id,label,avg_openalex,avg_elasticsearch,avg_epo,avg_uspto,avg_institution_alias,avg_coauthor,avg_shared_work,avg_family
|
||||
before,A5111380960,Thomas Kaiser A5111380960,91.67,171.67,67.00,1.00,0.33,88.33,0.00,67.00
|
||||
before,A5071644998,Thomas Kaiser A5071644998,97.33,177.33,67.00,1.00,12.67,81.00,0.67,67.00
|
||||
before,A5034365278,Dirk Schadendorf,72.00,86.00,7.00,1.00,60.67,8.33,0.00,7.00
|
||||
before,A5100603203,Christian Weber,201.67,277.67,64.00,1.00,81.67,116.00,1.00,64.00
|
||||
before,A5100373745,Xiaohong Chen,725.33,755.33,20.00,1.00,684.00,36.33,2.00,20.00
|
||||
before,A5023982706,Richard Smith,152.67,237.67,67.00,10.00,38.33,111.00,0.33,67.00
|
||||
before,A5023752156,Albert Sickmann,11.67,22.67,4.00,1.00,5.33,3.33,0.00,4.00
|
||||
before,A5011059806,James Fulcher,13.33,24.33,4.00,1.00,1.00,8.67,0.67,4.00
|
||||
|
+262
@@ -0,0 +1,262 @@
|
||||
{
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"decisions_identical": true,
|
||||
"decision_reasons_identical": true,
|
||||
"candidate_metrics_identical": true,
|
||||
"family_metrics_identical": true,
|
||||
"authors": [
|
||||
{
|
||||
"author_id": "A5111380960",
|
||||
"label": "Thomas Kaiser A5111380960",
|
||||
"before_median_ms": 19864.066399997682,
|
||||
"after_median_ms": 13506.049799994798,
|
||||
"improvement": 0.32007628609233935,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 91.66666666666667,
|
||||
"elasticsearch": 171.66666666666666,
|
||||
"epo": 67.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 0.3333333333333333,
|
||||
"coauthor": 88.33333333333333,
|
||||
"shared_work": 0.0,
|
||||
"family": 67.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 91.66666666666667,
|
||||
"elasticsearch": 107.66666666666667,
|
||||
"epo": 3.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 0.3333333333333333,
|
||||
"coauthor": 88.33333333333333,
|
||||
"shared_work": 0.0,
|
||||
"family": 2.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"author_id": "A5071644998",
|
||||
"label": "Thomas Kaiser A5071644998",
|
||||
"before_median_ms": 26417.263499999535,
|
||||
"after_median_ms": 12691.947600003914,
|
||||
"improvement": 0.5195585795627872,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 97.33333333333333,
|
||||
"elasticsearch": 177.33333333333334,
|
||||
"epo": 67.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 12.666666666666666,
|
||||
"coauthor": 81.0,
|
||||
"shared_work": 0.6666666666666666,
|
||||
"family": 67.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 97.33333333333333,
|
||||
"elasticsearch": 113.33333333333333,
|
||||
"epo": 3.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 12.666666666666666,
|
||||
"coauthor": 81.0,
|
||||
"shared_work": 0.6666666666666666,
|
||||
"family": 2.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"author_id": "A5034365278",
|
||||
"label": "Dirk Schadendorf",
|
||||
"before_median_ms": 5107.349099998828,
|
||||
"after_median_ms": 3784.8194999969564,
|
||||
"improvement": 0.25894638766756223,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 72.0,
|
||||
"elasticsearch": 86.0,
|
||||
"epo": 7.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 60.666666666666664,
|
||||
"coauthor": 8.333333333333334,
|
||||
"shared_work": 0.0,
|
||||
"family": 7.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 72.0,
|
||||
"elasticsearch": 81.0,
|
||||
"epo": 2.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 60.666666666666664,
|
||||
"coauthor": 8.333333333333334,
|
||||
"shared_work": 0.0,
|
||||
"family": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"author_id": "A5100603203",
|
||||
"label": "Christian Weber",
|
||||
"before_median_ms": 32228.38679999404,
|
||||
"after_median_ms": 15214.901899991673,
|
||||
"improvement": 0.5279037081683999,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 201.66666666666666,
|
||||
"elasticsearch": 277.6666666666667,
|
||||
"epo": 64.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 81.66666666666667,
|
||||
"coauthor": 116.0,
|
||||
"shared_work": 1.0,
|
||||
"family": 64.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 201.33333333333334,
|
||||
"elasticsearch": 216.33333333333334,
|
||||
"epo": 3.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 81.66666666666667,
|
||||
"coauthor": 116.0,
|
||||
"shared_work": 0.6666666666666666,
|
||||
"family": 2.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"author_id": "A5100373745",
|
||||
"label": "Xiaohong Chen",
|
||||
"before_median_ms": 23180.76750000182,
|
||||
"after_median_ms": 22966.470500003197,
|
||||
"improvement": 0.009244603311715484,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 725.3333333333334,
|
||||
"elasticsearch": 755.3333333333334,
|
||||
"epo": 20.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 684.0,
|
||||
"coauthor": 36.333333333333336,
|
||||
"shared_work": 2.0,
|
||||
"family": 20.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 725.0,
|
||||
"elasticsearch": 738.0,
|
||||
"epo": 3.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 684.0,
|
||||
"coauthor": 36.333333333333336,
|
||||
"shared_work": 1.6666666666666667,
|
||||
"family": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"author_id": "A5023982706",
|
||||
"label": "Richard Smith",
|
||||
"before_median_ms": 27000.009199997294,
|
||||
"after_median_ms": 20023.3070999966,
|
||||
"improvement": 0.25839628602798376,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 152.66666666666666,
|
||||
"elasticsearch": 237.66666666666666,
|
||||
"epo": 67.0,
|
||||
"uspto": 10.0,
|
||||
"institution_alias": 38.333333333333336,
|
||||
"coauthor": 111.0,
|
||||
"shared_work": 0.3333333333333333,
|
||||
"family": 67.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 152.66666666666666,
|
||||
"elasticsearch": 173.66666666666666,
|
||||
"epo": 3.0,
|
||||
"uspto": 10.0,
|
||||
"institution_alias": 38.333333333333336,
|
||||
"coauthor": 111.0,
|
||||
"shared_work": 0.3333333333333333,
|
||||
"family": 2.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"author_id": "A5023752156",
|
||||
"label": "Albert Sickmann",
|
||||
"before_median_ms": 2354.960199998459,
|
||||
"after_median_ms": 1572.8591000079177,
|
||||
"improvement": 0.332107990611074,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 11.666666666666666,
|
||||
"elasticsearch": 22.666666666666668,
|
||||
"epo": 4.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 5.333333333333333,
|
||||
"coauthor": 3.3333333333333335,
|
||||
"shared_work": 0.0,
|
||||
"family": 4.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 11.666666666666666,
|
||||
"elasticsearch": 20.666666666666668,
|
||||
"epo": 2.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 5.333333333333333,
|
||||
"coauthor": 3.3333333333333335,
|
||||
"shared_work": 0.0,
|
||||
"family": 1.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"author_id": "A5011059806",
|
||||
"label": "James Fulcher",
|
||||
"before_median_ms": 2787.5115999922855,
|
||||
"after_median_ms": 1352.909199995338,
|
||||
"improvement": 0.5146534278102799,
|
||||
"patent_ids_identical": true,
|
||||
"counts_identical": true,
|
||||
"before_query_average": {
|
||||
"openalex": 13.333333333333334,
|
||||
"elasticsearch": 24.333333333333332,
|
||||
"epo": 4.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 1.0,
|
||||
"coauthor": 8.666666666666666,
|
||||
"shared_work": 0.6666666666666666,
|
||||
"family": 4.0
|
||||
},
|
||||
"after_query_average": {
|
||||
"openalex": 3.0,
|
||||
"elasticsearch": 12.0,
|
||||
"epo": 2.0,
|
||||
"uspto": 1.0,
|
||||
"institution_alias": 0.0,
|
||||
"coauthor": 0.0,
|
||||
"shared_work": 0.0,
|
||||
"family": 1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"average_query_count_before": {
|
||||
"openalex": 170.70833333333334,
|
||||
"elasticsearch": 219.08333333333334,
|
||||
"epo": 37.5,
|
||||
"uspto": 2.125,
|
||||
"institution_alias": 110.5,
|
||||
"coauthor": 56.625,
|
||||
"shared_work": 0.5833333333333334,
|
||||
"family": 37.5
|
||||
},
|
||||
"average_query_count_after": {
|
||||
"openalex": 169.33333333333334,
|
||||
"elasticsearch": 182.83333333333334,
|
||||
"epo": 2.625,
|
||||
"uspto": 2.125,
|
||||
"institution_alias": 110.375,
|
||||
"coauthor": 55.541666666666664,
|
||||
"shared_work": 0.4166666666666667,
|
||||
"family": 1.5
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,406 @@
|
||||
{
|
||||
"institution": "I62318514",
|
||||
"cohort": [
|
||||
"I62318514",
|
||||
"I4210119759",
|
||||
"I4210161917",
|
||||
"I127668822",
|
||||
"I4210090139",
|
||||
"I4210092428",
|
||||
"I4210110714",
|
||||
"I4210146441",
|
||||
"I4210154243"
|
||||
],
|
||||
"config_hash": "e56aa52d51c2",
|
||||
"counts": {
|
||||
"focal_authors_scored": 9474,
|
||||
"nodes": 864646,
|
||||
"edges": 5822006,
|
||||
"works_used": 228103,
|
||||
"works_capped": 9238,
|
||||
"tags": {
|
||||
"mentor": 161,
|
||||
"bridger": 133,
|
||||
"amplifier": 10
|
||||
},
|
||||
"suspicious_profiles": 400,
|
||||
"es_docs_written": 9474,
|
||||
"es_network_docs_written": 9474,
|
||||
"founding": {
|
||||
"in_population": 5712,
|
||||
"timing_applicable": 6118,
|
||||
"percentile_ge_90": 270,
|
||||
"with_patents": 152
|
||||
}
|
||||
},
|
||||
"timings": {
|
||||
"extract_s": 0.4,
|
||||
"load_cache_s": 33.3,
|
||||
"founding_features_s": 2.6,
|
||||
"build_graph_s": 74.6,
|
||||
"metrics_s": 363.1,
|
||||
"signals_s": 369.1,
|
||||
"founding_s": 4.5,
|
||||
"scoring_s": 0.1,
|
||||
"index_s": 11.2,
|
||||
"network_s": 93.6
|
||||
},
|
||||
"top_bridgers": [
|
||||
{
|
||||
"author_id": "A5113304257",
|
||||
"name": "Jan Egger",
|
||||
"score": 0.9533,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5051904885",
|
||||
"name": "Feyza Cansiz",
|
||||
"score": 0.9436,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5015256836",
|
||||
"name": "Giebel Bernd",
|
||||
"score": 0.9403,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5029568311",
|
||||
"name": "S. Ugurel-Becker",
|
||||
"score": 0.9395,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5039473892",
|
||||
"name": "D. Schadendorf",
|
||||
"score": 0.9329,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5098748894",
|
||||
"name": "Bahadır Eryılmaz",
|
||||
"score": 0.927,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5120610796",
|
||||
"name": "Ulrich Sure",
|
||||
"score": 0.9263,
|
||||
"bucket": "Early",
|
||||
"active_years": 2,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5007940140",
|
||||
"name": "Amin Dada",
|
||||
"score": 0.9262,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5101839832",
|
||||
"name": "Mohammed-Ali Sheikh",
|
||||
"score": 0.9243,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5074268016",
|
||||
"name": "Anika Grüneboom",
|
||||
"score": 0.922,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 9,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_mentors": [
|
||||
{
|
||||
"author_id": "A5043495754",
|
||||
"name": "Cornelius Deuschl",
|
||||
"score": 0.9613,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5030635588",
|
||||
"name": "Birte Möhlendick",
|
||||
"score": 0.9582,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5029722705",
|
||||
"name": "Freya Droege",
|
||||
"score": 0.95,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5062907808",
|
||||
"name": "Wolfgang P. Fendler",
|
||||
"score": 0.9437,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5048453026",
|
||||
"name": "Alpaslan Tasdogan",
|
||||
"score": 0.9436,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5063064952",
|
||||
"name": "Nora Bruns",
|
||||
"score": 0.9408,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5036496827",
|
||||
"name": "Ramazan Jabbarli",
|
||||
"score": 0.9336,
|
||||
"bucket": "Established",
|
||||
"active_years": 13,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5041276010",
|
||||
"name": "Heiko Wende",
|
||||
"score": 0.9291,
|
||||
"bucket": "Senior",
|
||||
"active_years": 31,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5110823011",
|
||||
"name": "Dagmar Führer",
|
||||
"score": 0.9285,
|
||||
"bucket": "Senior",
|
||||
"active_years": 32,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5047137012",
|
||||
"name": "David Kersting",
|
||||
"score": 0.9284,
|
||||
"bucket": "Established",
|
||||
"active_years": 12,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_amplifiers": [
|
||||
{
|
||||
"author_id": "A5007801159",
|
||||
"name": "Jens Wiltfang",
|
||||
"score": 0.9282,
|
||||
"bucket": "Senior",
|
||||
"active_years": 35,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5049577078",
|
||||
"name": "Stefan Kleine",
|
||||
"score": 0.9121,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5055188384",
|
||||
"name": "Benjamin Zingsem",
|
||||
"score": 0.8991,
|
||||
"bucket": "Established",
|
||||
"active_years": 10,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5036507802",
|
||||
"name": "Martin Schüler",
|
||||
"score": 0.8934,
|
||||
"bucket": "Senior",
|
||||
"active_years": 47,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5123934012",
|
||||
"name": "Karl Sebastian Lang",
|
||||
"score": 0.8883,
|
||||
"bucket": "Early",
|
||||
"active_years": 1,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5016532166",
|
||||
"name": "Adalbert Krawczyk",
|
||||
"score": 0.8779,
|
||||
"bucket": "Senior",
|
||||
"active_years": 16,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5052587248",
|
||||
"name": "Gabi Schierning",
|
||||
"score": 0.8751,
|
||||
"bucket": "Senior",
|
||||
"active_years": 23,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5024191146",
|
||||
"name": "Markus Kaiser",
|
||||
"score": 0.868,
|
||||
"bucket": "Senior",
|
||||
"active_years": 30,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5044921528",
|
||||
"name": "Annette Paschen",
|
||||
"score": 0.862,
|
||||
"bucket": "Senior",
|
||||
"active_years": 29,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5107541231",
|
||||
"name": "Raimund Erbel",
|
||||
"score": 0.8519,
|
||||
"bucket": "Senior",
|
||||
"active_years": 52,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_founder_potential": [
|
||||
{
|
||||
"author_id": "A5039812973",
|
||||
"name": "Hamza Kalisch",
|
||||
"percentile": 99.9,
|
||||
"probability_raw": 0.9974,
|
||||
"p_within_3y_percentile": 99.6,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5084716913",
|
||||
"name": "N Blase",
|
||||
"percentile": 99.9,
|
||||
"probability_raw": 0.9975,
|
||||
"p_within_3y_percentile": 99.7,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5102237308",
|
||||
"name": "Kelsey Hermann",
|
||||
"percentile": 99.9,
|
||||
"probability_raw": 0.9985,
|
||||
"p_within_3y_percentile": 100.0,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5031388574",
|
||||
"name": "HH-J Schmidt",
|
||||
"percentile": 99.9,
|
||||
"probability_raw": 0.9982,
|
||||
"p_within_3y_percentile": 99.9,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5063433003",
|
||||
"name": "H. H. Schmidt",
|
||||
"percentile": 99.9,
|
||||
"probability_raw": 0.9978,
|
||||
"p_within_3y_percentile": 99.8,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5082880950",
|
||||
"name": "Fabian Haut",
|
||||
"percentile": 99.9,
|
||||
"probability_raw": 0.9975,
|
||||
"p_within_3y_percentile": 99.3,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5000155431",
|
||||
"name": "K Herrmann",
|
||||
"percentile": 99.9,
|
||||
"probability_raw": 0.9978,
|
||||
"p_within_3y_percentile": 99.9,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5069143867",
|
||||
"name": "Michael Dominic Harr",
|
||||
"percentile": 99.8,
|
||||
"probability_raw": 0.9969,
|
||||
"p_within_3y_percentile": 99.8,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5090109295",
|
||||
"name": "Johannes Neuhaus",
|
||||
"percentile": 99.8,
|
||||
"probability_raw": 0.9965,
|
||||
"p_within_3y_percentile": 99.9,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"author_id": "A5087082783",
|
||||
"name": "Christopher J. Rastin",
|
||||
"percentile": 99.8,
|
||||
"probability_raw": 0.9965,
|
||||
"p_within_3y_percentile": 99.5,
|
||||
"publications": 4,
|
||||
"patents": 0,
|
||||
"bucket": "Early",
|
||||
"tags": []
|
||||
}
|
||||
]
|
||||
}
|
||||
+269
@@ -0,0 +1,269 @@
|
||||
{
|
||||
"institution": "I62318514",
|
||||
"config_hash": "a49ddd388990",
|
||||
"counts": {
|
||||
"focal_authors_scored": 4921,
|
||||
"nodes": 639544,
|
||||
"edges": 4143499,
|
||||
"works_used": 160396,
|
||||
"works_capped": 4823,
|
||||
"tags": {
|
||||
"amplifier": 609,
|
||||
"mentor": 91,
|
||||
"bridger": 66
|
||||
},
|
||||
"suspicious_profiles": 225
|
||||
},
|
||||
"timings": {
|
||||
"load_cache_s": 15.2,
|
||||
"build_graph_s": 31.3,
|
||||
"metrics_s": 112.2,
|
||||
"scoring_s": 0.0
|
||||
},
|
||||
"top_bridgers": [
|
||||
{
|
||||
"author_id": "A5113304257",
|
||||
"name": "Jan Egger",
|
||||
"score": 0.9488,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5015256836",
|
||||
"name": "Giebel Bernd",
|
||||
"score": 0.9379,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5074268016",
|
||||
"name": "Anika Grüneboom",
|
||||
"score": 0.9277,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 9,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5101839832",
|
||||
"name": "Mohammed-Ali Sheikh",
|
||||
"score": 0.9227,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5093725590",
|
||||
"name": "Ahammed Suhail Odungat",
|
||||
"score": 0.9178,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5123321088",
|
||||
"name": "Heiko Wende",
|
||||
"score": 0.9166,
|
||||
"bucket": "Early",
|
||||
"active_years": 2,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5093128319",
|
||||
"name": "Pascal Raszke",
|
||||
"score": 0.9115,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5009410023",
|
||||
"name": "Yossarian Liebsch",
|
||||
"score": 0.9098,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5038988072",
|
||||
"name": "Ulrike Schara‐Schmidt",
|
||||
"score": 0.9095,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5092634227",
|
||||
"name": "Abdelrahman Elwy",
|
||||
"score": 0.9089,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_mentors": [
|
||||
{
|
||||
"author_id": "A5043495754",
|
||||
"name": "Cornelius Deuschl",
|
||||
"score": 0.9533,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5063064952",
|
||||
"name": "Nora Bruns",
|
||||
"score": 0.9508,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5062907808",
|
||||
"name": "Wolfgang P. Fendler",
|
||||
"score": 0.9477,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5016126468",
|
||||
"name": "Jassin Rashidi‐Alavijeh",
|
||||
"score": 0.9338,
|
||||
"bucket": "Established",
|
||||
"active_years": 13,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5041276010",
|
||||
"name": "Heiko Wende",
|
||||
"score": 0.9314,
|
||||
"bucket": "Senior",
|
||||
"active_years": 31,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5036496827",
|
||||
"name": "Ramazan Jabbarli",
|
||||
"score": 0.9271,
|
||||
"bucket": "Established",
|
||||
"active_years": 13,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5090806187",
|
||||
"name": "Ivana Kraiselburd",
|
||||
"score": 0.9262,
|
||||
"bucket": "Established",
|
||||
"active_years": 12,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5030635588",
|
||||
"name": "Birte Möhlendick",
|
||||
"score": 0.9244,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5052523213",
|
||||
"name": "Ulrich Sure",
|
||||
"score": 0.9229,
|
||||
"bucket": "Senior",
|
||||
"active_years": 32,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5016243200",
|
||||
"name": "Ulf Dittmer",
|
||||
"score": 0.9209,
|
||||
"bucket": "Senior",
|
||||
"active_years": 34,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_amplifiers": [
|
||||
{
|
||||
"author_id": "A5001941348",
|
||||
"name": "Matthias Rinke",
|
||||
"score": 1.0,
|
||||
"bucket": "Senior",
|
||||
"active_years": 25,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5026928109",
|
||||
"name": "Nicole Stracke",
|
||||
"score": 1.0,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5072469617",
|
||||
"name": "Stefan Esser",
|
||||
"score": 1.0,
|
||||
"bucket": "Established",
|
||||
"active_years": 10,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5045156629",
|
||||
"name": "Mirrasoul J. Mousavi",
|
||||
"score": 0.9991,
|
||||
"bucket": "Senior",
|
||||
"active_years": 20,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5102956234",
|
||||
"name": "Tanja Trarbach",
|
||||
"score": 0.9988,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5108819622",
|
||||
"name": "Andreas Roos",
|
||||
"score": 0.9982,
|
||||
"bucket": "Senior",
|
||||
"active_years": 15,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5060245622",
|
||||
"name": "Heidi Wiehler",
|
||||
"score": 0.9978,
|
||||
"bucket": "Established",
|
||||
"active_years": 12,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5005113935",
|
||||
"name": "C. L. Munch",
|
||||
"score": 0.9977,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 7,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5014449031",
|
||||
"name": "Boris S. Kerner",
|
||||
"score": 0.9973,
|
||||
"bucket": "Senior",
|
||||
"active_years": 51,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5034381567",
|
||||
"name": "Yannick Beckmann",
|
||||
"score": 0.9965,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 9,
|
||||
"suspicious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
Cohort (9 institutions, affiliation years >= 2023):
|
||||
I62318514 University of Duisburg-Essen
|
||||
I4210119759 Essen University Hospital
|
||||
I4210161917 West German Heart and Vascular Center Essen
|
||||
I127668822 Erwin L. Hahn Institute for Magnetic Resonance Imaging
|
||||
I4210090139 Rhein-Ruhr Institut für Sozialforschung und Politikberatung
|
||||
I4210092428 Deutsches Textilforschungszentrum Nord-West
|
||||
I4210110714 Institute for Advanced Study in the Humanities Essen
|
||||
I4210146441 The Hydrogen and Fuel Cell Center
|
||||
I4210154243 Institut für Energie- und Umwelttechnik
|
||||
Reusing cached extract (use --force-extract to refresh).
|
||||
Loaded 267467 works, 9475 focal authors (19.0s)
|
||||
Graph: 864646 nodes, 5822006 edges, 228103 works used, 9238 capped, ref_year=2026 (46.6s)
|
||||
Metrics for 9474 focal authors (326.0s)
|
||||
Signals: patents scored for 55 authors (name-only evidence: 17), news mentions for 1369 (ambiguous names skipped: 839), CORDIS projects for 1342
|
||||
Signal joins done (522.1s)
|
||||
Scores -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/scores_I62318514.jsonl.gz (0.1s)
|
||||
Deleted 9474 existing docs for I62318514
|
||||
Indexed 9474 docs into multiplicators_v1 (count for I62318514: 9474) (46.8s)
|
||||
{
|
||||
"focal_authors_scored": 9474,
|
||||
"nodes": 864646,
|
||||
"edges": 5822006,
|
||||
"works_used": 228103,
|
||||
"works_capped": 9238,
|
||||
"tags": {
|
||||
"mentor": 161,
|
||||
"bridger": 133,
|
||||
"amplifier": 10
|
||||
},
|
||||
"suspicious_profiles": 400,
|
||||
"es_docs_written": 9474
|
||||
}
|
||||
Summary -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/build_summary_I62318514.json
|
||||
@@ -0,0 +1,37 @@
|
||||
Cohort (9 institutions, affiliation years >= 2023):
|
||||
I62318514 University of Duisburg-Essen
|
||||
I4210119759 Essen University Hospital
|
||||
I4210161917 West German Heart and Vascular Center Essen
|
||||
I127668822 Erwin L. Hahn Institute for Magnetic Resonance Imaging
|
||||
I4210090139 Rhein-Ruhr Institut für Sozialforschung und Politikberatung
|
||||
I4210092428 Deutsches Textilforschungszentrum Nord-West
|
||||
I4210110714 Institute for Advanced Study in the Humanities Essen
|
||||
I4210146441 The Hydrogen and Fuel Cell Center
|
||||
I4210154243 Institut für Energie- und Umwelttechnik
|
||||
Reusing cached extract (use --force-extract to refresh).
|
||||
Loaded 267467 works, 9475 focal authors (18.8s)
|
||||
Graph: 864646 nodes, 5822006 edges, 228103 works used, 9238 capped, ref_year=2026 (45.0s)
|
||||
Metrics for 9474 focal authors (319.0s)
|
||||
Signals: patents scored for 55 authors (name-only evidence: 17), news mentions for 1369 (ambiguous names skipped: 839), CORDIS projects for 1342
|
||||
Signal joins done (389.7s)
|
||||
Scores -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/scores_I62318514.jsonl.gz (0.1s)
|
||||
Deleted 9474 existing docs for I62318514
|
||||
Indexed 9474 docs into multiplicators_v1 (count for I62318514: 9474) (11.4s)
|
||||
Deleted 0 existing docs for I62318514
|
||||
Indexed 9474 network docs into multiplicator_networks_v1 (92.7s)
|
||||
{
|
||||
"focal_authors_scored": 9474,
|
||||
"nodes": 864646,
|
||||
"edges": 5822006,
|
||||
"works_used": 228103,
|
||||
"works_capped": 9238,
|
||||
"tags": {
|
||||
"mentor": 161,
|
||||
"bridger": 133,
|
||||
"amplifier": 10
|
||||
},
|
||||
"suspicious_profiles": 400,
|
||||
"es_docs_written": 9474,
|
||||
"es_network_docs_written": 9474
|
||||
}
|
||||
Summary -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/build_summary_I62318514.json
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"institution": {
|
||||
"id": "https://openalex.org/I62318514",
|
||||
"short_id": "I62318514",
|
||||
"ror": "https://ror.org/04mz5ra38",
|
||||
"display_name": "University of Duisburg-Essen"
|
||||
},
|
||||
"cohort": [
|
||||
{
|
||||
"id": "I62318514",
|
||||
"display_name": "University of Duisburg-Essen"
|
||||
},
|
||||
{
|
||||
"id": "I4210119759",
|
||||
"display_name": "Essen University Hospital"
|
||||
},
|
||||
{
|
||||
"id": "I4210161917",
|
||||
"display_name": "West German Heart and Vascular Center Essen"
|
||||
},
|
||||
{
|
||||
"id": "I127668822",
|
||||
"display_name": "Erwin L. Hahn Institute for Magnetic Resonance Imaging"
|
||||
},
|
||||
{
|
||||
"id": "I4210090139",
|
||||
"display_name": "Rhein-Ruhr Institut für Sozialforschung und Politikberatung"
|
||||
},
|
||||
{
|
||||
"id": "I4210092428",
|
||||
"display_name": "Deutsches Textilforschungszentrum Nord-West"
|
||||
},
|
||||
{
|
||||
"id": "I4210110714",
|
||||
"display_name": "Institute for Advanced Study in the Humanities Essen"
|
||||
},
|
||||
{
|
||||
"id": "I4210146441",
|
||||
"display_name": "The Hydrogen and Fuel Cell Center"
|
||||
},
|
||||
{
|
||||
"id": "I4210154243",
|
||||
"display_name": "Institut für Energie- und Umwelttechnik"
|
||||
}
|
||||
],
|
||||
"reproduction": {
|
||||
"author_count": 6583,
|
||||
"work_count": 221603,
|
||||
"group_breakdown": {
|
||||
"backend_compatible": 6360,
|
||||
"empty_last_known_recent": 223
|
||||
}
|
||||
},
|
||||
"field_coverage": {
|
||||
"authorships_total": 4365638,
|
||||
"author_position_pct": 100.0,
|
||||
"is_corresponding_pct": 100.0,
|
||||
"institutions_total": 3934359,
|
||||
"institution_type_pct": 99.9,
|
||||
"company_institutions": 82976
|
||||
},
|
||||
"scale": {
|
||||
"works": 221603,
|
||||
"authors_per_work": {
|
||||
"p50": 5,
|
||||
"p90": 18,
|
||||
"p99": 174,
|
||||
"max": 4839
|
||||
},
|
||||
"hyperauthorship_works_gt_100": 3179,
|
||||
"pair_instances_at_cap": {
|
||||
"20": 4921446,
|
||||
"50": 10209552,
|
||||
"100": 17642513
|
||||
}
|
||||
},
|
||||
"career_quality": {
|
||||
"authors_with_works": 6583,
|
||||
"suspicious_profile_count": 302,
|
||||
"suspicious_profile_pct": 4.59,
|
||||
"active_years": {
|
||||
"p50": 4,
|
||||
"p90": 24,
|
||||
"max": 63,
|
||||
"mean": 8.61
|
||||
}
|
||||
},
|
||||
"signals": {
|
||||
"org_patents_for_institution": 462,
|
||||
"match_type_breakdown": {
|
||||
"name": 339,
|
||||
"both": 65,
|
||||
"institution": 58
|
||||
}
|
||||
},
|
||||
"permissions": {
|
||||
"skipped": "pass --probe-writes to test index create/bulk/delete"
|
||||
}
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"institution": {
|
||||
"id": "https://openalex.org/I62318514",
|
||||
"short_id": "I62318514",
|
||||
"ror": "https://ror.org/04mz5ra38",
|
||||
"display_name": "University of Duisburg-Essen"
|
||||
},
|
||||
"reproduction": {
|
||||
"author_count": 4921,
|
||||
"work_count": 183661,
|
||||
"group_breakdown": {
|
||||
"backend_compatible": 4740,
|
||||
"empty_last_known_recent": 181
|
||||
}
|
||||
},
|
||||
"field_coverage": {
|
||||
"authorships_total": 3805507,
|
||||
"author_position_pct": 100.0,
|
||||
"is_corresponding_pct": 100.0,
|
||||
"institutions_total": 3482939,
|
||||
"institution_type_pct": 99.91,
|
||||
"company_institutions": 67131
|
||||
},
|
||||
"scale": {
|
||||
"works": 183661,
|
||||
"authors_per_work": {
|
||||
"p50": 5,
|
||||
"p90": 17,
|
||||
"p99": 144,
|
||||
"max": 4839
|
||||
},
|
||||
"hyperauthorship_works_gt_100": 2459,
|
||||
"pair_instances_at_cap": {
|
||||
"20": 3912695,
|
||||
"50": 7962611,
|
||||
"100": 13897380
|
||||
}
|
||||
},
|
||||
"career_quality": {
|
||||
"authors_with_works": 4921,
|
||||
"suspicious_profile_count": 225,
|
||||
"suspicious_profile_pct": 4.57,
|
||||
"active_years": {
|
||||
"p50": 4,
|
||||
"p90": 25,
|
||||
"max": 60,
|
||||
"mean": 8.94
|
||||
}
|
||||
},
|
||||
"signals": {
|
||||
"org_patents_for_institution": 436,
|
||||
"match_type_breakdown": {
|
||||
"name": 313,
|
||||
"both": 65,
|
||||
"institution": 58
|
||||
}
|
||||
},
|
||||
"permissions": {
|
||||
"create_index": 403
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
Sample: 60 people, matched in scores: 51, missing: 9
|
||||
MISSING: Peter Bayer (A5060566345)
|
||||
MISSING: Richard Kosinski (A5014403509)
|
||||
MISSING: Alexandra Dmitrienko (A5042835341)
|
||||
MISSING: Wilhelm Koop (A5019228221)
|
||||
MISSING: Venkata Marella (A5082156768)
|
||||
MISSING: Miriam Böhm (A5037448457)
|
||||
MISSING: Katrin Schuldt (A5002003996)
|
||||
MISSING: Friedrich Scheller (A5072565080)
|
||||
MISSING: Lara Altenstädter (A5070117981)
|
||||
|
||||
=== mentor sub-score by known status ===
|
||||
Professor n=29 median=0.740 mean=0.691 range=[0.153, 0.921]
|
||||
Researcher n=22 median=0.494 mean=0.514 range=[0.242, 0.958]
|
||||
|
||||
=== bridger sub-score by known status ===
|
||||
Professor n=29 median=0.629 mean=0.618 range=[0.291, 0.856]
|
||||
Researcher n=22 median=0.469 mean=0.509 range=[0.224, 0.796]
|
||||
|
||||
=== amplifier sub-score by known status ===
|
||||
Professor n=29 median=0.612 mean=0.584 range=[0.357, 0.840]
|
||||
Researcher n=22 median=0.450 mean=0.529 range=[0.363, 0.772]
|
||||
|
||||
M1 exit check — professors' median mentor score (0.74) > researchers' (0.494): PASS
|
||||
|
||||
=== per-person (sorted by mentor score) ===
|
||||
0.958 Researcher Established juniors= 30 laj= 6 Birte Möhlendick (Medicine)
|
||||
0.921 Professor Senior juniors=110 laj= 11 Oliver Witzke (Medicine)
|
||||
0.908 Professor Senior juniors= 56 laj= 12 Daniel Hoffmann (Biology)
|
||||
0.903 Professor Senior juniors= 92 laj= 7 Matthias Gunzer (Medicine)
|
||||
0.898 Professor Senior juniors= 41 laj= 16 Gerd Bacher (Engineering)
|
||||
0.891 Professor Senior juniors= 48 laj= 23 Ulrike Bingel (Medicine)
|
||||
0.888 Professor Senior juniors= 70 laj= 27 Bernd Sures (Biology)
|
||||
0.879 Professor Senior juniors=116 laj= 6 Boris Hadaschik (Medicine)
|
||||
0.862 Professor Senior juniors=128 laj= 2 Stephan Lang (Medicine)
|
||||
0.848 Professor Senior juniors= 40 laj= 25 Daniel Hering (Biology)
|
||||
0.833 Professor Senior juniors= 28 laj= 31 Stefan Schneegaß (Computer Science)
|
||||
0.786 Professor Senior juniors= 19 laj= 27 Torben Weis (Computer Science)
|
||||
0.781 Professor Senior juniors= 18 laj= 23 Pedro José Marrón (Computer Science)
|
||||
0.777 Professor Senior juniors= 29 laj= 4 Corina Andronescu (Engineering)
|
||||
0.762 Professor Senior juniors= 14 laj= 7 Barbara Saccà (Biology)
|
||||
0.740 Professor Senior juniors= 8 laj= 15 Lucas Davi (Computer Science)
|
||||
0.735 Professor Senior juniors= 13 laj= 24 Burak Atakan (Engineering)
|
||||
0.723 Researcher Senior juniors= 67 laj= 0 Farnusch Kaschani (Biology)
|
||||
0.722 Professor Senior juniors= 12 laj= 11 Barbara König (Computer Science)
|
||||
0.712 Professor Senior juniors= 12 laj= 21 Gregor Schiele (Computer Science)
|
||||
0.707 Professor Senior juniors= 10 laj= 11 Volker Gruhn (Computer Science)
|
||||
0.679 Researcher Senior juniors= 16 laj= 1 Marcus Handte (Computer Science)
|
||||
0.659 Professor Senior juniors= 45 laj= 0 Hartmut Schmidt (Medicine)
|
||||
0.654 Researcher Senior juniors= 22 laj= 0 Daniel Grabner (Biology)
|
||||
0.612 Professor Senior juniors= 13 laj= 0 Tienush Rassaf (Medicine)
|
||||
0.605 Professor Senior juniors= 6 laj= 8 Jens Krüger (Computer Science)
|
||||
0.601 Professor Senior juniors= 9 laj= 3 Andreas Metzger (Computer Science)
|
||||
0.513 Professor Senior juniors= 4 laj= 5 Andreas Vogelsang (Computer Science)
|
||||
0.500 Professor Senior juniors= 3 laj= 2 Frank Kleemann (Sociology)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Bianca Kamba (Biology)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Carina Liebers (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Jonas Keppel (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Carlos Medina Sánchez (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Christian Scholz (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Tobias Mikolas (Engineering)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Julia Schwichtenberg (Medicine)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Antonia Görtz (Sociology)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Lisa Mansfeld (Sociology)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Simon Janzon (Computer Science)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Christian Niesler (Computer Science)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Pascal Winkler (Computer Science)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Soheil Salighe (Engineering)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Sabrina Guckenbiehl (Medicine)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Zülal Cibir (Medicine)
|
||||
0.418 Researcher Senior juniors= 6 laj= 0 Stefan Hanenberg (Computer Science)
|
||||
0.377 Professor Senior juniors= 2 laj= 0 Ute Klammer (Sociology)
|
||||
0.251 Researcher Senior juniors= 1 laj= 0 Kathrin Januschke (Biology)
|
||||
0.242 Researcher Established juniors= 0 laj= 0 Andreas Jansen (Sociology)
|
||||
0.240 Professor Senior juniors= 1 laj= 0 Helen Baykara-Krumme (Sociology)
|
||||
0.227 Professor Senior juniors= 1 laj= 0 Marcel Erlinghagen (Sociology)
|
||||
0.153 Professor Senior juniors= 0 laj= 0 Gregor Bongaerts (Sociology)
|
||||
|
||||
Report -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/validation_I62318514.json
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"missing": [
|
||||
"Peter Bayer (A5060566345)",
|
||||
"Richard Kosinski (A5014403509)",
|
||||
"Alexandra Dmitrienko (A5042835341)",
|
||||
"Wilhelm Koop (A5019228221)",
|
||||
"Venkata Marella (A5082156768)",
|
||||
"Miriam Böhm (A5037448457)",
|
||||
"Katrin Schuldt (A5002003996)",
|
||||
"Friedrich Scheller (A5072565080)",
|
||||
"Lara Altenstädter (A5070117981)"
|
||||
],
|
||||
"by_status": {
|
||||
"Professor": {
|
||||
"mentor": {
|
||||
"n": 29,
|
||||
"median": 0.74,
|
||||
"mean": 0.691,
|
||||
"min": 0.153,
|
||||
"max": 0.921
|
||||
},
|
||||
"bridger": {
|
||||
"n": 29,
|
||||
"median": 0.629,
|
||||
"mean": 0.618,
|
||||
"min": 0.291,
|
||||
"max": 0.856
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 29,
|
||||
"median": 0.612,
|
||||
"mean": 0.584,
|
||||
"min": 0.357,
|
||||
"max": 0.84
|
||||
}
|
||||
},
|
||||
"Researcher": {
|
||||
"mentor": {
|
||||
"n": 22,
|
||||
"median": 0.494,
|
||||
"mean": 0.514,
|
||||
"min": 0.242,
|
||||
"max": 0.958
|
||||
},
|
||||
"bridger": {
|
||||
"n": 22,
|
||||
"median": 0.469,
|
||||
"mean": 0.509,
|
||||
"min": 0.224,
|
||||
"max": 0.796
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 22,
|
||||
"median": 0.45,
|
||||
"mean": 0.529,
|
||||
"min": 0.363,
|
||||
"max": 0.772
|
||||
}
|
||||
}
|
||||
},
|
||||
"m1_exit_mentor_check": "PASS"
|
||||
}
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"missing": [
|
||||
"Barbara Saccà (A5075803366)",
|
||||
"Peter Bayer (A5060566345)",
|
||||
"Richard Kosinski (A5014403509)",
|
||||
"Alexandra Dmitrienko (A5042835341)",
|
||||
"Christian Niesler (A5069184110)",
|
||||
"Pascal Winkler (A5081189339)",
|
||||
"Wilhelm Koop (A5019228221)",
|
||||
"Venkata Marella (A5082156768)",
|
||||
"Miriam Böhm (A5037448457)",
|
||||
"Soheil Salighe (A5041884757)",
|
||||
"Tobias Mikolas (A5002909977)",
|
||||
"Oliver Witzke (A5087456839)",
|
||||
"Ulrike Bingel (A5002281474)",
|
||||
"Katrin Schuldt (A5002003996)",
|
||||
"Helen Baykara-Krumme (A5010111732)",
|
||||
"Friedrich Scheller (A5072565080)",
|
||||
"Lara Altenstädter (A5070117981)"
|
||||
],
|
||||
"by_status": {
|
||||
"Professor": {
|
||||
"mentor": {
|
||||
"n": 25,
|
||||
"median": 0.715,
|
||||
"mean": 0.663,
|
||||
"min": 0.153,
|
||||
"max": 0.921
|
||||
},
|
||||
"bridger": {
|
||||
"n": 25,
|
||||
"median": 0.603,
|
||||
"mean": 0.598,
|
||||
"min": 0.229,
|
||||
"max": 0.849
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 25,
|
||||
"median": 0.655,
|
||||
"mean": 0.604,
|
||||
"min": 0.173,
|
||||
"max": 0.957
|
||||
}
|
||||
},
|
||||
"Researcher": {
|
||||
"mentor": {
|
||||
"n": 18,
|
||||
"median": 0.493,
|
||||
"mean": 0.503,
|
||||
"min": 0.153,
|
||||
"max": 0.924
|
||||
},
|
||||
"bridger": {
|
||||
"n": 18,
|
||||
"median": 0.508,
|
||||
"mean": 0.521,
|
||||
"min": 0.181,
|
||||
"max": 0.804
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 18,
|
||||
"median": 0.413,
|
||||
"mean": 0.543,
|
||||
"min": 0.161,
|
||||
"max": 0.971
|
||||
}
|
||||
}
|
||||
},
|
||||
"m1_exit_mentor_check": "PASS"
|
||||
}
|
||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
LLM_API_URL=https://project.nes.uni-due.de/llm2/v1/
|
||||
LLM_API_KEY=c2d5e7ccf7a4760dd3d19bed2caed9d85ff7437400e0ea82a6d6f912ebc2f212
|
||||
LLM_API_KEY=5fc19eb764207e7bec592b3f415ecce650c16ec64344a4db92f74c19ef581154
|
||||
LLM_MODEL=gemma4-e4b
|
||||
|
||||
# Patent search (EPO + USPTO)
|
||||
@@ -7,10 +7,10 @@ PATENT_ELASTICSEARCH_URL=https://inse.nes.uni-due.de/elastic
|
||||
PATENT_ELASTICSEARCH_API_KEY=bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
|
||||
|
||||
ELASTICSEARCH_URL=https://project.nes.uni-due.de/elastic
|
||||
ELASTICSEARCH_API_KEY=am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ
|
||||
ELASTICSEARCH_API_KEY=SVZLSzhhQUIyOHNDLXhyNmh3M3g6R3dlTVlnaTBHM1dnbW1sX0JMQmludw==
|
||||
|
||||
ELASTICSEARCH_INSE_URL=https://inse.nes.uni-due.de/elastic
|
||||
ELASTICSEARCH_INSE_API_KEY=bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
|
||||
ELASTICSEARCH_INSE_API_KEY=Yl9pSjhhQUJPZ3FnTGZCZVljMEI6Q2N5NDlGX3AzdkNTOHo4c1lfT25QZw==
|
||||
|
||||
# Debugging: Log every outgoing Elasticsearch query (index + payload)
|
||||
PRINT_ES_QUERIES=false
|
||||
|
||||
@@ -10,6 +10,7 @@ Helper library for the final identity guard. Not a runtime entry point.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
import logging
|
||||
import re
|
||||
from dataclasses import dataclass
|
||||
@@ -952,6 +953,7 @@ async def load_openalex_works_coauthor_names(
|
||||
already_full_surnames.add(normalize_name_part(parsed_known.last_name))
|
||||
|
||||
queried_surnames: set[str] = set()
|
||||
surnames_to_query: list[str] = []
|
||||
for inventor in inventor_hints:
|
||||
parsed = parse_inventor_name(strip_titles_anywhere(inventor))
|
||||
last = parsed.last_name if parsed is not None else inventor
|
||||
@@ -961,6 +963,9 @@ async def load_openalex_works_coauthor_names(
|
||||
if last_norm in already_full_surnames or last_norm in queried_surnames:
|
||||
continue
|
||||
queried_surnames.add(last_norm)
|
||||
surnames_to_query.append(last)
|
||||
|
||||
async def _lookup_surname(last: str) -> list[str]:
|
||||
body = {
|
||||
"size": 8,
|
||||
"_source": ["authorships.author.display_name", "authorships.author.id"],
|
||||
@@ -983,6 +988,7 @@ async def load_openalex_works_coauthor_names(
|
||||
}
|
||||
},
|
||||
}
|
||||
found: list[str] = []
|
||||
try:
|
||||
response = await elasticsearch.search(
|
||||
index=ESIndex.OPENALEX_WORKS_WILDCARD,
|
||||
@@ -999,9 +1005,23 @@ async def load_openalex_works_coauthor_names(
|
||||
continue
|
||||
if normalize_name_part(other.last_name) != normalize_name_part(last):
|
||||
continue
|
||||
names.append(name)
|
||||
found.append(name)
|
||||
except Exception:
|
||||
logger.exception("OpenAlex targeted coauthor lookup failed for %s / %s", key, last)
|
||||
return found
|
||||
|
||||
if surnames_to_query:
|
||||
semaphore = asyncio.Semaphore(8)
|
||||
|
||||
async def _limited(last: str) -> list[str]:
|
||||
async with semaphore:
|
||||
return await _lookup_surname(last)
|
||||
|
||||
extra_groups = await asyncio.gather(
|
||||
*(_limited(last) for last in surnames_to_query)
|
||||
)
|
||||
for extra_names in extra_groups:
|
||||
names.extend(extra_names)
|
||||
|
||||
store_openalex_works_coauthors(key, names)
|
||||
return cached_openalex_works_coauthors(key)
|
||||
@@ -1048,11 +1068,25 @@ async def load_author_institution_aliases(author: Author) -> dict[str, Instituti
|
||||
if inst is not None:
|
||||
institutions.append(inst)
|
||||
seen: set[str] = set()
|
||||
keys_and_ids: list[tuple[str, str]] = []
|
||||
for institution in institutions:
|
||||
inst_id = getattr(institution, "id", None)
|
||||
key = _author_id_key(inst_id)
|
||||
if not key or key in seen:
|
||||
continue
|
||||
seen.add(key)
|
||||
mapping[key] = await load_institution_alias_record(inst_id)
|
||||
keys_and_ids.append((key, inst_id))
|
||||
if not keys_and_ids:
|
||||
return mapping
|
||||
semaphore = asyncio.Semaphore(8)
|
||||
|
||||
async def _load(inst_id: str) -> InstitutionAliasRecord:
|
||||
async with semaphore:
|
||||
return await load_institution_alias_record(inst_id)
|
||||
|
||||
records = await asyncio.gather(
|
||||
*(_load(inst_id) for _key, inst_id in keys_and_ids)
|
||||
)
|
||||
for (key, _inst_id), record in zip(keys_and_ids, records):
|
||||
mapping[key] = record
|
||||
return mapping
|
||||
|
||||
@@ -42,6 +42,7 @@ Enable: ``ENABLE_AMBIGUOUS_AUTHOR_IDENTITY_GUARD``.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
import logging
|
||||
import re
|
||||
from dataclasses import dataclass, field
|
||||
@@ -156,6 +157,24 @@ def is_final_identity_guard_enabled() -> bool:
|
||||
return bool(getattr(settings, "enable_ambiguous_author_identity_guard", False))
|
||||
|
||||
|
||||
def identity_evidence_io_required(
|
||||
*,
|
||||
is_ambiguous: bool,
|
||||
production_kept: Sequence[TopicFilterResult],
|
||||
combined_kept: Sequence[TopicFilterResult],
|
||||
) -> bool:
|
||||
"""True only when identity queries can change the returned patent set.
|
||||
|
||||
Unique authors keep every combined keep. Production KEEP is never dropped.
|
||||
Identity I/O is therefore needed only for ambiguous authors that have
|
||||
semantic additions to confirm or reject.
|
||||
"""
|
||||
if not is_ambiguous:
|
||||
return False
|
||||
production_keys = {patent_map_key(item.patent) for item in production_kept}
|
||||
return any(patent_map_key(item.patent) not in production_keys for item in combined_kept)
|
||||
|
||||
|
||||
def reset_identity_guard_query_stats() -> None:
|
||||
for key in _QUERY_STATS:
|
||||
_QUERY_STATS[key] = 0
|
||||
@@ -906,28 +925,67 @@ async def load_author_institution_aliases(author: Author) -> dict[str, Instituti
|
||||
return await _load_author_institution_aliases_v2(author)
|
||||
|
||||
|
||||
def _patent_needs_shared_works_lookup(
|
||||
patent: model.PatentEntry,
|
||||
author: Author,
|
||||
coauthor_names: Sequence[str],
|
||||
alias_by_id: Mapping[str, InstitutionAliasRecord] | None = None,
|
||||
) -> bool:
|
||||
"""Mirrors evaluate()'s second loop: shared works are consulted only then."""
|
||||
extras = inventor_unattested_extra_given_names_v2(patent, author)
|
||||
if extras:
|
||||
return False
|
||||
confirmed = _confirmed_coauthors(
|
||||
patent, author.display_name or "", coauthor_names
|
||||
)
|
||||
if len(confirmed) != 1:
|
||||
return False
|
||||
if _personal_identity_supported(patent, author, extras):
|
||||
return False
|
||||
inst = classify_robust_institution_match_final(
|
||||
patent, author, alias_by_id=alias_by_id
|
||||
)
|
||||
if _institution_is_strong(inst):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
async def prefetch_shared_works_for_identity_guard(
|
||||
author_id: str,
|
||||
patents: Sequence[model.PatentEntry],
|
||||
author: Author,
|
||||
coauthor_names: Sequence[str],
|
||||
*,
|
||||
institution_alias_by_id: Mapping[str, InstitutionAliasRecord] | None = None,
|
||||
) -> dict[str, CoauthorWorkContext]:
|
||||
"""Load shared-work context once per confirmed coauthor. Cached per author."""
|
||||
display = author.display_name or ""
|
||||
"""Load shared-work context once per confirmed coauthor that evaluate() would look up."""
|
||||
mapping: dict[str, CoauthorWorkContext] = {}
|
||||
names: list[str] = []
|
||||
seen: set[str] = set()
|
||||
for patent in patents:
|
||||
if inventor_unattested_extra_given_names_v2(patent, author):
|
||||
continue
|
||||
confirmed = _confirmed_coauthors(patent, display, coauthor_names)
|
||||
if len(confirmed) != 1:
|
||||
if not _patent_needs_shared_works_lookup(
|
||||
patent,
|
||||
author,
|
||||
coauthor_names,
|
||||
alias_by_id=institution_alias_by_id,
|
||||
):
|
||||
continue
|
||||
confirmed = _confirmed_coauthors(
|
||||
patent, author.display_name or "", coauthor_names
|
||||
)
|
||||
name = confirmed[0]
|
||||
folded = name.casefold()
|
||||
if folded in seen:
|
||||
continue
|
||||
seen.add(folded)
|
||||
mapping[name] = await load_shared_works_context(author_id, name)
|
||||
names.append(name)
|
||||
if not names:
|
||||
return mapping
|
||||
contexts = await asyncio.gather(
|
||||
*(load_shared_works_context(author_id, name) for name in names)
|
||||
)
|
||||
for name, context in zip(names, contexts):
|
||||
mapping[name] = context
|
||||
return mapping
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Business logic for patent lookup by inventor."""
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
import httpx
|
||||
@@ -12,11 +13,13 @@ from inse.patents.authors.name_variants import parse_person_name
|
||||
from inse.patents.authors.search_pagination import search_author_patents_adaptive
|
||||
from inse.patents.authors.final_ambiguous_author_identity_guard import (
|
||||
apply_production_with_semantic_fallback_v1_and_final_identity_guard,
|
||||
identity_evidence_io_required,
|
||||
is_final_identity_guard_enabled,
|
||||
load_author_institution_aliases,
|
||||
load_openalex_works_coauthor_names,
|
||||
prefetch_shared_works_for_identity_guard,
|
||||
)
|
||||
from inse.patents.authors.pipeline_perf import mark_zero, stage
|
||||
from inse.patents.authors.semantic_topic_fallback import (
|
||||
apply_production_with_semantic_fallback_v1,
|
||||
is_semantic_topic_fallback_enabled,
|
||||
@@ -37,6 +40,29 @@ from inse.persons import logic as person_logic
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
_IDENTITY_STAGES = (
|
||||
"identity_coauthor_loading",
|
||||
"identity_institution_loading",
|
||||
"identity_shared_works",
|
||||
"final_identity_guard",
|
||||
)
|
||||
|
||||
|
||||
def _inventor_hints_from_patents(patents: list[model.PatentEntry]) -> list[str]:
|
||||
hints: list[str] = []
|
||||
seen: set[str] = set()
|
||||
for patent in patents:
|
||||
for inventor in patent.inventors or []:
|
||||
if not inventor:
|
||||
continue
|
||||
folded = inventor.casefold()
|
||||
if folded in seen:
|
||||
continue
|
||||
seen.add(folded)
|
||||
hints.append(inventor)
|
||||
return hints
|
||||
|
||||
|
||||
async def get_patents_by_author_id(
|
||||
author_id: str,
|
||||
client: PatentSearchClient | None = None,
|
||||
@@ -45,171 +71,229 @@ async def get_patents_by_author_id(
|
||||
search_client = client or PatentSearchClient()
|
||||
ipc_search_client = ipc_client or IpcSearchClient()
|
||||
|
||||
author = await _get_author(author_id)
|
||||
if not author:
|
||||
return model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=None,
|
||||
patent_count=0,
|
||||
patents=[],
|
||||
)
|
||||
|
||||
author_name = author.display_name
|
||||
if not author_name or not author_name.strip():
|
||||
return model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=author_name,
|
||||
patent_count=0,
|
||||
patents=[],
|
||||
)
|
||||
|
||||
try:
|
||||
search_result = await search_author_patents_adaptive(
|
||||
search_client, author_name
|
||||
)
|
||||
except MissingApiKeyError as exc:
|
||||
raise HTTPException(
|
||||
status_code=HTTP_503_SERVICE_UNAVAILABLE,
|
||||
detail="Patent search is not configured.",
|
||||
) from exc
|
||||
except httpx.HTTPError as exc:
|
||||
raise HTTPException(
|
||||
status_code=HTTP_502_BAD_GATEWAY,
|
||||
detail="Patent search request failed.",
|
||||
) from exc
|
||||
|
||||
all_patents = search_result.patents
|
||||
patent_hit_count = len(all_patents)
|
||||
if search_result.completeness.value == "truncated_inconclusive":
|
||||
# Unread ES hits remain; zero UI patents must not be treated as proof
|
||||
# that the author has no patents in the index.
|
||||
logger.warning(
|
||||
"search_completeness=%s for author %s (%s): epo_scanned=%d/%d "
|
||||
"uspto_scanned=%d/%d stop=%s/%s strong_matches=%d/%d",
|
||||
search_result.completeness.value,
|
||||
author_id,
|
||||
author_name,
|
||||
search_result.epo.hits_scanned,
|
||||
search_result.epo.total_hits,
|
||||
search_result.uspto.hits_scanned,
|
||||
search_result.uspto.total_hits,
|
||||
search_result.epo.stop_reason,
|
||||
search_result.uspto.stop_reason,
|
||||
search_result.epo.strong_name_match_count,
|
||||
search_result.uspto.strong_name_match_count,
|
||||
)
|
||||
matched_patents = filter_patents_by_author_name(all_patents, author_name)
|
||||
try:
|
||||
matched_patents = await expand_matched_epo_application_families(
|
||||
matched_patents,
|
||||
search_client,
|
||||
)
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"EPO family expansion failed for %s; continuing with name-matched patents only",
|
||||
author_name,
|
||||
)
|
||||
|
||||
if not matched_patents:
|
||||
return model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=author_name,
|
||||
patent_count=0,
|
||||
patents=[],
|
||||
)
|
||||
|
||||
await enrich_patents_classifications(matched_patents, ipc_search_client)
|
||||
|
||||
full_name_count = await person_logic.count_authors_by_display_name(author_name)
|
||||
parsed_for_last = parse_person_name(author_name)
|
||||
last_name_count: int | None = None
|
||||
if parsed_for_last and not parsed_for_last.is_single_token:
|
||||
last_name_count = await person_logic.count_authors_by_last_name(
|
||||
parsed_for_last.last_name
|
||||
)
|
||||
is_ambiguous = is_ambiguous_name(
|
||||
author_name,
|
||||
patent_hit_count=patent_hit_count,
|
||||
openalex_full_name_count=full_name_count,
|
||||
openalex_last_name_count=last_name_count,
|
||||
)
|
||||
|
||||
patent_topic_map = None
|
||||
try:
|
||||
resolver = PatentOpenAlexMappingResolver()
|
||||
patent_topic_map = await resolver.resolve_topics_for_patents(matched_patents)
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"OpenAlex topic resolution failed for %s; falling back to legacy mapping",
|
||||
author_name,
|
||||
)
|
||||
|
||||
production_kept = filter_patents_by_ipc_topic_mapping(
|
||||
matched_patents,
|
||||
author,
|
||||
is_ambiguous=is_ambiguous,
|
||||
patent_topic_map=patent_topic_map,
|
||||
)
|
||||
filtered = production_kept
|
||||
if is_semantic_topic_fallback_enabled():
|
||||
filtered = apply_production_with_semantic_fallback_v1(
|
||||
name_matched_patents=matched_patents,
|
||||
production_kept=production_kept,
|
||||
author=author,
|
||||
patent_topic_map=patent_topic_map,
|
||||
)
|
||||
if is_final_identity_guard_enabled():
|
||||
coauthors: tuple[str, ...] = ()
|
||||
aliases: dict = {}
|
||||
shared = None
|
||||
if is_ambiguous:
|
||||
inventor_hints = []
|
||||
seen_inventors: set[str] = set()
|
||||
for patent in matched_patents:
|
||||
for inventor in patent.inventors or []:
|
||||
if not inventor:
|
||||
continue
|
||||
folded = inventor.casefold()
|
||||
if folded in seen_inventors:
|
||||
continue
|
||||
seen_inventors.add(folded)
|
||||
inventor_hints.append(inventor)
|
||||
coauthors = await load_openalex_works_coauthor_names(
|
||||
author_id,
|
||||
inventor_hints=inventor_hints,
|
||||
with stage("total"):
|
||||
with stage("author_load"):
|
||||
author = await _get_author(author_id)
|
||||
if not author:
|
||||
mark_zero(
|
||||
"patent_search",
|
||||
"name_matching",
|
||||
"family_expansion",
|
||||
"classification_enrichment",
|
||||
"production_filter",
|
||||
"semantic_fallback",
|
||||
*_IDENTITY_STAGES,
|
||||
"response_build",
|
||||
)
|
||||
aliases = await load_author_institution_aliases(author)
|
||||
shared = await prefetch_shared_works_for_identity_guard(
|
||||
return model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=None,
|
||||
patent_count=0,
|
||||
patents=[],
|
||||
)
|
||||
|
||||
author_name = author.display_name
|
||||
if not author_name or not author_name.strip():
|
||||
mark_zero(
|
||||
"patent_search",
|
||||
"name_matching",
|
||||
"family_expansion",
|
||||
"classification_enrichment",
|
||||
"production_filter",
|
||||
"semantic_fallback",
|
||||
*_IDENTITY_STAGES,
|
||||
"response_build",
|
||||
)
|
||||
return model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=author_name,
|
||||
patent_count=0,
|
||||
patents=[],
|
||||
)
|
||||
|
||||
try:
|
||||
with stage("patent_search"):
|
||||
search_result = await search_author_patents_adaptive(
|
||||
search_client, author_name
|
||||
)
|
||||
except MissingApiKeyError as exc:
|
||||
raise HTTPException(
|
||||
status_code=HTTP_503_SERVICE_UNAVAILABLE,
|
||||
detail="Patent search is not configured.",
|
||||
) from exc
|
||||
except httpx.HTTPError as exc:
|
||||
raise HTTPException(
|
||||
status_code=HTTP_502_BAD_GATEWAY,
|
||||
detail="Patent search request failed.",
|
||||
) from exc
|
||||
|
||||
all_patents = search_result.patents
|
||||
patent_hit_count = len(all_patents)
|
||||
if search_result.completeness.value == "truncated_inconclusive":
|
||||
# Unread ES hits remain; zero UI patents must not be treated as proof
|
||||
# that the author has no patents in the index.
|
||||
logger.warning(
|
||||
"search_completeness=%s for author %s (%s): epo_scanned=%d/%d "
|
||||
"uspto_scanned=%d/%d stop=%s/%s strong_matches=%d/%d",
|
||||
search_result.completeness.value,
|
||||
author_id,
|
||||
author_name,
|
||||
search_result.epo.hits_scanned,
|
||||
search_result.epo.total_hits,
|
||||
search_result.uspto.hits_scanned,
|
||||
search_result.uspto.total_hits,
|
||||
search_result.epo.stop_reason,
|
||||
search_result.uspto.stop_reason,
|
||||
search_result.epo.strong_name_match_count,
|
||||
search_result.uspto.strong_name_match_count,
|
||||
)
|
||||
with stage("name_matching"):
|
||||
matched_patents = filter_patents_by_author_name(all_patents, author_name)
|
||||
try:
|
||||
with stage("family_expansion"):
|
||||
matched_patents = await expand_matched_epo_application_families(
|
||||
matched_patents,
|
||||
search_client,
|
||||
)
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"EPO family expansion failed for %s; continuing with name-matched patents only",
|
||||
author_name,
|
||||
)
|
||||
|
||||
if not matched_patents:
|
||||
mark_zero(
|
||||
"classification_enrichment",
|
||||
"production_filter",
|
||||
"semantic_fallback",
|
||||
*_IDENTITY_STAGES,
|
||||
"response_build",
|
||||
)
|
||||
return model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=author_name,
|
||||
patent_count=0,
|
||||
patents=[],
|
||||
)
|
||||
|
||||
async def _enrich_classifications() -> None:
|
||||
with stage("classification_enrichment"):
|
||||
await enrich_patents_classifications(matched_patents, ipc_search_client)
|
||||
|
||||
async def _count_last_name() -> int | None:
|
||||
parsed_for_last = parse_person_name(author_name)
|
||||
if parsed_for_last and not parsed_for_last.is_single_token:
|
||||
return await person_logic.count_authors_by_last_name(
|
||||
parsed_for_last.last_name
|
||||
)
|
||||
return None
|
||||
|
||||
async def _resolve_topics():
|
||||
try:
|
||||
resolver = PatentOpenAlexMappingResolver()
|
||||
return await resolver.resolve_topics_for_patents(matched_patents)
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"OpenAlex topic resolution failed for %s; falling back to legacy mapping",
|
||||
author_name,
|
||||
)
|
||||
return None
|
||||
|
||||
_, full_name_count, last_name_count, patent_topic_map = await asyncio.gather(
|
||||
_enrich_classifications(),
|
||||
person_logic.count_authors_by_display_name(author_name),
|
||||
_count_last_name(),
|
||||
_resolve_topics(),
|
||||
)
|
||||
|
||||
with stage("production_filter"):
|
||||
is_ambiguous = is_ambiguous_name(
|
||||
author_name,
|
||||
patent_hit_count=patent_hit_count,
|
||||
openalex_full_name_count=full_name_count,
|
||||
openalex_last_name_count=last_name_count,
|
||||
)
|
||||
production_kept = filter_patents_by_ipc_topic_mapping(
|
||||
matched_patents,
|
||||
author,
|
||||
coauthors,
|
||||
is_ambiguous=is_ambiguous,
|
||||
patent_topic_map=patent_topic_map,
|
||||
)
|
||||
filtered = apply_production_with_semantic_fallback_v1_and_final_identity_guard(
|
||||
name_matched_patents=matched_patents,
|
||||
production_kept=production_kept,
|
||||
combined_kept=filtered,
|
||||
author=author,
|
||||
is_ambiguous=is_ambiguous,
|
||||
openalex_coauthor_names=coauthors,
|
||||
institution_alias_by_id=aliases,
|
||||
shared_works_by_coauthor=shared,
|
||||
filtered = production_kept
|
||||
with stage("semantic_fallback"):
|
||||
if is_semantic_topic_fallback_enabled():
|
||||
filtered = apply_production_with_semantic_fallback_v1(
|
||||
name_matched_patents=matched_patents,
|
||||
production_kept=production_kept,
|
||||
author=author,
|
||||
patent_topic_map=patent_topic_map,
|
||||
)
|
||||
if is_final_identity_guard_enabled():
|
||||
coauthors: tuple[str, ...] = ()
|
||||
aliases: dict = {}
|
||||
shared = None
|
||||
if identity_evidence_io_required(
|
||||
is_ambiguous=is_ambiguous,
|
||||
production_kept=production_kept,
|
||||
combined_kept=filtered,
|
||||
):
|
||||
inventor_hints = _inventor_hints_from_patents(matched_patents)
|
||||
|
||||
async def _load_coauthors() -> tuple[str, ...]:
|
||||
with stage("identity_coauthor_loading"):
|
||||
return await load_openalex_works_coauthor_names(
|
||||
author_id,
|
||||
inventor_hints=inventor_hints,
|
||||
)
|
||||
|
||||
async def _load_aliases():
|
||||
with stage("identity_institution_loading"):
|
||||
return await load_author_institution_aliases(author)
|
||||
|
||||
coauthors, aliases = await asyncio.gather(
|
||||
_load_coauthors(),
|
||||
_load_aliases(),
|
||||
)
|
||||
with stage("identity_shared_works"):
|
||||
shared = await prefetch_shared_works_for_identity_guard(
|
||||
author_id,
|
||||
matched_patents,
|
||||
author,
|
||||
coauthors,
|
||||
institution_alias_by_id=aliases,
|
||||
)
|
||||
with stage("final_identity_guard"):
|
||||
filtered = apply_production_with_semantic_fallback_v1_and_final_identity_guard(
|
||||
name_matched_patents=matched_patents,
|
||||
production_kept=production_kept,
|
||||
combined_kept=filtered,
|
||||
author=author,
|
||||
is_ambiguous=is_ambiguous,
|
||||
openalex_coauthor_names=coauthors,
|
||||
institution_alias_by_id=aliases,
|
||||
shared_works_by_coauthor=shared,
|
||||
)
|
||||
else:
|
||||
mark_zero(*_IDENTITY_STAGES)
|
||||
else:
|
||||
mark_zero(*_IDENTITY_STAGES)
|
||||
|
||||
logger.info(
|
||||
"patents_openalex_keywords mapping for %s: ambiguous=%s, %d name-matched, %d after topic filter",
|
||||
author_name,
|
||||
is_ambiguous,
|
||||
len(matched_patents),
|
||||
len(filtered),
|
||||
)
|
||||
|
||||
logger.info(
|
||||
"patents_openalex_keywords mapping for %s: ambiguous=%s, %d name-matched, %d after topic filter",
|
||||
author_name,
|
||||
is_ambiguous,
|
||||
len(matched_patents),
|
||||
len(filtered),
|
||||
)
|
||||
|
||||
return model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=author_name,
|
||||
patent_count=len(filtered),
|
||||
patents=[item.patent for item in filtered],
|
||||
)
|
||||
with stage("response_build"):
|
||||
response = model.PatentsByAuthorResponse(
|
||||
author_id=author_id,
|
||||
author_name=author_name,
|
||||
patent_count=len(filtered),
|
||||
patents=[item.patent for item in filtered],
|
||||
)
|
||||
return response
|
||||
|
||||
async def _get_author(author_id: str) -> Author | None:
|
||||
short_id = author_id.replace("https://openalex.org/", "")
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
"""Request-scoped pipeline timing/query counters for benchmarks.
|
||||
|
||||
Inactive unless a benchmark (or test) enters ``capture_pipeline_perf``.
|
||||
Does not appear in API responses.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import time
|
||||
from contextlib import contextmanager
|
||||
from contextvars import ContextVar
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Iterator
|
||||
|
||||
|
||||
@dataclass
|
||||
class PipelinePerf:
|
||||
timings_ms: dict[str, float] = field(default_factory=dict)
|
||||
queries: dict[str, int] = field(default_factory=dict)
|
||||
cache_hits: dict[str, int] = field(default_factory=dict)
|
||||
extras: dict[str, object] = field(default_factory=dict)
|
||||
|
||||
def add_query(self, kind: str, n: int = 1) -> None:
|
||||
self.queries[kind] = int(self.queries.get(kind, 0)) + n
|
||||
|
||||
def add_cache_hit(self, kind: str, n: int = 1) -> None:
|
||||
self.cache_hits[kind] = int(self.cache_hits.get(kind, 0)) + n
|
||||
|
||||
|
||||
_PERF: ContextVar[PipelinePerf | None] = ContextVar("author_patent_pipeline_perf", default=None)
|
||||
|
||||
|
||||
def current_perf() -> PipelinePerf | None:
|
||||
return _PERF.get()
|
||||
|
||||
|
||||
@contextmanager
|
||||
def capture_pipeline_perf() -> Iterator[PipelinePerf]:
|
||||
perf = PipelinePerf()
|
||||
token = _PERF.set(perf)
|
||||
try:
|
||||
yield perf
|
||||
finally:
|
||||
_PERF.reset(token)
|
||||
|
||||
|
||||
def mark_zero(*names: str) -> None:
|
||||
perf = current_perf()
|
||||
if perf is None:
|
||||
return
|
||||
for name in names:
|
||||
perf.timings_ms.setdefault(name, 0.0)
|
||||
|
||||
|
||||
class StageTimer:
|
||||
def __init__(self, name: str) -> None:
|
||||
self.name = name
|
||||
self._t0 = 0.0
|
||||
|
||||
def __enter__(self) -> StageTimer:
|
||||
self._t0 = time.perf_counter()
|
||||
return self
|
||||
|
||||
def __exit__(self, *args: object) -> None:
|
||||
perf = current_perf()
|
||||
if perf is None:
|
||||
return
|
||||
perf.timings_ms[self.name] = (time.perf_counter() - self._t0) * 1000.0
|
||||
|
||||
|
||||
def stage(name: str) -> StageTimer:
|
||||
return StageTimer(name)
|
||||
@@ -1,5 +1,5 @@
|
||||
"""Elasticsearch query builders for inventor-based patent search."""
|
||||
from typing import Any
|
||||
from typing import Any, Sequence
|
||||
|
||||
from inse.patents.authors.name_matching import (
|
||||
inventor_search_phrases,
|
||||
@@ -203,17 +203,31 @@ class InventorSearchQueries:
|
||||
application_number: str,
|
||||
size: int = 20,
|
||||
) -> dict[str, Any]:
|
||||
variants = _application_number_variants(application_number)
|
||||
if not variants:
|
||||
return self.epo_query_by_application_numbers([application_number], size_per_number=size)
|
||||
|
||||
def epo_query_by_application_numbers(
|
||||
self,
|
||||
application_numbers: Sequence[str],
|
||||
size_per_number: int = 20,
|
||||
) -> dict[str, Any]:
|
||||
should: list[dict[str, Any]] = []
|
||||
seen: set[str] = set()
|
||||
numbers = [str(number).strip() for number in application_numbers if str(number).strip()]
|
||||
for number in numbers:
|
||||
for variant in _application_number_variants(number):
|
||||
if variant in seen:
|
||||
continue
|
||||
seen.add(variant)
|
||||
should.append({"term": {"application_number": variant}})
|
||||
if not should:
|
||||
return {"size": 0, "query": {"match_none": {}}}
|
||||
|
||||
should = [{"term": {"application_number": variant}} for variant in variants]
|
||||
query: dict[str, Any] = (
|
||||
should[0]
|
||||
if len(should) == 1
|
||||
else {"bool": {"should": should, "minimum_should_match": 1}}
|
||||
)
|
||||
|
||||
size = min(max(size_per_number * max(len(numbers), 1), size_per_number), 5000)
|
||||
return {
|
||||
"size": size,
|
||||
"track_total_hits": True,
|
||||
@@ -310,3 +324,9 @@ def _application_number_variants(application_number: str) -> list[str]:
|
||||
if cleaned.upper().startswith("EP"):
|
||||
_add(cleaned[2:])
|
||||
return variants
|
||||
|
||||
|
||||
def application_numbers_equivalent(left: str | None, right: str | None) -> bool:
|
||||
if not left or not right:
|
||||
return False
|
||||
return bool(set(_application_number_variants(left)) & set(_application_number_variants(right)))
|
||||
|
||||
@@ -36,7 +36,9 @@ from inse.patents.authors.semantic_topic_fallback_v1_frozen import (
|
||||
SEMANTIC_FALLBACK_DEFAULT_THRESHOLD,
|
||||
SEMANTIC_FALLBACK_MODEL_NAME,
|
||||
_build_semantic_vectors,
|
||||
_exact_topic_or_subfield_match,
|
||||
_pairwise_best_semantic_similarity,
|
||||
_semantic_domain_conflict,
|
||||
decide_semantic_topic_fallback_v1,
|
||||
)
|
||||
from inse.patents.authors.topic_filter import TopicFilterResult
|
||||
@@ -129,7 +131,14 @@ def _semantic_fallback_keeps(
|
||||
|
||||
vectors: dict[str, Any] = {}
|
||||
if similarity_fn is None:
|
||||
vectors = _build_semantic_vectors([cand for _patent, cand in candidates])
|
||||
need_similarity = [
|
||||
cand
|
||||
for _patent, cand in candidates
|
||||
if not _exact_topic_or_subfield_match(cand)
|
||||
and not _semantic_domain_conflict(cand)[0]
|
||||
]
|
||||
if need_similarity:
|
||||
vectors = _build_semantic_vectors(need_similarity)
|
||||
|
||||
keeps: list[TopicFilterResult] = []
|
||||
for patent, cand in candidates:
|
||||
|
||||
@@ -768,3 +768,83 @@ def test_topic_signals_are_not_identity_evidence() -> None:
|
||||
source_mod = inspect.getsource(guard_final)
|
||||
assert "semantic_similarity" not in source_mod
|
||||
assert "evaluation_field" not in source_mod
|
||||
|
||||
|
||||
def test_identity_io_required_only_for_ambiguous_semantic_additions() -> None:
|
||||
production_patent = _patent("EP-PROD")
|
||||
semantic_patent = _patent("EP-SEM")
|
||||
production = [_keep(production_patent, "strict_topic_match")]
|
||||
combined = [
|
||||
_keep(production_patent, "strict_topic_match"),
|
||||
_keep(semantic_patent, "semantic_topic_fallback_v1"),
|
||||
]
|
||||
assert (
|
||||
guard_final.identity_evidence_io_required(
|
||||
is_ambiguous=False,
|
||||
production_kept=production,
|
||||
combined_kept=combined,
|
||||
)
|
||||
is False
|
||||
)
|
||||
assert (
|
||||
guard_final.identity_evidence_io_required(
|
||||
is_ambiguous=True,
|
||||
production_kept=production,
|
||||
combined_kept=production,
|
||||
)
|
||||
is False
|
||||
)
|
||||
assert (
|
||||
guard_final.identity_evidence_io_required(
|
||||
is_ambiguous=True,
|
||||
production_kept=production,
|
||||
combined_kept=combined,
|
||||
)
|
||||
is True
|
||||
)
|
||||
|
||||
|
||||
def test_prefetch_skips_patents_evaluate_would_not_lookup(monkeypatch) -> None:
|
||||
import asyncio
|
||||
|
||||
calls: list[str] = []
|
||||
|
||||
async def fake_load(author_id: str, name: str):
|
||||
calls.append(name)
|
||||
return CoauthorWorkContext(
|
||||
coauthor_name=name,
|
||||
shared_work_count=4,
|
||||
distinct_years=(2010, 2012),
|
||||
institution_names=("University of Example",),
|
||||
)
|
||||
|
||||
monkeypatch.setattr(guard_final, "load_shared_works_context", fake_load)
|
||||
author = _author(last_known=["University of Duisburg-Essen"])
|
||||
strong = _patent(
|
||||
"EP-STRONG",
|
||||
inventors=["Hale, Jordan", "Herzinger, Stefan"],
|
||||
assignees=["Universität Duisburg-Essen"],
|
||||
)
|
||||
weak = _patent(
|
||||
"EP-WEAK",
|
||||
inventors=["Hale, Jordan", "Herzinger, Stefan"],
|
||||
assignees=[],
|
||||
)
|
||||
asyncio.run(
|
||||
guard_final.prefetch_shared_works_for_identity_guard(
|
||||
"A100",
|
||||
[strong],
|
||||
author,
|
||||
["Stefan Herzinger"],
|
||||
)
|
||||
)
|
||||
assert calls == []
|
||||
asyncio.run(
|
||||
guard_final.prefetch_shared_works_for_identity_guard(
|
||||
"A100",
|
||||
[weak],
|
||||
author,
|
||||
["Stefan Herzinger"],
|
||||
)
|
||||
)
|
||||
assert calls == ["Herzinger, Stefan"]
|
||||
|
||||
@@ -185,3 +185,36 @@ def test_encode_failure_returns_production_keeps() -> None:
|
||||
similarity_fn=boom,
|
||||
)
|
||||
assert [item.patent.patent_id for item in combined] == ["EP-KEEP"]
|
||||
|
||||
|
||||
def test_exact_overlap_does_not_build_semantic_vectors(monkeypatch) -> None:
|
||||
patent = _patent("EP-EXACT")
|
||||
mapped = MappedOpenAlexTopic(
|
||||
topic_id="https://openalex.org/T10001",
|
||||
topic_display_name="Organic synthesis methods",
|
||||
subfield_id="https://openalex.org/subfields/1605",
|
||||
subfield_name="Organic Chemistry",
|
||||
field_id="https://openalex.org/fields/16",
|
||||
field_name="Chemistry",
|
||||
domain_id="https://openalex.org/domains/3",
|
||||
domain_name="Physical Sciences",
|
||||
)
|
||||
called = {"n": 0}
|
||||
|
||||
def boom(_candidates):
|
||||
called["n"] += 1
|
||||
return {}
|
||||
|
||||
monkeypatch.setattr(
|
||||
"inse.patents.authors.semantic_topic_fallback._build_semantic_vectors",
|
||||
boom,
|
||||
)
|
||||
combined = apply_production_with_semantic_fallback_v1(
|
||||
name_matched_patents=[patent],
|
||||
production_kept=[],
|
||||
author=_chemistry_author(),
|
||||
patent_topic_map={patent_map_key(patent): [mapped]},
|
||||
)
|
||||
assert called["n"] == 0
|
||||
assert [item.patent.patent_id for item in combined] == ["EP-EXACT"]
|
||||
assert combined[0].keep_reason == "semantic_topic_fallback_v1"
|
||||
|
||||
@@ -112,6 +112,20 @@ def patent_map_key(patent: model.PatentEntry) -> str:
|
||||
return f"{source}:{patent_id}:{publication_date}:{stage}"
|
||||
|
||||
|
||||
def _application_numbers_equivalent(left: str | None, right: str | None) -> bool:
|
||||
if not left or not right:
|
||||
return False
|
||||
left_n = left.strip()
|
||||
right_n = right.strip()
|
||||
if not left_n or not right_n:
|
||||
return False
|
||||
if left_n == right_n:
|
||||
return True
|
||||
left_core = left_n[2:] if left_n.upper().startswith("EP") else left_n
|
||||
right_core = right_n[2:] if right_n.upper().startswith("EP") else right_n
|
||||
return left_n == right_core or right_n == left_core or left_core == right_core
|
||||
|
||||
|
||||
async def expand_matched_epo_application_families(
|
||||
matched_patents: list[model.PatentEntry],
|
||||
search_client,
|
||||
@@ -136,6 +150,7 @@ async def expand_matched_epo_application_families(
|
||||
|
||||
existing_keys = {patent_dedup_key(patent) for patent in matched_patents}
|
||||
extra: list[model.PatentEntry] = []
|
||||
family_batch_size = 40
|
||||
|
||||
async def _fetch_family(application_number: str) -> list[model.PatentEntry]:
|
||||
try:
|
||||
@@ -151,17 +166,54 @@ async def expand_matched_epo_application_families(
|
||||
return []
|
||||
return parse_epo_hits(data)
|
||||
|
||||
family_results = await asyncio.gather(
|
||||
*(_fetch_family(application_number) for application_number in application_numbers)
|
||||
)
|
||||
for family_patents in family_results:
|
||||
for patent in family_patents:
|
||||
async def _fetch_family_batch(numbers: list[str]) -> list[model.PatentEntry]:
|
||||
if (
|
||||
len(numbers) == 1
|
||||
or not hasattr(search_client, "epo_query_by_application_numbers")
|
||||
):
|
||||
groups = await asyncio.gather(
|
||||
*(_fetch_family(number) for number in numbers)
|
||||
)
|
||||
return [patent for group in groups for patent in group]
|
||||
try:
|
||||
data = await search_client.search_epo(
|
||||
search_client.epo_query_by_application_numbers(numbers)
|
||||
)
|
||||
except (MissingApiKeyError, httpx.HTTPError) as exc:
|
||||
logger.warning(
|
||||
"EPO family expansion batch failed for %d applications: %s",
|
||||
len(numbers),
|
||||
exc,
|
||||
)
|
||||
return []
|
||||
return parse_epo_hits(data)
|
||||
|
||||
def _append_unique(patents: list[model.PatentEntry]) -> None:
|
||||
for patent in patents:
|
||||
key = patent_dedup_key(patent)
|
||||
if key in existing_keys:
|
||||
continue
|
||||
existing_keys.add(key)
|
||||
extra.append(patent)
|
||||
|
||||
for start in range(0, len(application_numbers), family_batch_size):
|
||||
chunk = application_numbers[start : start + family_batch_size]
|
||||
family_patents = await _fetch_family_batch(chunk)
|
||||
by_requested: dict[str, list[model.PatentEntry]] = {number: [] for number in chunk}
|
||||
unmatched: list[model.PatentEntry] = []
|
||||
for patent in family_patents:
|
||||
placed = False
|
||||
for requested in chunk:
|
||||
if _application_numbers_equivalent(patent.application_number, requested):
|
||||
by_requested[requested].append(patent)
|
||||
placed = True
|
||||
break
|
||||
if not placed:
|
||||
unmatched.append(patent)
|
||||
for requested in chunk:
|
||||
_append_unique(by_requested[requested])
|
||||
_append_unique(unmatched)
|
||||
|
||||
if not extra:
|
||||
return matched_patents
|
||||
|
||||
|
||||
@@ -85,6 +85,17 @@ def test_epo_query_by_application_number_uses_term_filter():
|
||||
assert "application_number" in payload["_source"]
|
||||
|
||||
|
||||
def test_epo_query_by_application_numbers_batches_term_filters():
|
||||
client = PatentSearchClient(api_key="test-key")
|
||||
payload = client.epo_query_by_application_numbers(["12743403.3", "13818713.3"])
|
||||
|
||||
assert payload["query"]["bool"]["minimum_should_match"] == 1
|
||||
terms = payload["query"]["bool"]["should"]
|
||||
assert {"term": {"application_number": "12743403.3"}} in terms
|
||||
assert {"term": {"application_number": "13818713.3"}} in terms
|
||||
assert payload["size"] == 40
|
||||
|
||||
|
||||
def test_epo_query_by_applicant_uses_applicants_name_field():
|
||||
client = PatentSearchClient(api_key="test-key")
|
||||
payload = client.epo_query_by_applicant(
|
||||
|
||||
@@ -161,6 +161,67 @@ def test_expand_matched_epo_application_families_adds_grant_stage() -> None:
|
||||
assert {patent.kind for patent in expanded} == {"A1", "B1"}
|
||||
|
||||
|
||||
def test_expand_matched_epo_application_families_batches_unique_numbers() -> None:
|
||||
first = _epo_patent(publication_date="20150506", kind="A1")
|
||||
first.application_number = "12743403.3"
|
||||
second = _epo_patent(publication_date="20160101", kind="A1")
|
||||
second.application_number = "13818713.3"
|
||||
second.patent_id = "EP9990001"
|
||||
|
||||
captured: list[list[str]] = []
|
||||
|
||||
class _FakeBatchClient:
|
||||
async def search_epo(self, payload):
|
||||
return {
|
||||
"hits": {
|
||||
"hits": [
|
||||
{
|
||||
"_id": "2867692",
|
||||
"_source": {
|
||||
"doc_number": "2867692",
|
||||
"kind": "B1",
|
||||
"date_publication": "20180411",
|
||||
"application_number": "12743403.3",
|
||||
"title_en": "METHOD FOR GENERATING AND USING A MAP",
|
||||
"inventors_name": ["MARRÓN, Pedro José"],
|
||||
"applicants_name": ["Universität Duisburg-Essen"],
|
||||
"ipc": ["G01S 5/02"],
|
||||
},
|
||||
},
|
||||
{
|
||||
"_id": "9990002",
|
||||
"_source": {
|
||||
"doc_number": "9990002",
|
||||
"kind": "B1",
|
||||
"date_publication": "20190101",
|
||||
"application_number": "13818713.3",
|
||||
"title_en": "OTHER",
|
||||
"inventors_name": ["WEBER, Christian"],
|
||||
"applicants_name": ["Universität Duisburg-Essen"],
|
||||
"ipc": ["G01S 5/02"],
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
def epo_query_by_application_numbers(self, application_numbers, size_per_number=20):
|
||||
captured.append(list(application_numbers))
|
||||
return {"query": {"terms": {"application_number": list(application_numbers)}}}
|
||||
|
||||
def epo_query_by_application_number(self, application_number: str):
|
||||
raise AssertionError("single-number family query should not run for a batch")
|
||||
|
||||
import asyncio
|
||||
|
||||
expanded = asyncio.run(
|
||||
expand_matched_epo_application_families([first, second], _FakeBatchClient())
|
||||
)
|
||||
assert captured == [["12743403.3", "13818713.3"]]
|
||||
assert {patent.kind for patent in expanded} >= {"A1", "B1"}
|
||||
assert len(expanded) == 4
|
||||
|
||||
|
||||
def test_assignee_matches_institution_name_accepts_alternative_names() -> None:
|
||||
from inse.patents.name_matching import assignee_matches_institution_name
|
||||
|
||||
|
||||
@@ -410,31 +410,16 @@ async def topic_stats_for_authors(
|
||||
return results
|
||||
|
||||
|
||||
def _primary_topic_match(keywords: list[str], fuzzy: bool) -> dict:
|
||||
"""Matches works whose primary topic is one of the searched topics/keywords."""
|
||||
if fuzzy:
|
||||
return {"terms": {"primary_topic.id": keywords}}
|
||||
|
||||
return {
|
||||
"bool": {
|
||||
"should": [
|
||||
{"match_phrase": {"primary_topic.display_name": keyword}}
|
||||
for keyword in keywords
|
||||
],
|
||||
"minimum_should_match": 1,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def _topic_profile_query(
|
||||
author_ids: list[str],
|
||||
keywords: list[str],
|
||||
operator: KeywordOperator,
|
||||
publication_types: list[PublicationType],
|
||||
timespan: Timespan | None,
|
||||
fuzzy: bool = False,
|
||||
) -> dict:
|
||||
"""Builds the Section 3 query"""
|
||||
"""Builds the Section 3 query.
|
||||
|
||||
Unfiltered by keywords on purpose: the topic profile always describes each
|
||||
author's complete body of work in the timespan.
|
||||
"""
|
||||
|
||||
filters = [_author_filter(author_ids)]
|
||||
|
||||
@@ -475,14 +460,6 @@ def _topic_profile_query(
|
||||
"to_work": {
|
||||
"reverse_nested": {},
|
||||
"aggs": {
|
||||
"matched": {
|
||||
"filter": _build_keyword_query(keywords, operator, fuzzy),
|
||||
"aggs": {
|
||||
"primary_match": {
|
||||
"filter": _primary_topic_match(keywords, fuzzy),
|
||||
},
|
||||
},
|
||||
},
|
||||
"by_subfield": {
|
||||
"terms": {
|
||||
"field": "primary_topic.subfield.display_name.keyword",
|
||||
@@ -555,11 +532,8 @@ def _topic_profile_query(
|
||||
|
||||
async def topic_profile_for_authors(
|
||||
author_ids: list[str],
|
||||
keywords: list[str],
|
||||
operator: KeywordOperator,
|
||||
publication_types: list[PublicationType],
|
||||
timespan: Timespan | None,
|
||||
fuzzy: bool = False,
|
||||
) -> list[AuthorTopicProfile]:
|
||||
|
||||
if not author_ids:
|
||||
@@ -567,9 +541,7 @@ async def topic_profile_for_authors(
|
||||
|
||||
response: dict[str, Any] = await elasticsearch.search(
|
||||
index=config.settings.openalex_works_search_index,
|
||||
body=_topic_profile_query(
|
||||
author_ids, keywords, operator, publication_types, timespan, fuzzy
|
||||
),
|
||||
body=_topic_profile_query(author_ids, publication_types, timespan),
|
||||
cluster=ESCluster.NES,
|
||||
)
|
||||
|
||||
@@ -585,7 +557,6 @@ async def topic_profile_for_authors(
|
||||
|
||||
for author_bucket in author_buckets:
|
||||
to_work = author_bucket.get("to_work", {})
|
||||
matched = to_work.get("matched", {})
|
||||
subfields = [
|
||||
SubfieldShare(
|
||||
name=bucket.get("key", ""),
|
||||
@@ -622,8 +593,6 @@ async def topic_profile_for_authors(
|
||||
author_id=author_bucket.get("key", ""),
|
||||
display_name=_display_name_from_bucket(author_bucket),
|
||||
works_total=to_work.get("doc_count", 0),
|
||||
matched_works=matched.get("doc_count", 0),
|
||||
primary_topic_matches=matched.get("primary_match", {}).get("doc_count", 0),
|
||||
distinct_topics=to_work.get("distinct_topics", {}).get("value", 0),
|
||||
distinct_subfields=to_work.get("distinct_subfields", {}).get("value", 0),
|
||||
distinct_fields=to_work.get("distinct_fields", {}).get("value", 0),
|
||||
|
||||
@@ -333,14 +333,7 @@ class AuthorTopicProfile(BaseModel):
|
||||
author_id: str = Field(description="The OpenAlex ID of the author.")
|
||||
display_name: str = Field(description="The name of the author.")
|
||||
works_total: int = Field(
|
||||
description="All works of the author in the timespan, regardless of the topic filter.",
|
||||
)
|
||||
matched_works: int = Field(
|
||||
description="Works matching the topic filter (same subset as Section 1).",
|
||||
)
|
||||
primary_topic_matches: int = Field(
|
||||
description="Matched works where one of the searched topics is the work's "
|
||||
"primary topic.",
|
||||
description="All works of the author in the timespan.",
|
||||
)
|
||||
distinct_topics: int = Field(
|
||||
description="Number of distinct primary topics across all works.",
|
||||
|
||||
@@ -129,22 +129,15 @@ async def topic_stats(request: SelectedAuthorsRequest):
|
||||
@router.post("/topic-profile", response_model=list[AuthorTopicProfile])
|
||||
async def topic_profile(request: SelectedAuthorsRequest):
|
||||
logger.info(
|
||||
"topic-profile author_ids=%s keywords=%s operator=%s fuzzy=%s "
|
||||
"publication_types=%s timespan=%s",
|
||||
"topic-profile author_ids=%s publication_types=%s timespan=%s",
|
||||
request.author_ids,
|
||||
request.keywords,
|
||||
request.operator,
|
||||
request.fuzzy,
|
||||
request.publication_types,
|
||||
request.timespan,
|
||||
)
|
||||
return await logic.topic_profile_for_authors(
|
||||
request.author_ids,
|
||||
request.keywords,
|
||||
request.operator,
|
||||
request.publication_types,
|
||||
request.timespan,
|
||||
request.fuzzy,
|
||||
)
|
||||
|
||||
# Compare authors table 2 (author-level stats, keyword/time-independent)
|
||||
|
||||
@@ -198,20 +198,23 @@ class TrendMetadataResolver:
|
||||
for t in topic_names:
|
||||
t_clean = clean_inst_id(t)
|
||||
t_canonical = f"https://openalex.org/{t_clean}" if t_clean.startswith("T") else t
|
||||
if (
|
||||
is_exact_id = (
|
||||
t == full_id
|
||||
or t == short_id
|
||||
or t == canonical_id
|
||||
or t_canonical == canonical_id
|
||||
or t_clean == short_id
|
||||
or t.lower() in d_name.lower()
|
||||
or d_name.lower() in t.lower()
|
||||
):
|
||||
)
|
||||
is_exact_name = t.strip().lower() == d_name.strip().lower()
|
||||
if is_exact_id or is_exact_name:
|
||||
topic_ids[t] = canonical_id
|
||||
topic_display_names[t] = d_name
|
||||
topic_display_names[canonical_id] = d_name
|
||||
topic_display_names[short_id] = d_name
|
||||
topic_display_names[full_id] = d_name
|
||||
elif t not in topic_display_names and (t.lower() in d_name.lower() or d_name.lower() in t.lower()):
|
||||
topic_ids[t] = canonical_id
|
||||
topic_display_names[t] = d_name
|
||||
except Exception as e:
|
||||
logger.warning("Failed to resolve topic IDs from ES: %s", e)
|
||||
return topic_ids, topic_display_names
|
||||
|
||||
@@ -676,6 +676,7 @@ class ProjectsTrendStrategy(TrendStrategy):
|
||||
query_institutions=ids_to_resolve,
|
||||
query_countries=countries,
|
||||
query_regions=regions,
|
||||
topics=topics,
|
||||
include_aliases=True,
|
||||
)
|
||||
|
||||
@@ -685,6 +686,8 @@ class ProjectsTrendStrategy(TrendStrategy):
|
||||
resolved_country_names = meta["country_names"]
|
||||
resolved_continent_names = meta["continent_names"]
|
||||
continent_country_codes = meta["continent_country_codes"]
|
||||
resolved_topic_ids = meta["resolved_topic_ids"]
|
||||
resolved_topic_names = meta["resolved_topic_names"]
|
||||
|
||||
location_mappings = continent_country_codes.copy()
|
||||
|
||||
@@ -755,7 +758,28 @@ class ProjectsTrendStrategy(TrendStrategy):
|
||||
if fuzzy:
|
||||
for t in topics:
|
||||
topic_project_ids[t] = {ind: [] for ind in indices_mapping}
|
||||
map_query = {"term": {"topic_matches.topic_display_name.keyword": t}}
|
||||
canonical_id = resolved_topic_ids.get(t)
|
||||
if not canonical_id:
|
||||
clean_id = clean_inst_id(t)
|
||||
canonical_id = f"https://openalex.org/{clean_id}" if clean_id.startswith("T") else t
|
||||
|
||||
display_name = resolved_topic_names.get(t) or resolved_topic_names.get(canonical_id)
|
||||
|
||||
should_clauses = [
|
||||
{"term": {"topic_matches.topic_id": canonical_id}},
|
||||
{"term": {"topic_matches.topic_id.keyword": canonical_id}},
|
||||
]
|
||||
if display_name:
|
||||
should_clauses.append({"match_phrase": {"topic_matches.topic_display_name": display_name}})
|
||||
elif not (t.startswith("https://openalex.org/") or (clean_inst_id(t).startswith("T") and clean_inst_id(t)[1:].isdigit())):
|
||||
should_clauses.append({"match_phrase": {"topic_matches.topic_display_name": t}})
|
||||
|
||||
map_query = {
|
||||
"bool": {
|
||||
"should": should_clauses,
|
||||
"minimum_should_match": 1,
|
||||
}
|
||||
}
|
||||
|
||||
async def scan_topic_projects(mapping_index: str) -> tuple[str, list[str]]:
|
||||
p_ids = set()
|
||||
@@ -1079,6 +1103,10 @@ class NewsTrendStrategy(TrendStrategy):
|
||||
|
||||
cc_news_enabled = self.include_cc_news and not fuzzy
|
||||
|
||||
meta = await TrendMetadataResolver.resolve_all(topics=topics)
|
||||
resolved_topic_ids = meta["resolved_topic_ids"]
|
||||
resolved_topic_names = meta["resolved_topic_names"]
|
||||
|
||||
accumulated_data = {
|
||||
f"{NEWS_ENTITY_PREFIX}{t}": {top: {yr: (0, 1) for yr in years_range} for top in topics}
|
||||
for t in topics
|
||||
@@ -1088,7 +1116,7 @@ class NewsTrendStrategy(TrendStrategy):
|
||||
f"{CC_NEWS_ENTITY_PREFIX}{t}": {top: {yr: (0, 1) for yr in years_range} for top in topics}
|
||||
for t in topics
|
||||
})
|
||||
|
||||
# Stop words are used to avoid match_phrase (get more partial results => tradeoff)
|
||||
STOP_WORDS = {"in", "and", "or", "und", "oder", "der", "die", "das", "von", "mit", "zu", "at", "by", "on", "for", "to", "a", "an", "the"}
|
||||
|
||||
def resolve_keyword_term(idx: int, t_name: str) -> str:
|
||||
@@ -1107,8 +1135,19 @@ class NewsTrendStrategy(TrendStrategy):
|
||||
async def fetch_news_ids_for_term(idx: int, t_name: str) -> list[str]:
|
||||
news_ids: Set[str] = set()
|
||||
if fuzzy:
|
||||
term = t_name
|
||||
es_query = {"match_phrase": {"topic_matches.topic_display_name": term}}
|
||||
canonical_id = resolved_topic_ids.get(t_name)
|
||||
if not canonical_id:
|
||||
clean_id = clean_inst_id(t_name)
|
||||
canonical_id = f"https://openalex.org/{clean_id}" if clean_id.startswith("T") else t_name
|
||||
es_query = {
|
||||
"bool": {
|
||||
"should": [
|
||||
{"term": {"topic_matches.topic_id": canonical_id}},
|
||||
{"term": {"topic_matches.topic_id.keyword": canonical_id}},
|
||||
],
|
||||
"minimum_should_match": 1,
|
||||
}
|
||||
}
|
||||
try:
|
||||
async for hit in elasticsearch.scan(
|
||||
index=ESIndex.AKTUELLES_OPENALEX_TOPICS.value,
|
||||
@@ -1281,12 +1320,24 @@ class NewsTrendStrategy(TrendStrategy):
|
||||
topic_data=topic_data_map,
|
||||
)
|
||||
|
||||
def get_display_name(t_name: str) -> str:
|
||||
clean = clean_inst_id(t_name)
|
||||
is_id = t_name.startswith("https://openalex.org/") or (clean.startswith("T") and clean[1:].isdigit())
|
||||
if is_id:
|
||||
canonical_id = resolved_topic_ids.get(t_name)
|
||||
return (
|
||||
resolved_topic_names.get(t_name)
|
||||
or (resolved_topic_names.get(canonical_id) if canonical_id else None)
|
||||
or t_name
|
||||
)
|
||||
return t_name
|
||||
|
||||
series_list: list[TrendSeries] = [
|
||||
build_series(f"{NEWS_ENTITY_PREFIX}{t_name}", t_name, t_name) for t_name in topics
|
||||
build_series(f"{NEWS_ENTITY_PREFIX}{t_name}", t_name, get_display_name(t_name)) for t_name in topics
|
||||
]
|
||||
if cc_news_enabled:
|
||||
series_list.extend(
|
||||
build_series(f"{CC_NEWS_ENTITY_PREFIX}{t_name}", t_name, f"{t_name} (CC-News)")
|
||||
build_series(f"{CC_NEWS_ENTITY_PREFIX}{t_name}", t_name, f"{get_display_name(t_name)} (CC-News)")
|
||||
for t_name in topics
|
||||
)
|
||||
|
||||
|
||||
@@ -20,17 +20,9 @@ export interface AuthorTopicProfile {
|
||||
*/
|
||||
display_name: string;
|
||||
/**
|
||||
* All works of the author in the timespan, regardless of the topic filter.
|
||||
* All works of the author in the timespan.
|
||||
*/
|
||||
works_total: number;
|
||||
/**
|
||||
* Works matching the topic filter (same subset as Section 1).
|
||||
*/
|
||||
matched_works: number;
|
||||
/**
|
||||
* Matched works where one of the searched topics is the work\'s primary topic.
|
||||
*/
|
||||
primary_topic_matches: number;
|
||||
/**
|
||||
* Number of distinct primary topics across all works.
|
||||
*/
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
aria-label="Bearbeiten"
|
||||
matTooltip="Account bearbeiten"
|
||||
(click)="startEdit(row)">
|
||||
<mat-icon>{{ EDIT_ICON }}</mat-icon>
|
||||
</button>
|
||||
@@ -74,6 +75,7 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
aria-label="Impersonate"
|
||||
matTooltip="Als dieser Account anmelden (Impersonation)"
|
||||
[disabled]="!canImpersonate(row)"
|
||||
(click)="impersonate(row)">
|
||||
<mat-icon>{{ SWITCH_ACCOUNT_ICON }}</mat-icon>
|
||||
@@ -82,6 +84,9 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
[attr.aria-label]="row.activated ? 'Deaktivieren' : 'Aktivieren'"
|
||||
[matTooltip]="
|
||||
row.activated ? 'Account deaktivieren' : 'Account aktivieren'
|
||||
"
|
||||
[disabled]="row.is_current || row.deleted"
|
||||
(click)="toggleAccountActivation(row)">
|
||||
<mat-icon>{{
|
||||
@@ -92,6 +97,7 @@
|
||||
mat-icon-button
|
||||
type="button"
|
||||
aria-label="Deaktivieren"
|
||||
matTooltip="Account deaktivieren"
|
||||
[disabled]="row.is_current || row.deleted"
|
||||
(click)="deleteAccount(row)">
|
||||
<mat-icon>{{ DELETE_ICON }}</mat-icon>
|
||||
|
||||
@@ -87,7 +87,8 @@
|
||||
<section class="card">
|
||||
<h2 class="card-title">Themenprofil</h2>
|
||||
<p class="card-sub">
|
||||
Verteilung und Breite der Themen über alle Publikationen
|
||||
Verteilung und Breite der Themen
|
||||
<strong>über alle Publikationen</strong>
|
||||
</p>
|
||||
|
||||
@if (profileLoading()) {
|
||||
@@ -103,24 +104,12 @@
|
||||
[options]="subfieldChart()"
|
||||
class="profile-chart profile-chart-wide"></div>
|
||||
|
||||
<div class="chart-grid">
|
||||
<div class="chart-box">
|
||||
<h3 class="chart-title">Themen-Fokus</h3>
|
||||
<p class="chart-hint">
|
||||
Publikationen zum Suchthema im Verhältnis zu allen Publikationen –
|
||||
und wie viele es als Primärthema tragen
|
||||
</p>
|
||||
<div echarts [options]="focusChart()" class="profile-chart"></div>
|
||||
</div>
|
||||
<div class="chart-box">
|
||||
<h3 class="chart-title">Themenbreite</h3>
|
||||
<p class="chart-hint">
|
||||
Einzigartige Primärthemen, Subfields und Fields über alle
|
||||
Publikationen (Primärthema)
|
||||
</p>
|
||||
<div echarts [options]="breadthChart()" class="profile-chart"></div>
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="chart-title">Themenbreite</h3>
|
||||
<p class="chart-hint">
|
||||
Einzigartige Primärthemen, Subfields und Fields über alle
|
||||
Publikationen (Primärthema)
|
||||
</p>
|
||||
<div echarts [options]="breadthChart()" class="profile-chart"></div>
|
||||
|
||||
<h3 class="chart-title">Themenlandschaft</h3>
|
||||
<p class="chart-hint">Field → Subfield → Thema</p>
|
||||
|
||||
@@ -311,18 +311,8 @@ app-chip mat-icon {
|
||||
}
|
||||
}
|
||||
|
||||
.chart-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px 24px;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.compare-layout {
|
||||
padding: 20px 16px 32px;
|
||||
}
|
||||
|
||||
.chart-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -585,67 +585,7 @@ export class CompareAuthorsComponent implements OnInit {
|
||||
} as EChartsOption;
|
||||
});
|
||||
|
||||
// chart 2: topic focus — how much of the complete body of work is on the searched topic
|
||||
readonly focusChart = computed<EChartsOption>(() => {
|
||||
const profiles = this.orderedProfiles();
|
||||
if (profiles.length === 0) return {};
|
||||
|
||||
const pct = (part: number, whole: number) =>
|
||||
whole > 0 ? Math.round((part / whole) * 1000) / 10 : 0;
|
||||
|
||||
return {
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
axisPointer: { type: 'shadow' },
|
||||
formatter: (params: any) => {
|
||||
const lines = params.map(
|
||||
(p: any) =>
|
||||
`${p.marker} ${p.seriesName}: <b>${p.data.value} %</b> (${p.data.part} von ${p.data.whole} Werken)`,
|
||||
);
|
||||
return `<b>${params[0]?.name ?? ''}</b><br/>${lines.join('<br/>')}`;
|
||||
},
|
||||
},
|
||||
legend: { top: 0, textStyle: { color: this.chartTheme.colors().text } },
|
||||
grid: { left: 16, right: 40, top: 32, bottom: 8, containLabel: true },
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
max: 100,
|
||||
axisLabel: { formatter: '{value} %' },
|
||||
},
|
||||
yAxis: {
|
||||
type: 'category',
|
||||
inverse: true,
|
||||
data: profiles.map((p) => p.display_name),
|
||||
axisLabel: this.authorAxisLabel(profiles),
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: 'Anteil am Gesamtwerk',
|
||||
type: 'bar',
|
||||
itemStyle: { color: '#2563eb' },
|
||||
label: { show: true, position: 'right', formatter: '{c} %' },
|
||||
data: profiles.map((p) => ({
|
||||
value: pct(p.matched_works, p.works_total),
|
||||
part: p.matched_works,
|
||||
whole: p.works_total,
|
||||
})),
|
||||
},
|
||||
{
|
||||
name: 'davon Primärthema',
|
||||
type: 'bar',
|
||||
itemStyle: { color: '#7c3aed' },
|
||||
label: { show: true, position: 'right', formatter: '{c} %' },
|
||||
data: profiles.map((p) => ({
|
||||
value: pct(p.primary_topic_matches, p.matched_works),
|
||||
part: p.primary_topic_matches,
|
||||
whole: p.matched_works,
|
||||
})),
|
||||
},
|
||||
],
|
||||
} as EChartsOption;
|
||||
});
|
||||
|
||||
// chart 3: topic breadth — how many distinct (sub)fields the author publishes in
|
||||
// chart 2: topic breadth — how many distinct (sub)fields the author publishes in
|
||||
readonly breadthChart = computed<EChartsOption>(() => {
|
||||
const profiles = this.orderedProfiles();
|
||||
if (profiles.length === 0) return {};
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
[total]="totalPatents"
|
||||
queryParamPageKey="page"
|
||||
queryParamSizeKey="size"
|
||||
[pageSizeOptions]="[10, 20, 50]"
|
||||
[pageSizeOptions]="[10, 25, 50]"
|
||||
(handlePageChange)="onPatentPageChange($event)" />
|
||||
</div>
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ export class InstitutionPatentsComponent implements OnInit {
|
||||
sortDirection: SortDirection = 'desc';
|
||||
|
||||
pageIndex = 0;
|
||||
pageSize = 20;
|
||||
pageSize = 10;
|
||||
totalPatents = 0;
|
||||
|
||||
ngOnInit(): void {
|
||||
@@ -250,7 +250,7 @@ export class InstitutionPatentsComponent implements OnInit {
|
||||
|
||||
private parsePageSizeParam(value: string | null): number {
|
||||
const parsed = Number(value);
|
||||
return Number.isInteger(parsed) && parsed > 0 ? parsed : 20;
|
||||
return Number.isInteger(parsed) && parsed > 0 ? parsed : 10;
|
||||
}
|
||||
|
||||
private isValidFilter(value: string | null): value is SourceFilter {
|
||||
|
||||
+13
-11
@@ -224,18 +224,21 @@ export class SearchResultsStateService {
|
||||
return result;
|
||||
}
|
||||
|
||||
// Parallel topic-name list for trend dashboard strategies. Entries
|
||||
// without a resolvable keyword are skipped when building the lookup map
|
||||
// so they can never collide on an `undefined` key and shadow a real one.
|
||||
// Parallel topic-name list for trend dashboard strategies. Directly resolves
|
||||
// from structured selectedKeywordEntries without fragile regex.
|
||||
readonly topicsList = computed(() => {
|
||||
const entries = this.selectedKeywordEntries();
|
||||
const entryByKeyword = new Map<string, KeywordEntryWithTopic>();
|
||||
for (const entry of entries) {
|
||||
const kw = entry.llm_keyword?.keyword?.trim().toLowerCase();
|
||||
if (kw) {
|
||||
entryByKeyword.set(kw, entry);
|
||||
}
|
||||
}
|
||||
|
||||
const list = this.keywords()
|
||||
.map((kw) => {
|
||||
const normalized = this.normalize(kw);
|
||||
const entry = this.selectedKeywordEntries().find(
|
||||
(e) =>
|
||||
e.llm_keyword?.keyword?.trim().toLowerCase() === normalized ||
|
||||
e.topic_mapping?.topic?.id?.trim().toLowerCase() === normalized,
|
||||
);
|
||||
const entry = entryByKeyword.get(kw.trim().toLowerCase());
|
||||
const displayName = entry?.topic_mapping?.topic?.display_name;
|
||||
if (displayName && !displayName.startsWith('http')) {
|
||||
return displayName;
|
||||
@@ -246,9 +249,8 @@ export class SearchResultsStateService {
|
||||
return kw;
|
||||
})
|
||||
.filter((t) => t.length > 0);
|
||||
const uniqueTopics = Array.from(new Set(list));
|
||||
|
||||
return uniqueTopics;
|
||||
return Array.from(new Set(list));
|
||||
});
|
||||
|
||||
setPayload(payload: SearchResultsPayload): void {
|
||||
|
||||
+124
-108
@@ -4,6 +4,7 @@ import {
|
||||
input,
|
||||
computed,
|
||||
signal,
|
||||
linkedSignal,
|
||||
effect,
|
||||
untracked,
|
||||
inject,
|
||||
@@ -167,7 +168,62 @@ export class UniTrendParentComponent implements OnInit {
|
||||
readonly selectedSearchType = signal<
|
||||
'publications' | 'authors' | 'patents' | 'projects' | 'news' | 'all'
|
||||
>('publications');
|
||||
readonly selectedTrendTopics = signal<string[]>([]);
|
||||
|
||||
readonly selectedTrendTopics = linkedSignal<
|
||||
{ fuzzy: boolean; topics: string[]; kws: string[] },
|
||||
string[]
|
||||
>({
|
||||
source: () => ({
|
||||
fuzzy: this.isFuzzy(),
|
||||
topics: this.state?.topicsList() ?? [],
|
||||
kws: this.keywords(),
|
||||
}),
|
||||
computation: (src, previous) => {
|
||||
const target = src.fuzzy
|
||||
? src.topics.length > 0
|
||||
? src.topics
|
||||
: src.kws
|
||||
: src.kws;
|
||||
if (previous?.value && previous.value.length > 0) {
|
||||
const preserved = previous.value.filter((item) =>
|
||||
target.some(
|
||||
(t) =>
|
||||
t.toLowerCase().trim() === item.toLowerCase().trim() ||
|
||||
cleanEntityId(t) === cleanEntityId(item),
|
||||
),
|
||||
);
|
||||
if (preserved.length > 0) {
|
||||
return preserved;
|
||||
}
|
||||
}
|
||||
return target;
|
||||
},
|
||||
});
|
||||
|
||||
readonly activeChartTopic = linkedSignal<
|
||||
{ topics: string[]; raw: TrendResponse | null },
|
||||
string
|
||||
>({
|
||||
source: () => ({
|
||||
topics: this.selectedTrendTopics(),
|
||||
raw: this.rawTrendResponse(),
|
||||
}),
|
||||
computation: (src, previous) => {
|
||||
if (
|
||||
previous?.value &&
|
||||
src.topics.some(
|
||||
(t) =>
|
||||
t.toLowerCase().trim() === previous.value.toLowerCase().trim() ||
|
||||
cleanEntityId(t) === cleanEntityId(previous.value),
|
||||
)
|
||||
) {
|
||||
return previous.value;
|
||||
}
|
||||
const valid = this.findFirstNonEmptyTopic(src.topics);
|
||||
return valid || (src.topics.length > 0 ? src.topics[0] : '');
|
||||
},
|
||||
});
|
||||
|
||||
readonly primaryInstitution = signal<string | null>('I62318514');
|
||||
readonly primaryInstitutionName = signal<string>(
|
||||
'Universität Duisburg-Essen',
|
||||
@@ -191,12 +247,40 @@ export class UniTrendParentComponent implements OnInit {
|
||||
readonly chartMode = signal<'normalized' | 'total' | 'cumulative'>(
|
||||
'normalized',
|
||||
);
|
||||
readonly activeChartTopic = signal<string>('');
|
||||
readonly selectedPieEntity = signal<{
|
||||
id: string;
|
||||
name: string;
|
||||
type: 'institution' | 'author' | 'country' | 'region';
|
||||
} | null>(null);
|
||||
|
||||
readonly selectedPieEntity = linkedSignal<
|
||||
TrendResponse | null,
|
||||
{
|
||||
id: string;
|
||||
name: string;
|
||||
type: 'institution' | 'author' | 'country' | 'region';
|
||||
} | null
|
||||
>({
|
||||
source: () => this.trendResponse(),
|
||||
computation: (data, previous) => {
|
||||
if (!data || !data.series || data.series.length === 0) {
|
||||
return null;
|
||||
}
|
||||
if (previous?.value) {
|
||||
const stillExists = data.series.some(
|
||||
(s) =>
|
||||
cleanEntityId(s.entity_id) === cleanEntityId(previous.value!.id),
|
||||
);
|
||||
if (stillExists) {
|
||||
return previous.value;
|
||||
}
|
||||
}
|
||||
const firstSeries = data.series[0];
|
||||
if (firstSeries) {
|
||||
return {
|
||||
id: cleanEntityId(firstSeries.entity_id),
|
||||
name: firstSeries.entity_name,
|
||||
type: firstSeries.entity_type as any,
|
||||
};
|
||||
}
|
||||
return null;
|
||||
},
|
||||
});
|
||||
|
||||
readonly activeConfig = computed(
|
||||
() => TREND_CONFIGS[this.selectedSearchType()],
|
||||
@@ -374,7 +458,7 @@ export class UniTrendParentComponent implements OnInit {
|
||||
.reduce((sum, item) => sum + (item.raw || 0), 0);
|
||||
|
||||
return {
|
||||
name: topicName,
|
||||
name: this.getMappedTopic(topicName) || topicName,
|
||||
value: totalRaw,
|
||||
};
|
||||
});
|
||||
@@ -580,12 +664,24 @@ export class UniTrendParentComponent implements OnInit {
|
||||
}
|
||||
|
||||
isTopicEmpty(topic: string): boolean {
|
||||
const allSeries =
|
||||
this.trendResponse()?.series || this.rawTrendResponse()?.series || [];
|
||||
const allSeries = this.rawTrendResponse()?.series || [];
|
||||
if (allSeries.length === 0) return true;
|
||||
const targetLower = topic.toLowerCase().trim();
|
||||
const targetMappedLower = this.getMappedTopic(topic).toLowerCase().trim();
|
||||
const series =
|
||||
this.selectedSearchType() === 'news'
|
||||
? allSeries.filter((s) => this.seriesTopicName(s.entity_id) === topic)
|
||||
? allSeries.filter((s) => {
|
||||
const sTopic = this.seriesTopicName(s.entity_id)
|
||||
.toLowerCase()
|
||||
.trim();
|
||||
const sMapped = this.getMappedTopic(sTopic).toLowerCase().trim();
|
||||
return (
|
||||
sTopic === targetLower ||
|
||||
sTopic === targetMappedLower ||
|
||||
sMapped === targetLower ||
|
||||
sMapped === targetMappedLower
|
||||
);
|
||||
})
|
||||
: allSeries;
|
||||
return isTopicEmptyForSeries(
|
||||
topic,
|
||||
@@ -597,8 +693,7 @@ export class UniTrendParentComponent implements OnInit {
|
||||
}
|
||||
|
||||
findFirstNonEmptyTopic(topics: string[]): string {
|
||||
const allSeries =
|
||||
this.trendResponse()?.series || this.rawTrendResponse()?.series || [];
|
||||
const allSeries = this.rawTrendResponse()?.series || [];
|
||||
if (!topics || topics.length === 0) return '';
|
||||
return findFirstNonEmptyTopic(
|
||||
topics,
|
||||
@@ -777,14 +872,25 @@ export class UniTrendParentComponent implements OnInit {
|
||||
|
||||
if (type === 'news') {
|
||||
const active = this.activeChartTopic() || topics[0] || '';
|
||||
const wanted = new Set([
|
||||
NEWS_ENTITY_PREFIX + active,
|
||||
CC_NEWS_ENTITY_PREFIX + active,
|
||||
]);
|
||||
const activeLower = active.toLowerCase().trim();
|
||||
const mappedActiveLower = this.getMappedTopic(active)
|
||||
.toLowerCase()
|
||||
.trim();
|
||||
return {
|
||||
...raw,
|
||||
series: raw.series
|
||||
.filter((s) => wanted.has(s.entity_id))
|
||||
.filter((s) => {
|
||||
const sTopic = this.seriesTopicName(s.entity_id)
|
||||
.toLowerCase()
|
||||
.trim();
|
||||
const sMapped = this.getMappedTopic(sTopic).toLowerCase().trim();
|
||||
return (
|
||||
sTopic === activeLower ||
|
||||
sTopic === mappedActiveLower ||
|
||||
sMapped === activeLower ||
|
||||
sMapped === mappedActiveLower
|
||||
);
|
||||
})
|
||||
.map((s) => ({ ...normalizeTopicData(s), visible: true })),
|
||||
};
|
||||
}
|
||||
@@ -925,63 +1031,6 @@ export class UniTrendParentComponent implements OnInit {
|
||||
}
|
||||
});
|
||||
|
||||
// Sync active topics list whenever keywords or fuzzy mode state changes
|
||||
effect(() => {
|
||||
const kws = this.keywords();
|
||||
const fuzzy = this.isFuzzy();
|
||||
const stateTopicsList = this.state?.topicsList();
|
||||
const topics = fuzzy ? (stateTopicsList ?? kws) : kws;
|
||||
|
||||
if (topics.length > 0) {
|
||||
const currentSelections = untracked(() => this.selectedTrendTopics());
|
||||
const altTopics = fuzzy ? kws : (stateTopicsList ?? kws);
|
||||
const mappedSelections: string[] = [];
|
||||
|
||||
currentSelections.forEach((item) => {
|
||||
if (topics.includes(item)) {
|
||||
mappedSelections.push(item);
|
||||
} else {
|
||||
const idx = altTopics.indexOf(item);
|
||||
if (idx !== -1 && idx < topics.length && topics[idx]) {
|
||||
mappedSelections.push(topics[idx]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
const targetSelections =
|
||||
mappedSelections.length > 0
|
||||
? Array.from(new Set(mappedSelections))
|
||||
: topics;
|
||||
|
||||
// Only update selectedTrendTopics if array actually changed to prevent DOM re-creation
|
||||
const current = untracked(() => this.selectedTrendTopics());
|
||||
const hasChanged =
|
||||
targetSelections.length !== current.length ||
|
||||
targetSelections.some((t, i) => t !== current[i]);
|
||||
|
||||
if (hasChanged) {
|
||||
this.selectedTrendTopics.set(targetSelections);
|
||||
}
|
||||
|
||||
const currentActive = untracked(() => this.activeChartTopic());
|
||||
const validSelections = untracked(() => this.selectedTrendTopics());
|
||||
|
||||
if (!currentActive || !validSelections.includes(currentActive)) {
|
||||
const firstValid = this.findFirstNonEmptyTopic(validSelections);
|
||||
if (firstValid) {
|
||||
this.activeChartTopic.set(firstValid);
|
||||
} else if (validSelections.length > 0) {
|
||||
this.activeChartTopic.set(validSelections[0]);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
const current = untracked(() => this.selectedTrendTopics());
|
||||
if (current.length > 0) {
|
||||
this.selectedTrendTopics.set([]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Effect: load suggestions when active topic or location filters change
|
||||
effect(() => {
|
||||
const topic = this.activeChartTopic();
|
||||
@@ -994,39 +1043,6 @@ export class UniTrendParentComponent implements OnInit {
|
||||
});
|
||||
});
|
||||
|
||||
// Sync selectedPieEntity when trendResponse series update
|
||||
effect(() => {
|
||||
const data = this.trendResponse();
|
||||
const currentPie = untracked(() => this.selectedPieEntity());
|
||||
|
||||
if (!data || data.series.length === 0) {
|
||||
this.selectedPieEntity.set(null);
|
||||
return;
|
||||
}
|
||||
|
||||
if (currentPie) {
|
||||
const stillExists = data.series.some((s) => {
|
||||
const sId = cleanEntityId(s.entity_id);
|
||||
const targetId = cleanEntityId(currentPie.id);
|
||||
return sId === targetId;
|
||||
});
|
||||
if (stillExists) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const firstSeries = data.series[0];
|
||||
if (firstSeries) {
|
||||
this.selectedPieEntity.set({
|
||||
id: cleanEntityId(firstSeries.entity_id),
|
||||
name: firstSeries.entity_name,
|
||||
type: firstSeries.entity_type as any,
|
||||
});
|
||||
} else {
|
||||
this.selectedPieEntity.set(null);
|
||||
}
|
||||
});
|
||||
|
||||
// Load top 10 topics for selected pie entity
|
||||
effect(() => {
|
||||
const entity = this.selectedPieEntity();
|
||||
|
||||
@@ -119,7 +119,11 @@ export const uniTrendResolver: ResolveFn<UniTrendResolvedData> = (
|
||||
return { id: cleanId, name };
|
||||
});
|
||||
|
||||
if (parsedInstitutions.length === 0 && searchType !== 'authors') {
|
||||
if (
|
||||
parsedInstitutions.length === 0 &&
|
||||
searchType !== 'authors' &&
|
||||
searchType !== 'news'
|
||||
) {
|
||||
parsedInstitutions.push({ id: primaryInstId, name: primaryInstName });
|
||||
}
|
||||
|
||||
@@ -128,6 +132,13 @@ export const uniTrendResolver: ResolveFn<UniTrendResolvedData> = (
|
||||
const parts = c.split('|');
|
||||
return { id: parts[0].toUpperCase(), name: parts[1] || parts[0] };
|
||||
});
|
||||
if (
|
||||
parsedCountries.length === 0 &&
|
||||
searchType !== 'authors' &&
|
||||
searchType !== 'news'
|
||||
) {
|
||||
parsedCountries.push({ id: 'DE', name: 'Deutschland' });
|
||||
}
|
||||
|
||||
const regionParams = params.getAll('regions');
|
||||
const parsedRegions: CompareItem[] = regionParams.map((r) => {
|
||||
|
||||
Reference in New Issue
Block a user