Wikidata dump extension (enwiki section links)
<p>The dataset contains mappings between Wikidata entities and Wikipedia sections. The mappings come in addition to the existing Wikidata sitelinks referencing Wikipedia pages.</p> <p>The creation of the present dataset stems from the observation that only a fraction of Wikidata entities has 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 dataset provides 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 JSON and RDF formats and complies with the Wikibase data model.</p> <p>In the JSON representation, an entity contains two fields: <em>id</em> (the unique identifier of an entity) and <em>sectionlinks</em> (links to Wikipedia sections). Each sectionlink record comprises a list of records<sup>1</sup> with three fields:<em> site, title,</em> and <em>url.</em> 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> </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><https://en.wikipedia.org/wiki/Places_in_Harry_Potter#Azkaban> a schema:Article ; schema:about wd:Q715509 ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> ; schema:name "Places in Harry Potter#Azkaban"@en . <https://en.wikipedia.org/> wikibase:wikiGroup "wikipedia" . </code></pre> <p> </p> <p><sup>1</sup> As opposed to sitelinks, where each entity can be mapped with a unique Wikipedia page (one-to-one mapping), in sectionlinks we allow a one-to-many mapping, i.e., an entity can be mapped to multiple sections. For example, <em>Tennis racket</em> concept can be mapped to <em>Tennis#Rackets</em> and <em>Racket (sports equipment)#Tennis</em> 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