Output Schema
{
"example": {
"limitations": [
"Search-based linking without a trained model; ambiguous names may need context or type filters.",
"Persons are never linked."
],
"result": {
"language": "de",
"results": [
{
"best": {
"context_overlap": 1,
"description": "Millionenmetropole am Rhein und bevölkerungsreichste Stadt Nordrhein-Westfalens",
"exact_label": true,
"id": "Q365",
"instance_of": [
{
"id": "Q200250",
"label": "Metropole"
},
{
"id": "Q707813",
"label": "Hansestadt"
},
{
"id": "Q1549591",
"label": "mittlere Großstadt"
},
{
"id": "Q2202509",
"label": "römische Stadt"
},
{
"id": "Q42744322",
"label": "Stadt in Deutschland"
}
],
"label": "Köln",
"score": 1.8,
"url": "https://www.wikidata.org/wiki/Q365"
},
"candidates": [
{
"context_overlap": 1,
"description": "Millionenmetropole am Rhein und bevölkerungsreichste Stadt Nordrhein-Westfalens",
"exact_label": true,
"id": "Q365",
"instance_of": [
{
"id": "Q200250",
"label": "Metropole"
},
{
"id": "Q707813",
"label": "Hansestadt"
},
{
"id": "Q1549591",
"label": "mittlere Großstadt"
},
{
"id": "Q2202509",
"label": "römische Stadt"
},
{
"id": "Q42744322",
"label": "Stadt in Deutschland"
}
],
"label": "Köln",
"score": 1.8,
"url": "https://www.wikidata.org/wiki/Q365"
},
{
"context_overlap": 0,
"description": "Korvette der Deutschen Marine vom Typ K130, auch Braunschweig-Klasse",
"exact_label": true,
"id": "Q104791235",
"instance_of": [
{
"id": "Q170013",
"label": "Korvette"
}
],
"label": "Köln",
"score": 0.75,
"url": "https://www.wikidata.org/wiki/Q104791235"
},
{
"context_overlap": 0,
"description": "Fregatte der Bremen-Klasse (F122)",
"exact_label": false,
"id": "Q937843",
"instance_of": [
{
"id": "Q161705",
"label": "Fregatte"
},
{
"id": "Q402092",
"label": "Motorschiff"
}
],
"label": "Fregatte Köln",
"score": 0.6333,
"url": "https://www.wikidata.org/wiki/Q937843"
}
],
"excluded": {
"name_items": 1,
"persons": 0,
"type_filter": 0,
"wikimedia_pages": 0
},
"mention": "Köln"
},
{
"best": {
"context_overlap": 0,
"description": "mitteleuropäischer Strom zur Nordsee",
"exact_label": true,
"id": "Q584",
"instance_of": [
{
"id": "Q4022",
"label": "Fluss"
},
{
"id": "Q573344",
"label": "Strom"
},
{
"id": "Q1009249",
"label": "Bundeswasserstraße"
},
{
"id": "Q1267889",
"label": "Wasserstraße"
}
],
"label": "Rhein",
"score": 0.8333,
"url": "https://www.wikidata.org/wiki/Q584"
},
"candidates": [
{
"context_overlap": 0,
"description": "mitteleuropäischer Strom zur Nordsee",
"exact_label": true,
"id": "Q584",
"instance_of": [
{
"id": "Q4022",
"label": "Fluss"
},
{
"id": "Q573344",
"label": "Strom"
},
{
"id": "Q1009249",
"label": "Bundeswasserstraße"
},
{
"id": "Q1267889",
"label": "Wasserstraße"
}
],
"label": "Rhein",
"score": 0.8333,
"url": "https://www.wikidata.org/wiki/Q584"
},
{
"context_overlap": 0,
"description": "chemische Verbindung aus der Gruppe der Anthranoide",
"exact_label": true,
"id": "Q720356",
"instance_of": [
{
"id": "Q113145171",
"label": "definierte chemische Substanz"
}
],
"label": "Rhein",
"score": 0.7,
"url": "https://www.wikidata.org/wiki/Q720356"
},
{
"context_overlap": 0,
"description": "Land der Bundesrepublik Deutschland",
"exact_label": false,
"id": "Q1200",
"instance_of": [
{
"id": "Q1221156",
"label": "Bundesland von Deutschland"
}
],
"label": "Rheinland-Pfalz",
"score": 0.5,
"url": "https://www.wikidata.org/wiki/Q1200"
}
],
"excluded": {
"name_items": 1,
"persons": 0,
"type_filter": 0,
"wikimedia_pages": 0
},
"mention": "Rhein"
}
],
"source": "Wikidata (CC0), live API and query service"
},
"service": "wikidata-link",
"status": "success"
},
"type": "json"
}