kgdata.wikipedia.datasets.linked_relational_tables#
Functions
|
|
Extract (link, table id) in a table |
|
|
Convert Wikipedia links in HTML tables to links in Wikidata using sitelinks |
|
Convert Wikipedia links in HTML tables to links in Wikidata using sitelinks |
|
- linked_tables(table_dataset_name: Literal['html_tables', 'relational_tables'], lang: str = 'en') Dataset[LinkedHTMLTable][source]#
Convert Wikipedia links in HTML tables to links in Wikidata using sitelinks
- Parameters:
- Return type:
Dataset[LinkedHTMLTable]
- linked_relational_tables(lang: str = 'en') Dataset[LinkedHTMLTable][source]#
Convert Wikipedia links in HTML tables to links in Wikidata using sitelinks
- Parameters:
lang (str) – the language of Wikidata
- Return type:
Dataset[LinkedHTMLTable]
- deser_linked_tables(x: str) LinkedHTMLTable[source]#
- Parameters:
x (str) –
- Return type:
- ser_linked_tables(tbl: LinkedHTMLTable) bytes[source]#
- Parameters:
tbl (LinkedHTMLTable) –
- Return type:
- extract_title_to_tables(tbl: Table) List[Tuple[str, str]][source]#
Extract (link, table id) in a table