Import
ENDPOINTS
GET /v1/knowledge-graph/import/{FORMAT}
Definition
An Import is an object containing the data to import to the knowledge graph specified by one of the available formats.
Format-based Attributes
The following formats are available for import: broadcast
.
broadcast
Top level attributes
Name | Type | Description |
---|---|---|
apply_ner | boolean | Flag indicating whether named entity recognition (NER) should be applied to broadcast description fields. |
broadcasts | list of Broadcast objects | List of broadcasts to import. |
JSON Example
The following JSON snippet is showing an Import object for format broadcast
.
{
"apply_ner": true,
"broadcasts": [
{
"id": "1234567890",
"date": "2022-04-02",
"asset_id": "1234567890",
"title": "Patient Bayern overcome Freiburg",
"description": "FC Bayern beat SC Freiburg 4-1 thanks to a strong second-half display, consolidating their lead in the table. Comeback kid Leon Goretzka handed Bayern the lead after half-time, sub Nils Petersen levelling the scores five minutes later. Serge Gnabry restored Bayern's lead before Kingsley Coman and Marcel Sabitzer settled the contest in the closing stages.",
"show": "FC Bayern.tv Matches",
"people": [
{
"full_name": "Benjamin Pavard"
},
{
"first_name": "Vincenzo",
"last_name": "Grifo"
},
...
]
},
...
]
}