File size: 9,278 Bytes
ceae01f cae4223 ceae01f cae4223 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | ---
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<n<10K
---
# IMPULS R&D Knowledge Base
A multilingual knowledge base of 4,265 R&D concepts derived from Wikidata, designed for query expansion in scientific and research project search systems.
## Dataset Description
This knowledge base was created as part of the **IMPULS project** (AINA Challenge 2024), a collaboration between [SIRIS Academic](https://sirisacademic.com/) and [Generalitat de Catalunya](https://web.gencat.cat/) to build a multilingual semantic search system for R&D ecosystems.
The KB contains scientific and technological concepts with:
- **Multilingual labels** in Catalan, Spanish, English, and Italian
- **Aliases/synonyms** for each language
- **Definitions** where available
- **Hierarchical relationships** (instance_of, subclass_of) linking to Wikidata
### Use Cases
- **Query Expansion**: Expand search queries with synonyms and related terms across languages
- **Multilingual Search**: Find equivalent terms across CA/ES/EN/IT
- **Concept Navigation**: Traverse hierarchical relationships for broader/narrower terms
- **Named Entity Linking**: Link mentions to Wikidata identifiers
## Dataset Structure
### Format
JSONL (JSON Lines) - one concept per line.
### Schema
```json
{
"keyword": "machine learning",
"wikidata_id": "Q2539",
"languages": {
"ca": {
"label": "aprenentatge automàtic",
"description": "branca de la intel·ligència artificial",
"also_known_as": ["aprenentatge de màquines", "ML"]
},
"es": {
"label": "aprendizaje automático",
"description": "rama de la inteligencia artificial",
"also_known_as": ["aprendizaje de máquina", "ML"]
},
"en": {
"label": "machine learning",
"description": "branch of artificial intelligence",
"also_known_as": ["ML", "statistical learning"]
},
"it": {
"label": "apprendimento automatico",
"description": "ramo dell'intelligenza artificiale",
"also_known_as": []
}
},
"instance_of": [
{"id": "Q11660", "label": "artificial intelligence"}
],
"subclass_of": [
{"id": "Q11660", "label": "artificial intelligence"},
{"id": "Q816264", "label": "computational learning theory"}
]
}
```
### Field Descriptions
| Field | Type | Description |
|-------|------|-------------|
| `keyword` | string | Primary English keyword |
| `wikidata_id` | string | Wikidata entity ID (Q-number) |
| `languages` | object | Multilingual labels, descriptions, and aliases |
| `languages.{lang}.label` | string | Primary label in that language |
| `languages.{lang}.description` | string | Short description/definition |
| `languages.{lang}.also_known_as` | array | Alternative names/synonyms |
| `instance_of` | array | Wikidata instance_of relations |
| `subclass_of` | array | Wikidata subclass_of relations (for hierarchy traversal) |
## Statistics
| Metric | Value |
|--------|-------|
| Total concepts | 4,265 |
| With Catalan labels | ~4,200 |
| With Spanish labels | ~4,250 |
| With English labels | 4,265 |
| With Italian labels | ~4,100 |
| With subclass_of relations | ~3,590 |
| Unique parent concepts | ~770 (in KB) |
### Domain Coverage
The KB focuses on R&D-relevant concepts including:
- **Technology**: AI, blockchain, IoT, robotics, quantum computing
- **Science**: biotechnology, nanotechnology, materials science
- **Health**: medical devices, diagnostics, pharmaceuticals
- **Energy**: renewables, hydrogen, energy storage
- **Environment**: climate, sustainability, circular economy
- **Industry**: manufacturing, automation, Industry 4.0
## Examples
### Example 1: Technology Concept
```json
{
"keyword": "blockchain",
"wikidata_id": "Q20514253",
"languages": {
"ca": {
"label": "cadena de blocs",
"description": "estructura de dades distribuïda",
"also_known_as": ["blockchain"]
},
"es": {
"label": "cadena de bloques",
"description": "base de datos distribuida",
"also_known_as": ["blockchain"]
},
"en": {
"label": "blockchain",
"description": "distributed database technology",
"also_known_as": ["block chain", "distributed ledger"]
}
},
"subclass_of": [
{"id": "Q8513", "label": "database"}
]
}
```
### Example 2: Health Concept
```json
{
"keyword": "patient",
"wikidata_id": "Q181600",
"languages": {
"ca": {
"label": "pacient",
"description": "",
"also_known_as": []
},
"es": {
"label": "paciente",
"description": "persona que recibe tratamiento para un problema de salud",
"also_known_as": ["pacientes", "enfermo"]
},
"en": {
"label": "patient",
"description": "person who takes a medical treatment",
"also_known_as": ["patients", "medical patient", "human patient"]
}
},
"instance_of": [
{"id": "Q214339", "label": "role"}
],
"subclass_of": [
{"id": "Q12722854", "label": "sick person"},
{"id": "Q852835", "label": "customer"}
]
}
```
## Usage
### Loading the Dataset
```python
from datasets import load_dataset
dataset = load_dataset("SIRIS-Lab/impuls-wikidata-kb")
kb = dataset["train"]
print(f"Loaded {len(kb)} concepts")
```
### Query Expansion Example
```python
def find_concept(kb, query):
"""Find concept by keyword or label."""
query_lower = query.lower()
for concept in kb:
if concept["keyword"].lower() == query_lower:
return concept
for lang in ["en", "es", "ca"]:
if concept["languages"].get(lang, {}).get("label", "").lower() == query_lower:
return concept
return None
def get_expansions(concept):
"""Get all labels and aliases for a concept."""
expansions = set()
for lang_data in concept["languages"].values():
if lang_data.get("label"):
expansions.add(lang_data["label"])
for alias in lang_data.get("also_known_as", []):
expansions.add(alias)
return expansions
# Example
concept = find_concept(kb, "machine learning")
if concept:
print(f"Wikidata ID: {concept['wikidata_id']}")
print(f"Expansions: {get_expansions(concept)}")
# Output: {'machine learning', 'ML', 'aprenentatge automàtic', 'aprendizaje automático', ...}
```
### Building a Lookup Index
```python
def build_kb_index(kb):
"""Build wikidata_id -> 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)
|