Hi!
In order to fix a compatibility issue
(https://phabricator.wikimedia.org/T174930) and make the URI more clean,
the URI underlying mwapi: prefix in WDQS queries will be changed to
https://www.mediawiki.org/ontology#API/. This URI is not used anywhere
in the data, but only to designate parameters for MWAPI services[1].
Since this is not change in data but only in service prefixes/URIs,
there should not be any impact except for any queries that may use full
URI instead of mwapi: prefix for calling the services - such queries
will have to be updated. There's no real reason to do it and I recommend
to never do it and follow the examples in the manual[1] instead, but out
of the abundance of caution I am announcing this change anyway.
The change will likely be deployed in next Monday, in the usual WDQS
deployment window[2].
[] https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual/MWAPI
[2] https://wikitech.wikimedia.org/wiki/Deployments
--
Stas Malyshev
smalyshev(a)wikimedia.org
Hi everyone,
As a data quality addict, I've been investigating the coverage of
external identifiers linked to Wikidata items about people.
Given the numbers on SQID [1] and some SPARQL queries [2, 3], it seems
that even the second most used ID (VIAF) only covers *25%* of people
items circa.
Then, there is a long tail of IDs that are barely used at all.
So here is my question:
*which external identifiers deserve an effort to achieve exhaustive
coverage?*
Looking forward to your valuable feedback.
Cheers,
Marco
[1] https://tools.wmflabs.org/sqid/#/browse?type=properties "Select
datatype" set to "ExternalId", "Used for class" set to "human Q5"
[2] total people: http://tinyurl.com/ybvcm5uw
[3] people with a VIAF link: http://tinyurl.com/ya6dnpr7
Hi,
Is there an existing tool that shows whether a Wikipedia article exists or
doesn't exist in a list of languages sorted by the number of speakers?
For example, I'd give this tool an article name, and it would show me a
list similar to the one at the English Wikipedia article [[List of
languages by total number of speakers]], and indicating whether the article
exists or not in each language.
If there is no such tool, I guess I could write something in SPARQL, but
I'd have to learn SPARQL first, so I'm trying to ask here :)
Thanks!
--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
“We're living in pieces,
I want to live in peace.” – T. Moore
Hi Amir,
The idea that I think that you are trying to render reminds of a query I
wrote some time ago that uses the number of sitelinks (which basically
equates to the number of different language wikipedia articles for a given
Wikidata concept) to make an ranked list (providing a rudimentary metric
for linguistic "coverage") for a type.
For example, this one ranks instances of Q571 (a book).
prefix schema: <http://schema.org/>
prefix wd: <http://www.wikidata.org/entity/>
prefix wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?s ?desc ?authorlabel (COUNT(DISTINCT ?sitelink) as ?linkcount)
WHERE {
?s wdt:P31 wd:Q571 .
?sitelink schema:about ?s .
?s wdt:P50 ?author
OPTIONAL {
?s rdfs:label ?desc filter (lang(?desc) = "en").
}
OPTIONAL {
?author rdfs:label ?authorlabel filter (lang(?authorlabel) = "en").
}
} GROUP BY ?s ?desc ?authorlabel ORDER BY DESC(?linkcount)
Hope it helps,
Christopher
On 11 September 2017 at 14:00, <wikidata-request(a)lists.wikimedia.org> wrote:
> Send Wikidata mailing list submissions to
> wikidata(a)lists.wikimedia.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.wikimedia.org/mailman/listinfo/wikidata
> or, via email, send a message with subject or body 'help' to
> wikidata-request(a)lists.wikimedia.org
>
> You can reach the person managing the list at
> wikidata-owner(a)lists.wikimedia.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wikidata digest..."
>
>
> Today's Topics:
>
> 1. missing/existing Wikipedia articles by number of speakers
> (Amir E. Aharoni)
> 2. Re: [Wikimediaindia-l] New portal on Wikidata:
> Wikidata:WikiProject India (Abhijeet Safai)
> 3. Re: missing/existing Wikipedia articles by number of speakers
> (Reem Al-Kashif)
> 4. Re: missing/existing Wikipedia articles by number of speakers
> (Gerard Meijssen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 10 Sep 2017 15:43:40 +0300
> From: "Amir E. Aharoni" <amir.aharoni(a)mail.huji.ac.il>
> To: "Discussion list for the Wikidata project."
> <wikidata(a)lists.wikimedia.org>
> Subject: [Wikidata] missing/existing Wikipedia articles by number of
> speakers
> Message-ID:
> <CACtNa8sEhyz66jm9XOzM5SAYzb3Nd2tDiqQcnxn5SxmRx91r_g@mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> Is there an existing tool that shows whether a Wikipedia article exists or
> doesn't exist in a list of languages sorted by the number of speakers?
>
> For example, I'd give this tool an article name, and it would show me a
> list similar to the one at the English Wikipedia article [[List of
> languages by total number of speakers]], and indicating whether the article
> exists or not in each language.
>
> If there is no such tool, I guess I could write something in SPARQL, but
> I'd have to learn SPARQL first, so I'm trying to ask here :)
>
> Thanks!
>
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> “We're living in pieces,
> I want to live in peace.” – T. Moore
>
Hi all!
This is an announcement for a significant change to the Wikibase entity
format, which went live the beginning of September. It potentially affects
clients that process snaks
<https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Glossary#Snak>.
Internally, Wikibase assigns a *hash* to each snak (which is just the hash
function (Q183427) <https://www.wikidata.org/wiki/Q183427> of an internal
representation of the snak). Those hashes were previously emitted for snaks
that appeared in qualifiers, but not for the main snak or reference snaks
of a statement. With the change, the hashes are emitted for all snaks,
regardless of where they appear. This means that a snak can now look like
this:
{
"snaktype": "value",
"property": "P370",
"hash": "682fdb448ef68669a1b728a5076836da9ac3ffae",
"datavalue": {
"value": "some text",
"type": "string"
},
"datatype": "string"}
The hashes are also added to the HTML output, as an additional class
similar to the statement ID class on statements:
<div class="wikibase-statementview
wikibase-statement-Q4115189$29acf9c6-450a-7612-d206-049f5fe58328">
<!-- … -->
<div class="wikibase-statementview-mainsnak">
<div class="wikibase-snakview
wikibase-snakview-682fdb448ef68669a1b728a5076836da9ac3ffae">
<!-- … -->
</div>
</div></div>
The ultimate goal of this is to make any snak addressable in the DOM, which
is necessary for checking constraints on qualifiers and references (T168532
<https://phabricator.wikimedia.org/T168532>).
It should be noted that unlike statement IDs, snak hashes are not
identifiers. They are not stable, and may change at any time with the
internal format.
Please let us know if you have any comments or objections.
-- Lucas
Relevant tickets:
- T171607 <https://phabricator.wikimedia.org/T171607>
- T171725 <https://phabricator.wikimedia.org/T171725>
Relevant patches:
- https://github.com/wmde/WikibaseDataModelSerialization/pull/233
- https://gerrit.wikimedia.org/r/#/c/374835/
--
Lucas Werkmeister
Software Developer (Intern)
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de
Imagine a world, in which every single human being can freely share in the
sum of all knowledge. That‘s our commitment.
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
Hi folks,
Very happy to see this discussion happening.
I work on the EveryPolitician project [0] and for several years, we have
been mapping official IDs to Wikidata IDs. We have probably half the
national legislators in the world mapped this way, and many of the ones
we’re missing are because we don’t believe the people have Wikidata items
yet.
We’d be happy to make the mappings we have available to the Wikidata
community but the relevant properties for official identifiers only exist
for a handful of countries at the moment[1].
EveryPolitician is currently funded by WMF for a related project [2] to
find ways to improve the quality of data about politicians in Wikidata. As
part of this project, our plan was to work with in-country partners on a
case-by-case basis to get these properties created, but in light of this
discussion perhaps we should explore creating many more of them in bulk
more quickly? Suggestions welcome.
Lucy
[0] http://everypolitician.org/
[1]
https://www.wikidata.org/wiki/Wikidata:WikiProject_Parliaments#For_members_…
[2] https://meta.wikimedia.org/wiki/Grants:Project/EveryPolitician
Dear Wikimedians,
As the month long country-wide Wikidata Training Tour by Asaf Bartov [*1]
is in progress through several communities and cities within India, the
term 'Wikidata' has started rolling out as a new technology buzzword among
Indian communities and media.
Choosing the occasion as most befitting, some of us have opened up a new
WikiProject portal on the Wikidata site, named WikiProject India.
The page link is https://www.wikidata.org/wiki/Wikidata:WikiProject_India.
This WikiProject is to coordinate the efforts to create, enhance and
populate the coverage of topics related to India including her history,
geography, culture, society, people, infrastructure, education,
demographics and anything related between India and other fields such as
science, technology, arts, entertainment etc.
For now, an indicative list of topics of immediate interest are mentioned
in the homepage. As the project grow up and get better shape, we can expand
the scope of the project both vertically and horizontally.
A query library demonstrating some data drilling methods and samples is
also available there. Together, we can also build up this library to its
best form and beauty.
An inspiring model to this venture was WikiProject Armenia (
https://www.wikidata.org/wiki/Wikidata:WikiProject_Armenia), which began
around a year ago. We may fork and develop upon some of the work show-cased
there, including the model queries.
(Building new queries based upon these are quite easy even for a beginner!)
I invite all of you too visit the project homepage.
https://www.wikidata.org/wiki/Wikidata:WikiProject_India
Are you interested to be among the pioneers of this project?
Do you want to be part of a team that will build up a great national
database that will eventually help at least one fifth of the world
population in so many ways that we can not even predict now?
If you do, if you are interested in editing and contributing to Wikidata,
then please sign up and join the project.
More questions and suggestions are welcome at the project's talk pages.
Thanks and regards,
User:Viswaprabha
*1 . Asaf's Indian path of Wikidata conquest can be seen here:
https://meta.wikimedia.org/wiki/User:Asaf_(WMF)/2017_Technical_trainings_in…
Hi,
This may be a total newbie question, sorry about that!
While linking YSO places to Wikidata we have stumbled on a few cases
where there is a Wikipedia article about the place we want to link, but
that page has no Wikidata link visible. And it seems that Wikidata
itself does not contain that entity.
An example is the village Teuro in Tammela, Finland. It has a page on
the Finnish Wikipedia:
https://fi.wikipedia.org/wiki/Teuro
But that page has no Wikidata link. A search for "Teuro" in Wikidata
gives a few hits, but none of them represent the village.
What's the correct way to correct this? I found this guide:
https://www.wikidata.org/wiki/Help:Linking_Wikipedia_pages
But I'm not 100% it addresses this exact situation. How did this happen
in the first place? My naïve understanding was that every normal article
in Wikipedia would have a corresponding Wikidata entity, but apparently
that's not entirely true!
-Osma
--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suominen(a)helsinki.fi
http://www.nationallibrary.fi