Skip to main content
zenodoopen

Wikidata dump extension (enwiki section links)

<p>The dataset contains mappings between Wikidata entities and Wikipedia sections.&nbsp;The mappings come in addition to the existing Wikidata sitelinks referencing&nbsp;Wikipedia pages.</p> <p>The creation of the present dataset stems from the observation that only a fraction of Wikidata entities has&nbsp;a corresponding Wikipedia article in any language (we refer to the remaining entities, without an article, as orphans). However, a substantial number of orphan entities are indeed available in Wikipedia, but not at the page level; orphan entities can be described within existing Wikipedia articles in the form of sections, subsections, and paragraphs of a more generic concept or fact. The&nbsp;dataset provides&nbsp;a fine-grained mapping between Wikidata orphan entities and Wikipedia (sub)-sections.</p> <p>Mappings are provided for English language.</p> <p>The dataset is available in&nbsp;JSON and RDF formats and complies&nbsp;with the&nbsp;Wikibase data model.</p> <p>In the JSON representation, an entity contains two fields:&nbsp;<em>id</em>&nbsp;(the unique identifier of an entity) and&nbsp;<em>sectionlinks</em>&nbsp;(links to Wikipedia sections). Each sectionlink record comprises a list of records<sup>1</sup> with&nbsp;three fields:<em>&nbsp;site, title,</em>&nbsp;and&nbsp;<em>url.</em>&nbsp;A section title is appended to the page title separated with # symbol. Such a compound title is then URL-encoded and added to the URL path. Following the Wikidata guidelines, each entity is encoded as a single line.</p> <p>Example:</p> <pre><code class="language-json">{ "id": "Q715509", "sectionlinks": { "enwiki": [ { "site": "enwiki", "title": "Places in Harry Potter#Azkaban", "url": "https://en.wikipedia.org/wiki/Places_in_Harry_Potter#Azkaban" } ], } }</code></pre> <p>&nbsp;</p> <p>The RDF dump is serialized using the Turtle format and stores nodes describing Wikipedia links. Section titles are added in the same manner as described above.</p> <p>Example:</p> <pre><code>&lt;https://en.wikipedia.org/wiki/Places_in_Harry_Potter#Azkaban&gt; a schema:Article ; schema:about wd:Q715509 ; schema:inLanguage "en" ; schema:isPartOf &lt;https://en.wikipedia.org/&gt; ; schema:name "Places in Harry Potter#Azkaban"@en . &lt;https://en.wikipedia.org/&gt; wikibase:wikiGroup "wikipedia" . </code></pre> <p>&nbsp;</p> <p><sup>1</sup>&nbsp;As opposed to sitelinks, where&nbsp;each entity can be mapped with a unique&nbsp;Wikipedia page&nbsp;(one-to-one&nbsp;mapping), in sectionlinks we&nbsp;&nbsp;allow a one-to-many&nbsp;mapping, i.e., an entity can be mapped to&nbsp;multiple sections.&nbsp;For example, <em>Tennis racket</em>&nbsp;concept can be mapped to <em>Tennis#Rackets</em>&nbsp;and <em>Racket (sports equipment)#Tennis</em>&nbsp;sections.</p>

ShareScore

36/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
4
Harmonization
4
Access
20
Reuse readiness
8
Engagement
0

Dataset details

Repository
zenodo
Published
November 24, 2022
License
cc-by-4.0
DOI
10.5281/zenodo.7360786

Scored with release 0.9.0

ScienceDex for faculty

Your academic CV and NIH biosketch

Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.