Download OpenAPI specification:Download
Unofficial API description for BabbelNet.
Retrieve the IDs of the Babel synsets (concepts) denoted by a given word
| lemma required | string lemma string |
| searchLang required | string The language of the word. Accepts multiple values. |
| targetLang | Array of strings The languages in which the data are to be retrieved. |
| pos | Array of strings Returns only the synsets containing this part of speech (NOUN, VERB, etc). Accepts multiple values. |
| source | Array of strings Returns only the synsets containing these sources (WIKT, WIKIDATA, etc). Accepts multiple values. |
[- {
- "id": "bn:00289737n",
- "pos": "NOUN",
- "source": "BABELNET"
}
]Retrieve the information of a given synset
| id required | string id of the synset you want to retrieve (can also be a WordNet id) |
| targetLang | Array of strings The languages in which the data are to be retrieved. |
{- "senses": [
- {
- "type": "BabelSense",
- "properties": {
- "fullLemma": "Apple-designed_processors",
- "simpleLemma": "apple-designed_processors",
- "lemma": {
- "lemma": "Apple-designed_processors",
- "type": "HIGH_QUALITY"
}, - "example": "WIKI",
- "senseKey": "32327247",
- "frequency": 0,
- "language": "EN",
- "pos": "NOUN",
- "synsetID": {
- "id": "bn:00289737n",
- "pos": "NOUN",
- "source": "BABELNET"
}, - "translationInfo": "string",
- "pronunciations": {
- "transcriptions": [
- "string"
]
}, - "bKeySense": true,
- "idSense": 123090446
}
}
], - "wnOffsets": [
- {
- "version": "string",
- "id": "string",
- "pos": "string",
- "source": "string"
}
], - "glosses": [
- {
- "source": "WIKIDATA",
- "sourceSense": 264582065,
- "language": "EN",
- "gloss": "Processor chips designed by Apple Inc. for use in their product portfolio.",
- "tokens": [
- {
- "start": 76,
- "end": 91,
- "id": {
- "id": "bn:00289737n",
- "pos": "NOUN",
- "source": "BABELNET"
}, - "word": "system on a chip"
}
]
}
], - "examples": [
- null
], - "images": [
- {
- "name": "Apple_A4_Chip.jpg#WIKI",
- "languages": [
- [
- "RU",
- "FR"
]
], - "urlSource": "WIKI",
- "license": "CC_BY_SA_30",
- "badImage": true
}
], - "synsetType": "CONCEPT",
- "categories": [
- {
- "category": "ARM_architecture",
- "language": "EN"
}
], - "domains": {
- "property1": 0,
- "property2": 0
}, - "lnToCompound": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "lnToOtherForm": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "filterLangs": [
- "string"
], - "bkeyConcepts": true
}Retrieve the IDs of the Babel synsets (concepts) denoted by a given word
| lemma required | string The word you want to search for |
| searchLang required | string The language of the word |
| targetLang | Array of strings The languages in which the data are to be retrieved. Default value is the search language and accepts not more than 3 languages except the search language. |
| pos | Array of strings Returns only the synsets containing this part of speech (NOUN, VERB, etc). Accepts multiple values. |
| source | Array of strings Returns only the synsets containing these sources (WIKT, WIKIDATA, etc). Accepts multiple values. |
[- {
- "type": "BabelSense",
- "properties": {
- "fullLemma": "Apple-designed_processors",
- "simpleLemma": "apple-designed_processors",
- "lemma": {
- "lemma": "Apple-designed_processors",
- "type": "HIGH_QUALITY"
}, - "example": "WIKI",
- "senseKey": "32327247",
- "frequency": 0,
- "language": "EN",
- "pos": "NOUN",
- "synsetID": {
- "id": "bn:00289737n",
- "pos": "NOUN",
- "source": "BABELNET"
}, - "translationInfo": "string",
- "pronunciations": {
- "transcriptions": [
- "string"
]
}, - "bKeySense": true,
- "idSense": 123090446
}
}
]Retrieve a list of BabelNet IDs given a resource identifier
| id required | string The page title you want to search for |
| lemma | string The word you want to search for |
| searchLang | string The language of the word |
| targetLang | Array of strings The languages in which the data are to be retrieved. Default value is the search language and accepts not more than 3 languages except the search language. |
| pos | Array of strings Returns only the synsets containing this part of speech (NOUN, VERB, etc). Accepts multiple values. |
| wnVersion | string |
| source required | Array of strings Returns only the synsets containing these sources (WIKT, WIKIDATA, etc). Accepts multiple values. |
[- {
- "id": "bn:00289737n",
- "pos": "NOUN",
- "source": "BABELNET"
}
]Retrieve the information of a given synset
| id required | string id of the synset you want to retrieve |
| targetLang | Array of strings The languages in which the data are to be retrieved. |
[- {
- "language": "MUL",
- "pointer": {
- "fSymbol": "wdp31",
- "name": "instance_of",
- "shortName": "instance_of",
- "relationGroup": "HYPERNYM",
- "isAutomatic": true
}, - "target": "bn:00021497n",
- "weight": 0,
- "normalizedWeight": 0
}
]