Skip to main content
ConductScienceScienceDex
zenodoopen

Wikidata dump extension (sitelinks)

<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 15 languages: Arabic, Chinese, Dutch,&nbsp;English, French, German, Italian, Japanese, Polish,&nbsp;Portuguese, Russian, Spanish, Swedish, Ukrainian, Vietnamese.</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: <em>id</em> (the unique identifier of an entity) and <em>sitelinks</em> (links to Wikipedia pages). Each sitelink record comprises 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": "Q3320792", "sitelinks": { "dewiki": { "site": "dewiki", "title": "Orestie#Agamemnon", "url": "https://de.wikipedia.org/wiki/Orestie#Agamemnon" }, "frwiki": { "site": "frwiki", "title": "Orestie#''Agamemnon''", "url": "https://fr.wikipedia.org/wiki/Orestie#Agamemnon" }, "enwiki": { "site": "enwiki", "title": "Aeschylus#''Agamemnon''", "url": "https://en.wikipedia.org/wiki/Aeschylus#Agamemnon" } } }</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://de.wikipedia.org/wiki/Orestie#Agamemnon&gt; a schema:Article ; schema:about wd:Q3320792 ; schema:inLanguage "de" ; schema:isPartOf &lt;https://de.wikipedia.org/&gt; ; schema:name "Orestie#Agamemnon"@de . &lt;https://de.wikipedia.org/&gt; wikibase:wikiGroup "wikipedia" . &lt;https://fr.wikipedia.org/wiki/Orestie#Agamemnon&gt; a schema:Article ; schema:about wd:Q3320792 ; schema:inLanguage "fr" ; schema:isPartOf &lt;https://fr.wikipedia.org/&gt; ; schema:name "Orestie#''Agamemnon''"@fr . &lt;https://fr.wikipedia.org/&gt; wikibase:wikiGroup "wikipedia" . &lt;https://en.wikipedia.org/wiki/Aeschylus#Agamemnon&gt; a schema:Article ; schema:about wd:Q3320792 ; schema:inLanguage "en" ; schema:isPartOf &lt;https://en.wikipedia.org/&gt; ; schema:name "Aeschylus#''Agamemnon''"@en . &lt;https://en.wikipedia.org/&gt; wikibase:wikiGroup "wikipedia" .</code></pre> <p>&nbsp;</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
May 21, 2020
License
cc-by-4.0
DOI
10.5281/zenodo.3840621

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.