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