diff --git a/service/scripts/build_ipc_openalex_mapping.py b/service/scripts/build_ipc_openalex_mapping.py
deleted file mode 100644
index 2d6d43f6..00000000
--- a/service/scripts/build_ipc_openalex_mapping.py
+++ /dev/null
@@ -1,280 +0,0 @@
-#!/usr/bin/env python3
-"""
-build_ipc_openalex_mapping.py — Build a 1:1 IPC/CPC → OpenAlex topic mapping file.
-
-Scans the `ipc` Elasticsearch index, matches each hierarchy level (section, class,
-subclass, group, subgroup) to the closest OpenAlex topic from topic_hierarchy_cache.json,
-and writes service/src/data/ipc_openalex_topic_mapping.json.
-
-Usage:
- python scripts/build_ipc_openalex_mapping.py
- python scripts/build_ipc_openalex_mapping.py --output ../src/data/ipc_openalex_topic_mapping.json
- python scripts/build_ipc_openalex_mapping.py --min-score 0.35
-
-Requires src/main/inse/.env with PATENT_ELASTICSEARCH credentials for the ipc index.
-"""
-from __future__ import annotations
-
-import argparse
-import asyncio
-import json
-import logging
-import re
-import sys
-from collections import defaultdict
-from difflib import SequenceMatcher
-from pathlib import Path
-
-current_dir = Path(__file__).resolve().parent
-sys.path.insert(0, str(current_dir.parent / "src" / "main"))
-
-from inse.integrations import elasticsearch # noqa: E402
-from inse.model import ESCluster # noqa: E402
-from inse.patents.ipc_search_client import IPC_INDEX # noqa: E402
-
-logger = logging.getLogger(__name__)
-
-LEVEL_FIELDS: tuple[tuple[str, str, str], ...] = (
- ("section", "cpc_section_number", "cpc_section_name"),
- ("class", "cpc_class_number", "cpc_class_name"),
- ("group", "cpc_group_number", "cpc_group_name"),
- ("subgroup", "cpc_subgroup_number", "cpc_subgroup_name"),
-)
-BUILD_LEVELS = ("section", "class", "subclass")
-
-
-def _normalize_symbol(symbol: str | None) -> str:
- if not symbol:
- return ""
- return symbol.strip().upper().replace(" ", "")
-
-
-def _infer_subclass(symbol: str | None) -> str | None:
- if not symbol:
- return None
- cleaned = _normalize_symbol(symbol)
- match = re.match(r"^([A-HY]\d{2}[A-Z])", cleaned)
- return match.group(1) if match else None
-
-
-def _load_topic_cache() -> list[dict]:
- cache_path = current_dir.parent / "src" / "data" / "topic_hierarchy_cache.json"
- with cache_path.open(encoding="utf-8") as handle:
- raw = json.load(handle)
- topics = []
- for display_name, info in raw.items():
- topics.append(
- {
- "display_name": display_name,
- "topic_id": info.get("topic_id"),
- "subfield": info.get("subfield"),
- "field": info.get("field"),
- "domain": info.get("domain"),
- }
- )
- return topics
-
-
-def _tokenize(text: str) -> set[str]:
- return {token for token in re.findall(r"[a-z0-9]+", text.casefold()) if len(token) > 2}
-
-
-def _prepare_topics(topics: list[dict]) -> tuple[list[dict], dict[str, set[int]]]:
- prepared: list[dict] = []
- index: dict[str, set[int]] = defaultdict(set)
- for idx, topic in enumerate(topics):
- labels = [
- topic["display_name"],
- topic.get("subfield"),
- topic.get("field"),
- topic.get("domain"),
- ]
- tokens: set[str] = set()
- for label in labels:
- if label:
- tokens |= _tokenize(label)
- prepared.append({**topic, "_tokens": tokens, "_labels": [l for l in labels if l]})
- for token in tokens:
- index[token].add(idx)
- return prepared, index
-
-
-def _score_label(ipc_label: str, topic: dict) -> float:
- ipc_text = ipc_label.casefold()
- ipc_tokens = _tokenize(ipc_label)
- best = 0.0
- for candidate in topic["_labels"]:
- candidate_text = candidate.casefold()
- ratio = SequenceMatcher(None, ipc_text, candidate_text).ratio()
- token_overlap = len(ipc_tokens & topic["_tokens"])
- token_score = token_overlap / max(len(ipc_tokens), 1)
- best = max(best, ratio, token_score)
- return best
-
-
-def _best_topic_match(
- ipc_label: str,
- topics: list[dict],
- topic_index: dict[str, set[int]],
- min_score: float,
-) -> dict | None:
- ipc_tokens = _tokenize(ipc_label)
- candidate_indices: set[int] = set()
- for token in ipc_tokens:
- candidate_indices |= topic_index.get(token, set())
- if not candidate_indices:
- return None
-
- best_topic = None
- best_score = 0.0
- for idx in list(candidate_indices)[:100]:
- topic = topics[idx]
- score = _score_label(ipc_label, topic)
- if score > best_score:
- best_score = score
- best_topic = topic
- if best_topic is None or best_score < min_score:
- return None
- return {
- "topic_id": best_topic["topic_id"],
- "topic_display_name": best_topic["display_name"],
- "subfield": best_topic.get("subfield"),
- "field": best_topic.get("field"),
- "domain": best_topic.get("domain"),
- "match_score": round(best_score, 3),
- }
-
-
-async def _fetch_unique_ipc_entries() -> dict[str, dict[str, str]]:
- entries: dict[str, dict[str, str]] = defaultdict(dict)
-
- async def _terms_with_label(
- level: str,
- number_field: str,
- name_field: str,
- size: int,
- ) -> None:
- for field_name in (number_field, f"{number_field}.keyword"):
- payload = {
- "size": 0,
- "aggs": {
- "items": {
- "terms": {"field": field_name, "size": size},
- "aggs": {
- "sample": {
- "top_hits": {"size": 1, "_source": [name_field]},
- }
- },
- }
- },
- }
- try:
- data = await elasticsearch.search(
- index=IPC_INDEX,
- body=payload,
- cluster=ESCluster.INSE,
- )
- except Exception:
- continue
- buckets = data.get("aggregations", {}).get("items", {}).get("buckets", [])
- if buckets:
- break
- else:
- return
- for bucket in buckets:
- symbol = bucket.get("key")
- hits = bucket.get("sample", {}).get("hits", {}).get("hits", [])
- if not symbol or not hits:
- continue
- name = hits[0].get("_source", {}).get(name_field)
- if not name:
- continue
- normalized = _normalize_symbol(str(symbol))
- if level == "class" and len(normalized) != 3:
- continue
- if level == "subclass":
- if len(normalized) <= 3:
- continue
- normalized = _infer_subclass(str(symbol)) or normalized
- entries[level][normalized] = str(name).strip()
-
- if "section" in BUILD_LEVELS:
- await _terms_with_label("section", "cpc_section_number", "cpc_section_name", 30)
- if "class" in BUILD_LEVELS:
- await _terms_with_label("class", "cpc_class_number", "cpc_class_name", 500)
- if "subclass" in BUILD_LEVELS:
- await _terms_with_label("subclass", "cpc_class_number", "cpc_class_name", 10000)
- if "group" in BUILD_LEVELS:
- await _terms_with_label("group", "cpc_group_number", "cpc_group_name", 20000)
- if "subgroup" in BUILD_LEVELS:
- await _terms_with_label("subgroup", "cpc_subgroup_number", "cpc_subgroup_name", 20000)
- return entries
-
-
-def build_mapping(ipc_entries: dict[str, dict[str, str]], topics: list[dict], min_score: float) -> dict:
- prepared_topics, topic_index = _prepare_topics(topics)
- mapping = {level: {} for level in ("section", "class", "subclass", "group", "subgroup")}
- label_cache: dict[tuple[str, str], dict | None] = {}
- total = sum(len(symbols) for level, symbols in ipc_entries.items() if level in BUILD_LEVELS)
- processed = 0
-
- for level in BUILD_LEVELS:
- symbols = ipc_entries.get(level, {})
- for symbol, label in symbols.items():
- processed += 1
- if processed % 500 == 0:
- logger.info("Mapped %d / %d ipc symbols", processed, total)
- cache_key = (level, label.casefold())
- if cache_key not in label_cache:
- label_cache[cache_key] = _best_topic_match(
- label, prepared_topics, topic_index, min_score
- )
- match = label_cache[cache_key]
- if match is None:
- continue
- mapping[level][symbol] = {
- "topic_id": match["topic_id"],
- "topic_display_name": match["topic_display_name"],
- "subfield": match.get("subfield"),
- "field": match.get("field"),
- "domain": match.get("domain"),
- "ipc_label": label,
- "match_score": match["match_score"],
- }
- return mapping
-
-
-async def main() -> None:
- parser = argparse.ArgumentParser(description="Build IPC/CPC → OpenAlex topic mapping JSON.")
- parser.add_argument(
- "--output",
- default=str(current_dir.parent / "src" / "data" / "ipc_openalex_topic_mapping.json"),
- help="Output JSON path",
- )
- parser.add_argument(
- "--min-score",
- type=float,
- default=0.35,
- help="Minimum label similarity score for a 1:1 assignment",
- )
- args = parser.parse_args()
-
- logging.basicConfig(level=logging.INFO, format="%(levelname)s %(message)s")
- topics = _load_topic_cache()
- logger.info("Loaded %d OpenAlex topics from cache", len(topics))
-
- ipc_entries = await _fetch_unique_ipc_entries()
- counts = {level: len(ipc_entries.get(level, {})) for level in BUILD_LEVELS}
- logger.info("Fetched unique ipc symbols: %s", counts)
-
- mapping = build_mapping(ipc_entries, topics, args.min_score)
- output_path = Path(args.output)
- output_path.parent.mkdir(parents=True, exist_ok=True)
- output_path.write_text(json.dumps(mapping, indent=2, ensure_ascii=True), encoding="utf-8")
-
- counts = {level: len(mapping[level]) for level in mapping}
- logger.info("Wrote mapping to %s: %s", output_path, counts)
-
-
-if __name__ == "__main__":
- asyncio.run(main())
diff --git a/service/scripts/check_author_patents.py b/service/scripts/check_author_patents.py
deleted file mode 100644
index 2d6f37ac..00000000
--- a/service/scripts/check_author_patents.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/env python3
-"""Quick check of patent counts for specific authors."""
-from __future__ import annotations
-
-import asyncio
-import sys
-from pathlib import Path
-
-current_dir = Path(__file__).resolve().parent
-sys.path.insert(0, str(current_dir.parent / "src" / "main"))
-
-from inse.patents.authors.ipc_openalex_mapping import clear_mapping_cache
-from inse.patents.authors.logic import get_patents_by_author_id
-from inse.patents.authors.name_matching import filter_patents_by_author_name
-from inse.patents.authors.topic_filter import filter_patents_by_ipc_topic_mapping
-from inse.patents.authors.identity import is_ambiguous_name
-from inse.patents.common.parsing import deduplicate_patents, enrich_patents_classifications, parse_epo_hits, parse_uspto_hits
-from inse.patents.ipc_search_client import IpcSearchClient
-from inse.patents.search_client import PatentSearchClient
-from inse.persons import logic as person_logic
-
-
-AUTHORS = [
- ("Dirk Schadendorf", "A5034365278", 8),
- ("Christian Weber", "A5100603203", 14),
-]
-
-
-async def _counts(author_id: str) -> dict:
- search_client = PatentSearchClient()
- ipc_client = IpcSearchClient()
- short_id = author_id.replace("https://openalex.org/", "")
- person = await person_logic.search_persons(author_id=short_id)
- author = person.results[0] if person.results else None
- if not author or not author.display_name:
- return {"error": "author not found"}
-
- epo_data, uspto_data = await asyncio.gather(
- search_client.search_epo(search_client.epo_query_by_inventor(author.display_name)),
- search_client.search_uspto(search_client.uspto_query_by_inventor(author.display_name)),
- )
- all_patents = deduplicate_patents(parse_epo_hits(epo_data) + parse_uspto_hits(uspto_data))
- name_matched = filter_patents_by_author_name(all_patents, author.display_name)
- await enrich_patents_classifications(name_matched, ipc_client)
- full_name_count = await person_logic.count_authors_by_display_name(author.display_name)
- ambiguous = is_ambiguous_name(
- author.display_name,
- patent_hit_count=len(all_patents),
- openalex_full_name_count=full_name_count,
- )
- filtered = filter_patents_by_ipc_topic_mapping(name_matched, author, is_ambiguous=ambiguous)
- return {
- "author_name": author.display_name,
- "es_hits": len(all_patents),
- "name_matched": len(name_matched),
- "after_topic_filter": len(filtered),
- "ambiguous": ambiguous,
- "openalex_same_name": full_name_count,
- "titles": [item.patent.title for item in filtered],
- }
-
-
-async def main() -> None:
- clear_mapping_cache()
- for label, author_id, expected in AUTHORS:
- result = await _counts(author_id)
- print(f"\n=== {label} ({author_id}) expected={expected} ===")
- for key, value in result.items():
- if key == "titles":
- print(f"{key}:")
- for title in value:
- print(f" - {title}")
- else:
- print(f"{key}: {value}")
-
-
-if __name__ == "__main__":
- asyncio.run(main())
diff --git a/service/scripts/diagnose_author_patents.py b/service/scripts/diagnose_author_patents.py
deleted file mode 100644
index bd8961cf..00000000
--- a/service/scripts/diagnose_author_patents.py
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/usr/bin/env python3
-"""Per-patent breakdown of topic-filter decisions for test authors."""
-from __future__ import annotations
-
-import asyncio
-import sys
-from pathlib import Path
-
-current_dir = Path(__file__).resolve().parent
-sys.path.insert(0, str(current_dir.parent / "src" / "main"))
-
-from inse.patents.authors.ipc_openalex_mapping import (
- clear_mapping_cache,
- load_ipc_openalex_mapping,
- patent_topics_match_author,
- resolve_mapped_topics_for_patent,
-)
-from inse.patents.authors.name_matching import filter_patents_by_author_name
-from inse.patents.authors.topic_filter import filter_patents_by_ipc_topic_mapping
-from inse.patents.authors.identity import is_ambiguous_name, patent_institution_match, patent_personal_assignee_match
-from inse.patents.common.parsing import deduplicate_patents, enrich_patents_classifications, parse_epo_hits, parse_uspto_hits
-from inse.patents.ipc_search_client import IpcSearchClient
-from inse.patents.search_client import PatentSearchClient
-from inse.persons import logic as person_logic
-
-AUTHORS = [
- ("Dirk Schadendorf", "A5034365278"),
- ("Christian Weber", "A5100603203"),
-]
-
-
-async def diagnose(author_id: str) -> None:
- search_client = PatentSearchClient()
- ipc_client = IpcSearchClient()
- short_id = author_id.replace("https://openalex.org/", "")
- person = await person_logic.search_persons(author_id=short_id)
- author = person.results[0]
- mapping = load_ipc_openalex_mapping()
-
- print(f"\n{'='*70}")
- print(f"{author.display_name} ({author_id})")
- print("Author topics:")
- for t in author.topics or []:
- print(f" - {t.display_name} ({t.id})")
-
- institutions = []
- for inst in author.last_known_institutions or []:
- institutions.append(inst.display_name)
- for aff in author.affiliations or []:
- if aff.institution:
- institutions.append(aff.institution.display_name)
- print("Institutions:", institutions)
-
- epo_data, uspto_data = await asyncio.gather(
- search_client.search_epo(search_client.epo_query_by_inventor(author.display_name)),
- search_client.search_uspto(search_client.uspto_query_by_inventor(author.display_name)),
- )
- all_patents = deduplicate_patents(parse_epo_hits(epo_data) + parse_uspto_hits(uspto_data))
- name_matched = filter_patents_by_author_name(all_patents, author.display_name)
- await enrich_patents_classifications(name_matched, ipc_client)
- full_name_count = await person_logic.count_authors_by_display_name(author.display_name)
- ambiguous = is_ambiguous_name(
- author.display_name,
- patent_hit_count=len(all_patents),
- openalex_full_name_count=full_name_count,
- )
- print(f"ambiguous={ambiguous}, name_matched={len(name_matched)}")
-
- filtered = filter_patents_by_ipc_topic_mapping(name_matched, author, is_ambiguous=ambiguous)
- kept_ids = {item.patent.patent_id for item in filtered}
-
- for i, patent in enumerate(name_matched, 1):
- mapped = resolve_mapped_topics_for_patent(patent, mapping)
- topic_match = patent_topics_match_author(patent, author, mapping)
- inst_match = patent_institution_match(patent, institutions)
- pers_match = patent_personal_assignee_match(patent, author.display_name or "")
- kept = patent.patent_id in kept_ids
- mapped_labels = [m.topic_display_name or m.topic_id for m in mapped]
- ipc = patent.ipc[:3] if patent.ipc else []
- cpc = patent.cpc[:2] if patent.cpc else []
- print(f"\n[{i}] {'KEEP' if kept else 'DROP'} | {patent.title[:70] if patent.title else '?'}")
- print(f" ipc={ipc} cpc={cpc}")
- print(f" mapped={mapped_labels or 'NONE'}")
- print(f" topic_match={topic_match} inst={inst_match} personal={pers_match}")
-
-
-async def main() -> None:
- clear_mapping_cache()
- for label, author_id in AUTHORS:
- await diagnose(author_id)
-
-
-if __name__ == "__main__":
- asyncio.run(main())
diff --git a/service/scripts/diagnose_keyword_patents.py b/service/scripts/diagnose_keyword_patents.py
deleted file mode 100644
index 7beeeb44..00000000
--- a/service/scripts/diagnose_keyword_patents.py
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/usr/bin/env python3
-"""Diagnose keyword → patent search for a given keyword."""
-from __future__ import annotations
-
-import argparse
-import asyncio
-import sys
-from pathlib import Path
-
-current_dir = Path(__file__).resolve().parent
-sys.path.insert(0, str(current_dir.parent / "src" / "main"))
-
-from dotenv import load_dotenv
-
-load_dotenv(current_dir.parent / "src" / "main" / "inse" / ".env")
-
-from inse.patents.authors.ipc_openalex_mapping import _load_topic_cache
-from inse.patents.keywords.logic import _patent_search_terms, get_patents_by_keywords
-from inse.patents.keywords.model import KeywordPatentSearchItem, PatentsByKeywordsRequest
-from inse.patents.keywords.reverse_lookup import KeywordIpcReverseLookup
-
-
-def _find_topic(keyword: str) -> tuple[str, dict]:
- cache = _load_topic_cache()
- keyword_lower = keyword.casefold()
- for name, info in cache.items():
- if keyword_lower in name.casefold():
- return name, info
- for name, info in cache.items():
- if info.get("subfield", "").casefold() == keyword_lower:
- return name, info
- return keyword, {}
-
-
-async def diagnose(keyword: str, topic_name: str | None, topic_id: str | None) -> None:
- if topic_name and topic_id:
- display_name = topic_name
- tid = topic_id
- info = _load_topic_cache().get(topic_name, {})
- else:
- display_name, info = _find_topic(keyword)
- tid = info.get("topic_id")
-
- item = KeywordPatentSearchItem(
- keyword=keyword,
- topic_id=tid,
- topic_display_name=display_name,
- subfield_name=info.get("subfield"),
- field_name=info.get("field"),
- relevance_score=1.0,
- )
- print(f"Keyword: {keyword}")
- print(f"Topic: {display_name} ({tid})")
- print(f"Subfield: {info.get('subfield')} | Field: {info.get('field')}")
-
- lookup = KeywordIpcReverseLookup()
- ipc = await lookup.lookup_ipc_codes([item])
- print(f"\nIPC matches ({len(ipc)}):")
- for match in ipc[:20]:
- print(
- f" {match.ipc_symbol:14} score={match.match_score:.3f} "
- f"type={match.match_type}"
- )
-
- terms = _patent_search_terms(ipc)
- print(f"\nPatent search terms ({len(terms)}): {terms}")
-
- response = await get_patents_by_keywords(PatentsByKeywordsRequest(keywords=[item]))
- print(f"\nPatents returned: {response.patent_count}")
- for entry in response.patents[:10]:
- patent = entry.patent
- title = (patent.title or "")[:60]
- print(
- f" score={entry.match_score:.3f} {patent.patent_id} "
- f"ipc={entry.matched_ipc_symbols} | {title}"
- )
- if patent.ipc:
- print(f" raw ipc: {patent.ipc[:2]}")
-
-
-def main() -> None:
- parser = argparse.ArgumentParser()
- parser.add_argument("keyword", default="Medizin", nargs="?")
- parser.add_argument("--topic-name", default=None)
- parser.add_argument("--topic-id", default=None)
- args = parser.parse_args()
- asyncio.run(diagnose(args.keyword, args.topic_name, args.topic_id))
-
-
-if __name__ == "__main__":
- main()
diff --git a/service/scripts/diagnose_patents_openalex_keywords.py b/service/scripts/diagnose_patents_openalex_keywords.py
deleted file mode 100644
index d226739f..00000000
--- a/service/scripts/diagnose_patents_openalex_keywords.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/usr/bin/env python3
-"""Print IPC/CPC → OpenAlex topic/keyword matches from patents_openalex_keywords."""
-from __future__ import annotations
-
-import argparse
-import asyncio
-import sys
-from pathlib import Path
-
-current_dir = Path(__file__).resolve().parent
-sys.path.insert(0, str(current_dir.parent / "src" / "main"))
-
-from inse.patents.patents_openalex_keywords.client import PatentsOpenAlexKeywordsClient
-from inse.patents.patents_openalex_keywords.ipc_entries import infer_subclass, normalize_symbol
-
-DEFAULT_SYMBOLS = ("A", "A61", "A61B", "G01N", "C12N", "H04L")
-
-
-def _print_match_block(title: str, matches: list[dict]) -> None:
- print(f" {title}:")
- if not matches:
- print(" (none)")
- return
- for item in matches:
- if "keyword" in item:
- label = item.get("keyword")
- topic = item.get("topic_display_name") or item.get("topic_id")
- print(
- f" #{item.get('rank')} {label} "
- f"[topic={topic}, score={item.get('match_score')}]"
- )
- else:
- label = item.get("topic_display_name") or item.get("topic_id")
- print(f" #{item.get('rank')} {label} (score={item.get('match_score')})")
-
-
-async def diagnose_symbol(client: PatentsOpenAlexKeywordsClient, symbol: str) -> None:
- normalized = normalize_symbol(symbol)
- print(f"\n{'=' * 70}")
- print(f"IPC/CPC symbol: {normalized}")
-
- doc = await client.lookup_symbol(normalized)
- if doc:
- print(f"Matched level: {doc.get('ipc_level')}")
- print(f"IPC label: {doc.get('ipc_label')}")
- _print_match_block("Topic matches", doc.get("topic_matches") or [])
- _print_match_block("Keyword matches", doc.get("keyword_matches") or [])
- return
-
- subclass = infer_subclass(normalized)
- for level, candidate in (
- ("subgroup", normalized),
- ("group", normalized),
- ("subclass", subclass),
- ("class", normalized[:3] if len(normalized) >= 3 else None),
- ("section", normalized[:1] if normalized else None),
- ):
- if not candidate:
- continue
- doc = await client.lookup(level, candidate)
- if doc:
- print(f"Matched level: {doc.get('ipc_level')} (via fallback lookup)")
- print(f"IPC label: {doc.get('ipc_label')}")
- _print_match_block("Topic matches", doc.get("topic_matches") or [])
- _print_match_block("Keyword matches", doc.get("keyword_matches") or [])
- return
-
- print(" No mapping found in patents_openalex_keywords.")
-
-
-async def main() -> None:
- parser = argparse.ArgumentParser(
- description="Diagnose IPC/CPC matches in patents_openalex_keywords.",
- )
- parser.add_argument(
- "symbols",
- nargs="*",
- default=list(DEFAULT_SYMBOLS),
- help="IPC/CPC symbols to inspect",
- )
- args = parser.parse_args()
-
- client = PatentsOpenAlexKeywordsClient()
- for symbol in args.symbols:
- await diagnose_symbol(client, symbol)
-
-
-if __name__ == "__main__":
- asyncio.run(main())
diff --git a/service/src/data/ipc_openalex_topic_mapping.json b/service/src/data/ipc_openalex_topic_mapping.json
deleted file mode 100644
index 0d405a23..00000000
--- a/service/src/data/ipc_openalex_topic_mapping.json
+++ /dev/null
@@ -1,2962 +0,0 @@
-{
- "section": {
- "C": {
- "topic_id": "https://openalex.org/T14184",
- "topic_display_name": "Metallurgy and Material Science",
- "ipc_label": "CHEMISTRY; METALLURGY",
- "match_score": 1.0
- },
- "D": {
- "topic_id": "https://openalex.org/T12514",
- "topic_display_name": "Fashion and Cultural Textiles",
- "ipc_label": "TEXTILES; PAPER",
- "match_score": 0.5
- },
- "E": {
- "topic_id": "https://openalex.org/T11777",
- "topic_display_name": "Fixed Point Theorems Analysis",
- "ipc_label": "FIXED CONSTRUCTIONS",
- "match_score": 0.5
- },
- "F": {
- "topic_id": "https://openalex.org/T12907",
- "topic_display_name": "Mechanical Engineering and Vibrations Research",
- "ipc_label": "MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING",
- "match_score": 0.604
- },
- "G": {
- "topic_id": "https://openalex.org/T12836",
- "topic_display_name": "History and Developments in Astronomy",
- "ipc_label": "PHYSICS",
- "match_score": 1.0
- },
- "H": {
- "topic_id": "https://openalex.org/T13429",
- "topic_display_name": "Electricity Theft Detection Techniques",
- "ipc_label": "ELECTRICITY",
- "match_score": 1.0
- },
- "A": {
- "topic_id": "https://openalex.org/T13694",
- "topic_display_name": "Immigration Law and Human Rights",
- "ipc_label": "HUMAN NECESSITIES",
- "match_score": 0.6
- },
- "B": {
- "topic_id": "https://openalex.org/T12659",
- "topic_display_name": "Innovation Diffusion and Forecasting",
- "ipc_label": "PERFORMING OPERATIONS; TRANSPORTING",
- "match_score": 0.507
- }
- },
- "class": {
- "A01D": {
- "topic_id": "https://openalex.org/T13896",
- "topic_display_name": "Health Services Management and Policy",
- "ipc_label": "HARVESTINGMOWING",
- "match_score": 0.412
- },
- "A01H": {
- "topic_id": "https://openalex.org/T10442",
- "topic_display_name": "Knee injuries and reconstruction techniques",
- "ipc_label": "NEW PLANTS OR NON-TRANSGENIC PROCESSES FOR OBTAINING THEMPLANT REPRODUCTION BY TISSUE CULTURE TECHNIQUES",
- "match_score": 0.435
- },
- "A01J": {
- "topic_id": "https://openalex.org/T11386",
- "topic_display_name": "Bee Products Chemical Analysis",
- "ipc_label": "MANUFACTURE OF DAIRY PRODUCTS for chemical matters, see subclass A23C",
- "match_score": 0.465
- },
- "A01L": {
- "topic_id": "https://openalex.org/T11905",
- "topic_display_name": "Veterinary Pharmacology and Anesthesia",
- "ipc_label": "SHOEING OF ANIMALS",
- "match_score": 0.581
- },
- "A01P": {
- "topic_id": "https://openalex.org/T14099",
- "topic_display_name": "Synthesis and Characterization of Heterocyclic Compounds",
- "ipc_label": "BIOCIDAL, PEST REPELLANT, PEST ATTRACTANT OR PLANT GROWTH REGULATORY ACTIVITY OF CHEMICAL COMPOUNDS OR PREPARATIONS",
- "match_score": 0.386
- },
- "A21C": {
- "topic_id": "https://openalex.org/T12282",
- "topic_display_name": "Mineral Processing and Grinding",
- "ipc_label": "MACHINES OR EQUIPMENT FOR MAKING OR PROCESSING DOUGHSHANDLING BAKED ARTICLES MADE FROM DOUGH",
- "match_score": 0.39
- },
- "A22B": {
- "topic_id": "https://openalex.org/T13366",
- "topic_display_name": "Accounting Theory and Financial Reporting",
- "ipc_label": "SLAUGHTERING",
- "match_score": 0.545
- },
- "A23K": {
- "topic_id": "https://openalex.org/T12181",
- "topic_display_name": "Agricultural and Biological Research",
- "ipc_label": "FODDER",
- "match_score": 0.444
- },
- "A23Y": {
- "topic_id": "https://openalex.org/T12388",
- "topic_display_name": "Identification and Quantification in Food",
- "ipc_label": "INDEXING SCHEME RELATING TO LACTIC OR PROPIONIC ACID BACTERIA USED IN FOODSTUFFS OR FOOD PREPARATION",
- "match_score": 0.369
- },
- "A24C": {
- "topic_id": "https://openalex.org/T13832",
- "topic_display_name": "Advanced Decision-Making Techniques",
- "ipc_label": "MACHINES FOR MAKING CIGARS OR CIGARETTES",
- "match_score": 0.475
- },
- "A41B": {
- "topic_id": "https://openalex.org/T13368",
- "topic_display_name": "University Challenges and Reforms",
- "ipc_label": "SHIRTSUNDERWEARBABY LINENHANDKERCHIEFS",
- "match_score": 0.451
- },
- "A41C": {
- "topic_id": "https://openalex.org/T14190",
- "topic_display_name": "Military history and social perspectives",
- "ipc_label": "CORSETSBRASSIERES",
- "match_score": 0.485
- },
- "A41D": {
- "topic_id": "https://openalex.org/T13272",
- "topic_display_name": "Psychological Treatments and Assessments",
- "ipc_label": "OUTERWEARPROTECTIVE GARMENTSACCESSORIES",
- "match_score": 0.43
- },
- "A41F": {
- "topic_id": "https://openalex.org/T13129",
- "topic_display_name": "Material Properties and Applications",
- "ipc_label": "GARMENT FASTENINGSSUSPENDERS",
- "match_score": 0.491
- },
- "A41G": {
- "topic_id": "https://openalex.org/T13734",
- "topic_display_name": "Advanced Computational Techniques and Applications",
- "ipc_label": "ARTIFICIAL FLOWERSWIGSMASKSFEATHERS",
- "match_score": 0.552
- },
- "A42C": {
- "topic_id": "https://openalex.org/T11159",
- "topic_display_name": "Manufacturing Process and Optimization",
- "ipc_label": "MANUFACTURING OR TRIMMING HEAD COVERINGS, e.g. HATS",
- "match_score": 0.494
- },
- "A43B": {
- "topic_id": "https://openalex.org/T13232",
- "topic_display_name": "Laser-Ablation Synthesis of Nanoparticles",
- "ipc_label": "CHARACTERISTIC FEATURES OF FOOTWEARPARTS OF FOOTWEAR",
- "match_score": 0.387
- },
- "A43C": {
- "topic_id": "https://openalex.org/T13288",
- "topic_display_name": "Banking, Crisis Management, COVID-19 Impact",
- "ipc_label": "FASTENINGS OR ATTACHMENTS OF FOOTWEARLACES IN GENERAL",
- "match_score": 0.375
- },
- "A43D": {
- "topic_id": "https://openalex.org/T13290",
- "topic_display_name": "Diverse Industrial Engineering Technologies",
- "ipc_label": "MACHINES, TOOLS, EQUIPMENT OR METHODS FOR MANUFACTURING OR REPAIRING FOOTWEAR",
- "match_score": 0.462
- },
- "A44C": {
- "topic_id": "https://openalex.org/T12607",
- "topic_display_name": "Personal Information Management and User Behavior",
- "ipc_label": "PERSONAL ADORNMENTS, e.g. JEWELLERYCOINS",
- "match_score": 0.449
- },
- "A44D": {
- "topic_id": "https://openalex.org/T11334",
- "topic_display_name": "Psychosomatic Disorders and Their Treatments",
- "ipc_label": "INDEXING SCHEME RELATING TO BUTTONS, PINS, BUCKLES OR SLIDE FASTENERS, AND TO JEWELLERY, BRACELETS OR OTHER PERSONAL ADORNMENTS",
- "match_score": 0.374
- },
- "A45C": {
- "topic_id": "https://openalex.org/T10413",
- "topic_display_name": "High-pressure geophysics and materials",
- "ipc_label": "PURSESLUGGAGEHAND CARRIED BAGS",
- "match_score": 0.471
- },
- "A45F": {
- "topic_id": "https://openalex.org/T11867",
- "topic_display_name": "Traumatic Ocular and Foreign Body Injuries",
- "ipc_label": "TRAVELLING OR CAMP EQUIPMENT: SACKS OR PACKS CARRIED ON THE BODY",
- "match_score": 0.358
- },
- "A46B": {
- "topic_id": "https://openalex.org/T13398",
- "topic_display_name": "Data Analysis with R",
- "ipc_label": "BRUSHES handles not integral with brushware B25G",
- "match_score": 0.353
- },
- "A46D": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "MANUFACTURE OF BRUSHES",
- "match_score": 0.455
- },
- "A47B": {
- "topic_id": "https://openalex.org/T14133",
- "topic_display_name": "Border Security and International Relations",
- "ipc_label": "TABLESDESKSOFFICE FURNITURECABINETSDRAWERSGENERAL DETAILS OF FURNITURE furniture jointing F16B",
- "match_score": 0.35
- },
- "A47C": {
- "topic_id": "https://openalex.org/T10495",
- "topic_display_name": "Catalysts for Methane Reforming",
- "ipc_label": "CHAIRS seats specially adapted for vehicles B60N2/00SOFASBEDS upholstery in general B68G",
- "match_score": 0.353
- },
- "A47G": {
- "topic_id": "https://openalex.org/T14160",
- "topic_display_name": "Water management and technologies",
- "ipc_label": "HOUSEHOLD OR TABLE EQUIPMENT book-ends A47B5/00; knives B26B",
- "match_score": 0.366
- },
- "A47J": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "KITCHEN EQUIPMENTCOFFEE MILLSSPICE MILLSAPPARATUS FOR MAKING BEVERAGES",
- "match_score": 0.378
- },
- "A61D": {
- "topic_id": "https://openalex.org/T14236",
- "topic_display_name": "Educational Tools and Methods",
- "ipc_label": "VETERINARY INSTRUMENTS, IMPLEMENTS, TOOLS, OR METHODS",
- "match_score": 0.512
- },
- "A61P": {
- "topic_id": "https://openalex.org/T12685",
- "topic_display_name": "Phytochemical compounds biological activities",
- "ipc_label": "SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS",
- "match_score": 0.525
- },
- "A61Q": {
- "topic_id": "https://openalex.org/T10576",
- "topic_display_name": "Opioid Use Disorder Treatment",
- "ipc_label": "SPECIFIC USE OF COSMETICS OR SIMILAR TOILETRY PREPARATIONS",
- "match_score": 0.437
- },
- "A62D": {
- "topic_id": "https://openalex.org/T11802",
- "topic_display_name": "Chemical Looping and Thermochemical Processes",
- "ipc_label": "CHEMICAL MEANS FOR EXTINGUISHING FIRES OR FOR COMBATING OR PROTECTING AGAINST HARMFUL CHEMICAL AGENTSCHEMICAL MATERIALS FOR USE IN BREATHING APPARATUS",
- "match_score": 0.369
- },
- "A63H": {
- "topic_id": "https://openalex.org/T12105",
- "topic_display_name": "Hygrothermal properties of building materials",
- "ipc_label": "TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS",
- "match_score": 0.409
- },
- "A99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "B01B": {
- "topic_id": "https://openalex.org/T11900",
- "topic_display_name": "Fungal Plant Pathogen Control",
- "ipc_label": "BOILINGBOILING APPARATUS ; EVAPORATION; EVAPORATION APPARATUS",
- "match_score": 0.381
- },
- "B01J": {
- "topic_id": "https://openalex.org/T13104",
- "topic_display_name": "Chemical and Physical Properties of Materials",
- "ipc_label": "CHEMICAL OR PHYSICAL PROCESSES, e.g. CATALYSIS OR COLLOID CHEMISTRYTHEIR RELEVANT APPARATUS",
- "match_score": 0.471
- },
- "B01L": {
- "topic_id": "https://openalex.org/T13104",
- "topic_display_name": "Chemical and Physical Properties of Materials",
- "ipc_label": "CHEMICAL OR PHYSICAL LABORATORY APPARATUS FOR GENERAL USE",
- "match_score": 0.549
- },
- "B03B": {
- "topic_id": "https://openalex.org/T11808",
- "topic_display_name": "Superconducting Materials and Applications",
- "ipc_label": "SEPARATING SOLID MATERIALS USING LIQUIDS OR USING PNEUMATIC TABLES OR JIGS",
- "match_score": 0.448
- },
- "B09B": {
- "topic_id": "https://openalex.org/T11108",
- "topic_display_name": "Municipal Solid Waste Management",
- "ipc_label": "DISPOSAL OF SOLID WASTE",
- "match_score": 0.667
- },
- "B21G": {
- "topic_id": "https://openalex.org/T10377",
- "topic_display_name": "Metal and Thin Film Mechanics",
- "ipc_label": "MAKING NEEDLES, PINS OR NAILS OF METAL",
- "match_score": 0.4
- },
- "B22C": {
- "topic_id": "https://openalex.org/T11853",
- "topic_display_name": "Semiconductor materials and interfaces",
- "ipc_label": "FOUNDRY MOULDING moulding refractory materials in general B28B",
- "match_score": 0.48
- },
- "B23B": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "TURNINGBORING arrangements for copying or controlling B23Q",
- "match_score": 0.424
- },
- "B24C": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "ABRASIVE OR RELATED BLASTING WITH PARTICULATE MATERIAL",
- "match_score": 0.469
- },
- "B25H": {
- "topic_id": "https://openalex.org/T10488",
- "topic_display_name": "Nanocomposite Films for Food Packaging",
- "ipc_label": "WORKSHOP EQUIPMENT, e.g. FOR MARKING-OUT WORKSTORAGE MEANS FOR WORKSHOPS storing or packaging B65",
- "match_score": 0.356
- },
- "B27H": {
- "topic_id": "https://openalex.org/T14076",
- "topic_display_name": "Material Properties and Failure Mechanisms",
- "ipc_label": "BENDING WOOD OR SIMILAR MATERIALCOOPERAGEMAKING WHEELS FROM WOOD OR SIMILAR MATERIAL",
- "match_score": 0.381
- },
- "B27J": {
- "topic_id": "https://openalex.org/T10219",
- "topic_display_name": "Mechanical Behavior of Composites",
- "ipc_label": "MECHANICAL WORKING OF CANE, CORK, OR SIMILAR MATERIALS",
- "match_score": 0.575
- },
- "B28D": {
- "topic_id": "https://openalex.org/T10811",
- "topic_display_name": "Hydrogen Storage and Materials",
- "ipc_label": "WORKING STONE OR STONE-LIKE MATERIALS",
- "match_score": 0.567
- },
- "B29L": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASS B29C, RELATING TO PARTICULAR ARTICLES",
- "match_score": 0.393
- },
- "B41F": {
- "topic_id": "https://openalex.org/T11523",
- "topic_display_name": "Nanomaterials and Printing Technologies",
- "ipc_label": "PRINTING MACHINES OR PRESSES manifolding devices or office printing machines B41L",
- "match_score": 0.383
- },
- "B41P": {
- "topic_id": "https://openalex.org/T13557",
- "topic_display_name": "Environmental and sustainability education",
- "ipc_label": "INDEXING SCHEME RELATING TO PRINTING, LINING MACHINES, TYPEWRITERS, AND TO STAMPS",
- "match_score": 0.42
- },
- "B42P": {
- "topic_id": "https://openalex.org/T11877",
- "topic_display_name": "Iron oxide chemistry and applications",
- "ipc_label": "INDEXING SCHEME RELATING TO BOOKS, FILING APPLIANCES OR THE LIKE",
- "match_score": 0.416
- },
- "B44F": {
- "topic_id": "https://openalex.org/T12174",
- "topic_display_name": "Hospital Admissions and Outcomes",
- "ipc_label": "SPECIAL DESIGNS OR PICTURES",
- "match_score": 0.542
- },
- "B60C": {
- "topic_id": "https://openalex.org/T12641",
- "topic_display_name": "Historical and socio-economic studies of Spain and related regions",
- "ipc_label": "VEHICLE TYRESTYRE INFLATIONTYRE CHANGINGCONNECTING VALVES TO INFLATABLE ELASTIC BODIES IN GENERALDEVICES OR ARRANGEMENTS RELATED TO TYRES",
- "match_score": 0.384
- },
- "B60D": {
- "topic_id": "https://openalex.org/T10829",
- "topic_display_name": "Interconnection Networks and Systems",
- "ipc_label": "VEHICLE CONNECTIONS components of brake systems B60T17/04",
- "match_score": 0.473
- },
- "B60F": {
- "topic_id": "https://openalex.org/T14022",
- "topic_display_name": "Cultural and Religious Practices in Indonesia",
- "ipc_label": "VEHICLES FOR USE BOTH ON RAIL AND ON ROADAMPHIBIOUS OR LIKE VEHICLESCONVERTIBLE VEHICLES air-cushion vehicles B60V",
- "match_score": 0.377
- },
- "B60G": {
- "topic_id": "https://openalex.org/T10805",
- "topic_display_name": "Vehicle Dynamics and Control Systems",
- "ipc_label": "VEHICLE SUSPENSION ARRANGEMENTS air-cushion vehicles B60V; cycle suspensions B62K25/00",
- "match_score": 0.361
- },
- "B60H": {
- "topic_id": "https://openalex.org/T10558",
- "topic_display_name": "Advancements in Semiconductor Devices and Circuit Design",
- "ipc_label": "ARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES",
- "match_score": 0.366
- },
- "B60Q": {
- "topic_id": "https://openalex.org/T10558",
- "topic_display_name": "Advancements in Semiconductor Devices and Circuit Design",
- "ipc_label": "ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL",
- "match_score": 0.415
- },
- "B60R": {
- "topic_id": "https://openalex.org/T12707",
- "topic_display_name": "Vehicle License Plate Recognition",
- "ipc_label": "VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.381
- },
- "B60V": {
- "topic_id": "https://openalex.org/T11002",
- "topic_display_name": "Indoor Air Quality and Microbial Exposure",
- "ipc_label": "AIR-CUSHION VEHICLES",
- "match_score": 0.393
- },
- "B60Y": {
- "topic_id": "https://openalex.org/T12898",
- "topic_display_name": "Induction Heating and Inverter Technology",
- "ipc_label": "INDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY",
- "match_score": 0.569
- },
- "B61D": {
- "topic_id": "https://openalex.org/T12271",
- "topic_display_name": "Renewable energy and sustainable power systems",
- "ipc_label": "BODY DETAILS OR KINDS OF RAILWAY VEHICLES vehicles in general B60; adaptation of vehicles to special systems B61B; underframes B61F",
- "match_score": 0.35
- },
- "B61G": {
- "topic_id": "https://openalex.org/T14049",
- "topic_display_name": "Plant and Fungal Species Descriptions",
- "ipc_label": "COUPLINGSDRAUGHT AND BUFFING APPLIANCES vehicle connections in general B60D",
- "match_score": 0.446
- },
- "B61J": {
- "topic_id": "https://openalex.org/T10757",
- "topic_display_name": "Geographic Information Systems Studies",
- "ipc_label": "SHIFTING OR SHUNTING OF RAIL VEHICLES shifting vehicles in general B60S; marshalling systems B61B",
- "match_score": 0.37
- },
- "B62C": {
- "topic_id": "https://openalex.org/T13551",
- "topic_display_name": "Biochemical effects in animals",
- "ipc_label": "VEHICLES DRAWN BY ANIMALS",
- "match_score": 0.582
- },
- "B63J": {
- "topic_id": "https://openalex.org/T11427",
- "topic_display_name": "Elbow and Forearm Trauma Treatment",
- "ipc_label": "AUXILIARIES ON VESSELS",
- "match_score": 0.444
- },
- "B64B": {
- "topic_id": "https://openalex.org/T12916",
- "topic_display_name": "COVID-19 impact on air quality",
- "ipc_label": "LIGHTER-THAN AIR AIRCRAFT",
- "match_score": 0.4
- },
- "B64C": {
- "topic_id": "https://openalex.org/T10647",
- "topic_display_name": "Coastal and Marine Dynamics",
- "ipc_label": "AEROPLANESHELICOPTERS",
- "match_score": 0.49
- },
- "B64U": {
- "topic_id": "https://openalex.org/T11192",
- "topic_display_name": "Underwater Vehicles and Communication Systems",
- "ipc_label": "UNMANNED AERIAL VEHICLES [UAV]EQUIPMENT THEREFOR",
- "match_score": 0.43
- },
- "B65H": {
- "topic_id": "https://openalex.org/T13917",
- "topic_display_name": "Engineering and Material Science Research",
- "ipc_label": "HANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES",
- "match_score": 0.419
- },
- "B68B": {
- "topic_id": "https://openalex.org/T12617",
- "topic_display_name": "Energy, Environment, and Transportation Policies",
- "ipc_label": "HARNESSDEVICES USED IN CONNECTION THEREWITHWHIPS OR THE LIKE",
- "match_score": 0.389
- },
- "B68C": {
- "topic_id": "https://openalex.org/T13896",
- "topic_display_name": "Health Services Management and Policy",
- "ipc_label": "SADDLESSTIRRUPS",
- "match_score": 0.424
- },
- "B81B": {
- "topic_id": "https://openalex.org/T12111",
- "topic_display_name": "Industrial Vision Systems and Defect Detection",
- "ipc_label": "MICROSTRUCTURAL DEVICES OR SYSTEMS, e.g. MICROMECHANICAL DEVICES piezo-electric, electrostrictive or magnetostrictive elements per se H10N30/00",
- "match_score": 0.37
- },
- "B82Y": {
- "topic_id": "https://openalex.org/T11169",
- "topic_display_name": "Silicon Nanostructures and Photoluminescence",
- "ipc_label": "SPECIFIC USES OR APPLICATIONS OF NANOSTRUCTURESMEASUREMENT OR ANALYSIS OF NANOSTRUCTURESMANUFACTURE OR TREATMENT OF NANOSTRUCTURES",
- "match_score": 0.402
- },
- "B99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "C01B": {
- "topic_id": "https://openalex.org/T12458",
- "topic_display_name": "Organometallic Compounds Synthesis and Characterization",
- "ipc_label": "NON-METALLIC ELEMENTSCOMPOUNDS THEREOF; METALLOIDS OR COMPOUNDS THEREOF NOT COVERED BY SUBCLASS C01C",
- "match_score": 0.4
- },
- "C01P": {
- "topic_id": "https://openalex.org/T12410",
- "topic_display_name": "Structural and Chemical Analysis of Organic and Inorganic Compounds",
- "ipc_label": "INDEXING SCHEME RELATING TO STRUCTURAL AND PHYSICAL ASPECTS OF SOLID INORGANIC COMPOUNDS",
- "match_score": 0.658
- },
- "C03B": {
- "topic_id": "https://openalex.org/T10705",
- "topic_display_name": "Additive Manufacturing Materials and Processes",
- "ipc_label": "MANUFACTURE, SHAPING, OR SUPPLEMENTARY PROCESSES",
- "match_score": 0.574
- },
- "C05B": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "PHOSPHATIC FERTILISERS",
- "match_score": 0.5
- },
- "C05C": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "NITROGENOUS FERTILISERS",
- "match_score": 0.444
- },
- "C05D": {
- "topic_id": "https://openalex.org/T10973",
- "topic_display_name": "Radioactive element chemistry and processing",
- "ipc_label": "INORGANIC FERTILISERS NOT COVERED BY SUBCLASSES C05B, C05CFERTILISERS PRODUCING CARBON DIOXIDE",
- "match_score": 0.362
- },
- "C06F": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "MATCHESMANUFACTURE OF MATCHES",
- "match_score": 0.588
- },
- "C07B": {
- "topic_id": "https://openalex.org/T14099",
- "topic_display_name": "Synthesis and Characterization of Heterocyclic Compounds",
- "ipc_label": "GENERAL METHODS OF ORGANIC CHEMISTRYAPPARATUS THEREFOR preparation of carboxylic acid esters by telomerisation C07C67/47; telomerisation C08F",
- "match_score": 0.355
- },
- "C07C": {
- "topic_id": "https://openalex.org/T13208",
- "topic_display_name": "Synthesis of heterocyclic compounds",
- "ipc_label": "ACYCLIC OR CARBOCYCLIC COMPOUNDS",
- "match_score": 0.657
- },
- "C07D": {
- "topic_id": "https://openalex.org/T13208",
- "topic_display_name": "Synthesis of heterocyclic compounds",
- "ipc_label": "HETEROCYCLIC COMPOUNDS macromolecular compounds C08",
- "match_score": 0.512
- },
- "C07G": {
- "topic_id": "https://openalex.org/T12055",
- "topic_display_name": "Boron Compounds in Chemistry",
- "ipc_label": "COMPOUNDS OF UNKNOWN CONSTITUTION",
- "match_score": 0.492
- },
- "C07J": {
- "topic_id": "https://openalex.org/T10310",
- "topic_display_name": "Corrosion Behavior and Inhibition",
- "ipc_label": "STEROIDS seco-steroids C07C",
- "match_score": 0.455
- },
- "C08C": {
- "topic_id": "https://openalex.org/T13037",
- "topic_display_name": "Piperaceae Chemical and Biological Studies",
- "ipc_label": "TREATMENT OR CHEMICAL MODIFICATION OF RUBBERS",
- "match_score": 0.506
- },
- "C08F": {
- "topic_id": "https://openalex.org/T13239",
- "topic_display_name": "Phosphorus compounds and reactions",
- "ipc_label": "MACROMOLECULAR COMPOUNDS OBTAINED BY REACTIONS ONLY INVOLVING CARBON-TO-CARBON UNSATURATED BONDS",
- "match_score": 0.4
- },
- "C08G": {
- "topic_id": "https://openalex.org/T14459",
- "topic_display_name": "Synthesis and Reactions of Organic Compounds",
- "ipc_label": "MACROMOLECULAR COMPOUNDS OBTAINED OTHERWISE THAN BY REACTIONS ONLY INVOLVING UNSATURATED CARBON-TO-CARBON BONDS",
- "match_score": 0.387
- },
- "C09F": {
- "topic_id": "https://openalex.org/T11823",
- "topic_display_name": "Natural Resources and Economic Development",
- "ipc_label": "NATURAL RESINSFRENCH POLISHDRYING-OILSDRIERS (SICCATIVES)TURPENTINE",
- "match_score": 0.422
- },
- "C09G": {
- "topic_id": "https://openalex.org/T12638",
- "topic_display_name": "Pomegranate: compositions and health benefits",
- "ipc_label": "POLISHING COMPOSITIONS French polish C09F11/00SKI WAXES",
- "match_score": 0.42
- },
- "C09H": {
- "topic_id": "https://openalex.org/T14032",
- "topic_display_name": "History and International Relations",
- "ipc_label": "PREPARATION OF GLUE OR GELATINE",
- "match_score": 0.485
- },
- "C09K": {
- "topic_id": "https://openalex.org/T10245",
- "topic_display_name": "Metamaterials and Metasurfaces Applications",
- "ipc_label": "MATERIALS FOR MISCELLANEOUS APPLICATIONS, NOT PROVIDED FOR ELSEWHERE",
- "match_score": 0.523
- },
- "C10F": {
- "topic_id": "https://openalex.org/T10650",
- "topic_display_name": "Food Drying and Modeling",
- "ipc_label": "DRYING OR WORKING-UP OF PEAT",
- "match_score": 0.423
- },
- "C10H": {
- "topic_id": "https://openalex.org/T12931",
- "topic_display_name": "Educational Methods and Outcomes",
- "ipc_label": "PRODUCTION OF ACETYLENE BY WET METHODS purification of acetylene C07C7/00",
- "match_score": 0.457
- },
- "C10K": {
- "topic_id": "https://openalex.org/T11848",
- "topic_display_name": "Heme Oxygenase-1 and Carbon Monoxide",
- "ipc_label": "PURIFYING OR MODIFYING THE CHEMICAL COMPOSITION OF COMBUSTIBLE GASES CONTAINING CARBON MONOXIDE",
- "match_score": 0.412
- },
- "C10N": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASS C10M RELATING TO LUBRICATING COMPOSITIONS",
- "match_score": 0.397
- },
- "C11D": {
- "topic_id": "https://openalex.org/T11869",
- "topic_display_name": "Per- and polyfluoroalkyl substances research",
- "ipc_label": "DETERGENT COMPOSITIONSUSE OF SINGLE SUBSTANCES AS DETERGENTSSOAP OR SOAP-MAKINGRESIN SOAPSRECOVERY OF GLYCEROL",
- "match_score": 0.351
- },
- "C12J": {
- "topic_id": "https://openalex.org/T12008",
- "topic_display_name": "Solar-Powered Water Purification Methods",
- "ipc_label": "VINEGARPREPARATION OR PURIFICATION THEREOF",
- "match_score": 0.61
- },
- "C12R": {
- "topic_id": "https://openalex.org/T10685",
- "topic_display_name": "Viral-associated cancers and disorders",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASSES C12C - C12Q, RELATING TO MICROORGANISMS",
- "match_score": 0.367
- },
- "C12Y": {
- "topic_id": "https://openalex.org/T12770",
- "topic_display_name": "Amino Acid Enzymes and Metabolism",
- "ipc_label": "ENZYMES",
- "match_score": 1.0
- },
- "C13B": {
- "topic_id": "https://openalex.org/T12410",
- "topic_display_name": "Structural and Chemical Analysis of Organic and Inorganic Compounds",
- "ipc_label": "PRODUCTION OF SUCROSEAPPARATUS SPECIALLY ADAPTED THEREFOR chemically synthesised sugars or sugar derivatives C07H; fermentation or enzyme-using processes for preparing compounds containing saccharide radicals C12P19/00",
- "match_score": 0.351
- },
- "C21B": {
- "topic_id": "https://openalex.org/T12301",
- "topic_display_name": "Facial Nerve Paralysis Treatment and Research",
- "ipc_label": "MANUFACTURE OF IRON OR STEEL preliminary treatment of ferrous ores or scrap C22B1/00; electric heating H05B",
- "match_score": 0.368
- },
- "C22B": {
- "topic_id": "https://openalex.org/T13652",
- "topic_display_name": "Education and Social Development in Ukraine",
- "ipc_label": "PRODUCTION AND REFINING OF METALS electrolytic C25PRETREATMENT OF RAW MATERIALS",
- "match_score": 0.475
- },
- "C22C": {
- "topic_id": "https://openalex.org/T11453",
- "topic_display_name": "Diagnosis and Treatment of Venous Diseases",
- "ipc_label": "ALLOYS flints C06C15/00; treatment of alloys C21D, C22F",
- "match_score": 0.474
- },
- "C23D": {
- "topic_id": "https://openalex.org/T13463",
- "topic_display_name": "Nanoporous metals and alloys",
- "ipc_label": "ENAMELLING OF, OR APPLYING A VITREOUS LAYER TO, METALS",
- "match_score": 0.39
- },
- "C23G": {
- "topic_id": "https://openalex.org/T14068",
- "topic_display_name": "Organic and Inorganic Chemical Reactions",
- "ipc_label": "CLEANING OR DE-GREASING OF METALLIC MATERIAL BY CHEMICAL METHODS OTHER THAN ELECTROLYSIS",
- "match_score": 0.438
- },
- "C25C": {
- "topic_id": "https://openalex.org/T10962",
- "topic_display_name": "Thermodynamic properties of mixtures",
- "ipc_label": "PROCESSES FOR THE ELECTROLYTIC PRODUCTION, RECOVERY OR REFINING OF METALSAPPARATUS THEREFOR",
- "match_score": 0.378
- },
- "C25D": {
- "topic_id": "https://openalex.org/T14382",
- "topic_display_name": "Electrophoretic Deposition in Materials Science",
- "ipc_label": "PROCESSES FOR THE ELECTROLYTIC OR ELECTROPHORETIC PRODUCTION OF COATINGSELECTROFORMINGAPPARATUS THEREFOR",
- "match_score": 0.424
- },
- "C25F": {
- "topic_id": "https://openalex.org/T11025",
- "topic_display_name": "Nonlinear Optical Materials Research",
- "ipc_label": "PROCESSES FOR THE ELECTROLYTIC REMOVAL OF MATERIALS FROM OBJECTSAPPARATUS THEREFOR",
- "match_score": 0.458
- },
- "C99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "D01D": {
- "topic_id": "https://openalex.org/T11416",
- "topic_display_name": "Numerical methods for differential equations",
- "ipc_label": "MECHANICAL METHODS OR APPARATUS IN THE MANUFACTURE OF ARTIFICIAL FILAMENTS, THREADS, FIBRES, BRISTLES OR RIBBONS",
- "match_score": 0.397
- },
- "D02G": {
- "topic_id": "https://openalex.org/T14192",
- "topic_display_name": "Literature, Film, and Journalism Analysis",
- "ipc_label": "CRIMPING OR CURLING FIBRES, FILAMENTS, THREADS, OR YARNSYARNS OR THREADS",
- "match_score": 0.389
- },
- "D02H": {
- "topic_id": "https://openalex.org/T13523",
- "topic_display_name": "Mathematics, Computing, and Information Processing",
- "ipc_label": "WARPING, BEAMING OR LEASING",
- "match_score": 0.468
- },
- "D03C": {
- "topic_id": "https://openalex.org/T12490",
- "topic_display_name": "Software Engineering and Design Patterns",
- "ipc_label": "SHEDDING MECHANISMSPATTERN CARDS OR CHAINSPUNCHING OF CARDSDESIGNING PATTERNS",
- "match_score": 0.41
- },
- "D03D": {
- "topic_id": "https://openalex.org/T13880",
- "topic_display_name": "Innovative Education Methods and Tools",
- "ipc_label": "WOVEN FABRICSMETHODS OF WEAVINGLOOMS",
- "match_score": 0.459
- },
- "D03J": {
- "topic_id": "https://openalex.org/T10262",
- "topic_display_name": "Microwave Engineering and Waveguides",
- "ipc_label": "AUXILIARY WEAVING APPARATUSWEAVERS' TOOLSSHUTTLES",
- "match_score": 0.4
- },
- "D04B": {
- "topic_id": "https://openalex.org/T13366",
- "topic_display_name": "Accounting Theory and Financial Reporting",
- "ipc_label": "KNITTING",
- "match_score": 0.556
- },
- "D05C": {
- "topic_id": "https://openalex.org/T13583",
- "topic_display_name": "Jury Decision Making Processes",
- "ipc_label": "EMBROIDERINGTUFTING making non-woven fabrics D04H; sewing D05B",
- "match_score": 0.391
- },
- "D05D": {
- "topic_id": "https://openalex.org/T14497",
- "topic_display_name": "Social Issues and Policies in Latin America",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASSES D05B AND D05C, RELATING TO SEWING, EMBROIDERING AND TUFTING",
- "match_score": 0.4
- },
- "D06C": {
- "topic_id": "https://openalex.org/T11511",
- "topic_display_name": "Dyeing and Modifying Textile Fibers",
- "ipc_label": "FINISHING, DRESSING, TENTERING OR STRETCHING TEXTILE FABRICS",
- "match_score": 0.484
- },
- "D06F": {
- "topic_id": "https://openalex.org/T11511",
- "topic_display_name": "Dyeing and Modifying Textile Fibers",
- "ipc_label": "LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES",
- "match_score": 0.44
- },
- "D06H": {
- "topic_id": "https://openalex.org/T11948",
- "topic_display_name": "Machine Learning in Materials Science",
- "ipc_label": "MARKING, INSPECTING, SEAMING OR SEVERING TEXTILE MATERIALS seaming by sewing D05B",
- "match_score": 0.475
- },
- "D06P": {
- "topic_id": "https://openalex.org/T11511",
- "topic_display_name": "Dyeing and Modifying Textile Fibers",
- "ipc_label": "DYEING OR PRINTING TEXTILESDYEING LEATHER, FURS OR SOLID MACROMOLECULAR SUBSTANCES IN ANY FORM",
- "match_score": 0.372
- },
- "D10B": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBLASSES OF SECTION D, RELATING TO TEXTILES",
- "match_score": 0.4
- },
- "D21B": {
- "topic_id": "https://openalex.org/T11485",
- "topic_display_name": "Gastrointestinal Tumor Research and Treatment",
- "ipc_label": "FIBROUS RAW MATERIALS OR THEIR MECHANICAL TREATMENT",
- "match_score": 0.562
- },
- "D21D": {
- "topic_id": "https://openalex.org/T11071",
- "topic_display_name": "Treatment of Major Depression",
- "ipc_label": "TREATMENT OF THE MATERIALS BEFORE PASSING TO THE PAPER-MAKING MACHINE",
- "match_score": 0.469
- },
- "D99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "E01F": {
- "topic_id": "https://openalex.org/T14390",
- "topic_display_name": "Real estate and construction management",
- "ipc_label": "ADDITIONAL WORK, SUCH AS EQUIPPING ROADS OR THE CONSTRUCTION OF PLATFORMS, HELICOPTER LANDING STAGES, SIGNS, SNOW FENCES, OR THE LIKE",
- "match_score": 0.36
- },
- "E02B": {
- "topic_id": "https://openalex.org/T12907",
- "topic_display_name": "Mechanical Engineering and Vibrations Research",
- "ipc_label": "HYDRAULIC ENGINEERING ship-lifting E02C; dredging E02F",
- "match_score": 0.5
- },
- "E02C": {
- "topic_id": "https://openalex.org/T13253",
- "topic_display_name": "Chemical Reactions and Mechanisms",
- "ipc_label": "SHIP-LIFTING DEVICES OR MECHANISMS",
- "match_score": 0.567
- },
- "E02D": {
- "topic_id": "https://openalex.org/T12233",
- "topic_display_name": "Geotechnical Engineering and Underground Structures",
- "ipc_label": "FOUNDATIONSEXCAVATIONSEMBANKMENTS specially adapted for hydraulic engineering E02BUNDERGROUND OR UNDERWATER STRUCTURES tunnels, tunnelling, mining E21",
- "match_score": 0.408
- },
- "E02F": {
- "topic_id": "https://openalex.org/T13027",
- "topic_display_name": "Applied Advanced Technologies",
- "ipc_label": "DREDGINGSOIL-SHIFTING winning peat E21C49/00",
- "match_score": 0.381
- },
- "E03D": {
- "topic_id": "https://openalex.org/T14249",
- "topic_display_name": "Water Quality Monitoring and Analysis",
- "ipc_label": "WATER-CLOSETS OR URINALS WITH FLUSHING DEVICESFLUSHING VALVES THEREFOR",
- "match_score": 0.355
- },
- "E03F": {
- "topic_id": "https://openalex.org/T13675",
- "topic_display_name": "Diffusion Coefficients in Liquids",
- "ipc_label": "SEWERSCESSPOOLS",
- "match_score": 0.444
- },
- "E05B": {
- "topic_id": "https://openalex.org/T10859",
- "topic_display_name": "Polymer Surface Interaction Studies",
- "ipc_label": "LOCKSACCESSORIES THEREFORHANDCUFFS",
- "match_score": 0.452
- },
- "E21C": {
- "topic_id": "https://openalex.org/T11933",
- "topic_display_name": "Mining and Resource Management",
- "ipc_label": "MINING OR QUARRYING",
- "match_score": 0.531
- },
- "E21F": {
- "topic_id": "https://openalex.org/T10570",
- "topic_display_name": "Drug Transport and Resistance Mechanisms",
- "ipc_label": "SAFETY DEVICES, TRANSPORT, FILLING-UP, RESCUE, VENTILATION, OR DRAINING IN OR OF MINES OR TUNNELS",
- "match_score": 0.38
- },
- "E99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "F01L": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "CYCLICALLY OPERATING VALVES FOR MACHINES OR ENGINES",
- "match_score": 0.478
- },
- "F02F": {
- "topic_id": "https://openalex.org/T10117",
- "topic_display_name": "Advanced Combustion Engine Technologies",
- "ipc_label": "CYLINDERS, PISTONS OR CASINGS, FOR COMBUSTION ENGINESARRANGEMENTS OF SEALINGS IN COMBUSTION ENGINES",
- "match_score": 0.406
- },
- "F02M": {
- "topic_id": "https://openalex.org/T13917",
- "topic_display_name": "Engineering and Material Science Research",
- "ipc_label": "SUPPLYING COMBUSTION ENGINES IN GENERAL WITH COMBUSTIBLE MIXTURES OR CONSTITUENTS THEREOF",
- "match_score": 0.385
- },
- "F02N": {
- "topic_id": "https://openalex.org/T10117",
- "topic_display_name": "Advanced Combustion Engine Technologies",
- "ipc_label": "STARTING OF COMBUSTION ENGINESSTARTING AIDS FOR SUCH ENGINES, NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.441
- },
- "F03D": {
- "topic_id": "https://openalex.org/T10504",
- "topic_display_name": "Sensorless Control of Electric Motors",
- "ipc_label": "WIND MOTORS",
- "match_score": 0.5
- },
- "F03H": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "PRODUCING A REACTIVE PROPULSIVE THRUST, NOT OTHERWISE PROVIDED FOR from combustion products F02K",
- "match_score": 0.35
- },
- "F16C": {
- "topic_id": "https://openalex.org/T14144",
- "topic_display_name": "Neurological Disease Mechanisms and Treatments",
- "ipc_label": "SHAFTSFLEXIBLE SHAFTSELEMENTS OR CRANKSHAFT MECHANISMSROTARY BODIES OTHER THAN GEARING ELEMENTSBEARINGS",
- "match_score": 0.376
- },
- "F16D": {
- "topic_id": "https://openalex.org/T12240",
- "topic_display_name": "Nanomaterials for catalytic reactions",
- "ipc_label": "COUPLINGS FOR TRANSMITTING ROTATIONCLUTCHESBRAKES",
- "match_score": 0.465
- },
- "F16F": {
- "topic_id": "https://openalex.org/T10030",
- "topic_display_name": "Electrocatalysts for Energy Conversion",
- "ipc_label": "SPRINGSSHOCK-ABSORBERSMEANS FOR DAMPING VIBRATION",
- "match_score": 0.437
- },
- "F16H": {
- "topic_id": "https://openalex.org/T14252",
- "topic_display_name": "Water and Wastewater Treatment",
- "ipc_label": "GEARING",
- "match_score": 0.667
- },
- "F16J": {
- "topic_id": "https://openalex.org/T14353",
- "topic_display_name": "Wireless Sensor Networks for Data Analysis",
- "ipc_label": "PISTONS specially adapted for dampers F16F9/32CYLINDERSSEALINGS",
- "match_score": 0.4
- },
- "F16L": {
- "topic_id": "https://openalex.org/T11343",
- "topic_display_name": "Power Transformer Diagnostics and Insulation",
- "ipc_label": "PIPESJOINTS OR FITTINGS FOR PIPESSUPPORTS FOR PIPES, CABLES OR PROTECTIVE TUBINGMEANS FOR THERMAL INSULATION IN GENERAL",
- "match_score": 0.356
- },
- "F16N": {
- "topic_id": "https://openalex.org/T14075",
- "topic_display_name": "Psychodrama and Leishmaniasis Studies",
- "ipc_label": "LUBRICATING",
- "match_score": 0.6
- },
- "F16P": {
- "topic_id": "https://openalex.org/T11317",
- "topic_display_name": "Fire dynamics and safety research",
- "ipc_label": "SAFETY DEVICES IN GENERAL; SAFETY DEVICES FOR PRESSES",
- "match_score": 0.488
- },
- "F16S": {
- "topic_id": "https://openalex.org/T10915",
- "topic_display_name": "Trace Elements in Health",
- "ipc_label": "CONSTRUCTIONAL ELEMENTS IN GENERALSTRUCTURES BUILT-UP FROM SUCH ELEMENTS, IN GENERAL",
- "match_score": 0.389
- },
- "F21L": {
- "topic_id": "https://openalex.org/T13000",
- "topic_display_name": "World Systems and Global Transformations",
- "ipc_label": "LIGHTING DEVICES OR SYSTEMS THEREOF, BEING PORTABLE OR SPECIALLY ADAPTED FOR TRANSPORTATION",
- "match_score": 0.427
- },
- "F21W": {
- "topic_id": "https://openalex.org/T13257",
- "topic_display_name": "Advanced Control and Stabilization in Aerospace Systems",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASSES F21K, F21L, F21S and F21V, RELATING TO USES OR APPLICATIONS OF LIGHTING DEVICES OR SYSTEMS",
- "match_score": 0.383
- },
- "F22G": {
- "topic_id": "https://openalex.org/T13960",
- "topic_display_name": "Dietetics, Nutrition, and Education",
- "ipc_label": "SUPERHEATING OF STEAM steam separating arrangements in boilers F22B37/26",
- "match_score": 0.416
- },
- "F23D": {
- "topic_id": "https://openalex.org/T11069",
- "topic_display_name": "Testicular diseases and treatments",
- "ipc_label": "BURNERS",
- "match_score": 0.571
- },
- "F23G": {
- "topic_id": "https://openalex.org/T14505",
- "topic_display_name": "Natural Products and Applications",
- "ipc_label": "CREMATION FURNACESCONSUMING WASTE PRODUCTS BY COMBUSTION",
- "match_score": 0.472
- },
- "F23K": {
- "topic_id": "https://openalex.org/T10806",
- "topic_display_name": "Energetic Materials and Combustion",
- "ipc_label": "FEEDING FUEL TO COMBUSTION APPARATUS fuel feeders specially adapted for fluidised bed combustion apparatus F23C10/22",
- "match_score": 0.373
- },
- "F24S": {
- "topic_id": "https://openalex.org/T10108",
- "topic_display_name": "Electoral Systems and Political Participation",
- "ipc_label": "SOLAR HEAT COLLECTORSSOLAR HEAT SYSTEMS for producing mechanical power from solar energy F03G6/00",
- "match_score": 0.423
- },
- "F24T": {
- "topic_id": "https://openalex.org/T11225",
- "topic_display_name": "Geothermal Energy Systems and Applications",
- "ipc_label": "GEOTHERMAL COLLECTORSGEOTHERMAL SYSTEMS",
- "match_score": 0.667
- },
- "F24V": {
- "topic_id": "https://openalex.org/T10171",
- "topic_display_name": "Biofuel production and bioconversion",
- "ipc_label": "COLLECTION, PRODUCTION OR USE OF HEAT NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.42
- },
- "F25B": {
- "topic_id": "https://openalex.org/T13985",
- "topic_display_name": "Enterprise Management and Information Systems",
- "ipc_label": "REFRIGERATION MACHINES, PLANTS OR SYSTEMSCOMBINED HEATING AND REFRIGERATION SYSTEMSHEAT PUMP SYSTEMS",
- "match_score": 0.414
- },
- "F25C": {
- "topic_id": "https://openalex.org/T12544",
- "topic_display_name": "Working Capital and Financial Performance",
- "ipc_label": "PRODUCING, WORKING OR HANDLING ICE",
- "match_score": 0.453
- },
- "F27M": {
- "topic_id": "https://openalex.org/T10055",
- "topic_display_name": "Diverse Aspects of Tourism Research",
- "ipc_label": "INDEXING SCHEME RELATING TO ASPECTS OF THE CHARGES OR FURNACES, KILNS, OVENS OR RETORTS",
- "match_score": 0.41
- },
- "F28F": {
- "topic_id": "https://openalex.org/T11655",
- "topic_display_name": "HIV-related health complications and treatments",
- "ipc_label": "DETAILS OF HEAT-EXCHANGE AND HEAT-TRANSFER APPARATUS, OF GENERAL APPLICATION water and air traps, air venting F16",
- "match_score": 0.412
- },
- "F41A": {
- "topic_id": "https://openalex.org/T13468",
- "topic_display_name": "Educational Research and Science Teaching",
- "ipc_label": "FUNCTIONAL FEATURES OR DETAILS COMMON TO BOTH SMALLARMS AND ORDNANCE, e.g. CANNONSMOUNTINGS FOR SMALLARMS OR ORDNANCE",
- "match_score": 0.367
- },
- "F41G": {
- "topic_id": "https://openalex.org/T13049",
- "topic_display_name": "Surface Roughness and Optical Measurements",
- "ipc_label": "WEAPON SIGHTSAIMING optical aspects thereof G02B",
- "match_score": 0.467
- },
- "F99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "G01F": {
- "topic_id": "https://openalex.org/T10836",
- "topic_display_name": "Metabolomics and Mass Spectrometry Studies",
- "ipc_label": "MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVELMETERING BY VOLUME",
- "match_score": 0.379
- },
- "G01G": {
- "topic_id": "https://openalex.org/T13960",
- "topic_display_name": "Dietetics, Nutrition, and Education",
- "ipc_label": "WEIGHING sorting by weighing B07C5/16",
- "match_score": 0.364
- },
- "G01H": {
- "topic_id": "https://openalex.org/T10386",
- "topic_display_name": "Microstructure and Mechanical Properties of Steels",
- "ipc_label": "MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES",
- "match_score": 0.425
- },
- "G01L": {
- "topic_id": "https://openalex.org/T10386",
- "topic_display_name": "Microstructure and Mechanical Properties of Steels",
- "ipc_label": "MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE weighing G01G",
- "match_score": 0.385
- },
- "G01Q": {
- "topic_id": "https://openalex.org/T10801",
- "topic_display_name": "Synthetic Aperture Radar (SAR) Applications and Techniques",
- "ipc_label": "SCANNING-PROBE TECHNIQUES OR APPARATUSAPPLICATIONS OF SCANNING-PROBE TECHNIQUES, e.g. SCANNING PROBE MICROSCOPY [SPM]",
- "match_score": 0.389
- },
- "G01R": {
- "topic_id": "https://openalex.org/T10614",
- "topic_display_name": "Transcranial Magnetic Stimulation Studies",
- "ipc_label": "MEASURING ELECTRIC VARIABLESMEASURING MAGNETIC VARIABLES indicating correct tuning of resonant circuits H03J3/12",
- "match_score": 0.379
- },
- "G02B": {
- "topic_id": "https://openalex.org/T12391",
- "topic_display_name": "Artificial Immune Systems Applications",
- "ipc_label": "OPTICAL ELEMENTS, SYSTEMS OR APPARATUS",
- "match_score": 0.579
- },
- "G04D": {
- "topic_id": "https://openalex.org/T13583",
- "topic_display_name": "Jury Decision Making Processes",
- "ipc_label": "APPARATUS OR TOOLS SPECIALLY DESIGNED FOR MAKING OR MAINTAINING CLOCKS OR WATCHES",
- "match_score": 0.378
- },
- "G04F": {
- "topic_id": "https://openalex.org/T13293",
- "topic_display_name": "Engineering and Test Systems",
- "ipc_label": "TIME-INTERVAL MEASURING measuring pulse characteristics G01R, e.g. G01R29/02; in radar or like systems G01S",
- "match_score": 0.37
- },
- "G04G": {
- "topic_id": "https://openalex.org/T10350",
- "topic_display_name": "Electronic Health Records Systems",
- "ipc_label": "ELECTRONIC TIME-PIECES",
- "match_score": 0.582
- },
- "G04R": {
- "topic_id": "https://openalex.org/T12810",
- "topic_display_name": "Real-time simulation and control systems",
- "ipc_label": "RADIO-CONTROLLED TIME-PIECES",
- "match_score": 0.441
- },
- "G05D": {
- "topic_id": "https://openalex.org/T10504",
- "topic_display_name": "Sensorless Control of Electric Motors",
- "ipc_label": "SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES",
- "match_score": 0.536
- },
- "G06C": {
- "topic_id": "https://openalex.org/T13155",
- "topic_display_name": "Digital Communication and Language",
- "ipc_label": "DIGITAL COMPUTERS IN WHICH ALL THE COMPUTATION IS EFFECTED MECHANICALLY score computers for card games A63F1/18",
- "match_score": 0.372
- },
- "G06D": {
- "topic_id": "https://openalex.org/T12923",
- "topic_display_name": "Digital Image Processing Techniques",
- "ipc_label": "DIGITAL FLUID-PRESSURE COMPUTING DEVICES",
- "match_score": 0.587
- },
- "G06F": {
- "topic_id": "https://openalex.org/T13093",
- "topic_display_name": "Electric Power Systems and Control",
- "ipc_label": "ELECTRIC DIGITAL DATA PROCESSING computer systems based on specific computational models G06N",
- "match_score": 0.472
- },
- "G06G": {
- "topic_id": "https://openalex.org/T11429",
- "topic_display_name": "Semiconductor Lasers and Optical Devices",
- "ipc_label": "ANALOGUE COMPUTERS analogue optical computing devices G06E3/00",
- "match_score": 0.529
- },
- "G06K": {
- "topic_id": "https://openalex.org/T10627",
- "topic_display_name": "Advanced Image and Video Retrieval Techniques",
- "ipc_label": "GRAPHICAL DATA READING image or video recognition or understanding G06VPRESENTATION OF DATARECORD CARRIERSHANDLING RECORD CARRIERS",
- "match_score": 0.354
- },
- "G06N": {
- "topic_id": "https://openalex.org/T13806",
- "topic_display_name": "Mathematical and Computational Methods",
- "ipc_label": "COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS",
- "match_score": 0.525
- },
- "G06T": {
- "topic_id": "https://openalex.org/T14339",
- "topic_display_name": "Image Processing and 3D Reconstruction",
- "ipc_label": "IMAGE DATA PROCESSING OR GENERATION, IN GENERAL",
- "match_score": 0.541
- },
- "G06V": {
- "topic_id": "https://openalex.org/T13579",
- "topic_display_name": "Image and Video Stabilization",
- "ipc_label": "IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING",
- "match_score": 0.75
- },
- "G07G": {
- "topic_id": "https://openalex.org/T13321",
- "topic_display_name": "Radio, Podcasts, and Digital Media",
- "ipc_label": "REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS digital computing in general G06C, G06F",
- "match_score": 0.378
- },
- "G08B": {
- "topic_id": "https://openalex.org/T11902",
- "topic_display_name": "Intelligent Tutoring Systems and Adaptive Learning",
- "ipc_label": "SIGNALLING OR CALLING SYSTEMSORDER TELEGRAPHSALARM SYSTEMS",
- "match_score": 0.5
- },
- "G09F": {
- "topic_id": "https://openalex.org/T14032",
- "topic_display_name": "History and International Relations",
- "ipc_label": "DISPLAYINGADVERTISINGSIGNSLABELS OR NAME-PLATESSEALS",
- "match_score": 0.391
- },
- "G10L": {
- "topic_id": "https://openalex.org/T13244",
- "topic_display_name": "Analysis of environmental and stochastic processes",
- "ipc_label": "SPEECH ANALYSIS OR SYNTHESISSPEECH RECOGNITIONSPEECH OR VOICE PROCESSINGSPEECH OR AUDIO CODING OR DECODING",
- "match_score": 0.359
- },
- "G11C": {
- "topic_id": "https://openalex.org/T10472",
- "topic_display_name": "Semiconductor materials and devices",
- "ipc_label": "STATIC STORES semiconductor memory devices H10B",
- "match_score": 0.61
- },
- "G16C": {
- "topic_id": "https://openalex.org/T10192",
- "topic_display_name": "Catalytic Processes in Materials Science",
- "ipc_label": "COMPUTATIONAL CHEMISTRYCHEMOINFORMATICSCOMPUTATIONAL MATERIALS SCIENCE",
- "match_score": 0.527
- },
- "G16H": {
- "topic_id": "https://openalex.org/T11773",
- "topic_display_name": "Healthcare Operations and Scheduling Optimization",
- "ipc_label": "HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA",
- "match_score": 0.384
- },
- "G16Y": {
- "topic_id": "https://openalex.org/T13952",
- "topic_display_name": "Information Technology and Learning",
- "ipc_label": "INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]",
- "match_score": 0.508
- },
- "G16Z": {
- "topic_id": "https://openalex.org/T12734",
- "topic_display_name": "Information Systems and Technology Applications",
- "ipc_label": "INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.456
- },
- "G21B": {
- "topic_id": "https://openalex.org/T10592",
- "topic_display_name": "Fusion materials and technologies",
- "ipc_label": "FUSION REACTORS uncontrolled reactors G21J",
- "match_score": 0.48
- },
- "G21C": {
- "topic_id": "https://openalex.org/T10808",
- "topic_display_name": "Electric and Hybrid Vehicle Technologies",
- "ipc_label": "NUCLEAR REACTORS fusion reactors, hybrid fission-fusion reactors G21B; nuclear explosives G21J",
- "match_score": 0.388
- },
- "G21D": {
- "topic_id": "https://openalex.org/T12295",
- "topic_display_name": "Foucault, Power, and Ethics",
- "ipc_label": "NUCLEAR POWER PLANT",
- "match_score": 0.565
- },
- "G21J": {
- "topic_id": "https://openalex.org/T12405",
- "topic_display_name": "Characterization and Applications of Magnetic Nanoparticles",
- "ipc_label": "NUCLEAR EXPLOSIVESAPPLICATIONS THEREOF electric or magnetic analogue computers, e.g. simulators, for nuclear physics G06G7/54",
- "match_score": 0.413
- },
- "G99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "H01C": {
- "topic_id": "https://openalex.org/T12454",
- "topic_display_name": "European Political History Analysis",
- "ipc_label": "RESISTORS",
- "match_score": 0.625
- },
- "H01J": {
- "topic_id": "https://openalex.org/T12495",
- "topic_display_name": "Electrostatic Discharge in Electronics",
- "ipc_label": "ELECTRIC DISCHARGE TUBES OR DISCHARGE LAMPS spark-gaps H01T; arc lamps with consumable electrodes H05B; particle accelerators H05H",
- "match_score": 0.381
- },
- "H01M": {
- "topic_id": "https://openalex.org/T12495",
- "topic_display_name": "Electrostatic Discharge in Electronics",
- "ipc_label": "PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY",
- "match_score": 0.383
- },
- "H01P": {
- "topic_id": "https://openalex.org/T11429",
- "topic_display_name": "Semiconductor Lasers and Optical Devices",
- "ipc_label": "WAVEGUIDESRESONATORS, LINES, OR OTHER DEVICES OF THE WAVEGUIDE TYPE operating at optical frequencies G02B",
- "match_score": 0.4
- },
- "H01Q": {
- "topic_id": "https://openalex.org/T10579",
- "topic_display_name": "Cognitive Radio Networks and Spectrum Sensing",
- "ipc_label": "ANTENNAS, i.e. RADIO AERIALS radiators or antennas for microwave heating H05B6/72",
- "match_score": 0.397
- },
- "H02B": {
- "topic_id": "https://openalex.org/T10968",
- "topic_display_name": "Statistical Distribution Estimation and Applications",
- "ipc_label": "BOARDS, SUBSTATIONS OR SWITCHING ARRANGEMENTS FOR THE SUPPLY OR DISTRIBUTION OF ELECTRIC POWER",
- "match_score": 0.411
- },
- "H02G": {
- "topic_id": "https://openalex.org/T10607",
- "topic_display_name": "Magnetic and transport properties of perovskites and related materials",
- "ipc_label": "INSTALLATION OF ELECTRIC CABLES OR LINES, OR OF COMBINED OPTICAL AND ELECTRIC CABLES OR LINES",
- "match_score": 0.444
- },
- "H02J": {
- "topic_id": "https://openalex.org/T12111",
- "topic_display_name": "Industrial Vision Systems and Defect Detection",
- "ipc_label": "CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWERSYSTEMS FOR STORING ELECTRIC ENERGY",
- "match_score": 0.369
- },
- "H02N": {
- "topic_id": "https://openalex.org/T10768",
- "topic_display_name": "Electric Vehicles and Infrastructure",
- "ipc_label": "ELECTRIC MACHINES NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.475
- },
- "H03C": {
- "topic_id": "https://openalex.org/T10030",
- "topic_display_name": "Electrocatalysts for Energy Conversion",
- "ipc_label": "MODULATION masers or lasers H01S; coding, decoding or code conversion H03M",
- "match_score": 0.429
- },
- "H03G": {
- "topic_id": "https://openalex.org/T13924",
- "topic_display_name": "Internet of Things and Social Network Interactions",
- "ipc_label": "CONTROL OF AMPLIFICATION impedance networks, e.g. attenuators, H03H; control of transmission in lines H04B3/04",
- "match_score": 0.375
- },
- "H03J": {
- "topic_id": "https://openalex.org/T14117",
- "topic_display_name": "Integrated Circuits and Semiconductor Failure Analysis",
- "ipc_label": "TUNING RESONANT CIRCUITSSELECTING RESONANT CIRCUITS",
- "match_score": 0.476
- },
- "H03L": {
- "topic_id": "https://openalex.org/T13257",
- "topic_display_name": "Advanced Control and Stabilization in Aerospace Systems",
- "ipc_label": "AUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES of dynamo-electric generators H02P",
- "match_score": 0.355
- },
- "H04B": {
- "topic_id": "https://openalex.org/T12804",
- "topic_display_name": "Thermal Analysis in Power Transmission",
- "ipc_label": "TRANSMISSION",
- "match_score": 1.0
- },
- "H04H": {
- "topic_id": "https://openalex.org/T12593",
- "topic_display_name": "Communication in Education and Healthcare",
- "ipc_label": "BROADCAST COMMUNICATION multiplex communication H04J; pictorial communication aspects of broadcast systems H04N",
- "match_score": 0.408
- },
- "H04K": {
- "topic_id": "https://openalex.org/T13317",
- "topic_display_name": "Media, Communication, and Education",
- "ipc_label": "SECRET COMMUNICATIONJAMMING OF COMMUNICATION",
- "match_score": 0.633
- },
- "H04L": {
- "topic_id": "https://openalex.org/T12607",
- "topic_display_name": "Personal Information Management and User Behavior",
- "ipc_label": "TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION arrangements common to telegraphic and telephonic communication H04M",
- "match_score": 0.422
- },
- "H04M": {
- "topic_id": "https://openalex.org/T13905",
- "topic_display_name": "Telecommunications and Broadcasting Technologies",
- "ipc_label": "TELEPHONIC COMMUNICATION circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08",
- "match_score": 0.374
- },
- "H04N": {
- "topic_id": "https://openalex.org/T13317",
- "topic_display_name": "Media, Communication, and Education",
- "ipc_label": "PICTORIAL COMMUNICATION, e.g. TELEVISION",
- "match_score": 0.613
- },
- "H04Q": {
- "topic_id": "https://openalex.org/T10575",
- "topic_display_name": "Wireless Communication Networks Research",
- "ipc_label": "SELECTING switches, relays, selectors H01H; wireless communication networks H04W",
- "match_score": 0.55
- },
- "H04S": {
- "topic_id": "https://openalex.org/T11575",
- "topic_display_name": "Nonlinear Photonic Systems",
- "ipc_label": "STEREOPHONIC SYSTEMS",
- "match_score": 0.696
- },
- "H04T": {
- "topic_id": "https://openalex.org/T11121",
- "topic_display_name": "Public Relations and Crisis Communication",
- "ipc_label": "INDEXING SCHEME RELATING TO STANDARDS FOR ELECTRIC COMMUNICATION TECHNIQUE CLASS H04",
- "match_score": 0.512
- },
- "H04W": {
- "topic_id": "https://openalex.org/T10575",
- "topic_display_name": "Wireless Communication Networks Research",
- "ipc_label": "WIRELESS COMMUNICATION NETWORKS broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72",
- "match_score": 0.36
- },
- "H05B": {
- "topic_id": "https://openalex.org/T13093",
- "topic_display_name": "Electric Power Systems and Control",
- "ipc_label": "ELECTRIC HEATINGELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FORCIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL",
- "match_score": 0.36
- },
- "H10B": {
- "topic_id": "https://openalex.org/T10299",
- "topic_display_name": "Photonic and Optical Devices",
- "ipc_label": "ELECTRONIC MEMORY DEVICES",
- "match_score": 0.667
- },
- "H10K": {
- "topic_id": "https://openalex.org/T10045",
- "topic_display_name": "Organic Electronics and Photovoltaics",
- "ipc_label": "ORGANIC ELECTRIC SOLID-STATE DEVICES",
- "match_score": 0.658
- },
- "H10N": {
- "topic_id": "https://openalex.org/T10768",
- "topic_display_name": "Electric Vehicles and Infrastructure",
- "ipc_label": "ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.44
- },
- "H99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "Y02A": {
- "topic_id": "https://openalex.org/T10895",
- "topic_display_name": "Species Distribution and Climate Change",
- "ipc_label": "TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE",
- "match_score": 0.643
- },
- "Y02B": {
- "topic_id": "https://openalex.org/T13734",
- "topic_display_name": "Advanced Computational Techniques and Applications",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS",
- "match_score": 0.425
- },
- "Y02C": {
- "topic_id": "https://openalex.org/T10945",
- "topic_display_name": "Lysosomal Storage Disorders Research",
- "ipc_label": "CAPTURE, STORAGE, SEQUESTRATION OR DISPOSAL OF GREENHOUSE GASES [GHG]",
- "match_score": 0.419
- },
- "Y02P": {
- "topic_id": "https://openalex.org/T11488",
- "topic_display_name": "Climate Change Communication and Perception",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS",
- "match_score": 0.525
- },
- "Y02T": {
- "topic_id": "https://openalex.org/T11488",
- "topic_display_name": "Climate Change Communication and Perception",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION",
- "match_score": 0.598
- },
- "Y02W": {
- "topic_id": "https://openalex.org/T11404",
- "topic_display_name": "Irrigation Practices and Water Management",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT",
- "match_score": 0.504
- },
- "Y10S": {
- "topic_id": "https://openalex.org/T13332",
- "topic_display_name": "Historical Studies on Reproduction, Gender, Health, and Societal Changes",
- "ipc_label": "TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS",
- "match_score": 0.412
- },
- "Y10T": {
- "topic_id": "https://openalex.org/T10885",
- "topic_display_name": "Gene expression and cancer classification",
- "ipc_label": "TECHNICAL SUBJECTS COVERED BY FORMER US CLASSIFICATION",
- "match_score": 0.484
- }
- },
- "subclass": {
- "A01D": {
- "topic_id": "https://openalex.org/T13896",
- "topic_display_name": "Health Services Management and Policy",
- "ipc_label": "HARVESTINGMOWING",
- "match_score": 0.412
- },
- "A01H": {
- "topic_id": "https://openalex.org/T10442",
- "topic_display_name": "Knee injuries and reconstruction techniques",
- "ipc_label": "NEW PLANTS OR NON-TRANSGENIC PROCESSES FOR OBTAINING THEMPLANT REPRODUCTION BY TISSUE CULTURE TECHNIQUES",
- "match_score": 0.435
- },
- "A01J": {
- "topic_id": "https://openalex.org/T11386",
- "topic_display_name": "Bee Products Chemical Analysis",
- "ipc_label": "MANUFACTURE OF DAIRY PRODUCTS for chemical matters, see subclass A23C",
- "match_score": 0.465
- },
- "A01L": {
- "topic_id": "https://openalex.org/T11905",
- "topic_display_name": "Veterinary Pharmacology and Anesthesia",
- "ipc_label": "SHOEING OF ANIMALS",
- "match_score": 0.581
- },
- "A01P": {
- "topic_id": "https://openalex.org/T14099",
- "topic_display_name": "Synthesis and Characterization of Heterocyclic Compounds",
- "ipc_label": "BIOCIDAL, PEST REPELLANT, PEST ATTRACTANT OR PLANT GROWTH REGULATORY ACTIVITY OF CHEMICAL COMPOUNDS OR PREPARATIONS",
- "match_score": 0.386
- },
- "A21C": {
- "topic_id": "https://openalex.org/T12282",
- "topic_display_name": "Mineral Processing and Grinding",
- "ipc_label": "MACHINES OR EQUIPMENT FOR MAKING OR PROCESSING DOUGHSHANDLING BAKED ARTICLES MADE FROM DOUGH",
- "match_score": 0.39
- },
- "A22B": {
- "topic_id": "https://openalex.org/T13366",
- "topic_display_name": "Accounting Theory and Financial Reporting",
- "ipc_label": "SLAUGHTERING",
- "match_score": 0.545
- },
- "A23K": {
- "topic_id": "https://openalex.org/T12181",
- "topic_display_name": "Agricultural and Biological Research",
- "ipc_label": "FODDER",
- "match_score": 0.444
- },
- "A23Y": {
- "topic_id": "https://openalex.org/T12388",
- "topic_display_name": "Identification and Quantification in Food",
- "ipc_label": "INDEXING SCHEME RELATING TO LACTIC OR PROPIONIC ACID BACTERIA USED IN FOODSTUFFS OR FOOD PREPARATION",
- "match_score": 0.369
- },
- "A24C": {
- "topic_id": "https://openalex.org/T13832",
- "topic_display_name": "Advanced Decision-Making Techniques",
- "ipc_label": "MACHINES FOR MAKING CIGARS OR CIGARETTES",
- "match_score": 0.475
- },
- "A41B": {
- "topic_id": "https://openalex.org/T13368",
- "topic_display_name": "University Challenges and Reforms",
- "ipc_label": "SHIRTSUNDERWEARBABY LINENHANDKERCHIEFS",
- "match_score": 0.451
- },
- "A41C": {
- "topic_id": "https://openalex.org/T14190",
- "topic_display_name": "Military history and social perspectives",
- "ipc_label": "CORSETSBRASSIERES",
- "match_score": 0.485
- },
- "A41D": {
- "topic_id": "https://openalex.org/T13272",
- "topic_display_name": "Psychological Treatments and Assessments",
- "ipc_label": "OUTERWEARPROTECTIVE GARMENTSACCESSORIES",
- "match_score": 0.43
- },
- "A41F": {
- "topic_id": "https://openalex.org/T13129",
- "topic_display_name": "Material Properties and Applications",
- "ipc_label": "GARMENT FASTENINGSSUSPENDERS",
- "match_score": 0.491
- },
- "A41G": {
- "topic_id": "https://openalex.org/T13734",
- "topic_display_name": "Advanced Computational Techniques and Applications",
- "ipc_label": "ARTIFICIAL FLOWERSWIGSMASKSFEATHERS",
- "match_score": 0.552
- },
- "A42C": {
- "topic_id": "https://openalex.org/T11159",
- "topic_display_name": "Manufacturing Process and Optimization",
- "ipc_label": "MANUFACTURING OR TRIMMING HEAD COVERINGS, e.g. HATS",
- "match_score": 0.494
- },
- "A43B": {
- "topic_id": "https://openalex.org/T13232",
- "topic_display_name": "Laser-Ablation Synthesis of Nanoparticles",
- "ipc_label": "CHARACTERISTIC FEATURES OF FOOTWEARPARTS OF FOOTWEAR",
- "match_score": 0.387
- },
- "A43C": {
- "topic_id": "https://openalex.org/T13288",
- "topic_display_name": "Banking, Crisis Management, COVID-19 Impact",
- "ipc_label": "FASTENINGS OR ATTACHMENTS OF FOOTWEARLACES IN GENERAL",
- "match_score": 0.375
- },
- "A43D": {
- "topic_id": "https://openalex.org/T13290",
- "topic_display_name": "Diverse Industrial Engineering Technologies",
- "ipc_label": "MACHINES, TOOLS, EQUIPMENT OR METHODS FOR MANUFACTURING OR REPAIRING FOOTWEAR",
- "match_score": 0.462
- },
- "A44C": {
- "topic_id": "https://openalex.org/T12607",
- "topic_display_name": "Personal Information Management and User Behavior",
- "ipc_label": "PERSONAL ADORNMENTS, e.g. JEWELLERYCOINS",
- "match_score": 0.449
- },
- "A44D": {
- "topic_id": "https://openalex.org/T11334",
- "topic_display_name": "Psychosomatic Disorders and Their Treatments",
- "ipc_label": "INDEXING SCHEME RELATING TO BUTTONS, PINS, BUCKLES OR SLIDE FASTENERS, AND TO JEWELLERY, BRACELETS OR OTHER PERSONAL ADORNMENTS",
- "match_score": 0.374
- },
- "A45C": {
- "topic_id": "https://openalex.org/T10413",
- "topic_display_name": "High-pressure geophysics and materials",
- "ipc_label": "PURSESLUGGAGEHAND CARRIED BAGS",
- "match_score": 0.471
- },
- "A45F": {
- "topic_id": "https://openalex.org/T11867",
- "topic_display_name": "Traumatic Ocular and Foreign Body Injuries",
- "ipc_label": "TRAVELLING OR CAMP EQUIPMENT: SACKS OR PACKS CARRIED ON THE BODY",
- "match_score": 0.358
- },
- "A46B": {
- "topic_id": "https://openalex.org/T13398",
- "topic_display_name": "Data Analysis with R",
- "ipc_label": "BRUSHES handles not integral with brushware B25G",
- "match_score": 0.353
- },
- "A46D": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "MANUFACTURE OF BRUSHES",
- "match_score": 0.455
- },
- "A47B": {
- "topic_id": "https://openalex.org/T14133",
- "topic_display_name": "Border Security and International Relations",
- "ipc_label": "TABLESDESKSOFFICE FURNITURECABINETSDRAWERSGENERAL DETAILS OF FURNITURE furniture jointing F16B",
- "match_score": 0.35
- },
- "A47C": {
- "topic_id": "https://openalex.org/T10495",
- "topic_display_name": "Catalysts for Methane Reforming",
- "ipc_label": "CHAIRS seats specially adapted for vehicles B60N2/00SOFASBEDS upholstery in general B68G",
- "match_score": 0.353
- },
- "A47G": {
- "topic_id": "https://openalex.org/T14160",
- "topic_display_name": "Water management and technologies",
- "ipc_label": "HOUSEHOLD OR TABLE EQUIPMENT book-ends A47B5/00; knives B26B",
- "match_score": 0.366
- },
- "A47J": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "KITCHEN EQUIPMENTCOFFEE MILLSSPICE MILLSAPPARATUS FOR MAKING BEVERAGES",
- "match_score": 0.378
- },
- "A61D": {
- "topic_id": "https://openalex.org/T14236",
- "topic_display_name": "Educational Tools and Methods",
- "ipc_label": "VETERINARY INSTRUMENTS, IMPLEMENTS, TOOLS, OR METHODS",
- "match_score": 0.512
- },
- "A61P": {
- "topic_id": "https://openalex.org/T12685",
- "topic_display_name": "Phytochemical compounds biological activities",
- "ipc_label": "SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS",
- "match_score": 0.525
- },
- "A61Q": {
- "topic_id": "https://openalex.org/T10576",
- "topic_display_name": "Opioid Use Disorder Treatment",
- "ipc_label": "SPECIFIC USE OF COSMETICS OR SIMILAR TOILETRY PREPARATIONS",
- "match_score": 0.437
- },
- "A62D": {
- "topic_id": "https://openalex.org/T11802",
- "topic_display_name": "Chemical Looping and Thermochemical Processes",
- "ipc_label": "CHEMICAL MEANS FOR EXTINGUISHING FIRES OR FOR COMBATING OR PROTECTING AGAINST HARMFUL CHEMICAL AGENTSCHEMICAL MATERIALS FOR USE IN BREATHING APPARATUS",
- "match_score": 0.369
- },
- "A63H": {
- "topic_id": "https://openalex.org/T12105",
- "topic_display_name": "Hygrothermal properties of building materials",
- "ipc_label": "TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS",
- "match_score": 0.409
- },
- "A99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "B01B": {
- "topic_id": "https://openalex.org/T11900",
- "topic_display_name": "Fungal Plant Pathogen Control",
- "ipc_label": "BOILINGBOILING APPARATUS ; EVAPORATION; EVAPORATION APPARATUS",
- "match_score": 0.381
- },
- "B01J": {
- "topic_id": "https://openalex.org/T13104",
- "topic_display_name": "Chemical and Physical Properties of Materials",
- "ipc_label": "CHEMICAL OR PHYSICAL PROCESSES, e.g. CATALYSIS OR COLLOID CHEMISTRYTHEIR RELEVANT APPARATUS",
- "match_score": 0.471
- },
- "B01L": {
- "topic_id": "https://openalex.org/T13104",
- "topic_display_name": "Chemical and Physical Properties of Materials",
- "ipc_label": "CHEMICAL OR PHYSICAL LABORATORY APPARATUS FOR GENERAL USE",
- "match_score": 0.549
- },
- "B03B": {
- "topic_id": "https://openalex.org/T11808",
- "topic_display_name": "Superconducting Materials and Applications",
- "ipc_label": "SEPARATING SOLID MATERIALS USING LIQUIDS OR USING PNEUMATIC TABLES OR JIGS",
- "match_score": 0.448
- },
- "B09B": {
- "topic_id": "https://openalex.org/T11108",
- "topic_display_name": "Municipal Solid Waste Management",
- "ipc_label": "DISPOSAL OF SOLID WASTE",
- "match_score": 0.667
- },
- "B21G": {
- "topic_id": "https://openalex.org/T10377",
- "topic_display_name": "Metal and Thin Film Mechanics",
- "ipc_label": "MAKING NEEDLES, PINS OR NAILS OF METAL",
- "match_score": 0.4
- },
- "B22C": {
- "topic_id": "https://openalex.org/T11853",
- "topic_display_name": "Semiconductor materials and interfaces",
- "ipc_label": "FOUNDRY MOULDING moulding refractory materials in general B28B",
- "match_score": 0.48
- },
- "B23B": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "TURNINGBORING arrangements for copying or controlling B23Q",
- "match_score": 0.424
- },
- "B24C": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "ABRASIVE OR RELATED BLASTING WITH PARTICULATE MATERIAL",
- "match_score": 0.469
- },
- "B25H": {
- "topic_id": "https://openalex.org/T10488",
- "topic_display_name": "Nanocomposite Films for Food Packaging",
- "ipc_label": "WORKSHOP EQUIPMENT, e.g. FOR MARKING-OUT WORKSTORAGE MEANS FOR WORKSHOPS storing or packaging B65",
- "match_score": 0.356
- },
- "B27H": {
- "topic_id": "https://openalex.org/T14076",
- "topic_display_name": "Material Properties and Failure Mechanisms",
- "ipc_label": "BENDING WOOD OR SIMILAR MATERIALCOOPERAGEMAKING WHEELS FROM WOOD OR SIMILAR MATERIAL",
- "match_score": 0.381
- },
- "B27J": {
- "topic_id": "https://openalex.org/T10219",
- "topic_display_name": "Mechanical Behavior of Composites",
- "ipc_label": "MECHANICAL WORKING OF CANE, CORK, OR SIMILAR MATERIALS",
- "match_score": 0.575
- },
- "B28D": {
- "topic_id": "https://openalex.org/T10811",
- "topic_display_name": "Hydrogen Storage and Materials",
- "ipc_label": "WORKING STONE OR STONE-LIKE MATERIALS",
- "match_score": 0.567
- },
- "B29L": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASS B29C, RELATING TO PARTICULAR ARTICLES",
- "match_score": 0.393
- },
- "B41F": {
- "topic_id": "https://openalex.org/T11523",
- "topic_display_name": "Nanomaterials and Printing Technologies",
- "ipc_label": "PRINTING MACHINES OR PRESSES manifolding devices or office printing machines B41L",
- "match_score": 0.383
- },
- "B41P": {
- "topic_id": "https://openalex.org/T13557",
- "topic_display_name": "Environmental and sustainability education",
- "ipc_label": "INDEXING SCHEME RELATING TO PRINTING, LINING MACHINES, TYPEWRITERS, AND TO STAMPS",
- "match_score": 0.42
- },
- "B42P": {
- "topic_id": "https://openalex.org/T11877",
- "topic_display_name": "Iron oxide chemistry and applications",
- "ipc_label": "INDEXING SCHEME RELATING TO BOOKS, FILING APPLIANCES OR THE LIKE",
- "match_score": 0.416
- },
- "B44F": {
- "topic_id": "https://openalex.org/T12174",
- "topic_display_name": "Hospital Admissions and Outcomes",
- "ipc_label": "SPECIAL DESIGNS OR PICTURES",
- "match_score": 0.542
- },
- "B60C": {
- "topic_id": "https://openalex.org/T12641",
- "topic_display_name": "Historical and socio-economic studies of Spain and related regions",
- "ipc_label": "VEHICLE TYRESTYRE INFLATIONTYRE CHANGINGCONNECTING VALVES TO INFLATABLE ELASTIC BODIES IN GENERALDEVICES OR ARRANGEMENTS RELATED TO TYRES",
- "match_score": 0.384
- },
- "B60D": {
- "topic_id": "https://openalex.org/T10829",
- "topic_display_name": "Interconnection Networks and Systems",
- "ipc_label": "VEHICLE CONNECTIONS components of brake systems B60T17/04",
- "match_score": 0.473
- },
- "B60F": {
- "topic_id": "https://openalex.org/T14022",
- "topic_display_name": "Cultural and Religious Practices in Indonesia",
- "ipc_label": "VEHICLES FOR USE BOTH ON RAIL AND ON ROADAMPHIBIOUS OR LIKE VEHICLESCONVERTIBLE VEHICLES air-cushion vehicles B60V",
- "match_score": 0.377
- },
- "B60G": {
- "topic_id": "https://openalex.org/T10805",
- "topic_display_name": "Vehicle Dynamics and Control Systems",
- "ipc_label": "VEHICLE SUSPENSION ARRANGEMENTS air-cushion vehicles B60V; cycle suspensions B62K25/00",
- "match_score": 0.361
- },
- "B60H": {
- "topic_id": "https://openalex.org/T10558",
- "topic_display_name": "Advancements in Semiconductor Devices and Circuit Design",
- "ipc_label": "ARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES",
- "match_score": 0.366
- },
- "B60Q": {
- "topic_id": "https://openalex.org/T10558",
- "topic_display_name": "Advancements in Semiconductor Devices and Circuit Design",
- "ipc_label": "ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL",
- "match_score": 0.415
- },
- "B60R": {
- "topic_id": "https://openalex.org/T12707",
- "topic_display_name": "Vehicle License Plate Recognition",
- "ipc_label": "VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.381
- },
- "B60V": {
- "topic_id": "https://openalex.org/T11002",
- "topic_display_name": "Indoor Air Quality and Microbial Exposure",
- "ipc_label": "AIR-CUSHION VEHICLES",
- "match_score": 0.393
- },
- "B60Y": {
- "topic_id": "https://openalex.org/T12898",
- "topic_display_name": "Induction Heating and Inverter Technology",
- "ipc_label": "INDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY",
- "match_score": 0.569
- },
- "B61D": {
- "topic_id": "https://openalex.org/T12271",
- "topic_display_name": "Renewable energy and sustainable power systems",
- "ipc_label": "BODY DETAILS OR KINDS OF RAILWAY VEHICLES vehicles in general B60; adaptation of vehicles to special systems B61B; underframes B61F",
- "match_score": 0.35
- },
- "B61G": {
- "topic_id": "https://openalex.org/T14049",
- "topic_display_name": "Plant and Fungal Species Descriptions",
- "ipc_label": "COUPLINGSDRAUGHT AND BUFFING APPLIANCES vehicle connections in general B60D",
- "match_score": 0.446
- },
- "B61J": {
- "topic_id": "https://openalex.org/T10757",
- "topic_display_name": "Geographic Information Systems Studies",
- "ipc_label": "SHIFTING OR SHUNTING OF RAIL VEHICLES shifting vehicles in general B60S; marshalling systems B61B",
- "match_score": 0.37
- },
- "B62C": {
- "topic_id": "https://openalex.org/T13551",
- "topic_display_name": "Biochemical effects in animals",
- "ipc_label": "VEHICLES DRAWN BY ANIMALS",
- "match_score": 0.582
- },
- "B63J": {
- "topic_id": "https://openalex.org/T11427",
- "topic_display_name": "Elbow and Forearm Trauma Treatment",
- "ipc_label": "AUXILIARIES ON VESSELS",
- "match_score": 0.444
- },
- "B64B": {
- "topic_id": "https://openalex.org/T12916",
- "topic_display_name": "COVID-19 impact on air quality",
- "ipc_label": "LIGHTER-THAN AIR AIRCRAFT",
- "match_score": 0.4
- },
- "B64C": {
- "topic_id": "https://openalex.org/T10647",
- "topic_display_name": "Coastal and Marine Dynamics",
- "ipc_label": "AEROPLANESHELICOPTERS",
- "match_score": 0.49
- },
- "B64U": {
- "topic_id": "https://openalex.org/T11192",
- "topic_display_name": "Underwater Vehicles and Communication Systems",
- "ipc_label": "UNMANNED AERIAL VEHICLES [UAV]EQUIPMENT THEREFOR",
- "match_score": 0.43
- },
- "B65H": {
- "topic_id": "https://openalex.org/T13917",
- "topic_display_name": "Engineering and Material Science Research",
- "ipc_label": "HANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES",
- "match_score": 0.419
- },
- "B68B": {
- "topic_id": "https://openalex.org/T12617",
- "topic_display_name": "Energy, Environment, and Transportation Policies",
- "ipc_label": "HARNESSDEVICES USED IN CONNECTION THEREWITHWHIPS OR THE LIKE",
- "match_score": 0.389
- },
- "B68C": {
- "topic_id": "https://openalex.org/T13896",
- "topic_display_name": "Health Services Management and Policy",
- "ipc_label": "SADDLESSTIRRUPS",
- "match_score": 0.424
- },
- "B81B": {
- "topic_id": "https://openalex.org/T12111",
- "topic_display_name": "Industrial Vision Systems and Defect Detection",
- "ipc_label": "MICROSTRUCTURAL DEVICES OR SYSTEMS, e.g. MICROMECHANICAL DEVICES piezo-electric, electrostrictive or magnetostrictive elements per se H10N30/00",
- "match_score": 0.37
- },
- "B82Y": {
- "topic_id": "https://openalex.org/T11169",
- "topic_display_name": "Silicon Nanostructures and Photoluminescence",
- "ipc_label": "SPECIFIC USES OR APPLICATIONS OF NANOSTRUCTURESMEASUREMENT OR ANALYSIS OF NANOSTRUCTURESMANUFACTURE OR TREATMENT OF NANOSTRUCTURES",
- "match_score": 0.402
- },
- "B99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "C01B": {
- "topic_id": "https://openalex.org/T12458",
- "topic_display_name": "Organometallic Compounds Synthesis and Characterization",
- "ipc_label": "NON-METALLIC ELEMENTSCOMPOUNDS THEREOF; METALLOIDS OR COMPOUNDS THEREOF NOT COVERED BY SUBCLASS C01C",
- "match_score": 0.4
- },
- "C01P": {
- "topic_id": "https://openalex.org/T12410",
- "topic_display_name": "Structural and Chemical Analysis of Organic and Inorganic Compounds",
- "ipc_label": "INDEXING SCHEME RELATING TO STRUCTURAL AND PHYSICAL ASPECTS OF SOLID INORGANIC COMPOUNDS",
- "match_score": 0.658
- },
- "C03B": {
- "topic_id": "https://openalex.org/T10705",
- "topic_display_name": "Additive Manufacturing Materials and Processes",
- "ipc_label": "MANUFACTURE, SHAPING, OR SUPPLEMENTARY PROCESSES",
- "match_score": 0.574
- },
- "C05B": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "PHOSPHATIC FERTILISERS",
- "match_score": 0.5
- },
- "C05C": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "NITROGENOUS FERTILISERS",
- "match_score": 0.444
- },
- "C05D": {
- "topic_id": "https://openalex.org/T10973",
- "topic_display_name": "Radioactive element chemistry and processing",
- "ipc_label": "INORGANIC FERTILISERS NOT COVERED BY SUBCLASSES C05B, C05CFERTILISERS PRODUCING CARBON DIOXIDE",
- "match_score": 0.362
- },
- "C06F": {
- "topic_id": "https://openalex.org/T13862",
- "topic_display_name": "Soil, Finite Element Methods",
- "ipc_label": "MATCHESMANUFACTURE OF MATCHES",
- "match_score": 0.588
- },
- "C07B": {
- "topic_id": "https://openalex.org/T14099",
- "topic_display_name": "Synthesis and Characterization of Heterocyclic Compounds",
- "ipc_label": "GENERAL METHODS OF ORGANIC CHEMISTRYAPPARATUS THEREFOR preparation of carboxylic acid esters by telomerisation C07C67/47; telomerisation C08F",
- "match_score": 0.355
- },
- "C07C": {
- "topic_id": "https://openalex.org/T13208",
- "topic_display_name": "Synthesis of heterocyclic compounds",
- "ipc_label": "ACYCLIC OR CARBOCYCLIC COMPOUNDS",
- "match_score": 0.657
- },
- "C07D": {
- "topic_id": "https://openalex.org/T13208",
- "topic_display_name": "Synthesis of heterocyclic compounds",
- "ipc_label": "HETEROCYCLIC COMPOUNDS macromolecular compounds C08",
- "match_score": 0.512
- },
- "C07G": {
- "topic_id": "https://openalex.org/T12055",
- "topic_display_name": "Boron Compounds in Chemistry",
- "ipc_label": "COMPOUNDS OF UNKNOWN CONSTITUTION",
- "match_score": 0.492
- },
- "C07J": {
- "topic_id": "https://openalex.org/T10310",
- "topic_display_name": "Corrosion Behavior and Inhibition",
- "ipc_label": "STEROIDS seco-steroids C07C",
- "match_score": 0.455
- },
- "C08C": {
- "topic_id": "https://openalex.org/T13037",
- "topic_display_name": "Piperaceae Chemical and Biological Studies",
- "ipc_label": "TREATMENT OR CHEMICAL MODIFICATION OF RUBBERS",
- "match_score": 0.506
- },
- "C08F": {
- "topic_id": "https://openalex.org/T13239",
- "topic_display_name": "Phosphorus compounds and reactions",
- "ipc_label": "MACROMOLECULAR COMPOUNDS OBTAINED BY REACTIONS ONLY INVOLVING CARBON-TO-CARBON UNSATURATED BONDS",
- "match_score": 0.4
- },
- "C08G": {
- "topic_id": "https://openalex.org/T14459",
- "topic_display_name": "Synthesis and Reactions of Organic Compounds",
- "ipc_label": "MACROMOLECULAR COMPOUNDS OBTAINED OTHERWISE THAN BY REACTIONS ONLY INVOLVING UNSATURATED CARBON-TO-CARBON BONDS",
- "match_score": 0.387
- },
- "C09F": {
- "topic_id": "https://openalex.org/T11823",
- "topic_display_name": "Natural Resources and Economic Development",
- "ipc_label": "NATURAL RESINSFRENCH POLISHDRYING-OILSDRIERS (SICCATIVES)TURPENTINE",
- "match_score": 0.422
- },
- "C09G": {
- "topic_id": "https://openalex.org/T12638",
- "topic_display_name": "Pomegranate: compositions and health benefits",
- "ipc_label": "POLISHING COMPOSITIONS French polish C09F11/00SKI WAXES",
- "match_score": 0.42
- },
- "C09H": {
- "topic_id": "https://openalex.org/T14032",
- "topic_display_name": "History and International Relations",
- "ipc_label": "PREPARATION OF GLUE OR GELATINE",
- "match_score": 0.485
- },
- "C09K": {
- "topic_id": "https://openalex.org/T10245",
- "topic_display_name": "Metamaterials and Metasurfaces Applications",
- "ipc_label": "MATERIALS FOR MISCELLANEOUS APPLICATIONS, NOT PROVIDED FOR ELSEWHERE",
- "match_score": 0.523
- },
- "C10F": {
- "topic_id": "https://openalex.org/T10650",
- "topic_display_name": "Food Drying and Modeling",
- "ipc_label": "DRYING OR WORKING-UP OF PEAT",
- "match_score": 0.423
- },
- "C10H": {
- "topic_id": "https://openalex.org/T12931",
- "topic_display_name": "Educational Methods and Outcomes",
- "ipc_label": "PRODUCTION OF ACETYLENE BY WET METHODS purification of acetylene C07C7/00",
- "match_score": 0.457
- },
- "C10K": {
- "topic_id": "https://openalex.org/T11848",
- "topic_display_name": "Heme Oxygenase-1 and Carbon Monoxide",
- "ipc_label": "PURIFYING OR MODIFYING THE CHEMICAL COMPOSITION OF COMBUSTIBLE GASES CONTAINING CARBON MONOXIDE",
- "match_score": 0.412
- },
- "C10N": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASS C10M RELATING TO LUBRICATING COMPOSITIONS",
- "match_score": 0.397
- },
- "C11D": {
- "topic_id": "https://openalex.org/T11869",
- "topic_display_name": "Per- and polyfluoroalkyl substances research",
- "ipc_label": "DETERGENT COMPOSITIONSUSE OF SINGLE SUBSTANCES AS DETERGENTSSOAP OR SOAP-MAKINGRESIN SOAPSRECOVERY OF GLYCEROL",
- "match_score": 0.351
- },
- "C12J": {
- "topic_id": "https://openalex.org/T12008",
- "topic_display_name": "Solar-Powered Water Purification Methods",
- "ipc_label": "VINEGARPREPARATION OR PURIFICATION THEREOF",
- "match_score": 0.61
- },
- "C12R": {
- "topic_id": "https://openalex.org/T10685",
- "topic_display_name": "Viral-associated cancers and disorders",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASSES C12C - C12Q, RELATING TO MICROORGANISMS",
- "match_score": 0.367
- },
- "C12Y": {
- "topic_id": "https://openalex.org/T12770",
- "topic_display_name": "Amino Acid Enzymes and Metabolism",
- "ipc_label": "ENZYMES",
- "match_score": 1.0
- },
- "C13B": {
- "topic_id": "https://openalex.org/T12410",
- "topic_display_name": "Structural and Chemical Analysis of Organic and Inorganic Compounds",
- "ipc_label": "PRODUCTION OF SUCROSEAPPARATUS SPECIALLY ADAPTED THEREFOR chemically synthesised sugars or sugar derivatives C07H; fermentation or enzyme-using processes for preparing compounds containing saccharide radicals C12P19/00",
- "match_score": 0.351
- },
- "C21B": {
- "topic_id": "https://openalex.org/T12301",
- "topic_display_name": "Facial Nerve Paralysis Treatment and Research",
- "ipc_label": "MANUFACTURE OF IRON OR STEEL preliminary treatment of ferrous ores or scrap C22B1/00; electric heating H05B",
- "match_score": 0.368
- },
- "C22B": {
- "topic_id": "https://openalex.org/T13652",
- "topic_display_name": "Education and Social Development in Ukraine",
- "ipc_label": "PRODUCTION AND REFINING OF METALS electrolytic C25PRETREATMENT OF RAW MATERIALS",
- "match_score": 0.475
- },
- "C22C": {
- "topic_id": "https://openalex.org/T11453",
- "topic_display_name": "Diagnosis and Treatment of Venous Diseases",
- "ipc_label": "ALLOYS flints C06C15/00; treatment of alloys C21D, C22F",
- "match_score": 0.474
- },
- "C23D": {
- "topic_id": "https://openalex.org/T13463",
- "topic_display_name": "Nanoporous metals and alloys",
- "ipc_label": "ENAMELLING OF, OR APPLYING A VITREOUS LAYER TO, METALS",
- "match_score": 0.39
- },
- "C23G": {
- "topic_id": "https://openalex.org/T14068",
- "topic_display_name": "Organic and Inorganic Chemical Reactions",
- "ipc_label": "CLEANING OR DE-GREASING OF METALLIC MATERIAL BY CHEMICAL METHODS OTHER THAN ELECTROLYSIS",
- "match_score": 0.438
- },
- "C25C": {
- "topic_id": "https://openalex.org/T10962",
- "topic_display_name": "Thermodynamic properties of mixtures",
- "ipc_label": "PROCESSES FOR THE ELECTROLYTIC PRODUCTION, RECOVERY OR REFINING OF METALSAPPARATUS THEREFOR",
- "match_score": 0.378
- },
- "C25D": {
- "topic_id": "https://openalex.org/T14382",
- "topic_display_name": "Electrophoretic Deposition in Materials Science",
- "ipc_label": "PROCESSES FOR THE ELECTROLYTIC OR ELECTROPHORETIC PRODUCTION OF COATINGSELECTROFORMINGAPPARATUS THEREFOR",
- "match_score": 0.424
- },
- "C25F": {
- "topic_id": "https://openalex.org/T11025",
- "topic_display_name": "Nonlinear Optical Materials Research",
- "ipc_label": "PROCESSES FOR THE ELECTROLYTIC REMOVAL OF MATERIALS FROM OBJECTSAPPARATUS THEREFOR",
- "match_score": 0.458
- },
- "C99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "D01D": {
- "topic_id": "https://openalex.org/T11416",
- "topic_display_name": "Numerical methods for differential equations",
- "ipc_label": "MECHANICAL METHODS OR APPARATUS IN THE MANUFACTURE OF ARTIFICIAL FILAMENTS, THREADS, FIBRES, BRISTLES OR RIBBONS",
- "match_score": 0.397
- },
- "D02G": {
- "topic_id": "https://openalex.org/T14192",
- "topic_display_name": "Literature, Film, and Journalism Analysis",
- "ipc_label": "CRIMPING OR CURLING FIBRES, FILAMENTS, THREADS, OR YARNSYARNS OR THREADS",
- "match_score": 0.389
- },
- "D02H": {
- "topic_id": "https://openalex.org/T13523",
- "topic_display_name": "Mathematics, Computing, and Information Processing",
- "ipc_label": "WARPING, BEAMING OR LEASING",
- "match_score": 0.468
- },
- "D03C": {
- "topic_id": "https://openalex.org/T12490",
- "topic_display_name": "Software Engineering and Design Patterns",
- "ipc_label": "SHEDDING MECHANISMSPATTERN CARDS OR CHAINSPUNCHING OF CARDSDESIGNING PATTERNS",
- "match_score": 0.41
- },
- "D03D": {
- "topic_id": "https://openalex.org/T13880",
- "topic_display_name": "Innovative Education Methods and Tools",
- "ipc_label": "WOVEN FABRICSMETHODS OF WEAVINGLOOMS",
- "match_score": 0.459
- },
- "D03J": {
- "topic_id": "https://openalex.org/T10262",
- "topic_display_name": "Microwave Engineering and Waveguides",
- "ipc_label": "AUXILIARY WEAVING APPARATUSWEAVERS' TOOLSSHUTTLES",
- "match_score": 0.4
- },
- "D04B": {
- "topic_id": "https://openalex.org/T13366",
- "topic_display_name": "Accounting Theory and Financial Reporting",
- "ipc_label": "KNITTING",
- "match_score": 0.556
- },
- "D05C": {
- "topic_id": "https://openalex.org/T13583",
- "topic_display_name": "Jury Decision Making Processes",
- "ipc_label": "EMBROIDERINGTUFTING making non-woven fabrics D04H; sewing D05B",
- "match_score": 0.391
- },
- "D05D": {
- "topic_id": "https://openalex.org/T14497",
- "topic_display_name": "Social Issues and Policies in Latin America",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASSES D05B AND D05C, RELATING TO SEWING, EMBROIDERING AND TUFTING",
- "match_score": 0.4
- },
- "D06C": {
- "topic_id": "https://openalex.org/T11511",
- "topic_display_name": "Dyeing and Modifying Textile Fibers",
- "ipc_label": "FINISHING, DRESSING, TENTERING OR STRETCHING TEXTILE FABRICS",
- "match_score": 0.484
- },
- "D06F": {
- "topic_id": "https://openalex.org/T11511",
- "topic_display_name": "Dyeing and Modifying Textile Fibers",
- "ipc_label": "LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES",
- "match_score": 0.44
- },
- "D06H": {
- "topic_id": "https://openalex.org/T11948",
- "topic_display_name": "Machine Learning in Materials Science",
- "ipc_label": "MARKING, INSPECTING, SEAMING OR SEVERING TEXTILE MATERIALS seaming by sewing D05B",
- "match_score": 0.475
- },
- "D06P": {
- "topic_id": "https://openalex.org/T11511",
- "topic_display_name": "Dyeing and Modifying Textile Fibers",
- "ipc_label": "DYEING OR PRINTING TEXTILESDYEING LEATHER, FURS OR SOLID MACROMOLECULAR SUBSTANCES IN ANY FORM",
- "match_score": 0.372
- },
- "D10B": {
- "topic_id": "https://openalex.org/T12078",
- "topic_display_name": "Environmental remediation with nanomaterials",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBLASSES OF SECTION D, RELATING TO TEXTILES",
- "match_score": 0.4
- },
- "D21B": {
- "topic_id": "https://openalex.org/T11485",
- "topic_display_name": "Gastrointestinal Tumor Research and Treatment",
- "ipc_label": "FIBROUS RAW MATERIALS OR THEIR MECHANICAL TREATMENT",
- "match_score": 0.562
- },
- "D21D": {
- "topic_id": "https://openalex.org/T11071",
- "topic_display_name": "Treatment of Major Depression",
- "ipc_label": "TREATMENT OF THE MATERIALS BEFORE PASSING TO THE PAPER-MAKING MACHINE",
- "match_score": 0.469
- },
- "D99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "E01F": {
- "topic_id": "https://openalex.org/T14390",
- "topic_display_name": "Real estate and construction management",
- "ipc_label": "ADDITIONAL WORK, SUCH AS EQUIPPING ROADS OR THE CONSTRUCTION OF PLATFORMS, HELICOPTER LANDING STAGES, SIGNS, SNOW FENCES, OR THE LIKE",
- "match_score": 0.36
- },
- "E02B": {
- "topic_id": "https://openalex.org/T12907",
- "topic_display_name": "Mechanical Engineering and Vibrations Research",
- "ipc_label": "HYDRAULIC ENGINEERING ship-lifting E02C; dredging E02F",
- "match_score": 0.5
- },
- "E02C": {
- "topic_id": "https://openalex.org/T13253",
- "topic_display_name": "Chemical Reactions and Mechanisms",
- "ipc_label": "SHIP-LIFTING DEVICES OR MECHANISMS",
- "match_score": 0.567
- },
- "E02D": {
- "topic_id": "https://openalex.org/T12233",
- "topic_display_name": "Geotechnical Engineering and Underground Structures",
- "ipc_label": "FOUNDATIONSEXCAVATIONSEMBANKMENTS specially adapted for hydraulic engineering E02BUNDERGROUND OR UNDERWATER STRUCTURES tunnels, tunnelling, mining E21",
- "match_score": 0.408
- },
- "E02F": {
- "topic_id": "https://openalex.org/T13027",
- "topic_display_name": "Applied Advanced Technologies",
- "ipc_label": "DREDGINGSOIL-SHIFTING winning peat E21C49/00",
- "match_score": 0.381
- },
- "E03D": {
- "topic_id": "https://openalex.org/T14249",
- "topic_display_name": "Water Quality Monitoring and Analysis",
- "ipc_label": "WATER-CLOSETS OR URINALS WITH FLUSHING DEVICESFLUSHING VALVES THEREFOR",
- "match_score": 0.355
- },
- "E03F": {
- "topic_id": "https://openalex.org/T13675",
- "topic_display_name": "Diffusion Coefficients in Liquids",
- "ipc_label": "SEWERSCESSPOOLS",
- "match_score": 0.444
- },
- "E05B": {
- "topic_id": "https://openalex.org/T10859",
- "topic_display_name": "Polymer Surface Interaction Studies",
- "ipc_label": "LOCKSACCESSORIES THEREFORHANDCUFFS",
- "match_score": 0.452
- },
- "E21C": {
- "topic_id": "https://openalex.org/T11933",
- "topic_display_name": "Mining and Resource Management",
- "ipc_label": "MINING OR QUARRYING",
- "match_score": 0.531
- },
- "E21F": {
- "topic_id": "https://openalex.org/T10570",
- "topic_display_name": "Drug Transport and Resistance Mechanisms",
- "ipc_label": "SAFETY DEVICES, TRANSPORT, FILLING-UP, RESCUE, VENTILATION, OR DRAINING IN OR OF MINES OR TUNNELS",
- "match_score": 0.38
- },
- "E99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "F01L": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "CYCLICALLY OPERATING VALVES FOR MACHINES OR ENGINES",
- "match_score": 0.478
- },
- "F02F": {
- "topic_id": "https://openalex.org/T10117",
- "topic_display_name": "Advanced Combustion Engine Technologies",
- "ipc_label": "CYLINDERS, PISTONS OR CASINGS, FOR COMBUSTION ENGINESARRANGEMENTS OF SEALINGS IN COMBUSTION ENGINES",
- "match_score": 0.406
- },
- "F02M": {
- "topic_id": "https://openalex.org/T13917",
- "topic_display_name": "Engineering and Material Science Research",
- "ipc_label": "SUPPLYING COMBUSTION ENGINES IN GENERAL WITH COMBUSTIBLE MIXTURES OR CONSTITUENTS THEREOF",
- "match_score": 0.385
- },
- "F02N": {
- "topic_id": "https://openalex.org/T10117",
- "topic_display_name": "Advanced Combustion Engine Technologies",
- "ipc_label": "STARTING OF COMBUSTION ENGINESSTARTING AIDS FOR SUCH ENGINES, NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.441
- },
- "F03D": {
- "topic_id": "https://openalex.org/T10504",
- "topic_display_name": "Sensorless Control of Electric Motors",
- "ipc_label": "WIND MOTORS",
- "match_score": 0.5
- },
- "F03H": {
- "topic_id": "https://openalex.org/T12661",
- "topic_display_name": "Iterative Methods for Nonlinear Equations",
- "ipc_label": "PRODUCING A REACTIVE PROPULSIVE THRUST, NOT OTHERWISE PROVIDED FOR from combustion products F02K",
- "match_score": 0.35
- },
- "F16C": {
- "topic_id": "https://openalex.org/T14144",
- "topic_display_name": "Neurological Disease Mechanisms and Treatments",
- "ipc_label": "SHAFTSFLEXIBLE SHAFTSELEMENTS OR CRANKSHAFT MECHANISMSROTARY BODIES OTHER THAN GEARING ELEMENTSBEARINGS",
- "match_score": 0.376
- },
- "F16D": {
- "topic_id": "https://openalex.org/T12240",
- "topic_display_name": "Nanomaterials for catalytic reactions",
- "ipc_label": "COUPLINGS FOR TRANSMITTING ROTATIONCLUTCHESBRAKES",
- "match_score": 0.465
- },
- "F16F": {
- "topic_id": "https://openalex.org/T10030",
- "topic_display_name": "Electrocatalysts for Energy Conversion",
- "ipc_label": "SPRINGSSHOCK-ABSORBERSMEANS FOR DAMPING VIBRATION",
- "match_score": 0.437
- },
- "F16H": {
- "topic_id": "https://openalex.org/T14252",
- "topic_display_name": "Water and Wastewater Treatment",
- "ipc_label": "GEARING",
- "match_score": 0.667
- },
- "F16J": {
- "topic_id": "https://openalex.org/T14353",
- "topic_display_name": "Wireless Sensor Networks for Data Analysis",
- "ipc_label": "PISTONS specially adapted for dampers F16F9/32CYLINDERSSEALINGS",
- "match_score": 0.4
- },
- "F16L": {
- "topic_id": "https://openalex.org/T11343",
- "topic_display_name": "Power Transformer Diagnostics and Insulation",
- "ipc_label": "PIPESJOINTS OR FITTINGS FOR PIPESSUPPORTS FOR PIPES, CABLES OR PROTECTIVE TUBINGMEANS FOR THERMAL INSULATION IN GENERAL",
- "match_score": 0.356
- },
- "F16N": {
- "topic_id": "https://openalex.org/T14075",
- "topic_display_name": "Psychodrama and Leishmaniasis Studies",
- "ipc_label": "LUBRICATING",
- "match_score": 0.6
- },
- "F16P": {
- "topic_id": "https://openalex.org/T11317",
- "topic_display_name": "Fire dynamics and safety research",
- "ipc_label": "SAFETY DEVICES IN GENERAL; SAFETY DEVICES FOR PRESSES",
- "match_score": 0.488
- },
- "F16S": {
- "topic_id": "https://openalex.org/T10915",
- "topic_display_name": "Trace Elements in Health",
- "ipc_label": "CONSTRUCTIONAL ELEMENTS IN GENERALSTRUCTURES BUILT-UP FROM SUCH ELEMENTS, IN GENERAL",
- "match_score": 0.389
- },
- "F21L": {
- "topic_id": "https://openalex.org/T13000",
- "topic_display_name": "World Systems and Global Transformations",
- "ipc_label": "LIGHTING DEVICES OR SYSTEMS THEREOF, BEING PORTABLE OR SPECIALLY ADAPTED FOR TRANSPORTATION",
- "match_score": 0.427
- },
- "F21W": {
- "topic_id": "https://openalex.org/T13257",
- "topic_display_name": "Advanced Control and Stabilization in Aerospace Systems",
- "ipc_label": "INDEXING SCHEME ASSOCIATED WITH SUBCLASSES F21K, F21L, F21S and F21V, RELATING TO USES OR APPLICATIONS OF LIGHTING DEVICES OR SYSTEMS",
- "match_score": 0.383
- },
- "F22G": {
- "topic_id": "https://openalex.org/T13960",
- "topic_display_name": "Dietetics, Nutrition, and Education",
- "ipc_label": "SUPERHEATING OF STEAM steam separating arrangements in boilers F22B37/26",
- "match_score": 0.416
- },
- "F23D": {
- "topic_id": "https://openalex.org/T11069",
- "topic_display_name": "Testicular diseases and treatments",
- "ipc_label": "BURNERS",
- "match_score": 0.571
- },
- "F23G": {
- "topic_id": "https://openalex.org/T14505",
- "topic_display_name": "Natural Products and Applications",
- "ipc_label": "CREMATION FURNACESCONSUMING WASTE PRODUCTS BY COMBUSTION",
- "match_score": 0.472
- },
- "F23K": {
- "topic_id": "https://openalex.org/T10806",
- "topic_display_name": "Energetic Materials and Combustion",
- "ipc_label": "FEEDING FUEL TO COMBUSTION APPARATUS fuel feeders specially adapted for fluidised bed combustion apparatus F23C10/22",
- "match_score": 0.373
- },
- "F24S": {
- "topic_id": "https://openalex.org/T10108",
- "topic_display_name": "Electoral Systems and Political Participation",
- "ipc_label": "SOLAR HEAT COLLECTORSSOLAR HEAT SYSTEMS for producing mechanical power from solar energy F03G6/00",
- "match_score": 0.423
- },
- "F24T": {
- "topic_id": "https://openalex.org/T11225",
- "topic_display_name": "Geothermal Energy Systems and Applications",
- "ipc_label": "GEOTHERMAL COLLECTORSGEOTHERMAL SYSTEMS",
- "match_score": 0.667
- },
- "F24V": {
- "topic_id": "https://openalex.org/T10171",
- "topic_display_name": "Biofuel production and bioconversion",
- "ipc_label": "COLLECTION, PRODUCTION OR USE OF HEAT NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.42
- },
- "F25B": {
- "topic_id": "https://openalex.org/T13985",
- "topic_display_name": "Enterprise Management and Information Systems",
- "ipc_label": "REFRIGERATION MACHINES, PLANTS OR SYSTEMSCOMBINED HEATING AND REFRIGERATION SYSTEMSHEAT PUMP SYSTEMS",
- "match_score": 0.414
- },
- "F25C": {
- "topic_id": "https://openalex.org/T12544",
- "topic_display_name": "Working Capital and Financial Performance",
- "ipc_label": "PRODUCING, WORKING OR HANDLING ICE",
- "match_score": 0.453
- },
- "F27M": {
- "topic_id": "https://openalex.org/T10055",
- "topic_display_name": "Diverse Aspects of Tourism Research",
- "ipc_label": "INDEXING SCHEME RELATING TO ASPECTS OF THE CHARGES OR FURNACES, KILNS, OVENS OR RETORTS",
- "match_score": 0.41
- },
- "F28F": {
- "topic_id": "https://openalex.org/T11655",
- "topic_display_name": "HIV-related health complications and treatments",
- "ipc_label": "DETAILS OF HEAT-EXCHANGE AND HEAT-TRANSFER APPARATUS, OF GENERAL APPLICATION water and air traps, air venting F16",
- "match_score": 0.412
- },
- "F41A": {
- "topic_id": "https://openalex.org/T13468",
- "topic_display_name": "Educational Research and Science Teaching",
- "ipc_label": "FUNCTIONAL FEATURES OR DETAILS COMMON TO BOTH SMALLARMS AND ORDNANCE, e.g. CANNONSMOUNTINGS FOR SMALLARMS OR ORDNANCE",
- "match_score": 0.367
- },
- "F41G": {
- "topic_id": "https://openalex.org/T13049",
- "topic_display_name": "Surface Roughness and Optical Measurements",
- "ipc_label": "WEAPON SIGHTSAIMING optical aspects thereof G02B",
- "match_score": 0.467
- },
- "F99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "G01F": {
- "topic_id": "https://openalex.org/T10836",
- "topic_display_name": "Metabolomics and Mass Spectrometry Studies",
- "ipc_label": "MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVELMETERING BY VOLUME",
- "match_score": 0.379
- },
- "G01G": {
- "topic_id": "https://openalex.org/T13960",
- "topic_display_name": "Dietetics, Nutrition, and Education",
- "ipc_label": "WEIGHING sorting by weighing B07C5/16",
- "match_score": 0.364
- },
- "G01H": {
- "topic_id": "https://openalex.org/T10386",
- "topic_display_name": "Microstructure and Mechanical Properties of Steels",
- "ipc_label": "MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES",
- "match_score": 0.425
- },
- "G01L": {
- "topic_id": "https://openalex.org/T10386",
- "topic_display_name": "Microstructure and Mechanical Properties of Steels",
- "ipc_label": "MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE weighing G01G",
- "match_score": 0.385
- },
- "G01Q": {
- "topic_id": "https://openalex.org/T10801",
- "topic_display_name": "Synthetic Aperture Radar (SAR) Applications and Techniques",
- "ipc_label": "SCANNING-PROBE TECHNIQUES OR APPARATUSAPPLICATIONS OF SCANNING-PROBE TECHNIQUES, e.g. SCANNING PROBE MICROSCOPY [SPM]",
- "match_score": 0.389
- },
- "G01R": {
- "topic_id": "https://openalex.org/T10614",
- "topic_display_name": "Transcranial Magnetic Stimulation Studies",
- "ipc_label": "MEASURING ELECTRIC VARIABLESMEASURING MAGNETIC VARIABLES indicating correct tuning of resonant circuits H03J3/12",
- "match_score": 0.379
- },
- "G02B": {
- "topic_id": "https://openalex.org/T12391",
- "topic_display_name": "Artificial Immune Systems Applications",
- "ipc_label": "OPTICAL ELEMENTS, SYSTEMS OR APPARATUS",
- "match_score": 0.579
- },
- "G04D": {
- "topic_id": "https://openalex.org/T13583",
- "topic_display_name": "Jury Decision Making Processes",
- "ipc_label": "APPARATUS OR TOOLS SPECIALLY DESIGNED FOR MAKING OR MAINTAINING CLOCKS OR WATCHES",
- "match_score": 0.378
- },
- "G04F": {
- "topic_id": "https://openalex.org/T13293",
- "topic_display_name": "Engineering and Test Systems",
- "ipc_label": "TIME-INTERVAL MEASURING measuring pulse characteristics G01R, e.g. G01R29/02; in radar or like systems G01S",
- "match_score": 0.37
- },
- "G04G": {
- "topic_id": "https://openalex.org/T10350",
- "topic_display_name": "Electronic Health Records Systems",
- "ipc_label": "ELECTRONIC TIME-PIECES",
- "match_score": 0.582
- },
- "G04R": {
- "topic_id": "https://openalex.org/T12810",
- "topic_display_name": "Real-time simulation and control systems",
- "ipc_label": "RADIO-CONTROLLED TIME-PIECES",
- "match_score": 0.441
- },
- "G05D": {
- "topic_id": "https://openalex.org/T10504",
- "topic_display_name": "Sensorless Control of Electric Motors",
- "ipc_label": "SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES",
- "match_score": 0.536
- },
- "G06C": {
- "topic_id": "https://openalex.org/T13155",
- "topic_display_name": "Digital Communication and Language",
- "ipc_label": "DIGITAL COMPUTERS IN WHICH ALL THE COMPUTATION IS EFFECTED MECHANICALLY score computers for card games A63F1/18",
- "match_score": 0.372
- },
- "G06D": {
- "topic_id": "https://openalex.org/T12923",
- "topic_display_name": "Digital Image Processing Techniques",
- "ipc_label": "DIGITAL FLUID-PRESSURE COMPUTING DEVICES",
- "match_score": 0.587
- },
- "G06F": {
- "topic_id": "https://openalex.org/T13093",
- "topic_display_name": "Electric Power Systems and Control",
- "ipc_label": "ELECTRIC DIGITAL DATA PROCESSING computer systems based on specific computational models G06N",
- "match_score": 0.472
- },
- "G06G": {
- "topic_id": "https://openalex.org/T11429",
- "topic_display_name": "Semiconductor Lasers and Optical Devices",
- "ipc_label": "ANALOGUE COMPUTERS analogue optical computing devices G06E3/00",
- "match_score": 0.529
- },
- "G06K": {
- "topic_id": "https://openalex.org/T10627",
- "topic_display_name": "Advanced Image and Video Retrieval Techniques",
- "ipc_label": "GRAPHICAL DATA READING image or video recognition or understanding G06VPRESENTATION OF DATARECORD CARRIERSHANDLING RECORD CARRIERS",
- "match_score": 0.354
- },
- "G06N": {
- "topic_id": "https://openalex.org/T13806",
- "topic_display_name": "Mathematical and Computational Methods",
- "ipc_label": "COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS",
- "match_score": 0.525
- },
- "G06T": {
- "topic_id": "https://openalex.org/T14339",
- "topic_display_name": "Image Processing and 3D Reconstruction",
- "ipc_label": "IMAGE DATA PROCESSING OR GENERATION, IN GENERAL",
- "match_score": 0.541
- },
- "G06V": {
- "topic_id": "https://openalex.org/T13579",
- "topic_display_name": "Image and Video Stabilization",
- "ipc_label": "IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING",
- "match_score": 0.75
- },
- "G07G": {
- "topic_id": "https://openalex.org/T13321",
- "topic_display_name": "Radio, Podcasts, and Digital Media",
- "ipc_label": "REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS digital computing in general G06C, G06F",
- "match_score": 0.378
- },
- "G08B": {
- "topic_id": "https://openalex.org/T11902",
- "topic_display_name": "Intelligent Tutoring Systems and Adaptive Learning",
- "ipc_label": "SIGNALLING OR CALLING SYSTEMSORDER TELEGRAPHSALARM SYSTEMS",
- "match_score": 0.5
- },
- "G09F": {
- "topic_id": "https://openalex.org/T14032",
- "topic_display_name": "History and International Relations",
- "ipc_label": "DISPLAYINGADVERTISINGSIGNSLABELS OR NAME-PLATESSEALS",
- "match_score": 0.391
- },
- "G10L": {
- "topic_id": "https://openalex.org/T13244",
- "topic_display_name": "Analysis of environmental and stochastic processes",
- "ipc_label": "SPEECH ANALYSIS OR SYNTHESISSPEECH RECOGNITIONSPEECH OR VOICE PROCESSINGSPEECH OR AUDIO CODING OR DECODING",
- "match_score": 0.359
- },
- "G11C": {
- "topic_id": "https://openalex.org/T10472",
- "topic_display_name": "Semiconductor materials and devices",
- "ipc_label": "STATIC STORES semiconductor memory devices H10B",
- "match_score": 0.61
- },
- "G16C": {
- "topic_id": "https://openalex.org/T10192",
- "topic_display_name": "Catalytic Processes in Materials Science",
- "ipc_label": "COMPUTATIONAL CHEMISTRYCHEMOINFORMATICSCOMPUTATIONAL MATERIALS SCIENCE",
- "match_score": 0.527
- },
- "G16H": {
- "topic_id": "https://openalex.org/T11773",
- "topic_display_name": "Healthcare Operations and Scheduling Optimization",
- "ipc_label": "HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA",
- "match_score": 0.384
- },
- "G16Y": {
- "topic_id": "https://openalex.org/T13952",
- "topic_display_name": "Information Technology and Learning",
- "ipc_label": "INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]",
- "match_score": 0.508
- },
- "G16Z": {
- "topic_id": "https://openalex.org/T12734",
- "topic_display_name": "Information Systems and Technology Applications",
- "ipc_label": "INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.456
- },
- "G21B": {
- "topic_id": "https://openalex.org/T10592",
- "topic_display_name": "Fusion materials and technologies",
- "ipc_label": "FUSION REACTORS uncontrolled reactors G21J",
- "match_score": 0.48
- },
- "G21C": {
- "topic_id": "https://openalex.org/T10808",
- "topic_display_name": "Electric and Hybrid Vehicle Technologies",
- "ipc_label": "NUCLEAR REACTORS fusion reactors, hybrid fission-fusion reactors G21B; nuclear explosives G21J",
- "match_score": 0.388
- },
- "G21D": {
- "topic_id": "https://openalex.org/T12295",
- "topic_display_name": "Foucault, Power, and Ethics",
- "ipc_label": "NUCLEAR POWER PLANT",
- "match_score": 0.565
- },
- "G21J": {
- "topic_id": "https://openalex.org/T12405",
- "topic_display_name": "Characterization and Applications of Magnetic Nanoparticles",
- "ipc_label": "NUCLEAR EXPLOSIVESAPPLICATIONS THEREOF electric or magnetic analogue computers, e.g. simulators, for nuclear physics G06G7/54",
- "match_score": 0.413
- },
- "G99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "H01C": {
- "topic_id": "https://openalex.org/T12454",
- "topic_display_name": "European Political History Analysis",
- "ipc_label": "RESISTORS",
- "match_score": 0.625
- },
- "H01J": {
- "topic_id": "https://openalex.org/T12495",
- "topic_display_name": "Electrostatic Discharge in Electronics",
- "ipc_label": "ELECTRIC DISCHARGE TUBES OR DISCHARGE LAMPS spark-gaps H01T; arc lamps with consumable electrodes H05B; particle accelerators H05H",
- "match_score": 0.381
- },
- "H01M": {
- "topic_id": "https://openalex.org/T12495",
- "topic_display_name": "Electrostatic Discharge in Electronics",
- "ipc_label": "PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY",
- "match_score": 0.383
- },
- "H01P": {
- "topic_id": "https://openalex.org/T11429",
- "topic_display_name": "Semiconductor Lasers and Optical Devices",
- "ipc_label": "WAVEGUIDESRESONATORS, LINES, OR OTHER DEVICES OF THE WAVEGUIDE TYPE operating at optical frequencies G02B",
- "match_score": 0.4
- },
- "H01Q": {
- "topic_id": "https://openalex.org/T10579",
- "topic_display_name": "Cognitive Radio Networks and Spectrum Sensing",
- "ipc_label": "ANTENNAS, i.e. RADIO AERIALS radiators or antennas for microwave heating H05B6/72",
- "match_score": 0.397
- },
- "H02B": {
- "topic_id": "https://openalex.org/T10968",
- "topic_display_name": "Statistical Distribution Estimation and Applications",
- "ipc_label": "BOARDS, SUBSTATIONS OR SWITCHING ARRANGEMENTS FOR THE SUPPLY OR DISTRIBUTION OF ELECTRIC POWER",
- "match_score": 0.411
- },
- "H02G": {
- "topic_id": "https://openalex.org/T10607",
- "topic_display_name": "Magnetic and transport properties of perovskites and related materials",
- "ipc_label": "INSTALLATION OF ELECTRIC CABLES OR LINES, OR OF COMBINED OPTICAL AND ELECTRIC CABLES OR LINES",
- "match_score": 0.444
- },
- "H02J": {
- "topic_id": "https://openalex.org/T12111",
- "topic_display_name": "Industrial Vision Systems and Defect Detection",
- "ipc_label": "CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWERSYSTEMS FOR STORING ELECTRIC ENERGY",
- "match_score": 0.369
- },
- "H02N": {
- "topic_id": "https://openalex.org/T10768",
- "topic_display_name": "Electric Vehicles and Infrastructure",
- "ipc_label": "ELECTRIC MACHINES NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.475
- },
- "H03C": {
- "topic_id": "https://openalex.org/T10030",
- "topic_display_name": "Electrocatalysts for Energy Conversion",
- "ipc_label": "MODULATION masers or lasers H01S; coding, decoding or code conversion H03M",
- "match_score": 0.429
- },
- "H03G": {
- "topic_id": "https://openalex.org/T13924",
- "topic_display_name": "Internet of Things and Social Network Interactions",
- "ipc_label": "CONTROL OF AMPLIFICATION impedance networks, e.g. attenuators, H03H; control of transmission in lines H04B3/04",
- "match_score": 0.375
- },
- "H03J": {
- "topic_id": "https://openalex.org/T14117",
- "topic_display_name": "Integrated Circuits and Semiconductor Failure Analysis",
- "ipc_label": "TUNING RESONANT CIRCUITSSELECTING RESONANT CIRCUITS",
- "match_score": 0.476
- },
- "H03L": {
- "topic_id": "https://openalex.org/T13257",
- "topic_display_name": "Advanced Control and Stabilization in Aerospace Systems",
- "ipc_label": "AUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES of dynamo-electric generators H02P",
- "match_score": 0.355
- },
- "H04B": {
- "topic_id": "https://openalex.org/T12804",
- "topic_display_name": "Thermal Analysis in Power Transmission",
- "ipc_label": "TRANSMISSION",
- "match_score": 1.0
- },
- "H04H": {
- "topic_id": "https://openalex.org/T12593",
- "topic_display_name": "Communication in Education and Healthcare",
- "ipc_label": "BROADCAST COMMUNICATION multiplex communication H04J; pictorial communication aspects of broadcast systems H04N",
- "match_score": 0.408
- },
- "H04K": {
- "topic_id": "https://openalex.org/T13317",
- "topic_display_name": "Media, Communication, and Education",
- "ipc_label": "SECRET COMMUNICATIONJAMMING OF COMMUNICATION",
- "match_score": 0.633
- },
- "H04L": {
- "topic_id": "https://openalex.org/T12607",
- "topic_display_name": "Personal Information Management and User Behavior",
- "ipc_label": "TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION arrangements common to telegraphic and telephonic communication H04M",
- "match_score": 0.422
- },
- "H04M": {
- "topic_id": "https://openalex.org/T13905",
- "topic_display_name": "Telecommunications and Broadcasting Technologies",
- "ipc_label": "TELEPHONIC COMMUNICATION circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08",
- "match_score": 0.374
- },
- "H04N": {
- "topic_id": "https://openalex.org/T13317",
- "topic_display_name": "Media, Communication, and Education",
- "ipc_label": "PICTORIAL COMMUNICATION, e.g. TELEVISION",
- "match_score": 0.613
- },
- "H04Q": {
- "topic_id": "https://openalex.org/T10575",
- "topic_display_name": "Wireless Communication Networks Research",
- "ipc_label": "SELECTING switches, relays, selectors H01H; wireless communication networks H04W",
- "match_score": 0.55
- },
- "H04S": {
- "topic_id": "https://openalex.org/T11575",
- "topic_display_name": "Nonlinear Photonic Systems",
- "ipc_label": "STEREOPHONIC SYSTEMS",
- "match_score": 0.696
- },
- "H04T": {
- "topic_id": "https://openalex.org/T11121",
- "topic_display_name": "Public Relations and Crisis Communication",
- "ipc_label": "INDEXING SCHEME RELATING TO STANDARDS FOR ELECTRIC COMMUNICATION TECHNIQUE CLASS H04",
- "match_score": 0.512
- },
- "H04W": {
- "topic_id": "https://openalex.org/T10575",
- "topic_display_name": "Wireless Communication Networks Research",
- "ipc_label": "WIRELESS COMMUNICATION NETWORKS broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72",
- "match_score": 0.36
- },
- "H05B": {
- "topic_id": "https://openalex.org/T13093",
- "topic_display_name": "Electric Power Systems and Control",
- "ipc_label": "ELECTRIC HEATINGELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FORCIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL",
- "match_score": 0.36
- },
- "H10B": {
- "topic_id": "https://openalex.org/T10299",
- "topic_display_name": "Photonic and Optical Devices",
- "ipc_label": "ELECTRONIC MEMORY DEVICES",
- "match_score": 0.667
- },
- "H10K": {
- "topic_id": "https://openalex.org/T10045",
- "topic_display_name": "Organic Electronics and Photovoltaics",
- "ipc_label": "ORGANIC ELECTRIC SOLID-STATE DEVICES",
- "match_score": 0.658
- },
- "H10N": {
- "topic_id": "https://openalex.org/T10768",
- "topic_display_name": "Electric Vehicles and Infrastructure",
- "ipc_label": "ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR",
- "match_score": 0.44
- },
- "H99Z": {
- "topic_id": "https://openalex.org/T12682",
- "topic_display_name": "Smart Materials for Construction",
- "ipc_label": "SUBJECT MATTER NOT OTHERWISE PROVIDED FOR IN THIS SECTION",
- "match_score": 0.494
- },
- "Y02A": {
- "topic_id": "https://openalex.org/T10895",
- "topic_display_name": "Species Distribution and Climate Change",
- "ipc_label": "TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE",
- "match_score": 0.643
- },
- "Y02B": {
- "topic_id": "https://openalex.org/T13734",
- "topic_display_name": "Advanced Computational Techniques and Applications",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS",
- "match_score": 0.425
- },
- "Y02C": {
- "topic_id": "https://openalex.org/T10945",
- "topic_display_name": "Lysosomal Storage Disorders Research",
- "ipc_label": "CAPTURE, STORAGE, SEQUESTRATION OR DISPOSAL OF GREENHOUSE GASES [GHG]",
- "match_score": 0.419
- },
- "Y02P": {
- "topic_id": "https://openalex.org/T11488",
- "topic_display_name": "Climate Change Communication and Perception",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS",
- "match_score": 0.525
- },
- "Y02T": {
- "topic_id": "https://openalex.org/T11488",
- "topic_display_name": "Climate Change Communication and Perception",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION",
- "match_score": 0.598
- },
- "Y02W": {
- "topic_id": "https://openalex.org/T11404",
- "topic_display_name": "Irrigation Practices and Water Management",
- "ipc_label": "CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT",
- "match_score": 0.504
- },
- "Y10S": {
- "topic_id": "https://openalex.org/T13332",
- "topic_display_name": "Historical Studies on Reproduction, Gender, Health, and Societal Changes",
- "ipc_label": "TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS",
- "match_score": 0.412
- },
- "Y10T": {
- "topic_id": "https://openalex.org/T10885",
- "topic_display_name": "Gene expression and cancer classification",
- "ipc_label": "TECHNICAL SUBJECTS COVERED BY FORMER US CLASSIFICATION",
- "match_score": 0.484
- }
- },
- "group": {},
- "subgroup": {}
-}
\ No newline at end of file
diff --git a/service/src/main/inse/main.py b/service/src/main/inse/main.py
index bb40f8f9..7b88a2f8 100644
--- a/service/src/main/inse/main.py
+++ b/service/src/main/inse/main.py
@@ -26,6 +26,7 @@ from inse.funders.service import router as funders_service_router
from inse.projects.router import router as projects_router
from inse.university_ranking.service import router as university_ranking_router
from inse.keywords.service import router as keywords_service_router
+from inse.patents.keywords.service import router as keywords_patents_router
# caching
from inse.middleware.etag_cache import ETagCacheMiddleware
@@ -90,6 +91,7 @@ app.include_router(university_ranking_router)
app.include_router(projects_router)
app.include_router(patents_all_router)
app.include_router(keywords_service_router)
+app.include_router(keywords_patents_router)
app.include_router(service_router)
diff --git a/service/src/main/inse/patents/keywords/logic.py b/service/src/main/inse/patents/keywords/logic.py
index 6daeabe4..28d95c6e 100644
--- a/service/src/main/inse/patents/keywords/logic.py
+++ b/service/src/main/inse/patents/keywords/logic.py
@@ -3,9 +3,15 @@ from __future__ import annotations
import asyncio
import logging
+import math
+import re
import httpx
+from inse.patents.authors.ipc_openalex_mapping import (
+ MappedOpenAlexTopic,
+ normalize_openalex_id,
+)
from inse.patents.common import model
from inse.patents.common.elastic_search_client import (
BasePatentSearchClient,
@@ -16,8 +22,12 @@ from inse.patents.common.parsing import (
enrich_patents_classifications,
parse_epo_hits,
parse_uspto_hits,
+ patent_map_key,
+)
+from inse.patents.ipc_lookup import (
+ extract_ipc_symbol,
+ parse_ipc_symbol,
)
-from inse.patents.ipc_lookup import extract_ipc_symbol
from inse.patents.ipc_search_client import IpcSearchClient
from inse.patents.keywords.model import (
KeywordPatentMatch,
@@ -26,19 +36,100 @@ from inse.patents.keywords.model import (
PatentsByKeywordsResponse,
)
from inse.patents.keywords.reverse_lookup import IpcCodeMatch, KeywordIpcReverseLookup
-from inse.patents.keywords.search_queries import (
- IpcPatentSearchQueries,
- _search_terms_for_symbol,
-)
-from inse.patents.patents_openalex_keywords.ipc_entries import normalize_symbol
+from inse.patents.keywords.search_queries import IpcPatentSearchQueries
+from inse.patents.patents_openalex_keywords.ipc_entries import infer_subclass, normalize_symbol
+from inse.patents.patents_openalex_keywords.resolver import PatentOpenAlexMappingResolver
logger = logging.getLogger(__name__)
_MAX_PATENTS = 100
-_MAX_IPC_CODES = 40
-_MAX_PATENT_SEARCH_TERMS = 12
-_MIN_IPC_MATCH_SCORE = 0.45
-_MIN_PATENT_MATCH_SCORE = 0.35
+_MAX_IPC_CODES = 20
+_MAX_IPC_CODES_PER_KEYWORD = 2
+_MAX_PATENT_SEARCH_TERMS = 10
+_MAX_SEARCH_KEYWORDS = 10
+_MIN_KEYWORD_RELEVANCE = 0.0
+_MIN_IPC_MATCH_SCORE = 0.65
+_MIN_PATENT_MATCH_SCORE = 0.50
+_SEARCHABLE_IPC_LEVELS = frozenset({"subgroup", "group", "subclass"})
+# Soft field overlap for natural-science / engineering patent domains.
+_SOFT_MATCH_FIELD_NAMES = frozenset(
+ {
+ "engineering",
+ "computer science",
+ "physical sciences",
+ "physics and astronomy",
+ "materials science",
+ "environmental science",
+ "chemical engineering",
+ "chemistry",
+ "earth and planetary sciences",
+ "medicine",
+ "biochemistry, genetics and molecular biology",
+ "immunology and microbiology",
+ }
+)
+_PREFERRED_KEYWORD_LEVELS = frozenset({"coarse", "fine", "custom"})
+_NON_TECHNICAL_FIELD_NAMES = frozenset(
+ {
+ "social sciences",
+ "arts and humanities",
+ "law",
+ "business, management and accounting",
+ }
+)
+_COMPATIBLE_FIELDS: dict[str, frozenset[str]] = {
+ "chemistry": frozenset(
+ {"chemistry", "chemical engineering", "materials science"}
+ ),
+ "chemical engineering": frozenset(
+ {"chemical engineering", "chemistry", "materials science"}
+ ),
+ "materials science": frozenset(
+ {"materials science", "chemistry", "chemical engineering", "engineering"}
+ ),
+ "computer science": frozenset({"computer science", "engineering"}),
+ "engineering": frozenset(
+ {"engineering", "computer science", "materials science"}
+ ),
+ "physical sciences": frozenset(
+ {"physical sciences", "physics and astronomy", "chemistry", "materials science"}
+ ),
+ "physics and astronomy": frozenset(
+ {"physics and astronomy", "physical sciences", "materials science"}
+ ),
+ "biochemistry, genetics and molecular biology": frozenset(
+ {
+ "biochemistry, genetics and molecular biology",
+ "chemistry",
+ "medicine",
+ }
+ ),
+ "medicine": frozenset(
+ {
+ "medicine",
+ "biochemistry, genetics and molecular biology",
+ "immunology and microbiology",
+ }
+ ),
+}
+_TEXT_STOPWORDS = frozenset(
+ {
+ "and",
+ "the",
+ "of",
+ "in",
+ "for",
+ "und",
+ "der",
+ "die",
+ "das",
+ "von",
+ "medicine",
+ "medical",
+ "science",
+ "sciences",
+ }
+)
def _ipc_section(symbol: str) -> str:
@@ -57,18 +148,26 @@ def _dominant_ipc_sections(ipc_matches: list[IpcCodeMatch], limit: int = 2) -> s
return {section for section, _ in ranked[:limit]}
+def _prefer_searchable_ipc_levels(ipc_matches: list[IpcCodeMatch]) -> list[IpcCodeMatch]:
+ searchable = [
+ match for match in ipc_matches if match.ipc_level in _SEARCHABLE_IPC_LEVELS
+ ]
+ return searchable if searchable else ipc_matches
+
+
def _filter_ipc_matches_for_search(ipc_matches: list[IpcCodeMatch]) -> list[IpcCodeMatch]:
if not ipc_matches:
return []
+ ipc_matches = _prefer_searchable_ipc_levels(ipc_matches)
ranked = sorted(ipc_matches, key=lambda match: match.match_score, reverse=True)
strong = [
match
for match in ranked
- if match.match_score >= _MIN_IPC_MATCH_SCORE or match.match_type == "heuristic"
+ if match.match_score >= _MIN_IPC_MATCH_SCORE
]
if not strong:
- strong = ranked[:8]
+ return []
dominant_sections = _dominant_ipc_sections(strong)
filtered: list[IpcCodeMatch] = []
@@ -77,10 +176,6 @@ def _filter_ipc_matches_for_search(ipc_matches: list[IpcCodeMatch]) -> list[IpcC
key = (match.ipc_level, match.ipc_symbol)
if key in seen:
continue
- if match.match_type == "heuristic":
- filtered.append(match)
- seen.add(key)
- continue
if match.match_score >= 0.8:
filtered.append(match)
seen.add(key)
@@ -89,215 +184,420 @@ def _filter_ipc_matches_for_search(ipc_matches: list[IpcCodeMatch]) -> list[IpcC
filtered.append(match)
seen.add(key)
- return filtered or strong[:12]
+ return filtered
-def _active_heuristic_prefixes(ipc_matches: list[IpcCodeMatch]) -> set[str]:
- prefixes: set[str] = set()
- for match in ipc_matches:
- if match.match_type != "heuristic":
- continue
- symbol = normalize_symbol(match.ipc_symbol)
- if not symbol:
- continue
- for prefix in (
- "A61",
- "B01",
- "C01",
- "C07",
- "C08",
- "C09",
- "C10",
- "C12",
- "G01N",
- "G06",
- "B60",
- "F02",
- ):
- if symbol.startswith(prefix):
- prefixes.add(prefix)
- return prefixes
+def _limit_matches_per_keyword(
+ matches: list[IpcCodeMatch],
+ limit: int = _MAX_IPC_CODES_PER_KEYWORD,
+) -> list[IpcCodeMatch]:
+ grouped: dict[str, list[IpcCodeMatch]] = {}
+ for match in matches:
+ grouped.setdefault(match.source_keyword.casefold(), []).append(match)
+ result: list[IpcCodeMatch] = []
+ for keyword_matches in grouped.values():
+ keyword_matches.sort(key=lambda match: match.match_score, reverse=True)
+ result.extend(keyword_matches[:limit])
-def _symbol_matches_heuristic_prefixes(symbol: str, prefixes: set[str]) -> bool:
- normalized = normalize_symbol(symbol)
- return any(normalized.startswith(prefix) for prefix in prefixes)
-
-
-def _ipc_search_domain(symbol: str) -> str:
- normalized = normalize_symbol(symbol)
- if normalized.startswith("A61"):
- return "medicine"
- if (
- normalized.startswith("C")
- or normalized.startswith("B01")
- or normalized.startswith("G01N")
- ):
- return "chemistry"
- if normalized.startswith("B60") or normalized.startswith("F02"):
- return "automotive"
- if normalized.startswith("G06"):
- return "cs_ai"
- return "other"
+ return sorted(result, key=lambda match: match.match_score, reverse=True)
def _term_from_ipc_match(match: IpcCodeMatch) -> str | None:
- from inse.patents.patents_openalex_keywords.ipc_entries import infer_subclass
+ symbol = normalize_symbol(match.ipc_symbol)
+ if not symbol:
+ return None
- return infer_subclass(normalize_symbol(match.ipc_symbol))
-
-
-def _interleave_ipc_matches(
- matches: list[IpcCodeMatch],
- *,
- limit: int,
-) -> list[IpcCodeMatch]:
- from collections import defaultdict
-
- by_domain: dict[str, list[IpcCodeMatch]] = defaultdict(list)
- for match in matches:
- by_domain[_ipc_search_domain(match.ipc_symbol)].append(match)
-
- if len(by_domain) <= 1:
- return matches[:limit]
-
- ordered: list[IpcCodeMatch] = []
- seen: set[tuple[str, str]] = set()
- queues = list(by_domain.values())
- while len(ordered) < limit and queues:
- progressed = False
- for queue in list(queues):
- if len(ordered) >= limit:
- break
- while queue:
- match = queue.pop(0)
- key = (match.ipc_level, match.ipc_symbol)
- if key in seen:
- continue
- seen.add(key)
- ordered.append(match)
- progressed = True
- break
- queues = [queue for queue in queues if queue]
- if not progressed:
- break
- return ordered
-
-
-def _balanced_patent_matches(
- scored: list[KeywordPatentMatch],
- limit: int,
-) -> list[KeywordPatentMatch]:
- from collections import defaultdict
-
- by_domain: dict[str, list[KeywordPatentMatch]] = defaultdict(list)
- for item in scored:
- domain = (
- _ipc_search_domain(item.matched_ipc_symbols[0])
- if item.matched_ipc_symbols
- else "other"
- )
- by_domain[domain].append(item)
-
- if len(by_domain) <= 1:
- return scored[:limit]
-
- ordered: list[KeywordPatentMatch] = []
- seen_ids: set[str] = set()
- queues = list(by_domain.values())
- while len(ordered) < limit and queues:
- progressed = False
- for queue in list(queues):
- if len(ordered) >= limit:
- break
- while queue:
- item = queue.pop(0)
- if item.patent.patent_id in seen_ids:
- continue
- seen_ids.add(item.patent.patent_id)
- ordered.append(item)
- progressed = True
- break
- queues = [queue for queue in queues if queue]
- if not progressed:
- break
- return ordered
+ return infer_subclass(symbol)
def _patent_search_terms(ipc_matches: list[IpcCodeMatch]) -> list[str]:
filtered = _filter_ipc_matches_for_search(ipc_matches)
- active_prefixes = _active_heuristic_prefixes(ipc_matches)
- if active_prefixes:
- filtered = [
- match
- for match in filtered
- if _symbol_matches_heuristic_prefixes(match.ipc_symbol, active_prefixes)
- ]
-
- filtered = _interleave_ipc_matches(filtered, limit=_MAX_PATENT_SEARCH_TERMS)
+ filtered = sorted(filtered, key=lambda match: match.match_score, reverse=True)
terms: list[str] = []
seen: set[str] = set()
for match in filtered:
- subclass = _term_from_ipc_match(match)
- if not subclass or subclass in seen:
+ if match.ipc_level not in _SEARCHABLE_IPC_LEVELS:
continue
- seen.add(subclass)
- terms.append(subclass)
+ term = _term_from_ipc_match(match)
+ if not term or term in seen:
+ continue
+ seen.add(term)
+ terms.append(term)
if len(terms) >= _MAX_PATENT_SEARCH_TERMS:
break
return terms
-def _ipc_terms_overlap(patent_code: str, mapped_symbol: str) -> bool:
- patent_terms = set(
- _search_terms_for_symbol(extract_ipc_symbol(patent_code) or patent_code)
- )
- mapped_terms = set(_search_terms_for_symbol(mapped_symbol))
- return bool(patent_terms & mapped_terms)
+def _normalize_ipc_code(code: str) -> str:
+ extracted = extract_ipc_symbol(code) or code
+ return normalize_symbol(extracted)
-def _patent_code_matches_symbol(patent_code: str, mapped_symbol: str) -> bool:
- if _ipc_terms_overlap(patent_code, mapped_symbol):
- return True
- normalized_patent = normalize_symbol(extract_ipc_symbol(patent_code))
- normalized_mapped = normalize_symbol(mapped_symbol)
+def _ipc_main_group(symbol: str) -> str | None:
+ parsed = parse_ipc_symbol(symbol)
+ if parsed is None or not parsed.main_group:
+ return None
+
+ return normalize_symbol(parsed.main_group)
+
+
+def _ipc_hierarchy_quality(
+ patent_code: str,
+ mapped_symbol: str,
+) -> float:
+ normalized_patent = _normalize_ipc_code(patent_code)
+ normalized_mapped = _normalize_ipc_code(mapped_symbol)
+
if not normalized_patent or not normalized_mapped:
+ return 0.0
+
+ if normalized_patent == normalized_mapped:
+ return 1.0
+
+ patent_group = _ipc_main_group(normalized_patent)
+ mapped_group = _ipc_main_group(normalized_mapped)
+
+ if patent_group and mapped_group and patent_group == mapped_group:
+ return 0.90
+
+ patent_subclass = infer_subclass(normalized_patent)
+ mapped_subclass = infer_subclass(normalized_mapped)
+
+ if (
+ patent_subclass
+ and mapped_subclass
+ and patent_subclass == mapped_subclass
+ ):
+ return 0.75
+
+ return 0.0
+
+
+def _ipc_hierarchy_level(
+ patent_code: str,
+ mapped_symbol: str,
+) -> str | None:
+ quality = _ipc_hierarchy_quality(patent_code, mapped_symbol)
+ if quality >= 1.0:
+ return "exact"
+ if quality >= 0.90:
+ return "main_group"
+ if quality >= 0.75:
+ return "subclass"
+ return None
+
+
+def _keyword_level(item: KeywordPatentSearchItem) -> str:
+ return (item.keyword_level or "").strip().casefold()
+
+
+def _keyword_is_patent_searchable(item: KeywordPatentSearchItem) -> bool:
+ if not item.keyword.strip():
return False
+
+ topic_id = normalize_openalex_id(item.topic_id)
+ if not topic_id:
+ return False
+
+ field_name = _normalized_field_name(item.field_name)
+ if field_name in _NON_TECHNICAL_FIELD_NAMES:
+ return False
+
+ return True
+
+
+def _sort_and_limit_keywords(
+ items: list[KeywordPatentSearchItem],
+) -> list[KeywordPatentSearchItem]:
+ ranked = sorted(items, key=lambda item: item.relevance_score, reverse=True)
+ return ranked[:_MAX_SEARCH_KEYWORDS]
+
+
+def _filter_keywords_for_patent_search(
+ items: list[KeywordPatentSearchItem],
+) -> list[KeywordPatentSearchItem]:
+ """Prefer coarse/fine/custom keywords; ignore broad when specifics exist."""
+ searchable = [item for item in items if _keyword_is_patent_searchable(item)]
+ if not searchable:
+ return []
+
+ preferred = [
+ item
+ for item in searchable
+ if _keyword_level(item) in _PREFERRED_KEYWORD_LEVELS
+ ]
+ if preferred:
+ return _sort_and_limit_keywords(preferred)
+
+ non_broad = [
+ item for item in searchable if _keyword_level(item) != "broad"
+ ]
+ if non_broad:
+ return _sort_and_limit_keywords(non_broad)
+
+ return _sort_and_limit_keywords(searchable)
+
+
+def _normalized_field_name(name: str | None) -> str:
+ return (name or "").strip().casefold()
+
+
+def _patent_has_g06_code(patent: model.PatentEntry) -> bool:
+ for code in (*patent.ipc, *patent.cpc):
+ symbol = normalize_symbol(extract_ipc_symbol(code) or code)
+ if symbol.startswith("G06"):
+ return True
+ return False
+
+
+def _compatible_patent_fields(keyword_field: str) -> frozenset[str]:
+ return _COMPATIBLE_FIELDS.get(keyword_field, frozenset({keyword_field}))
+
+
+def _keyword_overlap_criteria(
+ items: list[KeywordPatentSearchItem],
+) -> tuple[frozenset[str], frozenset[str], frozenset[str]]:
+ topic_ids: set[str] = set()
+ subfield_names: set[str] = set()
+ soft_field_names: set[str] = set()
+ for item in items:
+ topic_id = normalize_openalex_id(item.topic_id)
+ if topic_id:
+ topic_ids.add(topic_id)
+ subfield_name = (item.subfield_name or "").strip()
+ if subfield_name:
+ subfield_names.add(subfield_name.casefold())
+ field_name = _normalized_field_name(item.field_name)
+ if field_name in _SOFT_MATCH_FIELD_NAMES:
+ soft_field_names.add(field_name)
return (
- normalized_patent.startswith(normalized_mapped)
- or normalized_mapped.startswith(normalized_patent)
+ frozenset(topic_ids),
+ frozenset(subfield_names),
+ frozenset(soft_field_names),
+ )
+
+
+def _topics_overlap_keywords(
+ patent_topics: list[MappedOpenAlexTopic],
+ keyword_topic_ids: frozenset[str],
+ keyword_subfield_names: frozenset[str],
+ keyword_soft_field_names: frozenset[str],
+ *,
+ patent: model.PatentEntry | None = None,
+) -> bool:
+ if (
+ not keyword_topic_ids
+ and not keyword_subfield_names
+ and not keyword_soft_field_names
+ ):
+ return True
+
+ if not patent_topics:
+ return False
+
+ patent_topic_ids = {
+ topic_id
+ for mapped in patent_topics
+ if (topic_id := normalize_openalex_id(mapped.topic_id))
+ }
+ if keyword_topic_ids & patent_topic_ids:
+ return True
+
+ patent_subfield_names = {
+ (mapped.subfield_name or "").strip().casefold()
+ for mapped in patent_topics
+ if (mapped.subfield_name or "").strip()
+ }
+ if keyword_subfield_names & patent_subfield_names:
+ return True
+
+ if keyword_soft_field_names:
+ patent_field_names = {
+ _normalized_field_name(mapped.field_name)
+ for mapped in patent_topics
+ if mapped.field_name
+ }
+ for keyword_field in keyword_soft_field_names:
+ if patent_field_names & _compatible_patent_fields(keyword_field):
+ return True
+ if (
+ patent is not None
+ and _patent_has_g06_code(patent)
+ and keyword_soft_field_names & {"engineering", "computer science"}
+ ):
+ return True
+
+ return False
+
+
+def _text_search_terms(items: list[KeywordPatentSearchItem]) -> list[str]:
+ terms: list[str] = []
+ seen: set[str] = set()
+
+ for item in items:
+ for value in (
+ item.keyword,
+ item.topic_display_name,
+ item.subfield_name,
+ ):
+ normalized = (value or "").strip().casefold()
+ if not normalized:
+ continue
+
+ words = re.findall(r"[a-zäöüß]{4,}", normalized)
+
+ for word in words:
+ if word in _TEXT_STOPWORDS or word in seen:
+ continue
+ seen.add(word)
+ terms.append(word)
+
+ return terms
+
+
+def _text_overlap_score(
+ patent: model.PatentEntry,
+ search_terms: list[str],
+) -> float:
+ text = " ".join(
+ part
+ for part in [patent.title or "", patent.abstract or ""]
+ if part
+ ).casefold()
+
+ if not search_terms or not text.strip():
+ return 0.0
+
+ hits = sum(1 for term in search_terms if term in text)
+ return min(hits / 3, 1.0)
+
+
+def _patent_passes_relevance_gate(
+ patent_topics: list[MappedOpenAlexTopic],
+ *,
+ keyword_topic_ids: frozenset[str],
+ keyword_subfield_names: frozenset[str],
+ keyword_soft_field_names: frozenset[str],
+ patent: model.PatentEntry,
+ text_score: float,
+) -> bool:
+ has_topic_match = bool(patent_topics) and _topics_overlap_keywords(
+ patent_topics,
+ keyword_topic_ids,
+ keyword_subfield_names,
+ keyword_soft_field_names,
+ patent=patent,
+ )
+ return has_topic_match or text_score > 0.0
+
+
+def _compute_final_score(
+ ipc_score: float,
+ topic_score: float,
+ text_score: float,
+) -> float:
+ return round(
+ 0.60 * ipc_score
+ + 0.25 * topic_score
+ + 0.15 * text_score,
+ 4,
+ )
+
+
+def _score_ipc_match(
+ patent: model.PatentEntry,
+ ipc_matches: list[IpcCodeMatch],
+) -> tuple[float, list[str], list[str]] | None:
+ searchable_matches = [
+ match
+ for match in ipc_matches
+ if match.ipc_level in _SEARCHABLE_IPC_LEVELS
+ ] or ipc_matches
+
+ best_score = 0.0
+ best_keywords: set[str] = set()
+ best_symbols: set[str] = set()
+
+ patent_codes = [
+ normalized
+ for code in (*patent.ipc, *patent.cpc)
+ if (normalized := _normalize_ipc_code(code))
+ ]
+
+ for ipc_match in searchable_matches:
+ for patent_code in patent_codes:
+ hierarchy_quality = _ipc_hierarchy_quality(
+ patent_code,
+ ipc_match.ipc_symbol,
+ )
+ if hierarchy_quality <= 0:
+ continue
+
+ candidate_score = ipc_match.match_score * hierarchy_quality
+
+ if candidate_score > best_score:
+ best_score = candidate_score
+ best_keywords = {ipc_match.source_keyword}
+ best_symbols = {ipc_match.ipc_symbol}
+ elif math.isclose(
+ candidate_score,
+ best_score,
+ rel_tol=1e-9,
+ abs_tol=1e-9,
+ ):
+ best_keywords.add(ipc_match.source_keyword)
+ best_symbols.add(ipc_match.ipc_symbol)
+
+ if best_score <= 0:
+ return None
+
+ return (
+ round(best_score, 4),
+ sorted(best_keywords),
+ sorted(best_symbols),
)
def _score_patent(
patent: model.PatentEntry,
ipc_matches: list[IpcCodeMatch],
+ *,
+ patent_topics: list[MappedOpenAlexTopic] | None = None,
+ keyword_topic_ids: frozenset[str] | None = None,
+ keyword_subfield_names: frozenset[str] | None = None,
+ keyword_soft_field_names: frozenset[str] | None = None,
+ search_keywords: list[KeywordPatentSearchItem] | None = None,
) -> tuple[float, list[str], list[str]] | None:
- best_score = 0.0
- matched_keywords: set[str] = set()
- matched_symbols: set[str] = set()
+ ipc_result = _score_ipc_match(patent, ipc_matches)
+ if ipc_result is None:
+ return None
+ ipc_score, matched_keywords, matched_symbols = ipc_result
- patent_codes = [
- normalize_symbol(extract_ipc_symbol(code))
- for code in (*patent.ipc, *patent.cpc)
- if extract_ipc_symbol(code)
- ]
+ text_score = 0.0
+ if search_keywords is not None:
+ text_score = _text_overlap_score(
+ patent,
+ _text_search_terms(search_keywords),
+ )
- for ipc_match in ipc_matches:
- for patent_code in patent_codes:
- if _patent_code_matches_symbol(patent_code, ipc_match.ipc_symbol):
- if ipc_match.match_score > best_score:
- best_score = ipc_match.match_score
- matched_keywords.add(ipc_match.source_keyword)
- matched_symbols.add(ipc_match.ipc_symbol)
+ has_topic_match = bool(patent_topics) and _topics_overlap_keywords(
+ patent_topics or [],
+ keyword_topic_ids or frozenset(),
+ keyword_subfield_names or frozenset(),
+ keyword_soft_field_names or frozenset(),
+ patent=patent,
+ )
- if best_score <= 0:
+ if not has_topic_match and text_score == 0.0:
return None
+ topic_score = 1.0 if has_topic_match else 0.0
+
return (
- best_score,
- sorted(matched_keywords),
- sorted(matched_symbols),
+ _compute_final_score(ipc_score, topic_score, text_score),
+ matched_keywords,
+ matched_symbols,
)
@@ -307,33 +607,78 @@ async def get_patents_by_keywords(
reverse_lookup: KeywordIpcReverseLookup | None = None,
search_client: BasePatentSearchClient | None = None,
ipc_client: IpcSearchClient | None = None,
+ mapping_resolver: PatentOpenAlexMappingResolver | None = None,
) -> PatentsByKeywordsResponse:
lookup = reverse_lookup or KeywordIpcReverseLookup()
client = search_client or BasePatentSearchClient()
ipc_search = ipc_client or IpcSearchClient()
+ resolver = mapping_resolver or PatentOpenAlexMappingResolver()
queries = IpcPatentSearchQueries()
- ipc_matches = await lookup.lookup_ipc_codes(
- request.keywords,
- max_codes=_MAX_IPC_CODES,
- )
- ipc_matches = _filter_ipc_matches_for_search(ipc_matches)
- if not ipc_matches:
+ search_keywords = _filter_keywords_for_patent_search(request.keywords)
+ if not search_keywords:
logger.info(
- "Keyword patent search: no IPC codes for keywords %s",
+ "Keyword patent search: no searchable keywords in %s",
[item.keyword for item in request.keywords],
)
return PatentsByKeywordsResponse(patent_count=0, patents=[])
+ logger.info(
+ "Keyword patent search: using keywords=%s (from %d requested)",
+ [
+ {
+ "keyword": item.keyword,
+ "level": item.keyword_level,
+ "relevance_score": item.relevance_score,
+ "field_name": item.field_name,
+ }
+ for item in search_keywords
+ ],
+ len(request.keywords),
+ )
+ keyword_topic_ids, keyword_subfield_names, keyword_soft_field_names = (
+ _keyword_overlap_criteria(search_keywords)
+ )
+
+ ipc_matches = await lookup.lookup_ipc_codes(
+ search_keywords,
+ max_codes=_MAX_IPC_CODES,
+ )
+ ipc_matches = _filter_ipc_matches_for_search(ipc_matches)
+ ipc_matches = _limit_matches_per_keyword(ipc_matches)
+ logger.info(
+ "Keyword patent search: search_keywords=%s ipc_matches=%s",
+ [item.keyword for item in search_keywords],
+ [
+ {
+ "symbol": match.ipc_symbol,
+ "level": match.ipc_level,
+ "score": match.match_score,
+ "keyword": match.source_keyword,
+ }
+ for match in ipc_matches
+ ],
+ )
+ if not ipc_matches:
+ logger.info(
+ "Keyword patent search: no IPC codes after filtering for keywords %s",
+ [item.keyword for item in search_keywords],
+ )
+ return PatentsByKeywordsResponse(patent_count=0, patents=[])
+
symbols = _patent_search_terms(ipc_matches)
+ text_search_terms = _text_search_terms(search_keywords)
+ logger.info("Keyword patent search: patent_search_terms=%s", symbols)
if not symbols:
return PatentsByKeywordsResponse(patent_count=0, patents=[])
try:
epo_data, uspto_data = await asyncio.gather(
- client.search_epo(queries.epo_query_by_ipc_terms(symbols, size=_MAX_PATENTS)),
+ client.search_epo(
+ queries.epo_query_by_ipc_symbols(symbols, size=_MAX_PATENTS)
+ ),
client.search_uspto(
- queries.uspto_query_by_ipc_terms(symbols, size=_MAX_PATENTS)
+ queries.uspto_query_by_ipc_symbols(symbols, size=_MAX_PATENTS)
),
)
except MissingApiKeyError:
@@ -346,15 +691,64 @@ async def get_patents_by_keywords(
raw_patents = deduplicate_patents(
parse_epo_hits(epo_data) + parse_uspto_hits(uspto_data)
)
+ logger.info("Keyword patent search: raw_patents=%d", len(raw_patents))
+ patent_topics_by_key = await resolver.resolve_topics_for_patents(raw_patents)
scored: list[KeywordPatentMatch] = []
+ filtered_by_ipc = 0
+ filtered_by_relevance_gate = 0
+ filtered_by_min_score = 0
for patent in raw_patents:
- result = _score_patent(patent, ipc_matches)
- if result is None:
+ patent_topics = patent_topics_by_key.get(patent_map_key(patent), [])
+ ipc_result = _score_ipc_match(patent, ipc_matches)
+ if ipc_result is None:
+ filtered_by_ipc += 1
continue
- score, matched_keywords, matched_symbols = result
+ ipc_score, matched_keywords, matched_symbols = ipc_result
+
+ has_topic_match = bool(patent_topics) and _topics_overlap_keywords(
+ patent_topics,
+ keyword_topic_ids,
+ keyword_subfield_names,
+ keyword_soft_field_names,
+ patent=patent,
+ )
+
+ text_score = _text_overlap_score(patent, text_search_terms)
+
+ if not has_topic_match and text_score == 0.0:
+ filtered_by_relevance_gate += 1
+ continue
+
+ topic_score = 1.0 if has_topic_match else 0.0
+
+ score = _compute_final_score(ipc_score, topic_score, text_score)
if score < _MIN_PATENT_MATCH_SCORE:
+ filtered_by_min_score += 1
continue
+
+ hierarchy_levels = sorted(
+ {
+ level
+ for symbol in matched_symbols
+ for code in (*patent.ipc, *patent.cpc)
+ if (level := _ipc_hierarchy_level(code, symbol))
+ }
+ )
+ logger.info(
+ "Patent candidate: id=%s title=%s ipc_score=%.4f "
+ "topic_score=%.4f text_score=%.4f final_score=%.4f "
+ "hierarchy_levels=%s matched_keywords=%s matched_symbols=%s",
+ patent.patent_id,
+ patent.title,
+ ipc_score,
+ topic_score,
+ text_score,
+ score,
+ hierarchy_levels,
+ matched_keywords,
+ matched_symbols,
+ )
scored.append(
KeywordPatentMatch(
patent=patent,
@@ -364,6 +758,15 @@ async def get_patents_by_keywords(
)
)
+ logger.info(
+ "Keyword patent search: filtered_by_ipc=%d filtered_by_relevance_gate=%d "
+ "filtered_by_min_score=%d final_patents=%d",
+ filtered_by_ipc,
+ filtered_by_relevance_gate,
+ filtered_by_min_score,
+ len(scored),
+ )
+
scored.sort(
key=lambda item: (
item.match_score,
@@ -372,7 +775,7 @@ async def get_patents_by_keywords(
),
reverse=True,
)
- scored = _balanced_patent_matches(scored, _MAX_PATENTS)
+ scored = scored[:_MAX_PATENTS]
patents = [item.patent for item in scored]
await enrich_patents_classifications(patents, ipc_search)
@@ -395,6 +798,7 @@ def keyword_items_from_entries(
items.append(
KeywordPatentSearchItem(
keyword=str(llm.get("keyword") or "").strip(),
+ keyword_level=entry.get("keyword_level"),
topic_id=topic.get("id"),
topic_display_name=topic.get("display_name"),
subfield_name=(topic.get("subfield") or {}).get("display_name"),
diff --git a/service/src/main/inse/patents/keywords/model.py b/service/src/main/inse/patents/keywords/model.py
index 0c435b1c..fe274cad 100644
--- a/service/src/main/inse/patents/keywords/model.py
+++ b/service/src/main/inse/patents/keywords/model.py
@@ -1,10 +1,18 @@
+from typing import Literal
+
from pydantic import BaseModel, Field
from inse.patents.common.model import PatentEntry
+KeywordPatentLevel = Literal["broad", "coarse", "fine", "custom"]
+
class KeywordPatentSearchItem(BaseModel):
keyword: str = Field(description="Extracted keyword text.")
+ keyword_level: KeywordPatentLevel | None = Field(
+ default=None,
+ description="Keyword granularity from extraction UI: broad, coarse, fine, or custom.",
+ )
topic_id: str | None = Field(
default=None,
description="OpenAlex topic id from keyword enrichment, if available.",
diff --git a/service/src/main/inse/patents/keywords/reverse_lookup.py b/service/src/main/inse/patents/keywords/reverse_lookup.py
index 13b9e097..60806eba 100644
--- a/service/src/main/inse/patents/keywords/reverse_lookup.py
+++ b/service/src/main/inse/patents/keywords/reverse_lookup.py
@@ -10,7 +10,6 @@ import httpx
from inse.patents.authors.ipc_openalex_mapping import (
_load_topic_cache,
- load_ipc_openalex_mapping,
normalize_openalex_id,
)
from inse.patents.common.elastic_search_client import MissingApiKeyError
@@ -22,82 +21,6 @@ from inse.patents.patents_openalex_keywords.resolver import load_patents_openale
logger = logging.getLogger(__name__)
-_CS_AI_IPC_SUBCLASSES = ("G06N", "G06F", "G06T", "G06V", "G06K", "G06Q")
-_AUTOMOTIVE_IPC_SUBCLASSES = (
- "B60L",
- "B60K",
- "B60W",
- "B60R",
- "B60H",
- "B60Q",
- "B60M",
- "F02M",
- "F02D",
-)
-_MEDICINE_IPC_SUBCLASSES = ("A61B", "A61K", "A61M", "A61P", "A61N", "A61F")
-_CHEMISTRY_IPC_SUBCLASSES_GENERAL = ("C07C", "C01B", "C08L", "G01N")
-_CHEMISTRY_IPC_SUBCLASSES_ORGANIC = ("C07C", "C07D")
-_CHEMISTRY_IPC_SUBCLASSES_INORGANIC = ("C01B", "C01G")
-_CHEMISTRY_IPC_SUBCLASSES_POLYMER = ("C08L", "C08G")
-_CHEMISTRY_IPC_SUBCLASSES_BIOCHEM = ("C12N", "C12Q")
-_CHEMISTRY_IPC_SUBCLASSES_ANALYTICAL = ("G01N",)
-_CHEMISTRY_IPC_SUBCLASSES_PROCESS = ("B01J", "B01D")
-_CHEMISTRY_RELATED_SUBFIELDS = frozenset(
- {
- "organic chemistry",
- "inorganic chemistry",
- "physical and theoretical chemistry",
- "analytical chemistry",
- "materials chemistry",
- "environmental chemistry",
- "biochemistry",
- "process chemistry and technology",
- "spectroscopy",
- "clinical biochemistry",
- "geochemistry and petrology",
- "pharmaceutical science",
- }
-)
-_CHEMISTRY_RELATED_FIELDS = frozenset(
- {
- "chemistry",
- "chemical engineering",
- }
-)
-_MEDICINE_RELATED_SUBFIELDS = frozenset(
- {
- "medicine",
- "public health",
- "health professions",
- "pharmacology",
- "surgery",
- "oncology",
- "radiology, nuclear medicine and imaging",
- "cardiology and cardiovascular medicine",
- "epidemiology",
- "immunology",
- }
-)
-_MEDICINE_RELATED_FIELDS = frozenset(
- {
- "medicine",
- "health professions",
- "nursing",
- "pharmacology, toxicology and pharmaceutics",
- "biochemistry, genetics and molecular biology",
- }
-)
-_AI_RELATED_SUBFIELDS = frozenset(
- {
- "artificial intelligence",
- "computer vision and pattern recognition",
- "signal processing",
- "information systems and management",
- "human-computer interaction",
- "software",
- }
-)
-
_LEVEL_WEIGHTS = {
"subgroup": 1.0,
"group": 0.92,
@@ -135,14 +58,33 @@ def _topic_id_variants(topic_id: str | None) -> list[str]:
return list(dict.fromkeys(variants))
+def _topic_id_variants_for_item(item: KeywordPatentSearchItem) -> list[str]:
+ variants = _topic_id_variants(item.topic_id)
+ if variants:
+ return variants
+
+ display_name = (item.topic_display_name or "").strip()
+ if display_name:
+ info = _load_topic_cache().get(display_name)
+ if info and info.get("topic_id"):
+ return _topic_id_variants(str(info["topic_id"]))
+
+ return []
+
+
def _weighted_score(
ipc_level: str,
base_score: float,
relevance_score: float,
) -> float:
+ """Combine IPC mapping confidence with IPC hierarchy level.
+
+ LLM keyword relevance is not applied here: broad keywords often carry
+ relevance_score 0.0 while still mapping to valid OpenAlex topics.
+ """
+ _ = relevance_score
level_weight = _LEVEL_WEIGHTS.get(ipc_level, 0.7)
- relevance = max(relevance_score, 0.1)
- return round(base_score * level_weight * relevance, 4)
+ return round(base_score * level_weight, 4)
@lru_cache(maxsize=1)
@@ -194,8 +136,6 @@ def _build_json_inverted_index() -> tuple[
def clear_reverse_lookup_caches() -> None:
_build_json_inverted_index.cache_clear()
- _topic_id_to_hierarchy.cache_clear()
- _legacy_indices.cache_clear()
def _merge_ipc_match(
@@ -228,7 +168,7 @@ def _matches_from_doc(
return []
keyword_variants = set(_keyword_variants(item.keyword))
- topic_variants = set(_topic_id_variants(item.topic_id))
+ topic_variants = set(_topic_id_variants_for_item(item))
topic_name = (item.topic_display_name or "").strip().casefold()
found: list[IpcCodeMatch] = []
@@ -293,7 +233,7 @@ def _json_lookup(items: list[KeywordPatentSearchItem]) -> list[IpcCodeMatch]:
merged, level, symbol, score, item.keyword, match_type
)
- for variant in _topic_id_variants(item.topic_id):
+ for variant in _topic_id_variants_for_item(item):
for level, symbol, base_score, source_keyword, match_type in by_topic.get(
variant, []
):
@@ -305,285 +245,7 @@ def _json_lookup(items: list[KeywordPatentSearchItem]) -> list[IpcCodeMatch]:
return sorted(merged.values(), key=lambda match: match.match_score, reverse=True)
-@lru_cache(maxsize=1)
-def _topic_id_to_hierarchy() -> dict[str, dict[str, str]]:
- result: dict[str, dict[str, str]] = {}
- for info in _load_topic_cache().values():
- topic_id = info.get("topic_id")
- if not topic_id:
- continue
- for variant in _topic_id_variants(str(topic_id)):
- result[variant] = info
- return result
-
-
-@lru_cache(maxsize=1)
-def _legacy_indices() -> tuple[
- dict[str, list[tuple[str, str, float]]],
- dict[str, list[tuple[str, str, float]]],
- dict[str, list[tuple[str, str, float]]],
- dict[str, list[tuple[str, str, float]]],
-]:
- """topic_id / topic_name / subfield / field -> (level, symbol, score)."""
- by_topic_id: dict[str, list[tuple[str, str, float]]] = {}
- by_topic_name: dict[str, list[tuple[str, str, float]]] = {}
- by_subfield: dict[str, list[tuple[str, str, float]]] = {}
- by_field: dict[str, list[tuple[str, str, float]]] = {}
- cache = _load_topic_cache()
-
- mapping = load_ipc_openalex_mapping()
- for level, entries in mapping.items():
- for symbol, mapped in entries.items():
- score = 0.55
- record = (level, normalize_symbol(symbol), score)
- for variant in _topic_id_variants(mapped.topic_id):
- by_topic_id.setdefault(variant, []).append(record)
- if mapped.topic_display_name:
- by_topic_name.setdefault(
- mapped.topic_display_name.casefold(), []
- ).append(record)
-
- info = cache.get(mapped.topic_display_name or "")
- if info:
- subfield = str(info.get("subfield") or "").casefold()
- field = str(info.get("field") or "").casefold()
- if subfield:
- by_subfield.setdefault(subfield, []).append(record)
- if field:
- by_field.setdefault(field, []).append(record)
-
- return by_topic_id, by_topic_name, by_subfield, by_field
-
-
-def _hierarchy_for_item(item: KeywordPatentSearchItem) -> dict[str, str]:
- for variant in _topic_id_variants(item.topic_id):
- info = _topic_id_to_hierarchy().get(variant)
- if info:
- return info
- if item.topic_display_name:
- info = _load_topic_cache().get(item.topic_display_name)
- if info:
- return info
- return {
- "subfield": item.subfield_name or "",
- "field": item.field_name or "",
- }
-
-
-def _apply_cs_ai_heuristics(
- merged: dict[tuple[str, str], IpcCodeMatch],
- item: KeywordPatentSearchItem,
-) -> None:
- hierarchy = _hierarchy_for_item(item)
- subfield = str(hierarchy.get("subfield") or "").casefold()
- field = str(hierarchy.get("field") or "").casefold()
- if field != "computer science" and subfield not in _AI_RELATED_SUBFIELDS:
- return
-
- for symbol in _CS_AI_IPC_SUBCLASSES:
- score = _weighted_score("subclass", 0.62, item.relevance_score)
- _merge_ipc_match(
- merged,
- "subclass",
- symbol,
- score,
- item.keyword,
- "heuristic",
- )
-
-
-def _apply_automotive_heuristics(
- merged: dict[tuple[str, str], IpcCodeMatch],
- item: KeywordPatentSearchItem,
-) -> None:
- hierarchy = _hierarchy_for_item(item)
- subfield = str(hierarchy.get("subfield") or "").casefold()
- field = str(hierarchy.get("field") or "").casefold()
- keyword = item.keyword.casefold()
- automotive_keyword = any(
- token in keyword
- for token in (
- "automobil",
- "fahrzeug",
- "kraftfahr",
- "elektromob",
- "verkehr",
- "mobil",
- )
- )
- if (
- subfield != "automotive engineering"
- and field != "engineering"
- and not automotive_keyword
- ):
- return
-
- for symbol in _AUTOMOTIVE_IPC_SUBCLASSES:
- score = _weighted_score("subclass", 0.6, item.relevance_score)
- _merge_ipc_match(
- merged,
- "subclass",
- symbol,
- score,
- item.keyword,
- "heuristic",
- )
-
-
-def _chemistry_subclasses_for_keyword(keyword: str) -> tuple[str, ...]:
- normalized = keyword.casefold()
- subclasses: list[str] = []
- if any(token in normalized for token in ("anorganisch", "inorganic")):
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_INORGANIC)
- elif any(token in normalized for token in ("organisch", "organic")):
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_ORGANIC)
- if any(token in normalized for token in ("polymer", "makromolek")):
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_POLYMER)
- if any(token in normalized for token in ("biochem", "enzym", "ferment")):
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_BIOCHEM)
- if any(
- token in normalized
- for token in ("analyt", "spektroskop", "chromatograph", "spektromet")
- ):
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_ANALYTICAL)
- if any(
- token in normalized
- for token in ("verfahren", "reaktion", "katalys", "synthese", "technische chemie")
- ):
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_PROCESS)
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_ORGANIC)
- if any(
- token in normalized
- for token in ("chemie", "chemisch", "molekül", "molekul", "stoff")
- ):
- if not subclasses:
- subclasses.extend(_CHEMISTRY_IPC_SUBCLASSES_GENERAL)
- return tuple(dict.fromkeys(subclasses))
-
-
-def _apply_chemistry_heuristics(
- merged: dict[tuple[str, str], IpcCodeMatch],
- item: KeywordPatentSearchItem,
-) -> None:
- hierarchy = _hierarchy_for_item(item)
- subfield = str(hierarchy.get("subfield") or "").casefold()
- field = str(hierarchy.get("field") or "").casefold()
- subclasses = _chemistry_subclasses_for_keyword(item.keyword)
- if (
- subfield not in _CHEMISTRY_RELATED_SUBFIELDS
- and field not in _CHEMISTRY_RELATED_FIELDS
- and not subclasses
- ):
- return
-
- if not subclasses:
- subclasses = _CHEMISTRY_IPC_SUBCLASSES_GENERAL
-
- for symbol in subclasses:
- score = _weighted_score("subclass", 0.68, item.relevance_score)
- _merge_ipc_match(
- merged,
- "subclass",
- symbol,
- score,
- item.keyword,
- "heuristic",
- )
-
-
-def _apply_medicine_heuristics(
- merged: dict[tuple[str, str], IpcCodeMatch],
- item: KeywordPatentSearchItem,
-) -> None:
- hierarchy = _hierarchy_for_item(item)
- subfield = str(hierarchy.get("subfield") or "").casefold()
- field = str(hierarchy.get("field") or "").casefold()
- keyword = item.keyword.casefold()
- medicine_keyword = any(
- token in keyword
- for token in (
- "medizin",
- "krankheit",
- "therap",
- "diagnos",
- "patient",
- "klinik",
- "arzt",
- "heilkund",
- "pharma",
- "immun",
- "patholog",
- )
- )
- if (
- subfield not in _MEDICINE_RELATED_SUBFIELDS
- and field not in _MEDICINE_RELATED_FIELDS
- and not medicine_keyword
- ):
- return
-
- for symbol in _MEDICINE_IPC_SUBCLASSES:
- score = _weighted_score("subclass", 0.72, item.relevance_score)
- _merge_ipc_match(
- merged,
- "subclass",
- symbol,
- score,
- item.keyword,
- "heuristic",
- )
-
-
-def _legacy_lookup(items: list[KeywordPatentSearchItem]) -> list[IpcCodeMatch]:
- by_topic_id, by_topic_name, by_subfield, by_field = _legacy_indices()
- merged: dict[tuple[str, str], IpcCodeMatch] = {}
-
- for item in items:
- for variant in _topic_id_variants(item.topic_id):
- for level, symbol, base_score in by_topic_id.get(variant, []):
- score = _weighted_score(level, base_score, item.relevance_score)
- _merge_ipc_match(
- merged, level, symbol, score, item.keyword, "topic"
- )
-
- topic_name = (item.topic_display_name or "").strip().casefold()
- if topic_name:
- for level, symbol, base_score in by_topic_name.get(topic_name, []):
- score = _weighted_score(level, base_score, item.relevance_score)
- _merge_ipc_match(
- merged, level, symbol, score, item.keyword, "topic"
- )
-
- hierarchy = _hierarchy_for_item(item)
- subfield = str(hierarchy.get("subfield") or "").casefold()
- field = str(hierarchy.get("field") or "").casefold()
- if subfield:
- for level, symbol, base_score in by_subfield.get(subfield, []):
- score = _weighted_score(level, base_score * 0.85, item.relevance_score)
- _merge_ipc_match(
- merged, level, symbol, score, item.keyword, "subfield"
- )
- if field:
- for level, symbol, base_score in by_field.get(field, []):
- score = _weighted_score(level, base_score * 0.7, item.relevance_score)
- _merge_ipc_match(
- merged, level, symbol, score, item.keyword, "field"
- )
-
- results = sorted(merged.values(), key=lambda match: match.match_score, reverse=True)
- if not results:
- logger.info(
- "Legacy IPC lookup found no codes for %d keyword(s); "
- "build patents_openalex_keywords for better coverage.",
- len(items),
- )
- return results
-
-
-def _finalize_ipc_matches(
- items: list[KeywordPatentSearchItem],
- matches: list[IpcCodeMatch],
-) -> list[IpcCodeMatch]:
+def _dedupe_ipc_matches(matches: list[IpcCodeMatch]) -> list[IpcCodeMatch]:
merged: dict[tuple[str, str], IpcCodeMatch] = {}
for match in matches:
_merge_ipc_match(
@@ -594,11 +256,6 @@ def _finalize_ipc_matches(
match.source_keyword,
match.match_type,
)
- for item in items:
- _apply_cs_ai_heuristics(merged, item)
- _apply_automotive_heuristics(merged, item)
- _apply_chemistry_heuristics(merged, item)
- _apply_medicine_heuristics(merged, item)
return sorted(merged.values(), key=lambda match: match.match_score, reverse=True)
@@ -620,7 +277,7 @@ def _build_es_should_clauses(items: list[KeywordPatentSearchItem]) -> list[dict[
}
)
- for topic_id in _topic_id_variants(item.topic_id):
+ for topic_id in _topic_id_variants_for_item(item):
if topic_id in seen:
continue
seen.add(topic_id)
@@ -695,21 +352,15 @@ class KeywordIpcReverseLookup:
if not matches:
matches = _json_lookup(items)
- if not matches:
- matches = _legacy_lookup(items)
-
if not matches:
logger.info(
- "No IPC codes resolved for keywords: %s",
+ "No IPC codes resolved for keywords: %s; "
+ "build patents_openalex_keywords for better coverage.",
[item.keyword for item in items],
)
- matches = _finalize_ipc_matches(items, matches)
- heuristics = [match for match in matches if match.match_type == "heuristic"]
- regular = [match for match in matches if match.match_type != "heuristic"]
- regular = sorted(regular, key=lambda match: match.match_score, reverse=True)
- remaining = max(0, max_codes - len(heuristics))
- return heuristics + regular[:remaining]
+ matches = _dedupe_ipc_matches(matches)
+ return matches[:max_codes]
async def _lookup_via_elasticsearch(
self,
diff --git a/service/src/main/inse/patents/keywords/test_logic.py b/service/src/main/inse/patents/keywords/test_logic.py
index 74817c6c..cb6dda70 100644
--- a/service/src/main/inse/patents/keywords/test_logic.py
+++ b/service/src/main/inse/patents/keywords/test_logic.py
@@ -1,24 +1,115 @@
"""Tests for keyword-based patent search."""
from __future__ import annotations
+import asyncio
+from unittest.mock import AsyncMock, patch
+
+from inse.patents.authors.ipc_openalex_mapping import MappedOpenAlexTopic
from inse.patents.common import model
-from inse.patents.keywords.logic import _patent_code_matches_symbol, _score_patent
+from inse.patents.keywords.logic import (
+ _compute_final_score,
+ _filter_keywords_for_patent_search,
+ _ipc_hierarchy_quality,
+ _keyword_is_patent_searchable,
+ _limit_matches_per_keyword,
+ _patent_passes_relevance_gate,
+ _patent_search_terms,
+ _score_ipc_match,
+ _score_patent,
+ _term_from_ipc_match,
+ _text_overlap_score,
+ _text_search_terms,
+ _topics_overlap_keywords,
+ get_patents_by_keywords,
+)
from inse.patents.keywords.reverse_lookup import (
IpcCodeMatch,
- _finalize_ipc_matches,
_json_lookup,
- _legacy_lookup,
_weighted_score,
clear_reverse_lookup_caches,
)
-from inse.patents.keywords.model import KeywordPatentSearchItem
-from inse.patents.keywords.search_queries import _search_terms_for_symbol
+from inse.patents.keywords.model import KeywordPatentSearchItem, PatentsByKeywordsRequest
+from inse.patents.keywords.search_queries import IpcPatentSearchQueries, _search_terms_for_symbol
-def test_patent_code_matches_symbol_prefix() -> None:
- assert _patent_code_matches_symbol("G01S 5/02", "G01S")
- assert _patent_code_matches_symbol("G01S5/02", "G01S")
- assert not _patent_code_matches_symbol("H01L 21/02", "G01S")
+def test_ipc_hierarchy_quality_exact_match() -> None:
+ assert _ipc_hierarchy_quality("C07C243/08", "C07C243/08") == 1.0
+
+
+def test_ipc_hierarchy_quality_same_main_group() -> None:
+ assert _ipc_hierarchy_quality("C07C243/086", "C07C243/088") == 0.90
+
+
+def test_ipc_hierarchy_quality_same_subclass() -> None:
+ assert _ipc_hierarchy_quality("C07C243/08", "C07C31/20") == 0.75
+
+
+def test_ipc_hierarchy_quality_no_match() -> None:
+ assert _ipc_hierarchy_quality("C07C243/08", "C08F110/10") == 0.0
+
+
+def test_ipc_hierarchy_quality_invalid_code() -> None:
+ assert _ipc_hierarchy_quality("", "C07C243/08") == 0.0
+ assert _ipc_hierarchy_quality("C07", "C07C243/08") == 0.0
+
+
+def test_term_from_ipc_match_returns_subclass() -> None:
+ match = IpcCodeMatch("subgroup", "C07C243/08", 0.9, "Organic Chemistry", "keyword")
+ assert _term_from_ipc_match(match) == "C07C"
+
+
+def test_term_from_ipc_match_skips_class_level() -> None:
+ match = IpcCodeMatch("class", "C07", 0.7, "Chemistry", "topic")
+ assert _term_from_ipc_match(match) is None
+
+
+def test_patent_search_terms_deduplicates_chemistry_subclasses() -> None:
+ ipc_matches = [
+ IpcCodeMatch("subgroup", "C25B3/03", 0.9037, "Anorganische Chemie", "keyword"),
+ IpcCodeMatch("subgroup", "C07C243/08", 0.8989, "Anorganische Chemie", "keyword"),
+ IpcCodeMatch("subgroup", "C09B68/48", 0.8885, "Chemische Reaktionen", "keyword"),
+ IpcCodeMatch("subgroup", "D06L4/17", 0.8745, "Technische Chemie", "keyword"),
+ IpcCodeMatch("subgroup", "C09B43/34", 0.8738, "Chemische Reaktionen", "keyword"),
+ IpcCodeMatch("subgroup", "C02F1/285", 0.8698, "Organische Chemie", "keyword"),
+ IpcCodeMatch("subgroup", "B01J2219/00709", 0.8679, "Organische Chemie", "keyword"),
+ ]
+ terms = _patent_search_terms(ipc_matches)
+ assert terms == ["C25B", "C07C", "C09B", "D06L", "C02F", "B01J"]
+
+
+def test_score_ipc_match_returns_only_best_evidence() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP123",
+ source="EPO",
+ ipc=["C07C243/08"],
+ )
+ ipc_matches = [
+ IpcCodeMatch("subgroup", "C07C243/08", 0.8989, "Anorganische Chemie", "keyword"),
+ IpcCodeMatch("subgroup", "C09B68/48", 0.8885, "Chemische Reaktionen", "keyword"),
+ ]
+ result = _score_ipc_match(patent, ipc_matches)
+ assert result is not None
+ score, keywords, symbols = result
+ assert score == 0.8989
+ assert keywords == ["Anorganische Chemie"]
+ assert symbols == ["C07C243/08"]
+
+
+def test_score_ipc_match_keeps_equal_best_matches() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP123",
+ source="EPO",
+ ipc=["C07C243/08"],
+ )
+ ipc_matches = [
+ IpcCodeMatch("subgroup", "C07C243/08", 0.8989, "Anorganische Chemie", "keyword"),
+ IpcCodeMatch("subgroup", "C07C243/08", 0.8989, "Organische Chemie", "keyword"),
+ ]
+ result = _score_ipc_match(patent, ipc_matches)
+ assert result is not None
+ _, keywords, symbols = result
+ assert keywords == ["Anorganische Chemie", "Organische Chemie"]
+ assert symbols == ["C07C243/08"]
def test_score_patent_uses_best_ipc_match() -> None:
@@ -26,22 +117,426 @@ def test_score_patent_uses_best_ipc_match() -> None:
patent_id="EP123",
source="EPO",
ipc=["G01S 5/02"],
+ title="Wireless localization system",
)
ipc_matches = [
IpcCodeMatch("subclass", "G01S", 0.9, "localization", "keyword"),
IpcCodeMatch("class", "G01", 0.5, "wireless", "topic"),
]
- result = _score_patent(patent, ipc_matches)
+ result = _score_patent(
+ patent,
+ ipc_matches,
+ patent_topics=[
+ MappedOpenAlexTopic(
+ topic_id="https://openalex.org/T12345",
+ subfield_name="Remote Sensing",
+ )
+ ],
+ keyword_topic_ids=frozenset({"T12345"}),
+ search_keywords=[
+ KeywordPatentSearchItem(
+ keyword="wireless localization",
+ topic_id="https://openalex.org/T12345",
+ relevance_score=1.0,
+ )
+ ],
+ )
assert result is not None
score, keywords, symbols = result
- assert score == 0.9
+ assert score == _compute_final_score(0.675, 1.0, 2 / 3)
assert "localization" in keywords
assert "G01S" in symbols
-def test_weighted_score_applies_level_and_relevance() -> None:
- score = _weighted_score("subclass", 0.8, 0.5)
- assert score == round(0.8 * 0.85 * 0.5, 4)
+def test_score_patent_requires_topic_overlap() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP123",
+ source="EPO",
+ ipc=["G01S 5/02"],
+ )
+ ipc_matches = [
+ IpcCodeMatch("subclass", "G01S", 0.9, "localization", "keyword"),
+ ]
+ patent_topics = [
+ MappedOpenAlexTopic(
+ topic_id="https://openalex.org/T99999",
+ subfield_name="Oncology",
+ )
+ ]
+ result = _score_patent(
+ patent,
+ ipc_matches,
+ patent_topics=patent_topics,
+ keyword_topic_ids=frozenset({"T12345"}),
+ keyword_subfield_names=frozenset({"law"}),
+ )
+ assert result is None
+
+
+def test_score_patent_accepts_compatible_engineering_and_computer_science() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP456",
+ source="EPO",
+ ipc=["G06N 3/08"],
+ title="Deep learning classifier",
+ abstract="A neural network for classification tasks.",
+ )
+ ipc_matches = [
+ IpcCodeMatch("subclass", "G06N", 0.9, "Deep Learning", "keyword"),
+ ]
+ result = _score_patent(
+ patent,
+ ipc_matches,
+ patent_topics=[
+ MappedOpenAlexTopic(
+ topic_id="https://openalex.org/T12072",
+ field_name="Computer Science",
+ )
+ ],
+ keyword_topic_ids=frozenset({"T10653"}),
+ keyword_subfield_names=frozenset({"control and systems engineering"}),
+ keyword_soft_field_names=frozenset({"engineering"}),
+ search_keywords=[
+ KeywordPatentSearchItem(
+ keyword="Deep Learning",
+ topic_id="https://openalex.org/T10653",
+ field_name="Engineering",
+ relevance_score=0.9,
+ )
+ ],
+ )
+ assert result is not None
+
+
+def test_filter_keywords_for_patent_search_prefers_coarse_and_fine_over_broad() -> None:
+ items = [
+ KeywordPatentSearchItem(
+ keyword="Naturwissenschaft",
+ keyword_level="broad",
+ relevance_score=1.0,
+ topic_id="https://openalex.org/T14329",
+ field_name="Environmental Science",
+ ),
+ KeywordPatentSearchItem(
+ keyword="Thermodynamik",
+ keyword_level="coarse",
+ relevance_score=0.8,
+ topic_id="https://openalex.org/T12345",
+ field_name="Physics and Astronomy",
+ subfield_name="Statistical and Nonlinear Physics",
+ ),
+ KeywordPatentSearchItem(
+ keyword="noise",
+ keyword_level="coarse",
+ relevance_score=0.0,
+ ),
+ ]
+ filtered = _filter_keywords_for_patent_search(items)
+ assert [item.keyword for item in filtered] == ["Thermodynamik"]
+
+
+def test_filter_keywords_for_patent_search_allows_zero_relevance_with_topic() -> None:
+ item = KeywordPatentSearchItem(
+ keyword="Deep Learning",
+ keyword_level="fine",
+ relevance_score=0.0,
+ topic_id="https://openalex.org/T12072",
+ field_name="Computer Science",
+ subfield_name="Artificial Intelligence",
+ )
+ assert _keyword_is_patent_searchable(item)
+
+
+def test_filter_keywords_for_patent_search_allows_high_relevance_with_technical_topic() -> None:
+ items = [
+ KeywordPatentSearchItem(
+ keyword="Deep Learning",
+ keyword_level="fine",
+ relevance_score=0.9,
+ topic_id="https://openalex.org/T12072",
+ field_name="Computer Science",
+ subfield_name="Artificial Intelligence",
+ ),
+ ]
+ filtered = _filter_keywords_for_patent_search(items)
+ assert [item.keyword for item in filtered] == ["Deep Learning"]
+
+
+def test_topics_overlap_keywords_soft_match_engineering_and_computer_science() -> None:
+ patent = model.PatentEntry(patent_id="EP1", source="EPO", ipc=["G06N 3/08"])
+ patent_topics = [
+ MappedOpenAlexTopic(
+ topic_id="https://openalex.org/T12072",
+ field_name="Computer Science",
+ )
+ ]
+ assert _topics_overlap_keywords(
+ patent_topics,
+ frozenset({"T10653"}),
+ frozenset({"control and systems engineering"}),
+ frozenset({"engineering"}),
+ patent=patent,
+ )
+
+
+def test_score_patent_accepts_matching_topic_id() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP123",
+ source="EPO",
+ ipc=["G01S 5/02"],
+ )
+ ipc_matches = [
+ IpcCodeMatch("subclass", "G01S", 0.9, "localization", "keyword"),
+ ]
+ patent_topics = [
+ MappedOpenAlexTopic(
+ topic_id="https://openalex.org/T12345",
+ subfield_name="Remote Sensing",
+ )
+ ]
+ result = _score_patent(
+ patent,
+ ipc_matches,
+ patent_topics=patent_topics,
+ keyword_topic_ids=frozenset({"T12345"}),
+ )
+ assert result is not None
+
+
+def test_topics_overlap_keywords_uses_subfield_name_not_field() -> None:
+ patent_topics = [
+ MappedOpenAlexTopic(
+ topic_id="https://openalex.org/T99999",
+ subfield_name="Chemistry",
+ field_name="Physical Sciences",
+ )
+ ]
+ assert not _topics_overlap_keywords(
+ patent_topics,
+ frozenset(),
+ frozenset({"law"}),
+ frozenset(),
+ )
+ assert _topics_overlap_keywords(
+ patent_topics,
+ frozenset(),
+ frozenset({"chemistry"}),
+ frozenset(),
+ )
+ assert _topics_overlap_keywords(
+ patent_topics,
+ frozenset(),
+ frozenset(),
+ frozenset({"physical sciences"}),
+ )
+ assert not _topics_overlap_keywords(
+ patent_topics,
+ frozenset(),
+ frozenset(),
+ frozenset({"engineering"}),
+ )
+
+
+def test_topics_overlap_keywords_rejects_patents_without_topics() -> None:
+ assert not _topics_overlap_keywords(
+ [],
+ frozenset({"T12345"}),
+ frozenset(),
+ frozenset({"chemistry"}),
+ )
+
+
+def test_limit_matches_per_keyword() -> None:
+ matches = [
+ IpcCodeMatch("subclass", "C07C", 0.95, "Organic Chemistry", "keyword"),
+ IpcCodeMatch("group", "C07C31", 0.9, "Organic Chemistry", "keyword"),
+ IpcCodeMatch("subclass", "C01B", 0.88, "Inorganic Chemistry", "keyword"),
+ IpcCodeMatch("subclass", "C01C", 0.87, "Inorganic Chemistry", "keyword"),
+ ]
+ limited = _limit_matches_per_keyword(matches, limit=2)
+ assert len(limited) == 4
+ organic = [match for match in limited if match.source_keyword == "Organic Chemistry"]
+ inorganic = [match for match in limited if match.source_keyword == "Inorganic Chemistry"]
+ assert len(organic) == 2
+ assert len(inorganic) == 2
+ assert organic[0].ipc_symbol == "C07C"
+ assert inorganic[0].ipc_symbol == "C01B"
+
+
+def test_text_overlap_score_uses_title_and_abstract() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP1",
+ source="EPO",
+ title="Organic chemistry synthesis",
+ abstract="A method for catalytic reactions.",
+ )
+ score = _text_overlap_score(
+ patent,
+ ["organic", "chemistry", "catalytic", "reactions", "unrelated"],
+ )
+ assert score == 1.0
+
+
+def test_patent_passes_relevance_gate_with_text_but_no_topics() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP1",
+ source="EPO",
+ title="Diagnostic imaging device",
+ abstract="Medical diagnosis using imaging.",
+ )
+ assert _patent_passes_relevance_gate(
+ [],
+ keyword_topic_ids=frozenset({"T99999"}),
+ keyword_subfield_names=frozenset(),
+ keyword_soft_field_names=frozenset({"medicine"}),
+ patent=patent,
+ text_score=_text_overlap_score(patent, ["diagnostic", "imaging", "diagnosis"]),
+ )
+
+
+def test_patent_passes_relevance_gate_rejects_ipc_only() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP1",
+ source="EPO",
+ title="Humidifier system",
+ abstract="Water exchange membrane.",
+ )
+ assert not _patent_passes_relevance_gate(
+ [],
+ keyword_topic_ids=frozenset({"T99999"}),
+ keyword_subfield_names=frozenset(),
+ keyword_soft_field_names=frozenset({"medicine"}),
+ patent=patent,
+ text_score=0.0,
+ )
+
+
+def test_compute_final_score_weights_ipc_topic_and_text() -> None:
+ assert _compute_final_score(0.9, 1.0, 1.0) == round(
+ 0.60 * 0.9 + 0.25 * 1.0 + 0.15 * 1.0,
+ 4,
+ )
+ assert _compute_final_score(0.6742, 0.0, 0.0) == round(0.60 * 0.6742, 4)
+
+
+def test_score_patent_rejects_subclass_only_without_topic_or_text() -> None:
+ patent = model.PatentEntry(
+ patent_id="EP1",
+ source="EPO",
+ ipc=["C07C31/20"],
+ title="Humidifier system",
+ abstract="Water exchange membrane.",
+ )
+ ipc_matches = [
+ IpcCodeMatch("subgroup", "C07C243/08", 0.8989, "Organische Chemie", "keyword"),
+ ]
+ result = _score_patent(
+ patent,
+ ipc_matches,
+ patent_topics=[],
+ keyword_topic_ids=frozenset({"T99999"}),
+ keyword_soft_field_names=frozenset({"chemistry"}),
+ search_keywords=[
+ KeywordPatentSearchItem(
+ keyword="Organische Chemie",
+ topic_id="https://openalex.org/T99999",
+ field_name="Chemistry",
+ relevance_score=1.0,
+ )
+ ],
+ )
+ assert result is None
+
+
+def test_get_patents_by_keywords_uses_symbol_queries() -> None:
+ queries = IpcPatentSearchQueries()
+ captured: list[str] = []
+
+ async def fake_search_epo(query):
+ captured.append("epo")
+ assert "query" in query
+ return {"hits": {"hits": []}}
+
+ async def fake_search_uspto(query):
+ captured.append("uspto")
+ return {"hits": {"hits": []}}
+
+ request = PatentsByKeywordsRequest(
+ keywords=[
+ KeywordPatentSearchItem(
+ keyword="Organische Chemie",
+ keyword_level="coarse",
+ topic_id="https://openalex.org/T13859",
+ field_name="Chemistry",
+ relevance_score=1.0,
+ )
+ ]
+ )
+
+ with patch(
+ "inse.patents.keywords.logic.KeywordIpcReverseLookup.lookup_ipc_codes",
+ new=AsyncMock(
+ return_value=[
+ IpcCodeMatch(
+ "subgroup",
+ "C07C243/08",
+ 0.8989,
+ "Organische Chemie",
+ "keyword",
+ )
+ ]
+ ),
+ ), patch(
+ "inse.patents.keywords.logic.BasePatentSearchClient.search_epo",
+ new=AsyncMock(side_effect=fake_search_epo),
+ ), patch(
+ "inse.patents.keywords.logic.BasePatentSearchClient.search_uspto",
+ new=AsyncMock(side_effect=fake_search_uspto),
+ ), patch(
+ "inse.patents.keywords.logic.PatentOpenAlexMappingResolver.resolve_topics_for_patents",
+ new=AsyncMock(return_value={}),
+ ), patch(
+ "inse.patents.keywords.logic.enrich_patents_classifications",
+ new=AsyncMock(),
+ ), patch.object(
+ IpcPatentSearchQueries,
+ "epo_query_by_ipc_symbols",
+ wraps=queries.epo_query_by_ipc_symbols,
+ ) as epo_symbols, patch.object(
+ IpcPatentSearchQueries,
+ "uspto_query_by_ipc_symbols",
+ wraps=queries.uspto_query_by_ipc_symbols,
+ ) as uspto_symbols:
+ asyncio.run(get_patents_by_keywords(request))
+
+ epo_symbols.assert_called_once()
+ uspto_symbols.assert_called_once()
+ assert epo_symbols.call_args.args[0] == ["C07C"]
+ assert captured == ["epo", "uspto"]
+
+
+def test_text_search_terms_include_topic_metadata() -> None:
+ items = [
+ KeywordPatentSearchItem(
+ keyword="Organische Chemie",
+ topic_display_name="Organic Chemistry",
+ subfield_name="Organic Chemistry",
+ field_name="Chemistry",
+ relevance_score=0.9,
+ topic_id="https://openalex.org/T1",
+ )
+ ]
+ terms = _text_search_terms(items)
+ assert "organische" in terms
+ assert "organic" in terms
+ assert "chemistry" in terms
+
+
+def test_weighted_score_applies_level_not_llm_relevance() -> None:
+ score_high = _weighted_score("subclass", 0.8, 1.0)
+ score_zero = _weighted_score("subclass", 0.8, 0.0)
+ assert score_high == round(0.8 * 0.85, 4)
+ assert score_zero == score_high
def test_search_terms_use_subclass_prefix() -> None:
@@ -49,47 +544,16 @@ def test_search_terms_use_subclass_prefix() -> None:
assert "G06N" in _search_terms_for_symbol("G06N")
-def test_legacy_lookup_uses_chemistry_heuristics() -> None:
+def test_json_lookup_returns_empty_without_mapping(monkeypatch) -> None:
clear_reverse_lookup_caches()
- items = [
- KeywordPatentSearchItem(
- keyword="Organische Chemie",
- relevance_score=1.0,
- )
- ]
- matches = _finalize_ipc_matches(items, _legacy_lookup(items))
- symbols = {match.ipc_symbol for match in matches}
- assert "C07C" in symbols
-
-
-def test_legacy_lookup_uses_medicine_heuristics() -> None:
+ monkeypatch.setattr(
+ "inse.patents.keywords.reverse_lookup.load_patents_openalex_keywords_json",
+ lambda: {},
+ )
clear_reverse_lookup_caches()
- items = [
- KeywordPatentSearchItem(
- keyword="Medizin",
- relevance_score=1.0,
- )
- ]
- matches = _finalize_ipc_matches(items, _legacy_lookup(items))
- symbols = {match.ipc_symbol for match in matches}
- assert "A61B" in symbols
-
-def test_legacy_lookup_uses_cs_ai_heuristics() -> None:
- clear_reverse_lookup_caches()
- items = [
- KeywordPatentSearchItem(
- keyword="Klassifikation",
- topic_id="https://openalex.org/T12072",
- topic_display_name="Machine Learning and Algorithms",
- subfield_name="Artificial Intelligence",
- field_name="Computer Science",
- relevance_score=1.0,
- )
- ]
- matches = _finalize_ipc_matches(items, _legacy_lookup(items))
- symbols = {match.ipc_symbol for match in matches}
- assert "G06N" in symbols
+ items = [KeywordPatentSearchItem(keyword="Medizin", relevance_score=1.0)]
+ assert _json_lookup(items) == []
def test_json_lookup_finds_ipc_for_keyword(monkeypatch) -> None:
@@ -126,3 +590,83 @@ def test_json_lookup_finds_ipc_for_keyword(monkeypatch) -> None:
assert len(matches) == 1
assert matches[0].ipc_symbol == "G01S"
assert matches[0].match_score > 0
+
+
+def test_json_lookup_finds_ipc_for_topic_id(monkeypatch) -> None:
+ clear_reverse_lookup_caches()
+ monkeypatch.setattr(
+ "inse.patents.keywords.reverse_lookup.load_patents_openalex_keywords_json",
+ lambda: {
+ "subclass": {
+ "G06N": {
+ "ipc_level": "subclass",
+ "ipc_symbol": "G06N",
+ "keyword_matches": [],
+ "topic_matches": [
+ {
+ "topic_id": "https://openalex.org/T12072",
+ "topic_display_name": "Machine Learning and Algorithms",
+ "match_score": 0.88,
+ }
+ ],
+ }
+ }
+ },
+ )
+ clear_reverse_lookup_caches()
+
+ items = [
+ KeywordPatentSearchItem(
+ keyword="Klassifikation",
+ topic_id="https://openalex.org/T12072",
+ topic_display_name="Machine Learning and Algorithms",
+ relevance_score=1.0,
+ )
+ ]
+ matches = _json_lookup(items)
+ assert len(matches) == 1
+ assert matches[0].ipc_symbol == "G06N"
+ assert matches[0].match_type == "topic"
+
+
+def test_json_lookup_resolves_topic_id_from_display_name(monkeypatch) -> None:
+ clear_reverse_lookup_caches()
+ monkeypatch.setattr(
+ "inse.patents.keywords.reverse_lookup.load_patents_openalex_keywords_json",
+ lambda: {
+ "subclass": {
+ "G01N": {
+ "ipc_level": "subclass",
+ "ipc_symbol": "G01N",
+ "keyword_matches": [],
+ "topic_matches": [
+ {
+ "topic_id": "https://openalex.org/T14329",
+ "topic_display_name": "Science and Climate Studies",
+ "match_score": 0.9,
+ }
+ ],
+ }
+ }
+ },
+ )
+ monkeypatch.setattr(
+ "inse.patents.keywords.reverse_lookup._load_topic_cache",
+ lambda: {
+ "Science and Climate Studies": {
+ "topic_id": "https://openalex.org/T14329",
+ }
+ },
+ )
+ clear_reverse_lookup_caches()
+
+ items = [
+ KeywordPatentSearchItem(
+ keyword="Science and Climate Studies",
+ topic_display_name="Science and Climate Studies",
+ relevance_score=1.0,
+ )
+ ]
+ matches = _json_lookup(items)
+ assert len(matches) == 1
+ assert matches[0].ipc_symbol == "G01N"
diff --git a/webapp/src/app/api/model/patentsByKeywordsResponse.ts b/webapp/src/app/api/model/patentsByKeywordsResponse.ts
index e2b8921a..8af22a4b 100644
--- a/webapp/src/app/api/model/patentsByKeywordsResponse.ts
+++ b/webapp/src/app/api/model/patentsByKeywordsResponse.ts
@@ -1,7 +1,10 @@
import { PatentEntry } from './patentEntry';
+export type KeywordPatentLevel = 'broad' | 'coarse' | 'fine' | 'custom';
+
export interface KeywordPatentSearchItem {
keyword: string;
+ keyword_level?: KeywordPatentLevel | null;
topic_id?: string | null;
topic_display_name?: string | null;
subfield_name?: string | null;
diff --git a/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.html b/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.html
index 6d96b219..a2649375 100644
--- a/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.html
+++ b/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.html
@@ -1,114 +1,132 @@
-@if (loading()) {
-
Lade passende Patente...
-} @else if (error()) {
- Fehler beim Laden der Patente.
-} @else if (matches().length === 0) {
- Keine passenden Patente gefunden.
-} @else {
-
-
Passende Patente
-
-
-
-
-
-
-
-
-
-
- | Patent |
- Quelle |
- Jahr |
-
-
-
- @for (item of pagedMatches(); track trackMatch($index, item)) {
-
- |
- {{ item.patent.title ?? item.patent.patent_id }}
- |
-
-
- {{ item.patent.source }}
-
- |
- {{ item.patent.publication_year ?? '-' }} |
-
- }
-
-
-
- @if (hasPagination()) {
-
- }
-
-
- @if (selectedPatent(); as patent) {
-
-
{{ patent.title ?? patent.patent_id }}
-
-
- Quelle
-
-
- {{ patent.source }}
-
-
-
-
- Patent-Nr.
- {{ patent.patent_id }}
-
-
- Datum
- {{
- formatDate(patent.publication_date)
- }}
-
- @if (getPublicationStageLabel(patent); as stageLabel) {
-
- Publikationsstufe
- {{ stageLabel }}
-
- }
-
-
-
-
- }
-
-
-}
+@if (loading()) {
+ Lade passende Patente...
+} @else if (error()) {
+ Fehler beim Laden der Patente.
+} @else if (matches().length === 0) {
+ Keine passenden Patente gefunden.
+} @else {
+
+
Passende Patente
+
+
+
+
+
+
+
+
+
+
+ | Patent |
+ Score |
+ Quelle |
+ Jahr |
+
+
+
+ @for (item of pagedMatches(); track trackMatch($index, item)) {
+
+ |
+ {{ item.patent.title ?? item.patent.patent_id }}
+ |
+ {{ formatScore(item.match_score) }} |
+
+
+ {{ item.patent.source }}
+
+ |
+ {{ item.patent.publication_year ?? '-' }} |
+
+ }
+
+
+
+ @if (hasPagination()) {
+
+ }
+
+
+ @if (selectedMatch(); as match) {
+
+
{{ match.patent.title ?? match.patent.patent_id }}
+
+
+ Match-Score
+ {{ formatScore(match.match_score) }}
+
+
+ Gematchte Keywords
+ {{
+ formatMatchList(match.matched_keywords)
+ }}
+
+
+ Gematchte IPC/CPC
+ {{
+ formatMatchList(match.matched_ipc_symbols)
+ }}
+
+
+ Quelle
+
+
+ {{ match.patent.source }}
+
+
+
+
+ Patent-Nr.
+ {{ match.patent.patent_id }}
+
+
+ Datum
+ {{
+ formatDate(match.patent.publication_date)
+ }}
+
+ @if (getPublicationStageLabel(match.patent); as stageLabel) {
+
+ Publikationsstufe
+ {{ stageLabel }}
+
+ }
+
+
+
+
+ }
+
+
+}
diff --git a/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.scss b/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.scss
index be8b1c24..d700ff61 100644
--- a/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.scss
+++ b/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.scss
@@ -113,12 +113,23 @@
margin: 12px 0;
}
+.match-score {
+ font-variant-numeric: tabular-nums;
+ color: #374151;
+ white-space: nowrap;
+}
+
.stat-label {
display: block;
font-size: 12px;
color: #666;
}
+.stat-value {
+ display: block;
+ word-break: break-word;
+}
+
.patent-detail-action {
display: flex;
align-items: center;
diff --git a/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.ts b/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.ts
index 4d11c1a2..8b1b26d8 100644
--- a/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.ts
+++ b/webapp/src/app/modules/keywords-search/keywords-patents/keywords-patents.component.ts
@@ -1,88 +1,103 @@
-import { Component, input, signal } from '@angular/core';
-import { Router } from '@angular/router';
-import { PatentEntry } from '../../../api/model/patentEntry';
-import { KeywordPatentMatch } from '../../../api/model/patentsByKeywordsResponse';
-import {
- formatPatentDate,
- getPublicationStageLabel,
-} from '../../patent-detail/patent-detail.utils';
-
-type SourceFilter = 'all' | 'EPO' | 'USPTO';
-
-@Component({
- selector: 'app-keywords-patents',
- templateUrl: './keywords-patents.component.html',
- styleUrl: './keywords-patents.component.scss',
-})
-export class KeywordsPatentsComponent {
- readonly matches = input([]);
- readonly loading = input(false);
- readonly error = input(false);
-
- activeFilter = signal('all');
- selectedPatent = signal(null);
- selectedPage = signal(1);
- readonly pageSize = 10;
-
- constructor(private readonly router: Router) {}
-
- filteredMatches(): KeywordPatentMatch[] {
- const filter = this.activeFilter();
- const items = this.matches();
- if (filter === 'all') {
- return items;
- }
- return items.filter((item) => item.patent.source === filter);
- }
-
- pagedMatches(): KeywordPatentMatch[] {
- const start = (this.selectedPage() - 1) * this.pageSize;
- return this.filteredMatches().slice(start, start + this.pageSize);
- }
-
- pageCount(): number {
- return Math.max(1, Math.ceil(this.filteredMatches().length / this.pageSize));
- }
-
- hasPagination(): boolean {
- return this.pageCount() > 1;
- }
-
- setFilter(filter: SourceFilter): void {
- this.activeFilter.set(filter);
- this.selectedPage.set(1);
- this.selectedPatent.set(null);
- }
-
- setPage(page: number): void {
- this.selectedPage.set(Math.min(Math.max(page, 1), this.pageCount()));
- }
-
- selectPatent(patent: PatentEntry): void {
- this.selectedPatent.set(patent);
- }
-
- openDetail(): void {
- const patent = this.selectedPatent();
- if (!patent) return;
- void this.router.navigate(['/patent', patent.patent_id]);
- }
-
- formatDate(date: string | null | undefined): string {
- return formatPatentDate(date);
- }
-
- getPublicationStageLabel(patent: PatentEntry): string | null {
- return getPublicationStageLabel(patent);
- }
-
- trackMatch(_index: number, item: KeywordPatentMatch): string {
- const patent = item.patent;
- return [
- patent.source,
- patent.patent_id,
- patent.publication_date ?? '',
- patent.kind ?? patent.application_type ?? '',
- ].join('|');
- }
-}
+import { Component, input, signal } from '@angular/core';
+import { Router } from '@angular/router';
+import { PatentEntry } from '../../../api/model/patentEntry';
+import { KeywordPatentMatch } from '../../../api/model/patentsByKeywordsResponse';
+import {
+ formatPatentDate,
+ getPublicationStageLabel,
+} from '../../patent-detail/patent-detail.utils';
+
+type SourceFilter = 'all' | 'EPO' | 'USPTO';
+
+@Component({
+ selector: 'app-keywords-patents',
+ templateUrl: './keywords-patents.component.html',
+ styleUrl: './keywords-patents.component.scss',
+})
+export class KeywordsPatentsComponent {
+ readonly matches = input([]);
+ readonly loading = input(false);
+ readonly error = input(false);
+
+ activeFilter = signal('all');
+ selectedMatch = signal(null);
+ selectedPage = signal(1);
+ readonly pageSize = 10;
+
+ constructor(private readonly router: Router) {}
+
+ filteredMatches(): KeywordPatentMatch[] {
+ const filter = this.activeFilter();
+ const items = this.matches();
+ if (filter === 'all') {
+ return items;
+ }
+ return items.filter((item) => item.patent.source === filter);
+ }
+
+ pagedMatches(): KeywordPatentMatch[] {
+ const start = (this.selectedPage() - 1) * this.pageSize;
+ return this.filteredMatches().slice(start, start + this.pageSize);
+ }
+
+ pageCount(): number {
+ return Math.max(1, Math.ceil(this.filteredMatches().length / this.pageSize));
+ }
+
+ hasPagination(): boolean {
+ return this.pageCount() > 1;
+ }
+
+ setFilter(filter: SourceFilter): void {
+ this.activeFilter.set(filter);
+ this.selectedPage.set(1);
+ this.selectedMatch.set(null);
+ }
+
+ setPage(page: number): void {
+ this.selectedPage.set(Math.min(Math.max(page, 1), this.pageCount()));
+ }
+
+ selectMatch(item: KeywordPatentMatch): void {
+ this.selectedMatch.set(item);
+ }
+
+ openDetail(): void {
+ const match = this.selectedMatch();
+ if (!match) return;
+ void this.router.navigate(['/patent', match.patent.patent_id]);
+ }
+
+ formatDate(date: string | null | undefined): string {
+ return formatPatentDate(date);
+ }
+
+ getPublicationStageLabel(patent: PatentEntry): string | null {
+ return getPublicationStageLabel(patent);
+ }
+
+ formatScore(score: number | null | undefined): string {
+ if (score == null || Number.isNaN(score)) {
+ return '-';
+ }
+ return score.toFixed(2);
+ }
+
+ formatMatchList(values: string[] | null | undefined): string {
+ if (!values || values.length === 0) {
+ return '-';
+ }
+ return values.join(', ');
+ }
+
+ trackMatch(_index: number, item: KeywordPatentMatch): string {
+ const patent = item.patent;
+ return [
+ patent.source,
+ patent.patent_id,
+ patent.publication_date ?? '',
+ patent.kind ?? patent.application_type ?? '',
+ item.match_score,
+ ].join('|');
+ }
+}
diff --git a/webapp/src/app/modules/keywords-search/keywords-search.component.ts b/webapp/src/app/modules/keywords-search/keywords-search.component.ts
index 217ca43f..088edbd0 100644
--- a/webapp/src/app/modules/keywords-search/keywords-search.component.ts
+++ b/webapp/src/app/modules/keywords-search/keywords-search.component.ts
@@ -58,6 +58,7 @@ import { SearchResultsPayload } from './search-results/search-results-state.serv
type InputMode = 'url' | 'text';
type KeywordCategory = 'broad' | 'coarse' | 'fine' | 'manual';
type KeywordView = 'llm' | 'topic';
+type KeywordPatentLevel = 'broad' | 'coarse' | 'fine' | 'custom';
@Component({
selector: 'app-keywords-search',
imports: [
@@ -1109,11 +1110,9 @@ export class KeywordsSearchComponent {
}
private loadMatchingPatents(): void {
- const entries = [
- ...this.getSelectedExtractedKeywordEntries(),
- ...this.getSelectedManualKeywordEntries(),
- ];
- const keywords = this.buildPatentSearchItems(entries);
+ const keywords = this.buildPatentSearchItems(
+ this.getSelectedPatentKeywordEntries(),
+ );
if (keywords.length === 0) {
this.patentMatches.set([]);
this.patentsLoaded.set(true);
@@ -1139,12 +1138,39 @@ export class KeywordsSearchComponent {
});
}
+ private getSelectedPatentKeywordEntries(): Array<{
+ entry: KeywordEntryWithTopic;
+ level: KeywordPatentLevel;
+ }> {
+ const selected = new Set(
+ this.selectedKeywords().map((k) => this.normalizeKeyword(k)),
+ );
+ const isSelected = (item: KeywordEntryWithTopic) =>
+ selected.has(this.normalizeKeyword(this.getKeywordLabel(item)));
+
+ return [
+ ...this.broadKeywordEntries()
+ .filter(isSelected)
+ .map((entry) => ({ entry, level: 'broad' as const })),
+ ...this.coarseKeywordEntries()
+ .filter(isSelected)
+ .map((entry) => ({ entry, level: 'coarse' as const })),
+ ...this.fineKeywordEntries()
+ .filter(isSelected)
+ .map((entry) => ({ entry, level: 'fine' as const })),
+ ...this.manualKeywordEntries()
+ .filter(isSelected)
+ .map((entry) => ({ entry, level: 'custom' as const })),
+ ];
+ }
+
private buildPatentSearchItems(
- entries: KeywordEntryWithTopic[],
+ items: Array<{ entry: KeywordEntryWithTopic; level: KeywordPatentLevel }>,
): KeywordPatentSearchItem[] {
- return entries
- .map((entry) => ({
+ return items
+ .map(({ entry, level }) => ({
keyword: entry.llm_keyword.keyword,
+ keyword_level: level,
topic_id: entry.topic_mapping?.topic?.id ?? null,
topic_display_name: entry.topic_mapping?.topic?.display_name ?? null,
subfield_name: entry.topic_mapping?.topic?.subfield?.display_name ?? null,