Hi!
I'm wondering if there is a way (SQL, api, tool or
otherwise) for
finding out how often a particular source is used on Wikidata.
Something like this probably would work:
http://tinyurl.com/plssk4j
This runs the following query:
prefix prov: <http://www.w3.org/ns/prov#>
prefix pr: <http://www.wikidata.org/prop/reference/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT (count(?ref) as ?mentions) WHERE {
?statement prov:wasDerivedFrom ?ref .
?ref pr:P248 wd:Q216047 .
?ref pr:P577 ?date .
}
For Q216047 which is "Le Figaro". This counts how many statements
reference Le Figaro and also have dates (drop the last clause if
non-dated ones are fine too).
--
Stas Malyshev
smalyshev(a)wikimedia.org