--- license: apache-2.0 language: - ca - es - en - it task_categories: - feature-extraction - text-generation tags: - knowledge-base - wikidata - multilingual - R&D - query-expansion - semantic-search - catalan - spanish - italian - AINA size_categories: - 1K concept index for fast parent lookup.""" return {concept["wikidata_id"]: concept for concept in kb} kb_index = build_kb_index(kb) # Get parent concepts concept = find_concept(kb, "deep learning") for parent in concept.get("subclass_of", []): parent_concept = kb_index.get(parent["id"]) if parent_concept: print(f"Parent: {parent_concept['keyword']}") ``` ## Data Collection The knowledge base was built by: 1. **Seed Selection**: Identifying R&D-relevant concepts from project databases (RIS3CAT, OpenAIRE, CORDIS) 2. **Wikidata Extraction**: Querying Wikidata API for each concept's labels, aliases, and relations 3. **Multilingual Enrichment**: Ensuring coverage across CA/ES/EN/IT 4. **Hierarchy Validation**: Filtering subclass_of relations to include only parents present in the KB 5. **Quality Control**: Manual review of key domain concepts ## Integration with IMPULS This KB is used by the [IMPULS Query Parser](https://huggingface.co/SIRIS-Lab/impuls-salamandra-7b-query-parser) for: - **Query Expansion**: Adding multilingual synonyms to search queries - **Cross-lingual Search**: Finding Spanish projects with Catalan queries - **Concept Navigation**: Broadening searches via parent concepts ## Limitations - **Domain Focus**: Optimized for R&D/scientific concepts; general vocabulary coverage is limited - **Language Coverage**: Best coverage in English; some concepts may lack labels in other languages - **Temporal Snapshot**: Based on Wikidata as of late 2024; may not reflect recent additions - **Hierarchy Depth**: Only direct parents (subclass_of) are included; transitive closure not computed ## Citation ```bibtex @misc{impuls-wikidata-kb-2024, author = {SIRIS Academic}, title = {IMPULS R&D Knowledge Base: Multilingual Wikidata Concepts for Query Expansion}, year = {2024}, publisher = {Hugging Face}, howpublished = {\url{https://huggingface.co/datasets/SIRIS-Lab/impuls-wikidata-kb}} } ``` ## Acknowledgments - **[Wikidata](https://www.wikidata.org/)** - Source knowledge graph - **[Barcelona Supercomputing Center (BSC)](https://www.bsc.es/)** - AINA project infrastructure - **[Generalitat de Catalunya](https://web.gencat.cat/)** - Funding and RIS3-MCAT platform ## License Apache 2.0 ## Related Resources - **Query Parser Model**: [SIRIS-Lab/impuls-salamandra-7b-query-parser](https://huggingface.co/SIRIS-Lab/impuls-salamandra-7b-query-parser) - **Query Parsing Dataset**: [SIRIS-Lab/impuls-query-parsing](https://huggingface.co/datasets/SIRIS-Lab/impuls-query-parsing) - **Project Repository**: [github.com/sirisacademic/aina-impulse](https://github.com/sirisacademic/aina-impulse)